v2.7.2
What's Changed
- Implement Display for Expr and OptimizedExpr by @TheVeryDarkness in #896
- Update license field following SPDX 2.1 license expression standard by @frisoft in #898
- Add feature gated
Cow
module paths by @veeenu in #900 - propagate non_exhaustive attribute to the generated Rule enums by @tomtau in #901
- docs: fix small typo in
match_range
by @LeoDog896 in #906
New Contributors
- @frisoft made their first contribution in #898
- @veeenu made their first contribution in #900
- @LeoDog896 made their first contribution in #906
Full Changelog: v2.7.1...v2.7.2
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.7", features = ["grammar-extras"] }
Restoration of the pest3 work effort
We started a new discussion thread to brainstorm ideas for pest3, both in terms of breaking grammar and API changes. You can check it out here: #885