Skip to content

Releases: gladly-team/next-firebase-auth

v0.14.1-alpha.0

29 Dec 16:33
Compare
Choose a tag to compare
v0.14.1-alpha.0 Pre-release
Pre-release

What's Changed

  • Add ability to redirect without base path by @offgriddev in #352
  • Added troubleshooting step to README for "Firebase ID token has invalid signature" by @vpaladino778 in #398

Thank you to these contributors!

Breaking

  • None

New Contributors

Full Changelog: v0.14.0...v0.14.1-alpha.0

v1.0.0-canary.4

21 Dec 20:47
Compare
Choose a tag to compare
v1.0.0-canary.4 Pre-release
Pre-release

Changes

  • Throw when using withAuthUserSSR without signed cookies by @kmjennison in #391
  • Throw if useAuthUser is used without withAuthUser by @kmjennison in #395

Breaking

  • Minor breaking change: it's no longer allowed to use withAuthUserSSR alongside unsigned cookies. This was already discouraged but now will throw an error. For more info, see: #195
  • Minor breaking change: it's no longer possible to use useAuthUser without withAuthUser above it in the component tree. For more info, see: #155

Full Changelog: v1.0.0-canary.3...v1.0.0-canary.4

v0.14.0

21 Dec 20:54
Compare
Choose a tag to compare

Changes

  • Don't throw errors during ID token verification or refresh
    • Handle more token errors by @HofmannZ in #365
    • Remove thrown errors from token refresh & verification by @kmjennison in #368. This adds onVerifyTokenError and onTokenRefreshError handlers to the config.
  • Allow rendering while redirecting to app by @abusada in #375. This adds a whenAuthedBeforeRedirect option to withAuthUser.
  • Allow easy error handling for login/logout requests by @kmjennison in #376. This adds onLoginRequestError and onLogoutRequestError handlers to the config.
  • Support application default credentials for by @prescottprue in #348
  • Fix peer dependency range syntax for firebase-admin by @kmjennison in #358

Thank you to these contributors!

Breaking

  • Minor breaking change: withAuthUserTokenSSR and withAuthUserSSR will no longer throw errors when there are unexpected problems refreshing or verifying the user's ID token. Instead, they will render with an unauthenticated user. To handle errors in a different way, add handlers onVerifyTokenError and onTokenRefreshError to your config.

New Contributors

  • @prescottprue made their first contribution in #348
  • @pi-guy-in-the-sky made their first contribution in #374

Full Changelog: v0.13.5...v0.14.0

v1.0.0-canary.3

17 Dec 22:11
Compare
Choose a tag to compare
v1.0.0-canary.3 Pre-release
Pre-release

Changes

  • Don't throw errors during ID token verification or refresh
    • Handle more token errors by @HofmannZ in #365
    • Remove thrown errors from token refresh & verification by @kmjennison in #368. This adds onVerifyTokenError and onTokenRefreshError handlers to the config.
  • Allow rendering while redirecting to app by @abusada in #375. This adds a whenAuthedBeforeRedirect option to withAuthUser.
  • Allow easy error handling for login/logout requests by @kmjennison in #376. This adds onLoginRequestError and onLogoutRequestError handlers to the config.
  • Support application default credentials for by @prescottprue in #359
  • Fix peer dependency range syntax for firebase-admin by @kmjennison in #357
  • Launch v1.x live demo app
  • Change example app cookies to use SameSite=Lax by @kmjennison in #360

Thank you to these contributors!

Breaking

  • Minor breaking change: withAuthUserTokenSSR and withAuthUserSSR will no longer throw errors when there are unexpected problems refreshing or verifying the user's ID token. Instead, they will render with an unauthenticated user. To handle errors in a different way, add handlers onVerifyTokenError and onTokenRefreshError to your config.

New Contributors

v0.14.0-alpha.0

17 Dec 21:41
Compare
Choose a tag to compare
v0.14.0-alpha.0 Pre-release
Pre-release

Changes

  • Don't throw errors during ID token verification or refresh
    • Handle more token errors by @HofmannZ in #365
    • Remove thrown errors from token refresh & verification by @kmjennison in #368. This adds onVerifyTokenError and onTokenRefreshError handlers to the config.
  • Allow rendering while redirecting to app by @abusada in #375. This adds a whenAuthedBeforeRedirect option to withAuthUser.
  • Allow easy error handling for login/logout requests by @kmjennison in #376. This adds onLoginRequestError and onLogoutRequestError handlers to the config.
  • Support application default credentials for by @prescottprue in #348
  • Fix peer dependency range syntax for firebase-admin by @kmjennison in #358

Thank you to these contributors!

Breaking

  • Minor breaking change: withAuthUserTokenSSR and withAuthUserSSR will no longer throw errors when there are unexpected problems refreshing or verifying the user's ID token. Instead, they will render with an unauthenticated user. To handle errors in a different way, add handlers onVerifyTokenError and onTokenRefreshError to your config.

New Contributors

  • @prescottprue made their first contribution in #348
  • @pi-guy-in-the-sky made their first contribution in #374

Full Changelog: v0.13.5...v0.14.0-alpha.o

v0.14.0-alpha.1

17 Dec 21:48
Compare
Choose a tag to compare
v0.14.0-alpha.1 Pre-release
Pre-release

Changes

  • Update README to add min version of new config options

Breaking

  • None

v0.13.5

10 Dec 19:44
Compare
Choose a tag to compare

Changes

  • Support Next 12 and Firebase Admin 10: #328

Breaking

  • None

v1.0.0-canary.2

02 Nov 21:01
Compare
Choose a tag to compare
v1.0.0-canary.2 Pre-release
Pre-release

Changes

  • Support Next 12 and Firebase Admin 10: #329

Breaking

  • None

v0.13.5-alpha.0

02 Nov 20:45
Compare
Choose a tag to compare
v0.13.5-alpha.0 Pre-release
Pre-release

Changes

  • Support Next 12 and Firebase Admin 10: #328

Breaking

  • None

v0.13.4

15 Oct 19:22
Compare
Choose a tag to compare

Changes

  • Add force-refresh support to getIdToken: #301

Breaking

  • None

Acknowledgements

Thank you to @iamgbayer for their contributions!