What's Changed
- Keep
grammar.rsin tree by @konstin in #1159 - fix(test): make miette_error test independent of terminal by @MasterOfFeelingFish in #1164
- docs: add Panics sections to line_col() and PrattParser::parse() by @MasterOfFeelingFish in #1167
- Document panics in public API by @syu-toutousai in #1174
- Reject unescaped quote inside char literal in meta grammar by @chatman-media in #1175
New Contributors
- @konstin made their first contribution in #1159
- @MasterOfFeelingFish made their first contribution in #1164
- @syu-toutousai made their first contribution in #1174
- @chatman-media made their first contribution in #1175
Full Changelog: v2.8.6...v2.8.7
Warning: Semantic Versioning
Note that the node tag feature in 2.6.0 was a technically semver-breaking change even though it is a backwards-compatible / non-breaking change in the meta-grammar. There may be similar non-breaking changes to the meta-grammar between minor versions in the future. These non-breaking changes, however, may translate into semver-breaking changes due to the additional variants propagated from the generated Rule enum.
This new feature caused issues in some Cargo version resolution situations where Cargo mixed different versions of pest dependencies. For this reason, these "grammar non-breaking but semver-breaking" changes are now available only under the "grammar-extras" feature flag. If you would like to use node tags (or other future grammar features), you can do so by enabling this flag on the pest_derive crate in your Cargo.toml:
...
pest_derive = { version = "2.8", features = ["grammar-extras"] }