[PR #6605] Update SDK to 2.0.0-5451-c73f9161 #12855

Closed
opened 2026-04-11 03:52:24 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6605

State: closed
Merged: Yes


Updates the SDK version from 2.0.0-5425-a6f4a233 to com.bitwarden:sdk-android 2.0.0-5451-c73f9161

What's Changed

Raw changelog
- [PM-32525] Unwrap using key_identifier when generating cipher view key (#801)
- [PM-32510] Add symmetric key envelope (#777)
- [PM-28926] Bulk DB operations (#804)
- [PM-31051] Add V2UpgradeToken for key rotation without logout (#785)

Breaking Changes Resolved

Two SDK commits introduced breaking API changes requiring client-side fixes:

PM-31051: upgradeToken parameter

InitUserCryptoRequest now requires an upgradeToken: V2UpgradeToken? parameter for V2 key rotation support. Since V2 key rotation (PM-22867) is still in design with no client work, all call sites pass null.

PM-28926: Bulk CipherRepository methods

The SDK's CipherRepository interface now requires setBulk, removeBulk, and removeAll methods. These were implemented through the full data layer stack:

  • CiphersDao — Added deleteSelectedCiphers bulk delete query
  • VaultDiskSource/Impl — Added saveCiphers, deleteSelectedCiphers, deleteAllCiphers
  • SdkCipherRepository — Implemented all three overrides with ID validation and empty-input guards
**Original Pull Request:** https://github.com/bitwarden/android/pull/6605 **State:** closed **Merged:** Yes --- Updates the SDK version from `2.0.0-5425-a6f4a233` to `com.bitwarden:sdk-android 2.0.0-5451-c73f9161` ## What's Changed - bitwarden/sdk-internal#801 - bitwarden/sdk-internal#777 - bitwarden/sdk-internal#804 - bitwarden/sdk-internal#785 <details> <summary>Raw changelog</summary> ``` - [PM-32525] Unwrap using key_identifier when generating cipher view key (#801) - [PM-32510] Add symmetric key envelope (#777) - [PM-28926] Bulk DB operations (#804) - [PM-31051] Add V2UpgradeToken for key rotation without logout (#785) ``` </details> ## Breaking Changes Resolved Two SDK commits introduced breaking API changes requiring client-side fixes: ### PM-31051: `upgradeToken` parameter `InitUserCryptoRequest` now requires an `upgradeToken: V2UpgradeToken?` parameter for V2 key rotation support. Since V2 key rotation (PM-22867) is still in design with no client work, all call sites pass `null`. ### PM-28926: Bulk `CipherRepository` methods The SDK's `CipherRepository` interface now requires `setBulk`, `removeBulk`, and `removeAll` methods. These were implemented through the full data layer stack: - **`CiphersDao`** — Added `deleteSelectedCiphers` bulk delete query - **`VaultDiskSource`/`Impl`** — Added `saveCiphers`, `deleteSelectedCiphers`, `deleteAllCiphers` - **`SdkCipherRepository`** — Implemented all three overrides with ID validation and empty-input guards [PM-32525]: https://bitwarden.atlassian.net/browse/PM-32525?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [PM-32510]: https://bitwarden.atlassian.net/browse/PM-32510?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [PM-28926]: https://bitwarden.atlassian.net/browse/PM-28926?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ [PM-31051]: https://bitwarden.atlassian.net/browse/PM-31051?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
GiteaMirror added the pull-request label 2026-04-11 03:52:24 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12855