Skip to content

v2.7.0

Compare
Choose a tag to compare
@tomtau tomtau released this 22 Jun 00:38
· 35 commits to master since this release
047c27e

What's Changed

  • bump criterion and cargo dependencies by @tomtau in #869
  • feature-guard the new grammar features with "grammar-extras" by @tomtau in #871
  • Add reference to json5-nodes by @jlyonsmith in #873
  • fix: expose the unicode emoji builtin rules by @tomtau in #874

New Contributors

Full Changelog: v2.6.1...v2.7.0

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"] }

Note that MSRV was increased to 1.60 in pest 2.7.0.