Skip to content

Commit

Permalink
Updated changelog and version for release v2.0.0-47
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 2, 2023
1 parent 8651515 commit 3d04071
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.0.0-47] - 2023-11-02

### Added

- \#53: Frodo Library now uses a file-based secure token cache to persist session and access tokens for re-use. The cached tokens are protected by the credential that was used to obtain them. Session tokens are encrypted using the hashed password as the master key, access tokens are encrypted using the hashed JWK private key as the master key. Therefore only users and processes with the correct credentials can access the tokens in the cache.
- There is a new TokenCache module with accessible functions for frodo clients (like frodo-cli) to use.
- The State module has been extended to host meta data like expiration time for sessions and tokens and a new boolean field indicating if the library should make use of the new token cache or not: `state.getUseTokenCache(): boolean` and `state.setUseTokenCache(useTokenCache: boolean): void`.
- The new default behavior is to always use the new token cache.

- There is a new TokenCache module with accessible functions for frodo clients (like frodo-cli) to use.
- The State module has been extended to host meta data like expiration time for sessions and tokens and a new boolean field indicating if the library should make use of the new token cache or not: `state.getUseTokenCache(): boolean` and `state.setUseTokenCache(useTokenCache: boolean): void`.
- The new default behavior is to always use the new token cache.

- \#340: Frodo Library now autotomatically refreshes expired session and access tokens.

- The new default behavior is to automatically refresh tokens. However, if an application prefers to handle that on its own, it can call the `frodo.login.getTokens()` functino with a new `autoRefresh: boolean` parameter.
- The new default behavior is to automatically refresh tokens. However, if an application prefers to handle that on its own, it can call the `frodo.login.getTokens()` functino with a new `autoRefresh: boolean` parameter.

### Fixed

Expand Down Expand Up @@ -1310,7 +1312,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed problem with adding connection profiles
- Miscellaneous bug fixes
[Unreleased]: https://github.com/rockcarver/frodo-lib/compare/v2.0.0-46...HEAD
[Unreleased]: https://github.com/rockcarver/frodo-lib/compare/v2.0.0-47...HEAD
[2.0.0-47]: https://github.com/rockcarver/frodo-lib/compare/v2.0.0-46...v2.0.0-47
[2.0.0-46]: https://github.com/rockcarver/frodo-lib/compare/v2.0.0-45...v2.0.0-46
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rockcarver/frodo-lib",
"version": "2.0.0-46",
"version": "2.0.0-47",
"type": "commonjs",
"main": "./cjs/index.js",
"module": "./esm/index.js",
Expand Down

0 comments on commit 3d04071

Please sign in to comment.