Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Aug 18, 2025

This PR contains the following updates:

Package Type Update Change
darling dependencies minor 0.20.10 -> 0.21.0

Release Notes

TedDriggs/darling (darling)

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 Aug 18, 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.21.3
    Updating git repository `https://github.com/bitwarden/rustcrypto-formats.git`
From https://github.com/bitwarden/rustcrypto-formats
 * [new ref]         2b27c63034217dd126bbf5ed874da51b84f8c705 -> refs/commit/2b27c63034217dd126bbf5ed874da51b84f8c705
    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]         3b764633ebc6576c07bdd12ee14d8e5c87b494ed -> refs/commit/3b764633ebc6576c07bdd12ee14d8e5c87b494ed
error: failed to select a version for the requirement `darling = "^0.20"`
candidate versions found which didn't match: 0.21.3
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 v1.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 August 18, 2025 03:29
@renovate renovate bot requested a review from justindbaur August 18, 2025 03:29
@codecov
Copy link

codecov bot commented Aug 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 79.68%. Comparing base (b1cf684) to head (d4d16ab).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #391      +/-   ##
==========================================
- Coverage   79.69%   79.68%   -0.02%     
==========================================
  Files         300      300              
  Lines       32220    32220              
==========================================
- Hits        25679    25673       -6     
- Misses       6541     6547       +6     

☔ 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.

@bitwarden-bot bitwarden-bot changed the title [deps]: Update Rust crate darling to 0.21.0 [PM-24917] [deps]: Update Rust crate darling to 0.21.0 Aug 18, 2025
@bitwarden-bot
Copy link

Internal tracking:

@renovate renovate bot changed the title [PM-24917] [deps]: Update Rust crate darling to 0.21.0 [deps]: Update Rust crate darling to 0.21.0 Aug 18, 2025
@renovate renovate bot force-pushed the renovate/darling-0.x branch from 2a8c1e3 to 039eb81 Compare August 21, 2025 22:33
@renovate renovate bot force-pushed the renovate/darling-0.x branch from 039eb81 to 6e6b8b2 Compare August 31, 2025 11:42
@trmartin4 trmartin4 requested review from dani-garcia and removed request for justindbaur September 5, 2025 23:36
@renovate renovate bot force-pushed the renovate/darling-0.x branch from 6e6b8b2 to 8bdb8a0 Compare September 8, 2025 15:04
@renovate renovate bot force-pushed the renovate/darling-0.x branch 2 times, most recently from 9d8ae9b to 72be5cf Compare September 29, 2025 09:34
@renovate renovate bot force-pushed the renovate/darling-0.x branch from 72be5cf to d4d16ab Compare November 13, 2025 10:15
@dani-garcia
Copy link
Member

Some crates in our graph are using the older version, so rather than update now and duplicate it. I think it's better to wait until those crates are updated (zxcvbn and validator)

@dani-garcia dani-garcia deleted the renovate/darling-0.x branch November 13, 2025 16:24
@renovate
Copy link
Contributor Author

renovate bot commented Nov 13, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.21.0). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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.

3 participants