Skip to content

Releases: mlc-ai/xgrammar

v0.1.15

05 Mar 23:18
ccc355c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.1.14...v0.1.15

v0.1.14

26 Feb 14:36
71591de
Compare
Choose a tag to compare

Highlights

This version supports XGrammar on Linux Arm64, removes the restriction of glibc 2.28, and adds a source distribution.

It fixes the self-recursion error, extends apply_token_mask_inplace to support some corner cases.

It changes the API of StructuralTag, renaming field "start" to "begin".

What's Changed

  • update GenerateRangeRegex by @zanderjiang in #182
  • [Fix] Fix compatibility for apply_token_bitmask_inplace by @Ubospica in #206
  • [Feature] Support self-recursion in json schema reference by @Ubospica in #210
  • Modernize build to support sdists by @zbowling in #190
  • Update README to announce that Modular MAX uses XGrammar by @zbowling in #217
  • [Feature] Support padding for logits and unequal batch size for logits and bitmask by @Ubospica in #220
  • [Refactor][Breaking] Rename start->begin in StructuralTag by @Ubospica in #221
  • Bump to v0.1.14 by @Ubospica in #222

New Contributors

Full Changelog: v0.1.13...v0.1.14

v0.1.13

13 Feb 13:56
b14a281
Compare
Choose a tag to compare

Highlight

This version enhances the compatibility of XGrammar on various platforms. It also provides full support for regex. Now most features are supported. It also enhances the efficiency of the token bitmask application kernel.

What's Changed

New Contributors

Full Changelog: v0.1.11...v0.1.12

v0.1.11

13 Feb 13:53
933f6f5
Compare
Choose a tag to compare

Highlight

In this PR we supported the structural tag. This is a new feature that can support strict function calling (and many more flexible patterns). Read the brief doc to learn more. We will introduce it in details soon.

What's Changed

Full Changelog: v0.1.10...v0.1.11

v0.1.10

13 Feb 13:51
c1b6492
Compare
Choose a tag to compare

Highlight

In this version we enhanced the ability of json schema, ebnf, and provided APIs for grammar concat and union.

What's Changed

Full Changelog: v0.1.9...v0.1.10

Release v0.1.8

25 Dec 17:01
Compare
Choose a tag to compare

Features

Release v0.1.6

07 Dec 12:49
Compare
Choose a tag to compare

Features

  • The ability of the JSON Schema converter is enhanced to support integer range and regex pattern. Thanks @joennlae

Bug Fixes

  • Solves the problem of strict JSON format degrading the LLM output quality

Release v0.1.4

25 Nov 09:56
Compare
Choose a tag to compare

This is the stable release version of XGrammar. It provides efficient and portable API for LLM structured generation.