Skip to content

Commit

Permalink
docs: add changelog entries
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed Nov 10, 2023
1 parent cb79052 commit f58c293
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,24 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]

## [4.2.0]
### Uncategorized
- Add key derivation options support ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
### Added
- Added `EncryptionKey` type to hold a `CryptoKey` along with its derivation parameters ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- Added `ExportedEncryptionKey` type to hold a `JsonWebKey` along with its derivation parameters ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- Added Optional `keyMetadata` property of type `KeyDerivationOptions` to `EncryptionResult` ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- Added Optional `opts` argument to `keyFromPassword` to specify algorithm and parameters to be used in the key derivation. Defaults to `PBKDF2` with 900.000 iterations ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- Added `iterations` argument to `keyFromPassword` function ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- Added optional `keyDerivationOptions` argument to `encrypt` and `encryptWithDetail` to specify algorithm and parameters to be used in the key Defaults to `PBKDF2` at 900.000 iterations ([#49](https://github.com/MetaMask/browser-passworder/pull/49)).
- Added `updateVaultWithDetail` function to update existing vault and exported key with a safer encryption method if available ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- Added `updateVault` function to update existing vault string with a safer encryption method if available ([#49](https://github.com/MetaMask/browser-passworder/pull/49))

### Changed
- `encrypt` method accepts both `EncryptionKey` and `CryptoKey` types as `key` argument ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- `encryptWithKey` method accepts both `EncryptionKey` and `CryptoKey` types as `key` argument ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- `decrypt` method accepts both `EncryptionKey` and `CryptoKey` types as `key` argument ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- `decryptWithKey` method accepts both `EncryptionKey` and `CryptoKey` types as `key` argument ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- `importKey` method returns a `CryptoKey` when a JWK string is passed, or an `EncryptionKey` when an `ExportedEncryptionKey` string is passed. ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- `exportKey` method accepts both `EncryptionKey` and `CryptoKey` types as `key` argument, and returns an `ExportedEncryptionKey` for the former and a `JsonWebKey` for the latter. ([#49](https://github.com/MetaMask/browser-passworder/pull/49))
- chore: pin typescript minor version ([#50](https://github.com/MetaMask/browser-passworder/pull/50))
- Update CODEOWNERS ([#47](https://github.com/MetaMask/browser-passworder/pull/47))

## [4.1.0]
### Changed
Expand Down

0 comments on commit f58c293

Please sign in to comment.