Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 22, 2025

This PR contains the following updates:

Package Type Update Change
darling dependencies minor 0.20.10 -> 0.23.0

Release Notes

TedDriggs/darling (darling)

v0.23.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

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

v0.21.2

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • 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

Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Dec 22, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path crates/bitwarden-error-macro/Cargo.toml --package darling@0.20.11 --precise 0.23.0
    Updating git repository `https://github.com/mozilla/uniffi-rs`
From https://github.com/mozilla/uniffi-rs
 * [new ref]           6d46b3f756dde3213357c477d86771a0fc5da7b4 -> refs/commit/6d46b3f756dde3213357c477d86771a0fc5da7b4
    Updating crates.io index
    Updating git repository `https://github.com/bitwarden/passkey-rs`
From https://github.com/bitwarden/passkey-rs
 * [new ref]         357cc9672340f6ff1f22a0b210a74de64799fa73 -> refs/commit/357cc9672340f6ff1f22a0b210a74de64799fa73
error: failed to select a version for the requirement `darling = "^0.20"`
candidate versions found which didn't match: 0.23.0
location searched: crates.io index
required by package `validator_derive v0.18.0`
    ... which satisfies dependency `validator_derive = "^0.18"` of package `validator v0.18.1`
    ... which satisfies dependency `validator = ">=0.18.1, <0.21"` of package `bitwarden-sm v2.0.0 (/tmp/renovate/repos/github/bitwarden/sdk-internal/bitwarden_license/bitwarden-sm)`

@renovate renovate bot requested a review from a team as a code owner December 22, 2025 03:37
@renovate renovate bot requested a review from djsmith85 December 22, 2025 03:37
@bitwarden-bot bitwarden-bot changed the title [deps]: Update Rust crate darling to 0.23.0 [PM-30051] [deps]: Update Rust crate darling to 0.23.0 Dec 22, 2025
@bitwarden-bot
Copy link

Internal tracking:

@github-actions
Copy link
Contributor

github-actions bot commented Dec 22, 2025

🔍 SDK Breaking Change Detection Results

SDK Version: renovate/darling-0.x (4cf227d)
Completed: 2025-12-22 03:48:38 UTC
Total Time: 244s

Client Status Details
typescript ✅ No breaking changes detected TypeScript compilation passed with new SDK version - View Details

Breaking change detection completed. View SDK workflow

@codecov
Copy link

codecov bot commented Dec 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.85%. Comparing base (b9cf7b7) to head (4cf227d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #631      +/-   ##
==========================================
+ Coverage   78.84%   78.85%   +0.01%     
==========================================
  Files         283      283              
  Lines       29660    29660              
==========================================
+ Hits        23384    23387       +3     
+ Misses       6276     6273       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot changed the title [PM-30051] [deps]: Update Rust crate darling to 0.23.0 [deps]: Update Rust crate darling to 0.23.0 Dec 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants