Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

canary release 1.7.x #216

Merged
merged 73 commits into from
Sep 9, 2024
Merged

canary release 1.7.x #216

merged 73 commits into from
Sep 9, 2024

Conversation

awinogrodzki
Copy link
Owner

@awinogrodzki awinogrodzki commented Jul 16, 2024

Features

  • experimental option to refresh token on expired kid header (2869531)
  • allow setAuthCookies to accept custom auth headers or fall back (b1d169b)
  • pass custom auth header from authMiddleware (71286af)
  • middleware: introduced redirectToPath method and RegExp support in redirectToLogin method (21024bb)
  • support Node.js 22 (6c7f435)
  • next.js 15 rc support (a994dd0)
  • replaced no matching kid auth error with invalid token error (9d2d0fc)
  • added path option to redirectToHome helper function (54f07f4)
  • introduced refreshCookiesWithIdToken function to enable login using Server Actions (#212) (fd6b193)

Bug Fixes

@awinogrodzki awinogrodzki changed the title feat: introduced refreshHeadersWithIdToken function to enable login using Server Actions (#212) feat: introduced refreshCookiesWithIdToken function to enable login using Server Actions (#212) Jul 16, 2024
awinogrodzki and others added 7 commits July 25, 2024 12:19
* fix `JWSInvalid: Invalid Compact JWS` error when migrating between token formats ([#214](#214)) ([5b6b0c3](5b6b0c3))

* introduced `refreshCookiesWithIdToken` function to enable login using Server Actions ([#212](#212)) ([fd6b193](fd6b193))
@awinogrodzki awinogrodzki changed the title feat: introduced refreshCookiesWithIdToken function to enable login using Server Actions (#212) canary release 1.7.x Jul 25, 2024
@awinogrodzki awinogrodzki force-pushed the canary branch 2 times, most recently from 051dcbc to 41b0b8f Compare July 25, 2024 15:06
semantic-release-bot and others added 3 commits July 25, 2024 15:24
# [1.7.0-canary.1](v1.6.2...v1.7.0-canary.1) (2024-07-25)

### Features

* added `path` option to `redirectToHome` helper function ([54f07f4](54f07f4))
* introduced `refreshCookiesWithIdToken` function to enable login using Server Actions ([#212](#212)) ([6cd0b13](6cd0b13))
awinogrodzki and others added 28 commits August 22, 2024 22:54
# [1.7.0-canary.11](v1.7.0-canary.10...v1.7.0-canary.11) (2024-08-30)

### Bug Fixes

* **#246:** re-throw invalid PKCS8 error as AuthError with user-friendly message ([a7d7a22](a7d7a22)), closes [#246](#246)
…en-mapping-to-unsigned-int-array

fix(#242): use TextEncoder when mapping token to UInt8Array
# [1.7.0-canary.12](v1.7.0-canary.11...v1.7.0-canary.12) (2024-09-03)

### Bug Fixes

* **#242:** use TextEncoder when mapping token to UInt8Array ([23b04dc](23b04dc)), closes [#242](#242)
…n-token-verifier

fix(#249): merge error stack trace in token verifier to improve visibility on fetch errors
# [1.7.0-canary.13](v1.7.0-canary.12...v1.7.0-canary.13) (2024-09-03)

### Bug Fixes

* **#249:** merge error stack trace in token verifier to improve visibility on fetch errors ([6bce756](6bce756)), closes [#249](#249)
…tching-kid-experimental

Feat/refresh token on no matching kid experimental
# [1.7.0-canary.14](v1.7.0-canary.13...v1.7.0-canary.14) (2024-09-06)

### Features

* experimental option to refresh token on expired kid header ([2869531](2869531))
# [1.7.0-canary.15](v1.7.0-canary.14...v1.7.0-canary.15) (2024-09-06)

### Bug Fixes

* add debug logs for experimental feature ([41ef1df](41ef1df))
feat: Allow Custom Auth Headers
# [1.7.0-canary.16](v1.7.0-canary.15...v1.7.0-canary.16) (2024-09-06)

### Features

* allow setAuthCookies to accept custom auth headers or fall back ([b1d169b](b1d169b))
* pass custom auth header from authMiddleware ([71286af](71286af))
# [1.7.0-canary.17](v1.7.0-canary.16...v1.7.0-canary.17) (2024-09-07)

### Features

* **middleware:** introduced `redirectToPath` method and RegExp support in `redirectToLogin` method ([21024bb](21024bb))
@awinogrodzki awinogrodzki merged commit fe4e519 into main Sep 9, 2024
4 checks passed
@awinogrodzki awinogrodzki deleted the canary branch September 9, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: Key for the RS256 algorithm must be of type CryptoKey.
4 participants