mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-30 17:36:29 +02:00
* WIP: safer state migrations
Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com>
* Add min version check and remove old migrations
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
* Add rollback and version checking
* Add state version move migration
* Expand tests and improve typing for Migrations
* Remove StateMigration Service
* Rewrite version 5 and 6 migrations
* Add all but initial migration to supported migrations
* Handle stateVersion location in migrator update versions
* Move to unique migrations directory
* Disallow imports outside of state-migrations
* Lint and test fixes
* Do not run migrations if we cannot determine state
* Fix desktop background StateService build
* Document Migration builder class
* Add debug logging to migrations
* Comment on migrator overrides
* Use specific property names
* `npm run prettier` 🤖
* Insert new migration
* Set stateVersion when creating new globals object
* PR comments
* Fix migrate imports
* Move migration building into `migrate` function
* Export current version from migration definitions
* Move file version concerns to migrator
* Update migrate spec to reflect new version requirements
* Fix import paths
* Prefer unique state data
* Remove unnecessary async
* Prefer to not use `any`
---------
Co-authored-by: Justin Baur <justindbaur@users.noreply.github.com>
Co-authored-by: Oscar Hinton <Hinton@users.noreply.github.com>
|
||
---|---|---|
.. | ||
client-type.enum.ts | ||
device-type.enum.ts | ||
encrypted-export-type.enum.ts | ||
encryption-type.enum.ts | ||
event-system-user.enum.ts | ||
event-type.enum.ts | ||
feature-flag.enum.ts | ||
field-type.enum.ts | ||
file-upload-type.enum.ts | ||
hash-purpose.enum.ts | ||
html-storage-location.enum.ts | ||
http-status-code.enum.ts | ||
index.ts | ||
kdf-type.enum.ts | ||
key-suffix-options.enum.ts | ||
linked-id-type.enum.ts | ||
log-level-type.enum.ts | ||
native-messaging-version.enum.ts | ||
notification-type.enum.ts | ||
product-type.enum.ts | ||
provider-type.enum.ts | ||
secure-note-type.enum.ts | ||
storage-location.enum.ts | ||
theme-type.enum.ts | ||
uri-match-type.enum.ts | ||
vault-timeout-action.enum.ts |