1050 Commits

Author SHA1 Message Date
Andreas Coroiu
0e608639cc
[PM-20615] Only process incoming messages once (#14645)
* feat: start ipc client

* fix: payload serialization issues

* feat: filter incoming messages by destination

* fix: adapt to SDK renames

* feat: update sdk
2025-06-12 10:17:03 +02:00
renovate[bot]
9367e89bcb
[deps] Platform: Update electron-builder to v26 (#14362)
* [deps] Platform: Update electron-builder to v26

* Address electron-builder changes

* Update CI Scripts to new config options

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2025-06-09 16:41:44 -04:00
renovate[bot]
dc16c71c23
chore(deps) Platform: Update electron to v36
* [deps] Platform: Update electron to v36

* Update electron-builder.json

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
2025-06-09 16:12:03 -04:00
renovate[bot]
035361ad27
chore(deps): Platform: Update electron-log to v5.4.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 16:09:51 -04:00
renovate[bot]
c27c6e8952
[deps] SM: Update jest (#14463)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-09 11:06:15 -07:00
renovate[bot]
93743a7bcd
[deps] Platform: Update webpack-dev-server to v5.2.1 [SECURITY] (#15095)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2025-06-06 09:40:00 -04:00
Oscar Hinton
18573bdc48
[PM-22250] Bump open (#15011)
Upgrade open to latest version.
2025-06-06 12:06:14 +02:00
Github Actions
e55a70d53d Bumped Desktop client to 2025.6.0 2025-06-05 20:32:12 +00:00
Addison Beck
e8224fdbe3
feat(nx): add basic-lib generator for streamlined library creation (#14992)
* feat(nx): add basic-lib generator for streamlined library creation

This adds a new nx-plugin library with a generator for creating "common" type
Bitwarden libs. It is set up to accept a lib name, description, team, and
directory. It then
- Creates a folder in the directory (default to libs)
- Sets up complete library scaffolding:
  - README with team ownership
  - Build, lint and test task configuration
  - Test infrastructure
- Configures TypeScript path mapping
- Updates CODEOWNERS with team ownership
- Runs npm i

This will make library creation more consistent and reduce manual boilerplate setup.

The plugin design itself was generated by `npx nx g plugin`. This means we
used a plugin to generate a plugin that exports generators. To create our
generator generator, we first needed a generator.

* fix(dirt/card): correct tsconfig path in jest configuration

Fix the relative path to tsconfig.base in the dirt/card library's Jest config.
The path was incorrectly using four parent directory traversals (../../../../)
when only three (../../../) were needed to reach the project root.

* chore(codeowners): clarify some nx ownership stuff
2025-06-05 14:20:23 -04:00
Oscar Hinton
2fbc4c1578
[CL-525] Upgrade angular to v19 (#14815)
Upgrade Angular to v19 using the update guide.

- Add `standalone: false` to any missed component in stories or tests.
- Update jest.config to follow the new best practices.
2025-06-02 13:13:31 -04:00
Github Actions
4c3c1969b5 Bumped client version(s) 2025-06-02 15:17:52 +00:00
Oscar Hinton
85cef971c6
Add semver as dependency (#15005) 2025-05-30 15:31:11 +02:00
Daniel James Smith
0f6d4a92d7
Migrate libs/tools/card to be owned by DIRT (#14987)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-05-30 07:37:08 +00:00
Github Actions
bb9006e6e4 Bumped Desktop client to 2025.5.1 2025-05-29 19:15:34 +00:00
Oscar Hinton
5423ab3268
[PM-21934] Upgrade to eslint 9 (#14754)
Upgrades to Eslint v9. Since this is a major version there were breaking changes, but since we've previously migrated to flat configs in #12806 those were minimal.
2025-05-27 13:13:15 -04:00
renovate[bot]
0f9f6a1c5d
[deps] Tools: Update papaparse to v5.5.3 (#14966)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel James Smith <2670567+djsmith85@users.noreply.github.com>
2025-05-27 18:58:56 +02:00
Andreas Coroiu
45f2104fd8
fix: broken SDK interface (#14959) 2025-05-27 14:31:27 +02:00
renovate[bot]
43c963032d
[deps] Architecture: Update lint-staged to v16 (#14925)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2025-05-26 16:25:30 +02:00
renovate[bot]
f0b255117e
[deps] Autofill: Update lit to v3.3.0 (#14479)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-21 16:35:30 -04:00
renovate[bot]
bc56bc8e37
[deps]: Lock file maintenance (#13866)
* [deps]: Lock file maintenance

* add override for parse5 version to 7.2.1 (7.3.0 has breaking ts changes)

* manual rebuild of package-lock

* fix test event listeners persistence

Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2025-05-21 09:29:14 +02:00
Bernd Schoolmann
d7c936e1ea
[PM-17900] Add cose / xchacha20poly1305 migration on userkey rotation (#14539)
* Add new encrypt service functions

* Undo changes

* Cleanup

* Fix build

* Fix comments

* Switch encrypt service to use SDK functions

* Add cose migration on userkey rotation

* Update sdk

* Set featureflag to default disabled

* Add tests

* Update sdk to build 168

* Make changes according to feedback
2025-05-20 12:25:14 -07:00
renovate[bot]
4cb5d6d14d
[deps] AC: Update sass to v1.88.0 (#14477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-19 11:48:22 -05:00
renovate[bot]
b09b22a47b
[deps] AC: Update core-js to v3.42.0 (#14476)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Brandon Treston <btreston@bitwarden.com>
2025-05-19 10:09:33 -04:00
Github Actions
a82eb8c22b Bumped client version(s) 2025-05-19 10:40:05 +00:00
Oscar Hinton
499715cac3
Upgrade typescript to 5.5 (#14794)
Typescript 5.5 is supported by our existing Angular version and the next major. Since there are some breaking changes we're creating a separate PR to handle this upgrade and tackling the breaking changes.

TS seems to have changed how they type infer boolean conditions and it infers into type is which means the overloaded function has a different signature. Explicitly marking the return type as boolean makes the TS compiler happy without the behaviour changing.
2025-05-16 09:23:38 +02:00
Daniel García
0b65861cb1
[PM-8297][PM-955] Improve updater behavior (#14732)
* [PM-8297] Improve updater behavior

* Remove logs

* Unused args

* Test version number

* Revert "Test version number"

This reverts commit 39ef05766279d3ccfe90e26dd1555f36a6d70898.
2025-05-15 13:28:04 +02:00
renovate[bot]
05360651ad
[deps] Platform: Update copy-webpack-plugin to v13 (#14514)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-14 08:15:20 -07:00
Oscar Hinton
bacd1fb999
[PM-17407] [CL-665] Remove jQuery and Popper.js (#14621)
Now that the last usages of ModalService is removed from the web portions we can finally remove jQuery and Popper.js. This PR also removes bootstrap js imports since it would drag in jQuery as a peer dependency.

Note: Both dependencies still exists in the lockfile as they are peer dependencies of boostrap.
2025-05-13 21:36:26 +02:00
Oscar Hinton
9a7089594e
[PM-19878] Add core-js to cli (#14696)
* Add core-js to cli

* Add core-js to bit-cli
2025-05-13 16:59:56 +02:00
renovate[bot]
9af7963609
[deps] Vault: Update @koa/multer to v3.1.0 (#14495)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Nick Krantz <125900171+nick-livefront@users.noreply.github.com>
2025-05-12 14:58:48 -05:00
renovate[bot]
7d01c42e37
[deps] Vault: Update multer to v1.4.5-lts.2 (#14469)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2025-05-12 15:42:21 -04:00
Bryan Cunningham
355bddc6c9
[CL-301] Enable Storybook test runner. Run a11y tests also (#14646)
* Enable Storybook test runner. Run a11y tests also

* no need to return checkA11y function

* add back decorator removed in error

* add test runner to our ownership

* add axe-playwright to our ownership
2025-05-12 11:50:29 -04:00
renovate[bot]
57ed1e7285
[deps] Platform: Update @types/node to v22.15.3 (#14723)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-12 10:09:40 -04:00
renovate[bot]
624dafa431
[deps] UI Foundation: Update angular-cli monorepo to v18.2.19 (#14465)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 13:51:15 -04:00
renovate[bot]
0d2c890da1
[deps] UI Foundation: Update @types/react to v18.3.20 (#14464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 13:29:48 -04:00
renovate[bot]
15cb060f0d
[deps] UI Foundation: Update autoprefixer to v10.4.21 (#14466)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 11:39:05 -04:00
renovate[bot]
73ded290e7
[deps] UI Foundation: Update chromatic to v11.28.2 (#14492)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 10:58:17 -04:00
renovate[bot]
e2201ef667
[deps] UI Foundation: Update storybook monorepo to v8.6.12 (#14493)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-09 13:10:08 +02:00
renovate[bot]
87a1f4e8ac
[deps] Platform: Update webpack to v5.99.7 (#14490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 13:13:29 -04:00
renovate[bot]
21da518038
[deps] UI Foundation: Update remark-gfm to v4.0.1 (#14467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 17:06:03 +00:00
renovate[bot]
667efc6fae
[deps] UI Foundation: Update @storybook/addon-designs to v8.2.1 (#14491)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-08 16:50:02 +00:00
Github Actions
669762a7f8 Bumped client version(s) 2025-05-05 20:55:12 +00:00
Andreas Coroiu
e0cabd1df0
[PM-18044] Ensure all calls to receive should get all messages broadcast (#13869)
* feat: make compatible with SDK changes

* feat: use subscription

* feat: update SDK

* fix: lint

* fix: ts strict issues
2025-05-05 12:19:41 -04:00
Github Actions
f4357bfe87 Bumped client version(s) 2025-05-05 10:30:17 +00:00
renovate[bot]
4e2dffbb8c
[deps] AC: Update postcss to v8.5.3 (#14447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2025-05-05 10:30:35 +10:00
renovate[bot]
534c2be55b
[deps]: Update Linting minor-patch to v8.31.0 (#14583)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
2025-05-02 13:52:55 +02:00
renovate[bot]
2ba022532c
[deps] Architecture: Update eslint-import-resolver-typescript to v4 (#14509)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-05-02 13:20:46 +02:00
Github Actions
1b66f0f06b Bumped Desktop client to 2025.5.0 2025-05-01 14:22:26 +00:00
renovate[bot]
f39e37002b
[deps] Autofill: Update prettier to v3.5.3 (#14480)
* [deps] Autofill: Update prettier to v3.5.3

* prettier formatting updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
2025-04-29 16:40:58 -04:00
renovate[bot]
d0b93c871a
[deps] Autofill: Update wait-on to v8.0.3 (#14450)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-29 13:30:05 -04:00