Skip to content

v0.2.0

Pre-release
Pre-release

Choose a tag to compare

@vcschapp vcschapp released this 17 Sep 23:29
· 209 commits to main since this release

Breaking Changes

  1. Renamed Struct enum variants (commit 6e72e55):
    • Struct::Array → Struct::Arr
    • Struct::Object → Struct::Obj

  2. Removed BufAnalyzer::into_inner() method (commit 6ede323):
    • The public method was removed to hide implementation details.

Material Non-Breaking Changes

  1. Added configurable maximum nesting level (commits d754dc3 and 4919e06f):
    • Added Parser::max_level(), Parser::set_max_level(), and Parser::with_max_level() methods
    • Added new ErrorKind::Level variant for when nesting exceeds the configured maximum
    • Default remains at the number of inlined levels (192, later reduced to 128)

  2. Made Token methods const fn (commit cba6468):
    • Token::is_value() and Token::is_punct() are now const fn
    • Allows these methods to be called in const contexts

  3. Added BufAnalyzer::into_parser() convenience method (commit 5ea905a):
    • New method that converts a BufAnalyzer directly into a Parser
    • Simplifies the common pattern of creating a parser from a lexer

All other commits were related to documentation, CI/CD setup, code formatting, typo fixes, or other non-material changes.

Full Changelog: v0.1.7...v0.2.0