From b0ffeb43744db5a794b948958d8ec935c8eaef32 Mon Sep 17 00:00:00 2001 From: Ahmed Fwela Date: Wed, 20 Mar 2024 05:07:25 +0200 Subject: [PATCH] docs: update changelogs --- CHANGELOG.md | 13 +++++++++---- packages/oidc/CHANGELOG.md | 10 +++++++--- packages/oidc_core/CHANGELOG.md | 5 ++--- 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a90ae46..80f4384 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,15 +45,20 @@ Packages with dependency updates only: #### `oidc_core` - `v0.6.3` - - Updated docs and example + - **DEPS**: Use `jose_plus: ^0.4.4` which uses [package:clock](https://pub.dev/packages/clock) JWT validation to simplify testing. + - **FEAT**: Added `OidcDateTime` extension which contains `secondsSinceEpoch` and `fromSecondsSinceEpoch` helper methods - - **FIX**: Attempt to refresh expired tokens instead of throwing them away. #### `oidc` - `v0.5.2` - - Updated docs and example - - **FIX**: Attempt to refresh expired tokens instead of throwing them away. + - **FEAT**: Use [package:clock](https://pub.dev/packages/clock) to get the current time instead of `DateTime.now()` to simplify testing. + - **FIX**: Attempt to refresh expired tokens on initialization instead of throwing them away. + - Now your users will have to login less. + - This works only when there is a refresh token available. + - Doesn't work with silent authorization (e.g. implicit auth and `prompt: none`). + - **DOCS**: Updated docs and example. + - **DEPS**: Use `jose_plus: ^0.4.4` which uses [package:clock](https://pub.dev/packages/clock) as well for JWT validation. #### `oidc_desktop` - `v0.2.0+8` diff --git a/packages/oidc/CHANGELOG.md b/packages/oidc/CHANGELOG.md index 040b02c..9c5f40a 100644 --- a/packages/oidc/CHANGELOG.md +++ b/packages/oidc/CHANGELOG.md @@ -1,8 +1,12 @@ ## 0.5.2 - - Updated docs and example - - - **FIX**: Attempt to refresh expired tokens instead of throwing them away. + - **FEAT**: Use [package:clock](https://pub.dev/packages/clock) to get the current time instead of `DateTime.now()` to simplify testing. + - **FIX**: Attempt to refresh expired tokens on initialization instead of throwing them away. + - Now your users will have to login less. + - This works only when there is a refresh token available. + - Doesn't work with silent authorization (e.g. implicit auth and `prompt: none`). + - **DOCS**: Updated docs and example. + - **DEPS**: Use `jose_plus: ^0.4.4` which uses [package:clock](https://pub.dev/packages/clock) as well for JWT validation. ## 0.5.1 diff --git a/packages/oidc_core/CHANGELOG.md b/packages/oidc_core/CHANGELOG.md index 7c74edd..ee40397 100644 --- a/packages/oidc_core/CHANGELOG.md +++ b/packages/oidc_core/CHANGELOG.md @@ -1,8 +1,7 @@ ## 0.6.3 - - Updated docs and example - - - **FIX**: Attempt to refresh expired tokens instead of throwing them away. + - **DEPS**: Use `jose_plus: ^0.4.4` which uses [package:clock](https://pub.dev/packages/clock) JWT validation to simplify testing. + - **FEAT**: Added `OidcDateTime` extension which contains `secondsSinceEpoch` and `fromSecondsSinceEpoch` helper methods ## 0.6.2