1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-01 13:13:36 +01:00
Commit Graph

706 Commits

Author SHA1 Message Date
Github Actions
5873f0e89d Bumped client version(s) 2024-11-21 16:14:06 +00:00
renovate[bot]
140a514be3
[deps] Platform: Pin dependencies (#11528)
* [deps] Platform: Pin dependencies

* Bump Versions

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-11-19 09:49:21 -05:00
Oscar Hinton
b55a28f755
[PM-14485] Remove manifest and index.html logic from gulp (#12033)
Refactor the remaining logic from gulp.  Part of the browser build script
refactor effort.

Webpack is now responsible for performing most of the operations previously
done by gulp. This includes: - Setting browser specific class - Building the
manifest file  The `package.json` is modified to include browser specific
commands for `build`, `build:prod`, `build:watch` and `dist`.

# Manifests

Manifests now uses the `copy-webpack-plugin` `transform` feature. The logic is
located in `apps/browser/webpack/manifest.js`. It reads a template, which
supports some basic operations primarily overriding with browser specific
fields using `__browser__`.  The `manifest.json` for both regular and mv3
builds are identical to our existing manifests except:
- `applications` renamed to `browser_specific_settings`.
- `permissions` sorted alphabetically.

# Safari build

Safari requires additional packaging commands. This is implemented as a
powershell script due to the cross-platform nature, and since we generally
require powershell in our distribution pipelines. An alternative would be to
write it in bash, but bash is less powerful and would require some additional
commands like `jq`. Another alternative is to write it using js, but that would
require additional dependencies.
2024-11-19 13:25:30 +00:00
renovate[bot]
15418659ad
[deps] Autofill: Update tldts to v6.1.61 (#12029)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 14:41:03 -05:00
Oscar Hinton
d875ded8fa
Revert "[PM-14485] Remove manifest and index.html logic from gulp" (#12032)
This reverts commit c388697fdf.
2024-11-18 15:38:53 +01:00
Oscar Hinton
c388697fdf
[PM-14485] Remove manifest and index.html logic from gulp (#11861)
Refactor the remaining logic from gulp.  Part of the browser build script
refactor effort.

Webpack is now responsible for performing most of the operations previously
done by gulp. This includes: - Setting browser specific class - Building the
manifest file  The `package.json` is modified to include browser specific
commands for `build`, `build:prod`, `build:watch` and `dist`.

# Manifests

Manifests now uses the `copy-webpack-plugin` `transform` feature. The logic is
located in `apps/browser/webpack/manifest.js`. It reads a template, which
supports some basic operations primarily overriding with browser specific
fields using `__browser__`.  The `manifest.json` for both regular and mv3
builds are identical to our existing manifests except:
- `applications` renamed to `browser_specific_settings`.
- `permissions` sorted alphabetically.

# Safari build

Safari requires additional packaging commands. This is implemented as a
powershell script due to the cross-platform nature, and since we generally
require powershell in our distribution pipelines. An alternative would be to
write it in bash, but bash is less powerful and would require some additional
commands like `jq`. Another alternative is to write it using js, but that would
require additional dependencies.
2024-11-18 11:50:24 +01:00
Github Actions
5da5c886ea Bumped client version(s) 2024-11-14 16:13:41 +00:00
Michał Chęciński
84b2b02f12
Bump browser version in package-lock.json (#11981) 2024-11-13 12:14:52 +00:00
renovate[bot]
c49679207b
[deps] Autofill: Update concurrently to v9.1.0 (#11949)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:03:53 -05:00
renovate[bot]
d40dedf2b3
[deps] Platform: Update @types/node to v22 (#11951)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-12 15:00:07 -05:00
renovate[bot]
5592d640a8
[deps] Autofill: Update tldts to v6.1.60 (#11939)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 17:08:50 -05:00
renovate[bot]
2f4a8d1e0b
[deps] Platform: Update webpack to v5.96.1 (#11319)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 14:08:24 +01:00
renovate[bot]
33e3b28ee8
[deps] Platform: Update electron-log to v5.2.2 (#10207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-11 12:19:03 +01:00
renovate[bot]
72e7e295ba
[deps] AC: Update html-loader to v5.1.0 (#10573)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 15:25:45 +00:00
renovate[bot]
b342fe3cca
[deps] AC: Update core-js to v3.39.0 (#10571)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 15:21:22 +00:00
renovate[bot]
a98cfb1ae2
[deps] AC: Update postcss to v8.4.47 (#10007)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-08 15:03:42 +00:00
renovate[bot]
b800193d80
[deps]: Lock file maintenance (#11542)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-05 15:58:33 +01:00
Andreas Coroiu
586edafc79
chore: bump SDK to 0.2.0.main-3 (#11849) 2024-11-05 10:34:17 +01:00
renovate[bot]
fc9c10340b
[deps] Tools: Update utf-8-validate to v6.0.5 (#11848)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 21:08:36 +01:00
Oscar Hinton
cd79457349
[PM-4347] Upgrade angular to 17 (#11031)
Upgrade angular to 17
2024-11-04 11:51:43 -05:00
renovate[bot]
c96b4f4cb2
[deps] Autofill: Update tldts to v6.1.58 (#11847)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 11:42:34 -05:00
bw-ghapp[bot]
2d0460eb15
Bumped client version(s) (#11850)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-11-04 15:43:54 +00:00
renovate[bot]
2f1f9cd333
[deps] Platform: Update @types/chrome to v0.0.280 (#11314)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 09:30:03 -05:00
Daniel García
2e6ed4a4fc
[PM-14270] Use rust to access windows registry (#11413) 2024-11-04 14:50:05 +01:00
renovate[bot]
80d36f4135
[deps] Platform: Update argon2 to v0.41.1 (#11065)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-04 14:09:51 +01:00
Andreas Coroiu
343fb28010
chore: bump SDK to 0.1.7 (#11839)
This version contains:
- GPL license
- Function to get SDK version
2024-11-04 13:29:07 +01:00
renovate[bot]
826037e163
[deps] AC: Update html-webpack-plugin to v5.6.3 (#11727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Brandon Treston <btreston@bitwarden.com>
2024-10-31 15:20:23 -04:00
bw-ghapp[bot]
97cd0d492c
Bumped client version(s) (#11805)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-31 16:34:03 +00:00
renovate[bot]
85fa0f6f36
[deps] Platform: Update @types/jquery to v3.5.32 (#11315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-30 10:45:48 +01:00
bw-ghapp[bot]
c8862174d5
Bumped client version(s) (#11767)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-29 13:40:55 +00:00
renovate[bot]
3879f4bd85
[deps]: Update @yao-pkg/pkg to v5.16.1 (#11237)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 14:08:49 -04:00
renovate[bot]
db6c6a84cc
[deps] Platform: Update @types/node to v20.17.1 (#11733)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 11:13:54 -04:00
renovate[bot]
dd653b5269
[deps] Autofill: Update tldts to v6.1.56 (#11728)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-28 11:13:21 -04:00
Thomas Rittson
d0ed9aaa5d
[PM-13779] Add vNext CollectionService without ActiveUserState (#11705)
- add tests
- install jest-extended for additional matchers
- allow for generation of different crypto keys in tests
2024-10-28 10:13:32 +10:00
bw-ghapp[bot]
c44476788f
Bumped client version(s) (#11696)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-24 18:41:17 +00:00
Oscar Hinton
173a5e2574
[PM-13277] Gulp: Remove unnecessary filtering (#11456)
Part of the browser build script refactor effort. bitwarden.atlassian.net/browse/PM-6683

We seem to have some very old filters related to fonts and safari build files. These predates our modern usage of webpack for bundling only used assets.

I've run diff -qr on Chrome, Firefox and Safari builds and the only difference is that we now include a bwi-font.svg resource. bwi-font.svg is referenced in our css files and "should" be included.
2024-10-22 18:53:30 +02:00
renovate[bot]
9a1879b96c
[deps] Tools: Update @types/papaparse to v5.3.15 (#11645)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-22 10:07:45 +02:00
bw-ghapp[bot]
79cdf3bf50
Bumped client version(s) (#11648)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-21 20:53:30 +00:00
Andreas Coroiu
c787ecd22c
[PM-11764] Implement account switching and sdk initialization (#11472)
* feat: update sdk service abstraction with documentation and new `userClient$` function

* feat: add uninitialized user client with cache

* feat: initialize user crypto

* feat: initialize org keys

* fix: org crypto not initializing properly

* feat: avoid creating clients unnecessarily

* chore: remove dev print/subscription

* fix: clean up cache

* chore: update sdk version

* feat: implement clean-up logic (#11504)

* chore: bump sdk version to fix build issues

* chore: bump sdk version to fix build issues

* fix: missing constructor parameters

* refactor: simplify free() and delete() calls

* refactor: use a named function for client creation

* fix: client never freeing after refactor

* fix: broken impl and race condition in tests
2024-10-18 16:15:10 +02:00
bw-ghapp[bot]
5cd9063b7b
Bumped client version(s) (#11610)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-17 20:02:52 +00:00
bw-ghapp[bot]
e53bd45fda
Bumped client version(s) (#11604)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-17 17:17:44 +00:00
renovate[bot]
3a042ba808
[deps] Design System: Update tailwindcss to v3.4.14 (#11313)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 09:11:08 -04:00
renovate[bot]
e256bde1de
[deps] Vault: Update koa to v2.15.3 (#10567)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2024-10-16 22:35:45 +02:00
renovate[bot]
84d592a080
[deps] Vault: Update @koa/router to v13 (#10602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: SmithThe4th <gsmith@bitwarden.com>
2024-10-16 22:34:59 +02:00
renovate[bot]
742a8a33dd [deps] Autofill: Update tldts to v6.1.52 (#11579)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-16 13:12:12 -04:00
Merissa Weinstein
1eaa80de26
Revert "Bumped client version(s) (#11564)" (#11566)
This reverts commit c459253beb.
2024-10-15 18:38:13 +00:00
bw-ghapp[bot]
c459253beb
Bumped client version(s) (#11564)
Co-authored-by: bitwarden-devops-bot <106330231+bitwarden-devops-bot@users.noreply.github.com>
2024-10-15 18:27:30 +00:00
renovate[bot]
28691ae2b3
[deps] Tools: Update oidc-client-ts to v2.4.1 (#11506)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-15 11:11:49 +02:00
renovate[bot]
0377775408
[deps] Platform: Update @types/node to v20.16.11 (#11530)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 10:48:19 -04:00
renovate[bot]
0bcd22460c
[deps] Autofill: Update tldts to v6.1.51 (#11529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-14 10:46:48 -04:00