Skip to content

chore(deps-dev): update xgrammar requirement from <0.2.4 to <0.2.7 - #514

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/xgrammar-lt-0.2.7
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/xgrammar-lt-0.2.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 16, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on xgrammar to permit the latest version.

Release notes

Sourced from xgrammar's releases.

v0.2.6

Highlights since v0.2.5:

  • Harden input validation, deserialization, and worker-thread error handling so invalid inputs raise exceptions instead of crashing the process (#869). Preserve tokenizer JSON round trips, including binary vocabulary and token-grammar compilation (#879).
  • Extend EBNF and Lark grammars with capture, lazy matching, suffix/stop conditions, token and character budgets, and sampling temperature options. Add Lark regex flags, structured substring expressions, and a cached GrammarCompiler.compile_lark API.
  • Improve grammar compilation with direct JSON Schema AST construction, shared FSM construction, in-place optimizer passes, and cached parser-state properties.
  • Add Cohere XML, Kimi K3, and EXAONE 4.0 structural tags, plus max_tokens / max_chars support for AnyTextFormat and AnyTokensFormat.
  • Fix JSON carriage-return whitespace, positional prefixItems handling, NUL regex rejection, repeat-edge metadata, and grammar serialization keys.
  • Add an NPU token-bitmask backend and Windows ARM64 wheels. Reduce Python wheel size and expand the documentation.

Full changelog: mlc-ai/xgrammar@v0.2.5...v0.2.6

Note: this is not the release version of the prior v0.2.6rc1 and v0.2.6rc2. Instead, it covers all the updates in the main branch since v0.2.5. Their official version will be released in the next version.

Commits
  • bc09a30 chore: release v0.2.6
  • 7760247 Fix segfaults from invalid arguments, corrupted serialized data and worker-th...
  • 10bc0d7 Add Windows ARM64 support to CI (#862)
  • 58aeb54 fix: preserve tokenizer info JSON round trips (#879)
  • b504878 fix: fix the broken token tests. (#876)
  • de1282f feat: add cached Lark compilation API (#874)
  • 71ab225 Fix JSON whitespace to accept carriage returns (#871)
  • f07ca3c [fix]: reject NUL characters in regex instead of crashing (#850)
  • a1a3904 fix(json_schema): make prefixItems entries positional per Draft 2020-12 (#834)
  • 3842647 [Bugfix] Preserve repeat edge aux data in JSON string regex FSM (#864)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [xgrammar](https://github.com/mlc-ai/xgrammar) to permit the latest version.
- [Release notes](https://github.com/mlc-ai/xgrammar/releases)
- [Commits](mlc-ai/xgrammar@v0.1.0...v0.2.6)

---
updated-dependencies:
- dependency-name: xgrammar
  dependency-version: 0.2.6
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Sep 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants