Skip to content

1.0.2

Choose a tag to compare

@github-actions github-actions released this 29 Oct 01:07

Fixed

  • clerkMiddleware's protect no longer redirects the sign-in page itself to the sign-in page when the matcher covers it (a matcher such as /(.*)), which looped with a redirect_url that grew on every hop.
  • ClerkProvider: a throw while the loaded state is applied is routed to the nearest ErrorBoundary instead of becoming an unhandled rejection.
  • withAnswerHeaders no longer throws for a 101 upgrade response: the headers are set in place, or the response goes out as it is when they are immutable.
  • Script mode: a provider that is unmounted no longer removes a script element another provider is still waiting on.
  • ClerkProvider's cross-tab session channel is named from a hash of the whole publishable key, not its last 16 characters, so two instances whose keys end alike no longer wake each other's tabs.