Summary
- Fix Windows build flags for Torch extensions
- Refactor the Parser and FSM libraries for improved maintainability
- Expose accept_string and print_internal_states with configurable max recursion depth
- Correct acceptance of certain invalid characters in JSON strings
- Make tiktoken and sentencepiece optional dependencies
- Support int64 values in JSON Schema conversion
- Add a C++ reflection-based JSON serialization method
What's Changed
- Fix torch extension build cflags on Windows by @SystemPanic in #311
- [Refactor] Refactor Parser by @Ubospica in #320
- Fix typo in quick_start.rst: corrected "Perparation" to "Preparation" by @reven404 in #323
- [Refactor] Refactor FSM Library by @Ubospica in #324
- Expose accept_string and print_internal_states by @Ubospica in #327
- [Fix]Fix the incorrect acceptance of some invalid characters in the strings of JSON. by @Seven-Streams in #318
- refactor: fix printing stackelement by @Ubospica in #329
- feat: Set and get max_recursion_depth by @Ubospica in #328
- Docs: Refactor docs by @Ubospica in #330
- Update docs by @Ubospica in #331
- Further update docs by @Ubospica in #332
- [Test] Add more tests to test fsm. by @Seven-Streams in #326
- [Fix] Fix the logging format. by @Seven-Streams in #333
- [Script] Add a tool to test the code coverage. by @Seven-Streams in #325
- Make sentencepiece and tiktoken optional deps by @Ahajha in #337
- Improve the docs by @Ubospica in #346
- Further Improve Docs by @Ubospica in #348
- Use python3 to build docs by @Ahajha in #347
- [docs] Further fix docs by @Ubospica in #349
- [docs] Further fix docs by @Ubospica in #350
- Add tiktoken and sentencepiece to test dependencies by @Ahajha in #340
- Update JSON Schema Converter to support int64 values by @zanderjiang in #315
- [Feature] JSON Serialize Method with C++ reflection by @DarkSharpness in #335
New Contributors
- @SystemPanic made their first contribution in #311
- @reven404 made their first contribution in #323
Full Changelog: v0.1.19...v0.1.20