1091 Commits

Author SHA1 Message Date
renovate[bot]
ebe2148cfa [deps] AC: Update core-js to v3.51.0 (#24554)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-13 11:46:37 -05:00
bw-ghapp[bot]
237e30308c Update sdk-internal to 0.2.0-main.1235 (#24631)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-11-11 16:08:23 -05:00
renovate[bot]
4e27539c29 [deps] DIRT: Update chart.js to v4.6.1 (#24555)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-11 10:40:10 -06:00
renovate[bot]
f54be55678 [deps] Platform: Update electron to v43.8.7 (#24651)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-10 19:36:04 +00:00
bw-ghapp[bot]
7d445bee64 Update sdk-internal to 0.2.0-main.1230 (#24506)
* Update sdk-internal to 0.2.0-main.1230

* Drop obsolete AccessBadgeState cast in cipher-view-banner spec

`AccessBadgeState` now includes "unavailable" as of sdk-internal
0.2.0-main.1224, so the version-gated `UNAVAILABLE` double cast is no
longer needed. The literal assigns directly at each call site.

---------

Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-11-10 14:46:41 +01:00
renovate[bot]
470baac358 [deps] Platform: Update electron to v43.8.6 (#24552)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-09 09:49:17 +01:00
bw-ghapp[bot]
3ab840236b Update sdk-internal to 0.2.0-main.1214 (#24463)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-11-06 15:03:24 +00:00
Bernd Schoolmann
ab714b462b [PM-45736] Add shared unlock e2e tests (#24149) 2026-11-06 09:56:24 +09:00
bw-ghapp[bot]
a406c6b0e6 Update sdk-internal to 0.2.0-main.1205 (#24461)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-11-05 14:17:53 +01:00
bw-ghapp[bot]
aa48ffe41f Update sdk-internal to 0.2.0-main.1204 (#24457)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-11-05 18:39:11 +09:00
bw-ghapp[bot]
1ae4af9b03 Update sdk-internal to 0.2.0-main.1202 (#24456)
* Update sdk-internal to 0.2.0-main.1202

* Implement PIN length storage in JsWasmStateBridge

sdk-internal 0.2.0-main.1202 adds required set/get/clear_pin_length members to WasmStateBridge (bitwarden/sdk-internal#1708). The SDK stores the PIN's character count unencrypted so a lock screen can read it while locked, so it is backed by a new PIN_DISK state key that clears on logout.

---------

Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-11-05 05:16:30 +00:00
bw-ghapp[bot]
e25e262288 Update sdk-internal to 0.2.0-main.1201 (#24404)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-11-04 16:45:29 +00:00
renovate[bot]
794728d215 [deps] Tools: Update papaparse to v5.7.0 (#23512)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-03 12:46:38 -08:00
renovate[bot]
0a4cdcb112 [deps] Tools: Update @bufbuild/protobuf to v2.16.0 (#23511)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-11-03 12:45:14 -08:00
bw-ghapp[bot]
45d4500dff Update sdk-internal to 0.2.0-main.1182 (#24245) 2026-11-03 14:06:32 +00:00
Bryan Cunningham
0f83c5ce17 Revert "[deps] UI Foundation: Update @compodoc/compodoc to v2 (#21680)" (#24260)
This reverts commit 013fe87b2d.
2026-10-29 16:12:20 +00:00
renovate[bot]
013fe87b2d [deps] UI Foundation: Update @compodoc/compodoc to v2 (#21680)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-29 10:37:59 -04:00
renovate[bot]
900b9995fe [deps] UI Foundation: Update @storybook/test-runner to v0.26.0 (#23792)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-29 10:01:32 -04:00
bw-ghapp[bot]
8f33270b1b Update sdk-internal to 0.2.0-main.1175 (#24217)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
Co-authored-by: Bernd Schoolmann <bernd@schoolmann.dev>
2026-10-29 16:09:12 +09:00
renovate[bot]
7d2c3d2b3b [deps] Platform: Update nx monorepo to v23 (#21679)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-28 21:31:31 +01:00
renovate[bot]
fd4dfbd09d [deps] Platform: Update electron (#24142)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-28 20:18:30 +01:00
renovate[bot]
81b48e9fd3 [deps] UI Foundation: Update chromatic to v18.13.1 (#22463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-28 13:44:33 -04:00
renovate[bot]
ac05580c2b [deps] UI Foundation: Update autoprefixer to v10.6.1 (#20388)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-28 13:41:33 -04:00
renovate[bot]
6fed5480ef [deps] Platform: Update electron to v43.8.3 [SECURITY] (#24054)
* [deps] Platform: Update electron to v43.8.1 [SECURITY]

* Bump electron to 43.8.3

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2026-10-28 18:05:13 +01:00
bw-ghapp[bot]
6a041c95a4 Update sdk-internal to 0.2.0-main.1169 (#24150)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-28 08:51:17 +10:00
renovate[bot]
addfebd7fc [deps] Platform: Update electron-store to v12 (#24145)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-10-27 14:11:34 +01:00
bw-ghapp[bot]
d1142c184d Update sdk-internal to 0.2.0-main.1157 (#24059)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-23 10:20:10 -04:00
Jordan Aasen
3e27b66cba [PM-44239] deps: Update multer to 2.4.0 (#24073)
Resolves GHSA-3pph-fpjx-jg34 (orphaned diskStorage files on aborted uploads).
2026-10-22 16:16:54 -07:00
bw-ghapp[bot]
18d6d9f10c Update sdk-internal to 0.2.0-main.1149 (#24005)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-22 14:26:08 +02:00
Jordan Aasen
589d8b50ef [PM-42213] refactor: Use SDK admin attachment client for admin attachment creation (#23683)
* [PM-42213] refactor: Use SDK admin attachment client for admin attachment creation

sdk-internal moves the admin flag off CreateAttachmentRequest and onto
AttachmentAdminClient::create_attachment, and drops the is_admin argument
from CiphersClient.update_collection. Route admin attachment creation through
attachments().admin() and drop the redundant update_collection argument.

* bump sdk version
2026-10-21 21:20:02 -07:00
renovate[bot]
62be633112 [deps] Platform: Update wait-on to v9.5.1 (#23791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-10-21 16:07:11 +02:00
Bernd Schoolmann
0015108d55 [PM-45308] perf(cli): Take the storage file lock synchronously (#23954)
* Take the CLI storage file lock synchronously

Every storage access takes a cross-process lock on data.json. It was
acquired asynchronously, so concurrent accesses within one process
found the lock held by their own process and backed off 100-250 ms
each; 10 concurrent reads scheduled 45 backoffs.

The storage actions are synchronous, so take the lock with lockSync and
lock, act and release in one synchronous step. No other access of this
process can run while the lock is held, so it never waits for itself.
Only another process holding the lock still makes it wait, with the
same backoff as before.

* Remove unused @types/retry dependency

The retry import was dropped when the storage lock became
synchronous. Nothing references the types directly anymore.
2026-10-21 20:50:21 +09:00
Bernd Schoolmann
c5ef5c362e test: Add passkey e2e tests (#23480) 2026-10-21 09:17:20 +00:00
bw-ghapp[bot]
dbe1331a55 Update sdk-internal to 0.2.0-main.1135 (#23912)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-20 12:38:51 -07:00
Bernd Schoolmann
03c436272f test: Add desktop biometric unlock e2e test (#23479) 2026-10-20 23:01:59 +09:00
adudek-bw
6b14f423fb [PM-42819] Route CLI cross-instance Send receive through SendReceiveClient (#23714)
* [PM-42819] Route CLI cross-instance Send receive through SendReceiveClient

Build a receive-scoped SDK client pointed at the Send link's server instead
of reintroducing a generic ephemeral client on SdkService. Gated behind
pm-30110-sdk-sends-api; same-instance receives are unchanged.

* [PM-42819] Mint cross-instance Send access tokens through SendReceiveClient

Run the whole cross-instance receive flow (token minting, password hashing,
email/OTP exchange, access, download, decrypt) through the receive-scoped SDK
client so nothing touches the signed-in instance. Pass the device identifier
and CLI user agent to the SDK client. Legacy path is unchanged when the flag
is off or the Send is on the configured server.

* [PM-42819] Use NotFound SDK variant and share send access token helpers

Detect a missing Send in the CLI receive command via the SDK's NotFound
variant instead of matching the error message. Move the SDK credential and
token-error helpers into libs/common send-access utils shared by
DefaultSendTokenService and the receive command.

* [PM-42819] Update sdk-internal to 0.2.0-main.1127

Pick up SendReceiveClient and the NotFound error variant from the merged
sdk-internal PR (bitwarden/sdk-internal#1586).
2026-10-19 10:09:47 -04:00
bw-ghapp[bot]
19c6779c9c Update sdk-internal to 0.2.0-main.1126 (#23896)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-16 14:05:43 +02:00
bw-ghapp[bot]
e2cbdc45c4 Update sdk-internal to 0.2.0-main.1122 (#23858)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-15 09:18:51 -07:00
Bernd Schoolmann
3637a20c93 feat(tests): add basic key-management e2e test suite (#23477) 2026-10-14 16:07:02 +00:00
bw-ghapp[bot]
90b2fa3017 Update sdk-internal to 0.2.0-main.1116 (#23852)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-13 17:34:54 -07:00
bw-ghapp[bot]
868fe28b63 Update sdk-internal to 0.2.0-main.1115 (#23817) 2026-10-13 15:07:01 +00:00
bw-ghapp[bot]
df96418244 Update sdk-internal to 0.2.0-main.1105 (#23701)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-10 05:31:15 +00:00
bw-ghapp[bot]
2b4fada2e3 Update sdk-internal to 0.2.0-main.1096 (#23666)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-07 10:39:01 +09:00
Jared
e47e97f297 [PM-43843] custom user with manage user permission is logged out when inviting member (#23201)
* Do not hit endpoint of prefillFromVerifiedDomains if the user cannot manage domain verification

* Utilizes new endpoint for invite by link tab of modal

* Utilize mini endpoint going forward

* Revert changes to frontend for adding new method for API call. API calls get added to SDK going forward

* Fixing up clients code to support latest changes to SDK method changes

* Fixes via PR comments from Brandon

* Fix tech debt comment from claude for PR

* Update to latest SDK
2026-10-06 15:51:49 -04:00
renovate[bot]
787fc24d30 [deps] Platform: Update nx to v22.7.10 [SECURITY] (#23675)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2026-10-06 17:00:44 +02:00
renovate[bot]
198d5e7e3a [deps] Platform: Update jest-environment-jsdom to v30 (#20845)
* [deps] Platform: Update jest-environment-jsdom to v30

* Fix jsdom 26 test compatibility for jest-environment-jsdom v30

jsdom 26 defines its [LegacyUnforgeable] globals (window, document,
location, top) as non-configurable, so tests that replace them with
Object.defineProperty or jest.spyOn now throw "Cannot redefine property".

Add a jsdom test environment composed via @jest/environment-jsdom-abstract
that relaxes only those four globals to configurable, and use it for all
Angular-based projects. Also drop two assertions that only observed jsdom's
internal getComputedStyle-to-element.style delegation, and refresh snapshots
for jsdom 26's quoted url("...") CSS serialization.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-10-06 14:01:27 +02:00
bw-ghapp[bot]
88e20c5f7e Update sdk-internal to 0.2.0-main.1087 (#23657)
* Update sdk-internal to 0.2.0-main.1087

* Use AcceptInviteLinkError for open org invite accept failures

sdk-internal 3b250ef5 (bitwarden/sdk-internal#1514) split a new
AcceptInviteLinkError enum out of InviteLinkError and moved the
RecoveryKeyMismatch variant onto it. accept_and_optionally_confirm now
rejects with AcceptInviteLinkError, so classifyOpenOrgInviteAcceptError
must guard with isAcceptInviteLinkError; the old guard narrowed to a
variant union that no longer contains RecoveryKeyMismatch (TS2367).

The spec helpers fabricate errors by setting `name`, which is what the
wasm type guard matches on, so they move to "AcceptInviteLinkError" too.

Message-text matching in classifyOpenOrgInviteAcceptApiError is left
alone: the SDK still surfaces legacy-format server responses as the Api
variant, and mapping the new typed variants onto OpenOrgInviteAcceptError
kinds is not one-to-one. The existing TODO stays.

---------

Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-05 16:54:59 -04:00
bw-ghapp[bot]
941f0facae Update sdk-internal to 0.2.0-main.1083 (#23624)
* Update sdk-internal to 0.2.0-main.1083

* Implement SharedUnlockDriver.on_peer_state stub

bitwarden/sdk-internal#1491 ("feat(shared-unlock): add peer state reporting
for CLI unlock") added a new required `on_peer_state` method to the
`SharedUnlockDriver` interface, breaking `JsSharedUnlockDriver` (TS2420) and
its construction site in `DefaultSharedUnlockPeerService` (TS2345).

No TypeScript consumer of peer lock state exists yet, so the method is
implemented as an empty no-op rather than a throw: the SDK invokes it on
every accepted sync and the wasm shim logs-and-swallows rejections, so a
throwing stub would produce error noise with no behavioral benefit.

---------

Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-05 15:07:53 +00:00
bw-ghapp[bot]
78403ad5fc Update sdk-internal to 0.2.0-main.1075 (#23621)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-02 14:50:01 +00:00
bw-ghapp[bot]
ab37677239 Update sdk-internal to 0.2.0-main.1074 (#23612)
Co-authored-by: bw-ghapp[bot] <178206702+bw-ghapp[bot]@users.noreply.github.com>
2026-10-01 15:23:53 -07:00