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 darling from 0.10.2 to 0.14.3 #4074

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 16, 2024

Bumps darling from 0.10.2 to 0.14.3.

Release notes

Sourced from darling's releases.

v0.14.3

  • Re-export syn from darling to avoid requiring that consuming crates have a syn dependency.
  • Change <SpannedValue<T> as FromMeta> impl to more precisely capture the value span, as opposed to the span of the entire item.
  • Add darling::util::{AsShape, Shape, ShapeSet} to improve "shape" validation for structs and variants. #222

v0.14.2

  • Derived impls of FromMeta will now error on literals, rather than silently ignoring them. #193
  • Don't include property paths in compile errors when spans are available. #203

v0.14.1

  • Fix a bug where using a trait that accepts #[darling(attributes(...))] without specifying any attributes would emit code that did not compile. #183
  • Impl Clone for darling::Error #184
  • Impl Fromdarling::Error for syn::Error #184
  • Add Error::span and Error::explicit_span methods #184

v0.14.0

  • BREAKING CHANGE: Remove many trait impls from util::Flag. This type had a number of deref and operator impls that made it usable as sort-of-a-boolean. Real-world usage showed this type is more useful if it's able to carry a span for good errors, and that most of those impls were unnecessary. #179
  • Remove need for #[darling(default)] on Option<T> and Flag fields #161
  • Improve validation of enum shapes #178
  • Bump proc-macro2 dependency to 1.0.37 #180
  • Bump quote dependency to 1.0.18 #180
  • Bump syn dependency to 1.0.91 #180

v0.13.4

  • Impl FromMeta for syn::Visibility #173

v0.13.3

  • Add error::Accumulator #164
  • Impl FromMeta for syn::Type and its newtype variants #172

v0.13.2

  • Impl FromMeta for syn::ExprPath #170

v0.13.1

  • Add FromAttributes trait and macro #151

New Contributors

v0.13.0

  • Bump edition to 2018
  • Error on duplicate fields in #[darling(...)] attributes #130
  • Impl Copy for SpannedValue
  • Add SpannedValue::map_ref

v0.12.4

  • Add #[darling(and_then = "...")] as an alternative to #[darling(map = "...")]

... (truncated)

Changelog

Sourced from darling's changelog.

v0.14.3 (February 3, 2023)

  • Re-export syn from darling to avoid requiring that consuming crates have a syn dependency.
  • Change <SpannedValue<T> as FromMeta> impl to more precisely capture the value span, as opposed to the span of the entire item.
  • Add darling::util::{AsShape, Shape, ShapeSet} to improve "shape" validation for structs and variants. #222

v0.14.2 (October 26, 2022)

  • Derived impls of FromMeta will now error on literals, rather than silently ignoring them. #193
  • Don't include property paths in compile errors when spans are available. #203

v0.14.1 (April 28, 2022)

  • Fix a bug where using a trait that accepts #[darling(attributes(...))] without specifying any attributes would emit code that did not compile. #183
  • Impl Clone for darling::Error #184
  • Impl From<darling::Error> for syn::Error #184
  • Add Error::span and Error::explicit_span methods #184

v0.14.0 (April 13, 2022)

  • BREAKING CHANGE: Remove many trait impls from util::Flag. This type had a number of deref and operator impls that made it usable as sort-of-a-boolean. Real-world usage showed this type is more useful if it's able to carry a span for good errors, and that most of those impls were unnecessary. #179
  • Remove need for #[darling(default)] on Option<T> and Flag fields #161
  • Improve validation of enum shapes #178
  • Bump proc-macro2 dependency to 1.0.37 #180
  • Bump quote dependency to 1.0.18 #180
  • Bump syn dependency to 1.0.91 #180

v0.13.4 (April 6, 2022)

  • Impl FromMeta for syn::Visibility #173

v0.13.3 (April 5, 2022)

  • Add error::Accumulator for dealing with multiple errors #164
  • Impl FromMeta for syn::Type and its variants #172

v0.13.2 (March 30, 2022)

  • Impl FromMeta for syn::ExprPath #169

v0.13.1 (December 7, 2021)

  • Add FromAttributes trait and macro #151

v0.13.0 (May 20, 2021)

  • Update darling to 2018 edition #129

... (truncated)

Commits
  • 05de479 Bump version to 0.14.3
  • 49f05ee Use darling::util::Shape in generated code
  • 7e80119 Add Error::unsupported_shape_with_expected
  • a4c0e95 Add Shape, AsShape, and ShapeSet to darling::util
  • b20560b Update compiletests
  • 5737e54 Update Swatinem/rust-cache to v2
  • cfc4cf7 Update actions/checkout to v3
  • 3310c28 Use dtolnay/rust-toolchain
  • 27a9701 Remove macos-latest 1.31 testing
  • 5e653d5 Document #[darling(supports(...))]
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [darling](https://github.com/TedDriggs/darling) from 0.10.2 to 0.14.3.
- [Release notes](https://github.com/TedDriggs/darling/releases)
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md)
- [Commits](TedDriggs/darling@v0.10.2...v0.14.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label May 16, 2024
@simonjiao simonjiao closed this May 17, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github May 17, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/cargo/darling-0.14.3 branch May 17, 2024 08:31
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant