Releases: awinogrodzki/next-firebase-auth-edge
Releases · awinogrodzki/next-firebase-auth-edge
v1.7.0
1.7.0 (2024-09-09)
Bug Fixes
- add debug logs for experimental feature (41ef1df)
- #242: use TextEncoder when mapping token to UInt8Array (23b04dc), closes #242
- #246: re-throw invalid PKCS8 error as AuthError with user-friendly message (a7d7a22), closes #246
- #249: merge error stack trace in token verifier to improve visibility on fetch errors (6bce756), closes #249
- add missing name property to decoded id token type (39b086d)
- pass cookie serialization options to cookie setter (b28ce7a)
- recreate canary tags after force push (c9b7c18)
- semantic-release rate exceeded error (676b602)
- semantic-version git history issue (d514f57)
- update next.js peer dependency to rc (f2953fd)
Features
- middleware: introduced
redirectToPath
method and RegExp support inredirectToLogin
method (21024bb) - added
path
option toredirectToHome
helper function (54f07f4) - allow setAuthCookies to accept custom auth headers or fall back (b1d169b)
- experimental option to refresh token on expired kid header (2869531)
- introduced
refreshCookiesWithIdToken
function to enable login using Server Actions (#212) (6cd0b13) - next.js 15 rc support (a994dd0)
- pass custom auth header from authMiddleware (71286af)
- getTokens: introduced optional
cookieSerializeOptions
option (e041542) - replaced no matching kid auth error with invalid token error (9d2d0fc)
- support Node.js 22 (6c7f435)
v1.7.0-canary.17
1.7.0-canary.17 (2024-09-07)
Features
- middleware: introduced
redirectToPath
method and RegExp support inredirectToLogin
method (21024bb)
v1.7.0-canary.16
1.7.0-canary.16 (2024-09-06)
Features
v1.7.0-canary.15
v1.7.0-canary.14
1.7.0-canary.14 (2024-09-06)
Features
- experimental option to refresh token on expired kid header (2869531)
v1.7.0-canary.13
1.7.0-canary.13 (2024-09-03)
Bug Fixes
v1.7.0-canary.12
1.7.0-canary.12 (2024-09-03)
Bug Fixes
v1.7.0-canary.11
1.7.0-canary.11 (2024-08-30)
Bug Fixes
v1.7.0-canary.10
1.7.0-canary.10 (2024-08-22)
Features
- getTokens: introduced optional
cookieSerializeOptions
option (e041542)