Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pest_derive from 2.5.6 to 2.6.1 #77

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 19, 2023

Bumps pest_derive from 2.5.6 to 2.6.1.

Release notes

Sourced from pest_derive's releases.

v2.6.1: pest as a git dependency

What's Changed

New Contributors

Full Changelog: pest-parser/pest@v2.6.0...v2.6.1

Using pest as a git dependency

pest v2.6.1 contains a patch for the longstanding problem that pest couldn't be used as a git dependency due to the bootstrapping process. It should be possible now with a special feature flag as follows:

pest = { git = "https://github.com/.../pest.git", rev = "..." }
pest_derive = { git = "https://github.com/.../pest.git", rev = "...", features = ["not-bootstrap-in-src"]}

Note that the compilation time will be higher due to the cargo library dependency. If that becomes an issue, you can still use the old workarounds, e.g. cloning the repo, running cargo bootstrap there and specifying the dependency as a path to the locally cloned repo instead of git.

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 is a known issue and will be fixed in the future (e.g. by increasing MSRV and non_exhaustive annotations).

If you face a dependency problem where Cargo mixes different versions of pest due to transitive dependencies: pest-parser/pest#849 you can try adding the older pest to explicitly force it as follows:

pest = { version = "=2.5.6" }

v2.6.0: node tags

What's Changed

New Contributors

Full Changelog: pest-parser/pest@v2.5.7...v2.6.0

Introducing node tags

pest v2.6.0's grammar includes a new (optional) feature for labelling parts of rules (based on this idea posted by @​oovm : pest-parser/pest#550 ), e.g.:

... (truncated)

Commits
  • 867da2e Conditional source-tree bootstrapping (#866)
  • 5ce7b43 Swap precedence of negation and factorial (#865)
  • a4c93a7 feat: add simple Position/Span From implementations for LineColLocation (#860)
  • 9176af2 derive/examples: add a help menu grammar and parser (#856)
  • 23831ec Removed TODO about removed box syntax (#854)
  • 7f8411a Mitigate errors in reporting grammars that can cause the parser to run indefi...
  • 2a97516 ci: fix for cargo-msrv needing at least 1.59 now (#850)
  • 6355eae fuzz: decrease the call limit in the json fuzzer (#841)
  • 20f0842 Implement ExactSizeIterator for Pair iterators (#833)
  • 5a05e69 Fix #838 grammar error when only have //!, /// or //. (#839)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [pest_derive](https://github.com/pest-parser/pest) from 2.5.6 to 2.6.1.
- [Release notes](https://github.com/pest-parser/pest/releases)
- [Commits](pest-parser/pest@v2.5.6...v2.6.1)

---
updated-dependencies:
- dependency-name: pest_derive
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Jun 19, 2023
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 22, 2023

Superseded by #78.

@dependabot dependabot bot closed this Jun 22, 2023
@dependabot dependabot bot deleted the dependabot/cargo/pest_derive-2.6.1 branch June 22, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants