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.14.1 to 0.20.8 #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 26, 2024

Bumps darling from 0.14.1 to 0.20.8.

Release notes

Sourced from darling's releases.

v0.20.8

  • Add #[darling(with = ...)] support to attrs magic field to allow using custom receiver types for attrs #273

v0.20.7

  • Add #[darling(flatten)] to allow forwarding unknown fields to another struct #146
  • Don't suggest names of skipped fields in derived impls #268

v0.20.6

  • Fix some missing syn invisible group handling in FromMeta impls #263
  • Fix misleading error message on Error::unexpected_type so it no longer implies the type was a literal #264
  • Impl FromMeta Vec of literals, e.g. LitStr #265

v0.20.5

  • Add Flag::span inherent method, as Flag can no longer impl syn::spanned::Spanned #242

v0.20.4

  • Accept bare paths in #[darling(default = ...)] #258
  • Add FromMeta impl for PathBuf #259
  • Improve FromMeta implementation for enums #260
    • Properly implement unit arms in FromMeta::from_list to provide a consistent API for heterogeneous enums that include a mix of unit, newtype and struct variants
    • Add #[darling(word)] attribute for unit enum variants (See #63 for details)

v0.20.3

  • Add FromMeta impl for u128 and i128 #243

This release also includes features originally slated for 0.20.2, as that was never published.

  • Allow darling users to omit quotation marks for paths and idents #236
  • Add new util functions for controlling how quotation marks are handled when reading into Expr fields #235

v0.20.1

  • Add Clone impl for NestedMeta #230

v0.20.0 (April 27, 2023)

Breaking Changes

  • Replace all occurrences of syn::NestedMeta with darling::ast::NestedMeta.

  • Replacement for the deprecated AttributeArgs:

// Before
parse_macro_input!(args as AttributeArgs);
// After
</tr></table>

... (truncated)

Changelog

Sourced from darling's changelog.

v0.20.8 (February 23, 2024)

  • Add #[darling(with = ...)] support to attrs magic field to allow using custom receiver types for attrs #273

v0.20.7 (February 22, 2024)

  • Add #[darling(flatten)] to allow forwarding unknown fields to another struct #146
  • Don't suggest names of skipped fields in derived impls #268

v0.20.6 (February 14, 2024)

  • Fix some missing syn invisible group handling in FromMeta impls #263
  • Fix misleading error message on Error::unexpected_type so it no longer implies the type was a literal #264
  • Impl FromMeta Vec of literals, e.g. LitStr #265

v0.20.5 (January 30, 2024)

  • Add Flag::span inherent method, as Flag can no longer impl syn::spanned::Spanned #242

v0.20.4 (January 29, 2024)

  • Accept bare paths in #[darling(default = ...)] #258
  • Add FromMeta impl for PathBuf #259
  • Improve FromMeta implementation for enums #260
    • Properly implement unit arms in FromMeta::from_list to provide a consistent API for heterogeneous enums that include a mix of unit, newtype and struct variants
    • Add #[darling(word)] attribute for unit enum variants (See #63 for details)

v0.20.3 (July 12, 2023)

  • Add FromMeta impl for u128 and i128 #243

v0.20.2 (May 25, 2023)

  • Allow darling users to omit quotation marks for paths and idents #236
  • Add new util functions for controlling how quotation marks are handled when reading into Expr fields #235

v0.20.1 (May 2, 2023)

  • Add Clone impl for NestedMeta #230

v0.20.0 (April 27, 2023)

Breaking Changes

  • Replace all occurrences of syn::NestedMeta with darling::ast::NestedMeta.

  • Replacement for the deprecated AttributeArgs:

... (truncated)

Commits
  • 25ce6ec Bump version to 0.20.8
  • 7ef3fa9 Support with on attrs magic field
  • a1fda4d Add Error::unknown_field_path_with_alts
  • 6158749 Bump version to 0.20.7
  • d8e65ce Fix flattening to work with 0..n attributes
  • 4790d79 Add test for flattening in FromField
  • 78ad512 Include parents in "did you mean" suggestions
  • 4ad0775 Store similarity score in ErrorUnknownField
  • 3eb3e93 Add #[darling(flatten)]
  • 60bff90 Add validations for conflicts of flatten with other meta items
  • 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.14.1 to 0.20.8.
- [Release notes](https://github.com/TedDriggs/darling/releases)
- [Changelog](https://github.com/TedDriggs/darling/blob/master/CHANGELOG.md)
- [Commits](TedDriggs/darling@v0.14.1...v0.20.8)

---
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 dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Feb 26, 2024
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.

0 participants