From c8d35f6984b981942a4b63af89a490566e26868b Mon Sep 17 00:00:00 2001 From: Daisuke Maki Date: Tue, 18 Jun 2024 07:41:22 +0900 Subject: [PATCH] Change the next minor version because of breaking changes --- Changes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index c7233a6a2..6a2e1ebba 100644 --- a/Changes +++ b/Changes @@ -4,7 +4,7 @@ Changes v2 has many incompatibilities with v1. To see the full list of differences between v1 and v2, please read the Changes-v2.md file (https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes-v2.md) -v2.0.22 UNRELEASED +v2.1.0 UNRELEASED [New Features] * [jwt] Added `jwt.ParseCookie()` function * [jwt] `jwt.ParseRequest()` can now accept a new option, jwt.WithCookieKey() to @@ -13,7 +13,7 @@ v2.0.22 UNRELEASED which will, upon successful token parsing, make the functions assign the *http.Cookie used to parse the token. This allows users to further inspect the cookie where the token came from, should the need arise. - * [jwt] `jwt.ParseRequest()` no longer automatically looks for "Authorization" header when + * [jwt] (BREAKING CHANGE) `jwt.ParseRequest()` no longer automatically looks for "Authorization" header when only `jwt.WithFormKey()` is used. This behavior is the same for `jwt.WithCookieKey()` and any similar options that may be implemented in the future.