@passflow/react 0.26.0 → 0.26.1

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,15 @@
2
2
 
3
3
  All notable changes to `@passflow/react` are documented in this file.
4
4
 
5
+ ## [0.26.1] - 2026-11-19
6
+
7
+ ### Fixed
8
+
9
+ - A sign-in through `PassflowFlow` whose `successAuthRedirect` is a full address on the page's own origin (`"http://localhost:5173/"`) no longer loads the page again. On the flow's built-in browser router, the flow moves to that path, query and fragment in the app, so the page draws once. Hash and memory flows, a `location` and `navigate` the app passes, and the hosted login page (`federatedLanding="login-page"`) still load such an address.
10
+ - The password length rule counts characters (code points), as the server does. An emoji counts as one, so the form no longer accepts an emoji password the server refuses.
11
+ - The free `withAuth(fetch, options)` and `attachAuth(instance, options)` take `origins`, like `usePassflow().withAuth` and `passflow.attachAuth`. Without it, a call to another origin went without a token.
12
+ - `dist/style.css` holds no empty `url()`. `--passflow-background-image` defaults to `none`, and a Next.js 16 app with Turbopack builds with the stylesheet imported. The build fails if any shipped stylesheet holds an empty `url()`.
13
+
5
14
  ## [0.26.0] - 2026-11-19
6
15
 
7
16
  ### Added
package/README.md CHANGED
@@ -306,6 +306,8 @@ function AuthPage() {
306
306
  }
307
307
  ```
308
308
 
309
+ With a location the app passes, a sign-in whose `successAuthRedirect` is a full address loads that page, as before; only the built-in browser router moves there in the app without a reload.
310
+
309
311
  `TwoFactorSetupMagicLinkFlow` can also be mounted on its own page. It reads the token from the URL (the segment after `/two-factor-setup-magic-link/`), or takes it as a `token` prop.
310
312
 
311
313
  ### Login button