Skip to content

Update sdk-internal to 0.2.0-main.1204 - #24457

Merged
quexten merged 1 commit into
mainfrom
sdlc/sdk-update
Nov 5, 2026
Merged

quexten merged 1 commit into
mainfrom
sdlc/sdk-update

Conversation

@bw-ghapp

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

Copy link
Copy Markdown
Contributor

🤖 Automated SDK Update

This PR updates the SDK packages to version 0.2.0-main.1204.

Changes

  • @bitwarden/sdk-internal: 0.2.0-main.1202 → 0.2.0-main.1204
  • @bitwarden/commercial-sdk-internal: 0.2.0-main.1202 → 0.2.0-main.1204

What's Changed in SDK

Raw changelog
- feat(crypto): add legacy compat symmetric key envelope (#1515)
- [PM-46030] Ship non-SIMD wasm alongside the SIMD build (#1745)

Links

@bw-ghapp bw-ghapp Bot added automated pr PR created by workflow or other automation t:deps Change Type - Dependencies labels Nov 5, 2026
@claude

claude Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

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


SDK bump evaluated

@bitwarden/sdk-internal and @bitwarden/commercial-sdk-internal: 0.2.0-main.1202 → 0.2.0-main.1204 (both pinned to the same string, as lint:sdk-internal-versions requires).

sdk-internal range: 9910210177161d379464b6e68109091962e7b263..867cc58db3fd718e959d923b8d950532e84f8948 — 2 commits. The installed package's VERSION confirms 867cc58d.

Surface diff (both packages, root bitwarden_wasm_internal.d.ts): declarations 2512 → 2513 (commercial 2887 → 2888).

count detail
REMOVED 0 —
MUTATED 0 —
ADDED 1 LegacyCompatSymmetricKeyEnvelope — new top-level type alias, no pre-existing owner

Compile-time breaks

None found. The only TS surface change is additive and ownerless:

export type LegacyCompatSymmetricKeyEnvelope = Tagged<string, "LegacyCompatSymmetricKeyEnvelope">;

git grep -n 'LegacyCompatSymmetricKeyEnvelope' from the repo root returns no matches — nothing in apps/, libs/ or bitwarden_license/ consumes it. With zero REMOVED and zero MUTATED entries, no existing call site, interface construction site or enum value is touched by this range, so the three sets the baseline tsc legs don't cover (@ts-strict-ignore files under apps//bitwarden_license/, root-excluded apps/**/*.spec.ts, and factory-form jest.mock("@bitwarden/sdk-internal") mocks including libs/common/src/platform/spec/mock-sdk.service.ts and libs/common/spec/jest-sdk-client-factory.ts) have no exposure here either — in particular there is no PasswordManagerClient constructor change.

The type check passed. The baseline npm run test:types exited 0 with no error TS diagnostics across all projects including tsc-strict (4884 strict files, all passed). Since no files were edited, that run is also the verifying check.

Runtime considerations

Neither item requires a change here; both are worth knowing about.

  • bitwarden/sdk-internal#1515 — legacy compat symmetric key envelope. Adds LegacyCompatSymmetricKeyEnvelope, a wrapped-key type that reads both the legacy EncString and the newer SymmetricKeyEnvelope, plus SymmetricKeyEnvelope::encrypted_by_key_id(). Everything is confined to bitwarden-crypto; no WASM-exposed API takes or returns it yet, which is why it surfaces only as a branded string alias. The upstream migration contract is worth flagging for whichever team adopts it: seal with seal_legacy first, and only switch to seal three full releases later — the switch is a breaking change because older clients cannot read the envelope format. No clients code writes or reads this field today, so no wire-value or stored-format change ships in this bump.
  • bitwarden/sdk-internal#1745 — non-SIMD wasm shipped alongside SIMD. Packaging-only: bitwarden_wasm_internal_bg.mvp.wasm and its copied .d.ts are added to the files list (confirmed present in the installed package). Purely additive — the SIMD bitwarden_wasm_internal_bg.wasm and the wasm2js bitwarden_wasm_internal_bg.wasm.js fallback are both unchanged and still shipped. All five load sites still import the SIMD binary (libs/common/src/platform/services/sdk/default-sdk-load.service.ts:2, apps/browser/src/platform/services/sdk/wasm.ts:2, apps/cli/src/platform/services/cli-sdk-load.service.ts:8, apps/desktop/src/services/main-sdk-load-service.ts:6, apps/web/src/app/platform/web-sdk-load.service.ts:25), and web still falls back to .wasm.js at web-sdk-load.service.ts:27. Nothing in the repo references mvp.wasm, and webpack only emits imported assets, so shipped bundles are unaffected. Wiring the MVP binary in as a faster non-SIMD fallback than the wasm2js transpile is a follow-up decision, not something this bump requires.

Everything else in range — confirmed safe

  • 144b5027 feat(crypto): add legacy compat symmetric key envelope (bitwarden/sdk-internal#1515) — additive only (717 insertions, 0 deletions) across bitwarden-crypto compat/, safe/symmetric_key_envelope.rs, lib.rs and a new example; no existing signature, serde attribute or enum discriminant altered.
  • 867cc58d PM-46030 Ship non-SIMD wasm alongside the SIMD build (bitwarden/sdk-internal#1745) — touches only build.sh, two npm/package.json files arrays and two .gitignores; no Rust and no features = ["wasm"] change, so no type is added to or removed from the binding surface by it.

Commit

No commit — nothing needed fixing. This bump is safe to merge as-is.
· sdlc/sdk-update

@codecov

codecov Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 61.95%. Comparing base (1ae4af9) to head (738bc17).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24457   +/-   ##
=======================================
  Coverage   61.95%   61.95%           
=======================================
  Files        4928     4928           
  Lines      158963   158963           
  Branches    25504    25504           
=======================================
+ Hits        98485    98487    +2     
+ Misses      53714    53712    -2     
  Partials     6764     6764           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@bw-ghapp
bw-ghapp Bot force-pushed the sdlc/sdk-update branch from 2b587c5 to 738bc17 Compare November 5, 2026 08:30
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1203 Update sdk-internal to 0.2.0-main.1204 Nov 5, 2026
@quexten
quexten merged commit aa48ffe into main Nov 5, 2026
160 checks passed
@quexten
quexten deleted the sdlc/sdk-update branch November 5, 2026 09:39
@djsmith85 djsmith85 added browser Browser Extension desktop Desktop Application cli CLI Application web labels Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated pr PR created by workflow or other automation browser Browser Extension cli CLI Application desktop Desktop Application t:deps Change Type - Dependencies web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants