Skip to content

Update SDK to 265e505 (3.0.0-7923-71a958f) - #2989

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

Update SDK to 265e505 (3.0.0-7923-71a958f)#2989
bw-ghapp[bot] wants to merge 29 commits into
mainfrom
sdlc/sdk-update

Conversation

@bw-ghapp

@bw-ghapp bw-ghapp Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Updates the SDK from b7e7be7e7f5adde3cafcb27d79fac80a53c5c3c8 to 265e505bf7cac681aee30b5d0d6fb78b2a3481c0

What's Changed

Raw changelog
- fix: add key id to masterpasswordunlockdata (#1391)
- [PM-40985] Introduce managed settings crates (#1403)
- [PM-34718] Implement bw receive / bw send receive (#1317)
- [PM-40994] Add and generate wasm and uniffi bindings for managed settings (#1404)
- [PM-35785] Strongly typed policy enforcement (#1364)
- [deps]: Update actions/checkout action to v7 (#1341)
- [PM-40237] Stop emitting placeholder name for blob ciphers (#1408)
- refactor(shared-unlock): simplify shared unlock (#1397)
- deps: bump h2 to 0.4.16 (RUSTSEC-2026-0258) (#1415)
- Update API bindings to fc5ea9ab05bf7a1679163fc13ec351ff96363000 (#1402)
- [PM-41798] 1Password access module (#1371)
- [PM-41447] Add destination filtering to shared unlock (#1413)
- Ensure no commercial crates are part of the OSS builds (#1248)
- [deps] Platform (cargo): Update Rust crate uniffi to v0.32.0 (#1325)
- [deps]: Update Rust crate rusqlite to >=0.37.0, <0.41 (#1171)
- [PM-38816] New crypto lib in new importers crate for Keeper DI (#1182)
- Fix ThreadBoundRunner Clone Comment (#1420)
- Update API bindings to e607c3f43ebcbf6feb2aa6768c80bc9ddd5f4460 (#1416)
- feat(crypto): prevent V2 to V1 downgrade (#1417)
- Update API bindings to 0c32f3021f3e9bea08958fca1ec3cefe3462c88e (#1431)
- [deps]: Update dtolnay/rust-toolchain digest to 4360b52 (#1422)
- [PM-37487] Move collections client ownership to Admin Console (#1380)
- [PM-42599] [PM-41798] 1Password access: redact Debug output and fix crypto dep ownership (#1418)
- feat(ipc): route RPC responses on per-request dedicated topics [Option A] (#1409)
- [deps]: Update Rust to v2026-09-01 (#1428)
- Update API bindings to f758b982f8b89e8e16b3cd5f56fc129b30b45035 (#1435)
- [PM-40277] Key rotation corrupts attachments, fido2 credentials (#1265)
- [deps]: Update Rust crate comfy-table to v8 (#1429)

@bw-ghapp bw-ghapp Bot added the automated-pr PR created by workflow or other automation label Aug 21, 2026
@bw-ghapp
bw-ghapp Bot requested a review from matt-livefront as a code owner August 21, 2026 15:21
@bw-ghapp bw-ghapp Bot added the t:deps Change Type - Dependencies label Aug 21, 2026
@bw-ghapp
bw-ghapp Bot requested a review from a team as a code owner August 21, 2026 15:21
@bw-ghapp bw-ghapp Bot added automated-pr PR created by workflow or other automation t:deps Change Type - Dependencies labels Aug 21, 2026
@github-actions github-actions Bot added app:password-manager Bitwarden Password Manager app context app:authenticator Bitwarden Authenticator app context labels Aug 21, 2026
@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2989      +/-   ##
==========================================
+ Coverage   79.53%   79.60%   +0.06%     
==========================================
  Files        1169     1169              
  Lines       75095    75200     +105     
==========================================
+ Hits        59724    59860     +136     
+ Misses      15371    15340      -31     

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

@claude

claude Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

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


SDK bump evaluated

b7e7be7265e505 (sdk-swift), 3.0.0-7742-9794da53.0.0-7923-71a958f, 28 commits in range.

Surface diff over the sdk-swift range: 0 REMOVED, 0 MUTATED type declarations, 17 ADDED declarations. project-common.yml pin matches the SDKVersionInfoTests format (^\d+\.\d+\.\d+-\d+-[a-f0-9]+$), and BitwardenSdkMocks/BitwardenSdkMocks.swift needs no new entry — no client protocol iOS consumes was renamed or added.

Compile-time breaks

Build passed. build-for-testing for both Bitwarden and Authenticator exited 0 with no error:, Undefined symbols or ld: lines. The log shows BitwardenSdkMocks compiling, which is reachable only from test targets, so test code was covered too.

Two record-field additions were genuine initializer breaks, and both are already absorbed by commits on this branch — nothing left to fix:

  1. Send.data: SendItem? / SendView.data: SendItemView?[PM-34718] Implement bw receive / bw send receive sdk-internal#1317. New parameter in the middle of both memberwise initializers, so every construction site breaks. Fixed at BitwardenShared/Core/Tools/Extensions/BitwardenSdk+Tools.swift:92, BitwardenShared/UI/Tools/Send/SendItem/AddEditSendItem/AddEditSendItemState.swift:266, plus fixtures in BitwardenSdk+ToolsFixtures.swift, SendView+Fixtures.swift, SendListState+Fixtures.swift, BitwardenSdk+VaultMocking.swift. All pass data: nil, which is correct — SendEncryptionType has only .v1.
  2. MasterPasswordUnlockData.containedKeyId: KeyId?fix: add key id to masterpasswordunlockdata sdk-internal#1391. Fixed at BitwardenShared/Core/Auth/Models/Request/MasterPasswordUnlockDataRequestModel.swift:11,31, which forwards it into the request model.

Runtime considerations

  • v2 send payloads are dropped — both iOS construction sites hard-code data: nil, and the read path (ViewSendItemState, AddEditSendItemState) still reads only text/file. Correct today since the app is v1-only and the server emits no v2 sends, but a send arriving with a data payload would render as empty rather than as an error. The two // The app only creates v1 sends comments mark this deliberately; worth tracking against [PM-34718] Implement bw receive / bw send receive sdk-internal#1317 rollout.
  • containedKeyId is wire-compatible — Swift's synthesized Encodable uses encodeIfPresent for optionals, so the UpdateKdf body is byte-identical when the key has no ID, and gains "containedKeyId" only when it does. UpdateKdfRequestTests.test_body / test_body_containedKeyId assert exactly both shapes.
  • New error cases reach iOS through generic handling onlyMasterPasswordError.KeyIdMalformed (fix: add key id to masterpasswordunlockdata sdk-internal#1391) and BitwardenError.CollectionDecrypt / .CollectionEncrypt ([PM-37487] Move collections client ownership to Admin Console sdk-internal#1380). iOS never switches exhaustively over these; it uses targeted catch patterns (VaultClientService.swift:85, SSOCookieVendorResponseHandler.swift:49) and String(describing:) in BitwardenSdk+Platform.swift:31. No compile break, and the new cases surface as generic errors — acceptable, since none of them is actionable in the UI.
  • No serialization regression. uniffi.toml diff over the sdk-internal range adds only the brand-new bitwarden-managed-settings-types crate; no existing type moved out of bitwarden-core/bitwarden-crypto. Codable conformance count in BitwardenCore.swift is unchanged at 47.

Everything else in range — confirmed safe

Foreign-implemented protocols all verified unchanged, so no with_foreign conformer needs a new stub: Fido2CredentialStore, ClientManagedTokens, ServerCommunicationConfigRepository, Fido2UserInterface. No enum case was removed anywhere in the range.

Commit

No commit — nothing needed fixing. Both compile breaks were already resolved by commits already on sdlc/sdk-update, and the verifying build passes for both schemes including test targets.
sdlc/sdk-update

@bw-ghapp bw-ghapp Bot changed the title Update SDK to ed5380c (3.0.0-7748-953508f) Update SDK to a3fda30 (3.0.0-7749-b57d1bb) Aug 22, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to a3fda30 (3.0.0-7749-b57d1bb) Update SDK to 9d646cf (3.0.0-7757-f856c93) Aug 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 9d646cf (3.0.0-7757-f856c93) Update SDK to acee733 (3.0.0-7758-49b5213) Aug 24, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to acee733 (3.0.0-7758-49b5213) Update SDK to 59a5e28 (3.0.0-7763-e5ec7c5) Aug 25, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 59a5e28 (3.0.0-7763-e5ec7c5) Update SDK to b89e765 (3.0.0-7776-268fa76) Aug 25, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to b89e765 (3.0.0-7776-268fa76) Update SDK to 8010eeb (3.0.0-7784-2ee904c) Aug 26, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 8010eeb (3.0.0-7784-2ee904c) Update SDK to c158ba1 (3.0.0-7785-de0ac22) Aug 26, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to c158ba1 (3.0.0-7785-de0ac22) Update SDK to 8423bca (3.0.0-7802-6c40e04) Aug 26, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 8423bca (3.0.0-7802-6c40e04) Update SDK to bb998da (3.0.0-7803-e3b223d) Aug 26, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to bb998da (3.0.0-7803-e3b223d) Update SDK to 8eafde8 (3.0.0-7806-c1b859a) Aug 26, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 8eafde8 (3.0.0-7806-c1b859a) Update SDK to e9f50ba (3.0.0-7826-c550467) Aug 27, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to e9f50ba (3.0.0-7826-c550467) Update SDK to 97ff5c6 (3.0.0-7827-b41ba80) Aug 27, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 97ff5c6 (3.0.0-7827-b41ba80) Update SDK to 26f3e11 (3.0.0-7833-b19177e) Aug 27, 2026
bw-ghapp Bot added 7 commits August 27, 2026 10:28
The SDK now populates `MasterPasswordUnlockData.containedKeyId` from the
user key, and its own request-model conversion forwards it. iOS builds
`MasterPasswordUnlockDataRequestModel` by hand, so it was dropping the
field and sending no key ID for users whose key has one — the case
bitwarden/sdk-internal#1391 set out to fix.
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 26f3e11 (3.0.0-7833-b19177e) Update SDK to 5aec8bc (3.0.0-7835-9daf108) Aug 27, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 5aec8bc (3.0.0-7835-9daf108) Update SDK to fd64458 (3.0.0-7851-db45e84) Aug 28, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to fd64458 (3.0.0-7851-db45e84) Update SDK to ab1d63f (3.0.0-7852-b904fe4) Aug 28, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to ab1d63f (3.0.0-7852-b904fe4) Update SDK to e20428d (3.0.0-7871-2204cba) Aug 31, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to e20428d (3.0.0-7871-2204cba) Update SDK to 7022ec7 (3.0.0-7875-58a8c61) Aug 31, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 7022ec7 (3.0.0-7875-58a8c61) Update SDK to 927d9b9 (3.0.0-7878-12e6fe3) Aug 31, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 927d9b9 (3.0.0-7878-12e6fe3) Update SDK to 5f2412c (3.0.0-7882-cc0c362) Aug 31, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 5f2412c (3.0.0-7882-cc0c362) Update SDK to 7a99782 (3.0.0-7888-61a35d8) Aug 31, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 7a99782 (3.0.0-7888-61a35d8) Update SDK to 4dcc64e (3.0.0-7900-bdba9fa) Sep 1, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to 4dcc64e (3.0.0-7900-bdba9fa) Update SDK to ff9c179 (3.0.0-7911-5afe6ec) Sep 1, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to ff9c179 (3.0.0-7911-5afe6ec) Update SDK to f29caf5 (3.0.0-7915-b4ffb80) Sep 1, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to f29caf5 (3.0.0-7915-b4ffb80) Update SDK to d90abf9 (3.0.0-7918-e132bb1) Sep 1, 2026
@bw-ghapp bw-ghapp Bot changed the title Update SDK to d90abf9 (3.0.0-7918-e132bb1) Update SDK to 265e505 (3.0.0-7923-71a958f) Sep 1, 2026
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