Skip to content

chore(deps): update darling requirement from 0.23 to 0.24 - #1118

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/darling-0.24
Closed

chore(deps): update darling requirement from 0.23 to 0.24#1118
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/cargo/darling-0.24

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on darling to permit the latest version.

Release notes

Sourced from darling's releases.

v0.24.0

  • Update syn to v3 #431
  • Add impl ToTokens for SpannedValue #423
  • Allow data magic field for FromDeriveInput to be any type that implements TryFrom<&syn::Data, Error = darling::Error> without needing to use #[darling(with = ...)] syntax #391
Changelog

Sourced from darling's changelog.

v0.24.0 (July 30, 2026)

  • Update syn to v3 #431
  • Add impl ToTokens for SpannedValue #423
  • Allow data magic field for FromDeriveInput to be any type that implements TryFrom<&syn::Data, Error = darling::Error> without needing to use #[darling(with = ...)] syntax #391

v0.23.0 (December 3, 2025)

  • Bump MSRV to 1.88.0; there have been no code changes that caused this, but due to dependency issues CI no longer works on 1.56.0 #357

v0.22.0 (December 2, 2025)

  • BREAKING: Remove fnv dependency, as runtime performance gain does not justify additional dependency. This was exposed to users of darling::usage, so it may be breaking for them #373
  • Add #[darling(default = || expr(val))] support, allowing a closure where a path was previously required #380
  • Preserve span information for paths given to darling::util::Callable as literal strings
  • Fix some documentation typos

v0.21.3 (August 22, 2025)

  • Fix: Forward Override::<T>::from_expr to T::from_expr #371

v0.21.2 (August 14, 2025)

  • Add #[darling(from_expr = ...)] when deriving FromMeta to support overriding the key-value form #369
  • Keep parsing the body and type params even if there are errors from parsing attributes. #7
  • Support #[darling(with = ...)] on the generics field when deriving FromDeriveInput.
  • Return an error, rather than panicking, when doing shape validation on a union. #365

v0.21.1 (August 4, 2025)

  • Track all alternate field names, and show them in error message if there aren't too many. #325
  • Track all alternate values for enum variants, and show them in error messages if there aren't too many. #362

v0.21.0 (July 10, 2025)

  • Potentially breaking: Emit error when an attribute path is present in both attributes and forward_attrs. #336
  • Support parsing attributes which contain keywords #238
  • Add SpannedValue::into_inner #342
  • Add #[darling(derive_syn_parse)] to also impl syn::parse::Parse when deriving FromMeta #285
  • Make impl FromMeta for syn::TypePath support both quote-wrapped and bare values #351
  • Add util::PreservedStrExpr #346
  • Impl UsesTypeParams and UsesLifetimes for WithOriginal #215
  • Update error message emitted by <() as FromMeta>::from_list to allow use of () as a #[darling(flatten)] target #353

v0.20.11 (March 28, 2025)

  • Support #[darling(with = ...)] on the data field when deriving FromDeriveInput. This allows the use of simpler receiver types, such as a Vec of enum variants.

... (truncated)

Commits
  • 51dd494 Bump version to 0.24.0
  • 2f3a94a Implement ToTokens for SpannedValue
  • 7bdc239 Fix clippy::needless_continue lint in code generated by FromDeriveInput
  • bdc3139 Upgrade Syn to 3.0.0
  • dfa9f88 Pass tokens that failed to parse as Expr to FromMeta::from_invalid_expr
  • 3c16c07 Check fields earlier for FromVariant impls
  • 4d4f455 Add a serde example
  • 7d716c8 Refactor forwarded field initialization
  • 3db4a96 Add #[darling(with = ...)] on ident field
  • 9fc67c7 Add #[darling(transparent)] to delegate impl to inner field even if it is n...
  • Additional commits viewable in compare view

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 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)

Updates the requirements on [darling](https://github.com/TedDriggs/darling) to permit the latest version.
- [Release notes](https://github.com/TedDriggs/darling/releases)
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md)
- [Commits](TedDriggs/darling@v0.23.0...v0.24.0)

---
updated-dependencies:
- dependency-name: darling
  dependency-version: 0.24.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the T-dependencies Dependencies related changes label Aug 3, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 3, 2026 18:36
@dependabot dependabot Bot added the T-dependencies Dependencies related changes label Aug 3, 2026
@github-actions github-actions Bot added T-config Configuration file changes T-macros Macro changes labels Aug 3, 2026
@DaleSeo DaleSeo mentioned this pull request Aug 5, 2026
9 tasks
@DaleSeo

DaleSeo commented Aug 5, 2026

Copy link
Copy Markdown
Member

Closing this in favor of the manual upgrade in #1138.

@DaleSeo DaleSeo closed this Aug 5, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

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.24 branch August 5, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-config Configuration file changes T-dependencies Dependencies related changes T-macros Macro changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant