v0.1.25 brings the structural tag. It also fixes a couple of problems regarding JSON schema and py.typed. It enhances the speed of grammar compilation and mask generation.
What's Changed
- Json schema generation, limit the number of whitespaces by @ExtReMLapin in #414
- [Fix] Fix the failure to build the website. by @Seven-Streams in #415
- Update README.md to announce that OpenVINO GenAI uses XGrammar by @apaniukov in #413
- Add py.typed by @Ubospica in #421
- Support Structural Tag by @Ubospica in #420
- [Fix] Fix the matching for utf-8 characters in enums and const. by @Seven-Streams in #419
- [Feature] Enhance structural tags by providing xml-style tags. by @Seven-Streams in #422
- [Test] Add more utf-8 tests for structural tags. by @Seven-Streams in #424
- [Doc] Add comments for JSONSchemaToEBNF. by @Seven-Streams in #430
- [Minor] Bump into a new serialization version. by @Seven-Streams in #425
- [Fix] Fix from_structural_tag when the parameter is a StructuralTag. by @Seven-Streams in #423
- [Feature] Add a function to convert bitmasks to bool masks for development usage. by @Seven-Streams in #426
- [Fix] Apply the GrammarNormalizer to grammars generated from stags. by @Seven-Streams in #429
- [Refac] Refactor the bahavior of jsonschema converter to speed up. by @Seven-Streams in #417
- [Format] Rename two testing functions to expose them. by @Seven-Streams in #434
- [Doc] Add issue templates. by @Seven-Streams in #435
- [Optim] Optimize the efficiency of TagDispatch expressions. by @Seven-Streams in #431
- [Feature] Enhance structural tags with providing ebnf stags and regex stags. by @Seven-Streams in #440
- Bump to v0.1.25 by @Ubospica in #441
New Contributors
- @ExtReMLapin made their first contribution in #414
- @apaniukov made their first contribution in #413
Full Changelog: v0.1.24...v0.1.25