Skip to content

Update sdk-internal to 0.2.0-main.1214 - #24463

Merged
djsmith85 merged 1 commit into
mainfrom
sdlc/sdk-update
Nov 6, 2026
Merged

djsmith85 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.1214.

Changes

  • @bitwarden/sdk-internal: 0.2.0-main.1205 → 0.2.0-main.1214
  • @bitwarden/commercial-sdk-internal: 0.2.0-main.1205 → 0.2.0-main.1214

What's Changed in SDK

Raw changelog
- Move wasm and swift tests to e2e folder (#1746)
- [PM-46141] feat: Decrypt items from an iterator in batches (#1726)
- ci: Add non-blocking RustSec advisories check (#1743)
- [PM-42985] refactor: Adopt the wasm macros in autotype and member administration (#1735)
- [PM-44580] Delete deprecated invite link methods (#1714)
- Add assertion and naming rules to e2e test skill (#1749)
- [deps]: Update Rust crate darling to 0.24.0 (#1426)
- Update API bindings to 2028f0a5cc9d8ab8ff8475029085f29f81483598 (#1676)
- [deps] Platform (cargo): Update Rust crate serde_qs to v1 (#767)

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 3m 1s —— View job


SDK bump evaluated

@bitwarden/sdk-internal and @bitwarden/commercial-sdk-internal: 0.2.0-main.1205 → 0.2.0-main.1214
sdk-internal 2cb3e38f..5b7fbb41 — 9 commits.

Published surface diff (both packages, identically): 18 removed, 0 added, 0 mutated. Declarations 2513 → 2495 (pm), 2888 → 2870 (commercial).

Compile-time breaks

None found. The type check passed against the installed 0.2.0-main.1214 (verified node_modules/@bitwarden/sdk-internal/package.json), exit 0 with no error TS diagnostics.

All 18 removals come from bitwarden/sdk-internal#1714 (273366af, "Delete deprecated invite link methods"). Each was a deprecated shim on a parent client, or a wire type that no longer crosses the FFI boundary:

  • InviteLinkClient.{create_invite_link, get_invite_secret, refresh_invite_link, set_invite_confirmation, accept_and_optionally_confirm}
  • InviteLinkAdminClient.{create_invite_link, get_invite_secret, refresh_invite_link, set_invite_confirmation}
  • Invite, OrganizationInviteLink (+ its 7 properties)

Every clients call site already goes through the sub-clients the shims delegated to, which are unchanged:

  • libs/common/src/auth/organization-invite/services/implementations/default-organization-invite.service.ts:247 calls .invite_link().user().accept_and_optionally_confirm(...) with 5 args — matches InviteLinkUserClient.accept_and_optionally_confirm in the new .d.ts. The removed key is InviteLinkClient.accept_and_optionally_confirm, the parent-level shim; InviteLinkUserClient predates this range (hence 0 added).
  • libs/organization-invite-link/src/services/default-organization-invite-link.service.ts:48,71,90,110,139,161 call .invite_link().admin().{create, update_allowed_domains, update_confirmation, refresh, delete, get} — all six still declared on InviteLinkAdminClient.
  • No file imports the removed Invite or OrganizationInviteLink types. Clients import OrganizationInviteLinkView, which survives (libs/organization-invite-link/src/models/organization-invite-link.view.ts:4).

Checked the three call-site sets tsc does not cover, since a break there would not have shown in the type check:

  • @ts-strict-ignore / app + bitwarden_license consumers — none of the ~140 SDK-importing files under apps/** or bitwarden_license/** touch an invite-link symbol.
  • apps/**/*.spec.ts (type-checked by nothing) — the only three specs mentioning InviteLink (organization-layout.component.spec.ts, by-link-tab.component.spec.ts, invite-link-callout.service.spec.ts) import the clients-local @bitwarden/organization-invite-link lib, not the SDK.
  • Factory-form jest.mock("@bitwarden/sdk-internal") mocks — none mock invite-link. The two hand-rolled invite-link mocks still match the real shape: default-organization-invite-link.service.spec.ts:85-95 stubs exactly the six surviving admin() methods, and default-organization-invite.service.spec.ts:777 deep-mocks invite_link().user(), both of which still exist. PasswordManagerClient is unchanged, so the structural mocks in mock-sdk.service.ts and jest-sdk-client-factory.ts are unaffected.

Runtime considerations

http_authentication_enabled now round-trips through the SDK cipher login model — bitwarden/sdk-internal#1676 (32e23008), crates/bitwarden-vault/src/cipher/login.rs. The field was previously hardcoded to None on the way in and silently dropped on the way out, pending a server-side property. Both directions are now wired to CipherLoginModel.http_authentication_enabled.

No TypeScript change is needed — clients already model the field end to end (libs/common/src/vault/models/api/login.api.ts:17, data/login.data.ts:13, domain/login.ts:21, including fromSdkLogin), and LoginView on the wasm surface was unchanged (0 mutated). Flagging it because it is a behavior change invisible to the compiler: logins saved or loaded through the SDK path will now carry a value where they previously always carried undefined. Worth a sanity check by whoever owns the HTTP-authentication feature.

No wire-value hazards. EventType grew 14 members (Pam_*, 2600–2613) with no renumbering of existing variants, and AccessApprovalMode changed only doc comments. Both live in bitwarden-api-api and are not on the wasm surface.

Everything else in range — confirmed safe

Commit

No commit — nothing needed fixing. package.json is left as the bump produced it.
· branch 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 62.18%. Comparing base (ab43009) to head (22214b5).
⚠️ Report is 2 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #24463      +/-   ##
==========================================
- Coverage   62.18%   62.18%   -0.01%     
==========================================
  Files        4921     4921              
  Lines      158094   158094              
  Branches    25269    25269              
==========================================
- Hits        98310    98308       -2     
- Misses      53105    53107       +2     
  Partials     6679     6679              

☔ 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 06ab12c to f3b8658 Compare November 5, 2026 14:16
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1206 Update sdk-internal to 0.2.0-main.1207 Nov 5, 2026
@bw-ghapp
bw-ghapp Bot force-pushed the sdlc/sdk-update branch from f3b8658 to f3e53a5 Compare November 5, 2026 15:15
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1207 Update sdk-internal to 0.2.0-main.1208 Nov 5, 2026
@bw-ghapp
bw-ghapp Bot force-pushed the sdlc/sdk-update branch from f3e53a5 to 1ed5eb2 Compare November 5, 2026 15:50
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1208 Update sdk-internal to 0.2.0-main.1209 Nov 5, 2026
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1209 Update sdk-internal to 0.2.0-main.1210 Nov 6, 2026
@bw-ghapp
bw-ghapp Bot force-pushed the sdlc/sdk-update branch 2 times, most recently from c3cd67d to ec3136d Compare November 6, 2026 04:21
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1210 Update sdk-internal to 0.2.0-main.1211 Nov 6, 2026
@bw-ghapp
bw-ghapp Bot force-pushed the sdlc/sdk-update branch from ec3136d to 936fd05 Compare November 6, 2026 14:06
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1211 Update sdk-internal to 0.2.0-main.1212 Nov 6, 2026
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1212 Update sdk-internal to 0.2.0-main.1213 Nov 6, 2026
@bw-ghapp
bw-ghapp Bot force-pushed the sdlc/sdk-update branch from 936fd05 to d3ee641 Compare November 6, 2026 14:29
@bw-ghapp
bw-ghapp Bot force-pushed the sdlc/sdk-update branch from d3ee641 to 22214b5 Compare November 6, 2026 14:35
@bw-ghapp bw-ghapp Bot changed the title Update sdk-internal to 0.2.0-main.1213 Update sdk-internal to 0.2.0-main.1214 Nov 6, 2026
@djsmith85 djsmith85 added browser Browser Extension desktop Desktop Application cli CLI Application web labels Nov 6, 2026
@djsmith85
djsmith85 enabled auto-merge (squash) November 6, 2026 14:47
@djsmith85
djsmith85 merged commit 3ab8402 into main Nov 6, 2026
243 of 250 checks passed
@djsmith85
djsmith85 deleted the sdlc/sdk-update branch November 6, 2026 15:03
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.

1 participant