Skip to content

Update SDK to 3.0.0-8933-5c534361 - #7401

Merged
david-livefront merged 13 commits into
mainfrom
sdlc/sdk-update
Sep 21, 2026
Merged

david-livefront merged 13 commits into
mainfrom
sdlc/sdk-update

Conversation

@bw-ghapp

@bw-ghapp bw-ghapp Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Updates the SDK version from 3.0.0-8826-20e5595c to com.bitwarden:sdk-android 3.0.0-8933-5c534361

What's Changed

Raw changelog
- Update Identity bindings to ea72d835ee3bfea5b65ff9837cf4d9c2f8dc696a (#1379)
- fix(crypto): tolerate unparseable EncStrings across FFI boundary (#1462)
- Document why UniFFI exports must return BitwardenError (#1486)
- chore(docs): Add clarification to addressing breaking changes in API binding update
- Update API bindings to 343b7a47c37be4eb21b1fc5702fdbab1e1cffb05 (#1488)
- [PM-42581] feat: Add OrganizationUsersClient for staged-invite invite endpoints (#1483)
- tests: add integration test platform (#1450)
- Fix http-mock import in org users test (#1500)
- Use lint script in precommit hooks (#1501)
- Fix flaky passphrase test (#1504)
- [PM-42985] Add wasm FFI macros (#1503)
- [deps]: Update actions/setup-java action to v6 (#1480)
- Update Identity bindings to dd827fd9d56e59d4e29e826a818b4f631500668f (#1506)

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

claude Bot commented Sep 16, 2026 •

Copy link
Copy Markdown
Contributor

Claude finished @david-livefront's task in 4m 57s —— View job


SDK bump evaluated

3.0.0-8826-20e5595c → 3.0.0-8933-5c534361 — 13 commits in range.

Evaluated with the evaluating-sdk-internal-updates skill (Identify steps 1–7) against the local bitwarden/sdk-internal clone. Every hunk in the range was classified, not just each commit's headline change.

Compile-time breaks

None found.

./gradlew app:compileStandardDebugKotlin authenticator:compileDebugKotlin → BUILD SUCCESSFUL, resolving the new sdk-android-3.0.0-8933-5c534361.aar.

The binding-surface crawl (-G'uniffi::export|derive\(uniffi|#\[uniffi') returned exactly one commit — bitwarden/sdk-internal#1503 — and its match is a doc comment in bitwarden-ffi-macro referencing UniFFI naming. bitwarden-ffi / bitwarden-ffi-macro are the wasm/tsify macro crates, unrelated to the UniFFI surface.

No method was added to any with_foreign callback interface — notably StateBridgeForeignImpl, implemented at app/src/main/kotlin/com/x8bit/bitwarden/data/platform/manager/sdk/statebridge/SdkStateBridge.kt:29, is unchanged.

Runtime considerations

bitwarden/sdk-internal#1462 — EncString parsing is now infallible. Worth knowing about; no Android change needed.

EncString reaches Kotlin as a String typealias via uniffi::custom_type!(EncString, String, { try_lift: EncString::from_str, lower: to_string }) (crates/bitwarden-crypto/src/uniffi_support.rs:30). That commit rewrites from_str to never fail — unrecognized input now becomes a new EncString::Unparseable { raw } variant instead of an error.

The behavioral shift:

Before After
Malformed EncString crossing FFI throws at the boundary during lift lifts fine as Unparseable
Failure point call site decrypt/unwrap, as the new CryptoError::UnparseableEncString

Android call sites for the affected symbol:

  • SdkStateBridge.getEncryptedPin(): EncString? / setEncryptedPin(value: EncString) — SdkStateBridge.kt:87-92. This returns a raw string straight from AuthDiskSource into a with_foreign callback, so it's the one place where a corrupt on-disk value previously failed as a lift error inside a callback return — the worst-behaved case. Now tolerated.
  • VaultSdkSource.enrollPinWithEncryptedPin — forwards to enroll_pin_with_encrypted_pin(encrypted_pin: EncString).

Both surface as Result.failure either way, and Android's handling is broad catch (e: BitwardenException) (VaultSdkSourceImpl.kt:600,633) with no matching on EncStringParseError / InvalidTypeSymm variants — so the error-type change is absorbed. Net effect is an improvement: corrupt stored PIN data now produces a clean decryption failure instead of an UnexpectedUniFFICallbackError. Flagging it only because the failure point moves later in the flow, which could shift where a PIN-unlock error is reported to the user.

Everything else in range — confirmed safe

Commit

No commit — nothing needed fixing.

--- · branch sdlc/sdk-update

@codecov

codecov Bot commented Sep 16, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.57%. Comparing base (d70e133) to head (f562b34).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7401      +/-   ##
==========================================
+ Coverage   85.67%   86.57%   +0.89%     
==========================================
  Files         987      900      -87     
  Lines       67616    65357    -2259     
  Branches     9358     9317      -41     
==========================================
- Hits        57933    56581    -1352     
+ Misses       6198     5305     -893     
+ Partials     3485     3471      -14     
Flag Coverage Δ
app-data 18.65% <ø> (+0.38%) ⬆️
app-ui-auth-tools 18.68% <ø> (-0.11%) ⬇️
app-ui-platform 16.25% <ø> (ø)
app-ui-vault 26.95% <ø> (-0.67%) ⬇️
authenticator 6.03% <ø> (+0.04%) ⬆️
lib-core-network-bridge 4.08% <ø> (ø)
lib-data-ui 1.19% <ø> (ø)

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 3.0.0-8840-6bfb7d03 Update SDK to 3.0.0-8843-021de8a3 Sep 17, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8843-021de8a3 Update SDK to 3.0.0-8849-b17fd823 Sep 17, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8849-b17fd823 Update SDK to 3.0.0-8857-8be9dbc8 Sep 17, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8857-8be9dbc8 Update SDK to 3.0.0-8864-61ff0c83 Sep 17, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8864-61ff0c83 Update SDK to 3.0.0-8867-60366b76 Sep 17, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8867-60366b76 Update SDK to 3.0.0-8877-7de8f13a Sep 18, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8877-7de8f13a Update SDK to 3.0.0-8891-f6e2bdb3 Sep 18, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8891-f6e2bdb3 Update SDK to 3.0.0-8895-663b8a96 Sep 18, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8895-663b8a96 Update SDK to 3.0.0-8902-23dd9474 Sep 18, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8902-23dd9474 Update SDK to 3.0.0-8925-8242e487 Sep 21, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8925-8242e487 Update SDK to 3.0.0-8927-7d8465b9 Sep 21, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 3.0.0-8927-7d8465b9 Update SDK to 3.0.0-8933-5c534361 Sep 21, 2026

@vvolkgang vvolkgang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@david-livefront

Copy link
Copy Markdown
Collaborator

Thanks @vvolkgang

@david-livefront
david-livefront added this pull request to the merge queue Sep 21, 2026
Merged via the queue into main with commit 1205d47 Sep 21, 2026
27 checks passed
@david-livefront
david-livefront deleted the sdlc/sdk-update branch September 21, 2026 22:18
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.

2 participants