v0.4.0-next.1
Pre-release
Pre-release
This pre-release contains quite a lot of changes, but only one breaking change:
- Start on KDL Query implementation
- Rewrite the entire tokenizer to use a lookup table, which provides a drastic speed boost
- The v1 parser is rebuilt from scratch and uses the same infrastructure as the existing v2 parser.
This makes parsing a v1 document not only 2x faster but it stops us from having to bundle chevrotain with its heavy footprint. - Fix issues with the
format()function: improve its ability to format bare identifiers and fix unicode escapes. - BREAKING CHANGE: in case multiple errors occur the parser will now throw an
InvalidKdlErrorrather than anAggregateError.
TheInvalidKdlErrorcan now have sub-errors in itserrorsproperty. You can use theflat()method to easily iterate over all errors contained within anInvalidKdlError.
This pre-release contains support for the experimental number suffix feature currently under discussion in the KDL language repository.
Full Changelog: v0.3.1...v0.4.0-next.1