@passflow/react 0.26.1 → 0.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to `@passflow/react` are documented in this file.
4
4
 
5
+ ## [0.26.2] - 2026-11-20
6
+
7
+ ### Fixed
8
+
9
+ - A server-rendered page (Next.js, TanStack Start or any SSR framework) no longer logs "Hydration failed because the server rendered text didn't match the client" (React error 418) when a signed-in user reloads it. The server has no session, so it renders signed out; the browser now hydrates signed out too and shows the session in the render right after hydration. This covers `<LoginButton />`, `useAuth().isSignedIn`, `useUser()`, `usePassflowStore()` (which also no longer throws "Missing getServerSnapshot" on the server), the two-factor setup form and the invitation screen. A page rendered only in the browser shows the session from its first render, as before.
10
+ - `PassflowFlow` no longer throws "Missing getServerSnapshot" during hydration. Render `PassflowFlow` only on the client for now: it reads browser globals during render.
11
+
5
12
  ## [0.26.1] - 2026-11-19
6
13
 
7
14
  ### Fixed