Skip to content

Update SDK to 4.0.0-10467-1474286d - #7632

Open
bw-ghapp[bot] wants to merge 15 commits into
mainfrom
sdlc/sdk-update
Open

bw-ghapp[bot] wants to merge 15 commits into
mainfrom
sdlc/sdk-update

Conversation

@bw-ghapp

@bw-ghapp bw-ghapp Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Updates the SDK version from 4.0.0-10369-56c7617b to com.bitwarden:sdk-android 4.0.0-10467-1474286d

Warning

Breaking changes detected :feelsgood:

What's Changed

Raw changelog
- [deps] Tools: Update Rust crate keepass to >=0.13.7, <0.18 (#1772)
- [PM-47314] Use FIPS cipher suite on self-hosted (#1826)
- Add bitwarden-web-connector crate for encrypted browser callbacks (#1803)
- [PAM-664] PAM: document that access-rule operations need rule-manager permission (#1827)
- Update API bindings to 23bd20547bececfe3148c778f5da6b8fc125a5d9 (#1819)
- [PM-38470] build: Update Android build dependencies (#1828)
- Re-record vault blob test vectors with AES-256-GCM (#1817)
- [VULN-1415] ci: Run Verifpal via cargo-run-bin (#1792)
- PAM-581: page the approver history and add the approved read (#1797)
- [PM-38470] feat: Add TransportSettings to ClientSettings (#1829)
- PAM-581: test every approver history status wire name (#1841)
- Update API bindings to 9c109b6b4addad5eb821e263e5cdc25657dc6563 (#1842)
- [PAM-585] feat: Surface lastJobFailed on RotationConfigView (to main, from #1804) (#1839)
- PAM: Live-server end-to-end suite for the access connector (#1752)
- ci: Re-enable dylint and ignore the chrono unmaintained advisory (#1835)

@bw-ghapp
bw-ghapp Bot requested review from a team and david-livefront as code owners November 19, 2026 19:13
@bw-ghapp bw-ghapp Bot added automated-pr PR created by workflow or other automation t:deps Change Type - Dependencies labels Nov 19, 2026
@github-actions github-actions Bot added app:authenticator Bitwarden Authenticator app context app:password-manager Bitwarden Password Manager app context labels Nov 19, 2026
@claude

claude Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @bw-ghapp[bot]'s task in 4m 14s —— View job


SDK bump evaluated

4.0.0-10369-56c7617b → 4.0.0-10467-1474286d — 15 commits in sdk-internal (56c7617b..1474286d).

Evaluated with the evaluating-sdk-internal-updates skill against the local sdk-internal clone. app:compileStandardDebugKotlin and authenticator:compileDebugKotlin both pass, with the compile classpath confirmed resolving to com.bitwarden:sdk-android:4.0.0-10467-1474286d.

Compile-time breaks

None found.

The only binding-surface change in range is bitwarden/sdk-internal#1829, which adds transport: Option<TransportSettings> to ClientSettings (plus new TransportSettings / ProxySettings / ProxyCredentials / TimeoutSettings records). It carries #[cfg_attr(feature = "uniffi", uniffi(default = None))], so the generated Kotlin parameter is defaulted. The repo's single construction site — app/.../sdk/SdkRepositoryFactoryImpl.kt:62 — uses named arguments only, so it is additive-safe. No Android call sites exist for the new types yet.

Every other .rs change in range is either in a crate absent from bitwarden-uniffi's dependency list (bitwarden-pam, bitwarden-api-api, bitwarden-test, bitwarden-web-connector) or confined to #[cfg(test)] blocks.

Runtime considerations

1. Self-hosted now uses the FIPS cipher suite — bitwarden/sdk-internal#1826 (2079db5d)

ClientBuilder previously derived the key store's cipher suite from gov mode alone; it now derives it from a new Deployment enum where both Gov and self-hosted resolve to CipherSuite::Fips (only bitwarden.com, bitwarden.eu, usdev.bitwarden.pw, qa.bitwarden.pw and their subdomains count as Cloud).

Concretely, for Android users on a self-hosted server this flips PBKDF2 in for Argon2id wherever the SDK picks an algorithm from the suite — most relevantly suite_kdf() in password_protected_key_envelope.rs, which seals the PIN-protected key envelopes this app persists (SdkStateBridge.kt:53/:70). Existing envelopes carry their own KDF params and still unseal, so this is not a breakage, but newly created PIN envelopes on self-hosted will be PBKDF2-sealed. Worth a QA pass on self-hosted: set a PIN, lock, unlock.

No lockout risk from the related is_kdf_compliant() — it has no production callers, only the (unused-by-Android) CryptoCipherSuiteClient wrapper and tests. Android also passes kdf explicitly into makeRegisterKeys, so account registration is unaffected.

2. Cipher collection endpoints renamed server-side — bitwarden/sdk-internal#1842 (3bbcf683)

CiphersClient::update_collection, add_to_collections, and bulk_update_collections now hit put_shared_folders_v_next / put_shared_folders_admin / post_bulk_shared_folders instead of their *_collections predecessors. Kotlin signatures are unchanged (still collectionIds), so this is invisible at compile time — but it changes which server endpoints are called.

Android has no call sites for any of the three (updateCollection, bulkUpdateCollections, addToCollections all return zero Kotlin matches), so there is no impact today. Flagging it for whenever this app does adopt them, since it implies a server-version floor.

3. Transitive jna bump — bitwarden/sdk-internal#1828 (959af382)

The published SDK AAR moves net.java.dev.jna:jna 5.17.0 → 5.19.1 and kotlinx-coroutines-android 1.10.1 → 1.11.0. jna isn't declared in this repo's version catalog, so it arrives transitively; coroutines 1.11.0 already matches libs.versions.toml:49. The same commit moves the SDK module to compileSdk/targetSdk 37 and Java 21 — identical to this app's settings. Nothing to change.

Everything else in range — confirmed safe

Commit

No commit — nothing needed fixing. The version bump stands on its own; the two runtime notes above are for awareness and QA, not code changes.
• branch sdlc/sdk-update

@codecov

codecov Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.91%. Comparing base (0150af5) to head (67ef41e).
⚠️ Report is 13 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7632      +/-   ##
==========================================
+ Coverage   86.87%   86.91%   +0.03%     
==========================================
  Files         897      898       +1     
  Lines       65261    65463     +202     
  Branches     9389     9413      +24     
==========================================
+ Hits        56695    56896     +201     
+ Misses       5095     5091       -4     
- Partials     3471     3476       +5     
Flag Coverage Δ
app-data 18.95% <ø> (-0.07%) ⬇️
app-ui-auth-tools 18.77% <ø> (-0.03%) ⬇️
app-ui-platform 15.99% <ø> (-0.03%) ⬇️
app-ui-vault 27.14% <ø> (+0.12%) ⬆️
authenticator 6.04% <ø> (-0.02%) ⬇️
lib-core-network-bridge 4.14% <ø> (-0.02%) ⬇️
lib-data-ui 1.33% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.

@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10381-97e99b07 Update SDK to 4.0.0-10385-2079db5d Nov 20, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10385-2079db5d Update SDK to 4.0.0-10394-c5c08aeb Nov 20, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10394-c5c08aeb Update SDK to 4.0.0-10402-21e622be Nov 23, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10402-21e622be Update SDK to 4.0.0-10403-ca54864a Nov 23, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10403-ca54864a Update SDK to 4.0.0-10405-959af382 Nov 23, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10405-959af382 Update SDK to 4.0.0-10422-727954ac Nov 23, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10422-727954ac Update SDK to 4.0.0-10430-d8978548 Nov 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10430-d8978548 Update SDK to 4.0.0-10434-ca7e7e36 Nov 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10434-ca7e7e36 Update SDK to 4.0.0-10442-b762060a Nov 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10442-b762060a Update SDK to 4.0.0-10448-e6a0a9e4 Nov 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10448-e6a0a9e4 Update SDK to 4.0.0-10449-3bbcf683 Nov 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10449-3bbcf683 Update SDK to 4.0.0-10451-28bd6259 Nov 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10451-28bd6259 Update SDK to 4.0.0-10458-2b06afa3 Nov 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4.0.0-10458-2b06afa3 Update SDK to 4.0.0-10467-1474286d Nov 25, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:authenticator Bitwarden Authenticator app context app:password-manager Bitwarden Password Manager app context automated-pr PR created by workflow or other automation t:deps Change Type - Dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants