@passflow/react 0.8.3 → 0.9.0

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,18 @@
2
2
 
3
3
  All notable changes to `@passflow/react` are documented in this file.
4
4
 
5
+ ## [0.9.0] - 2026-10-26
6
+
7
+ ### Added
8
+
9
+ - `ConsentFlow`, the OIDC consent screen as an SDK flow. Mount it on `/web/consent`; it composes the same `LoginScreen` as sign-in, so consent no longer drifts from the rest of the hosted pages. It is standalone and needs no `PassflowProvider`: the staged request is addressed by `parent_challenge_id` on the URL and read with a same-origin cookie.
10
+ - `useConsent` and its types (`UseConsentProps`, `ConsentStatus`, `ConsentInfo`, `ConsentError`, `ConsentScopeMetadata`) for hosts that render their own consent UI. Decisions carry the server's CSRF token and honour both `query` and `form_post` response modes.
11
+ - A `consent` state on `LoginScreen` (`LoginConsentState`, `LoginConsentScope`): per-scope switches that all start granted, with Allow and Deny as peer actions.
12
+
13
+ ### Fixed
14
+
15
+ - `Switch` now generates a unique input id. Every instance previously used the id `switch`, so with more than one on a page each label resolved to the first input and clicking a later row toggled the first. Pass `id` to override.
16
+
5
17
  ## [0.8.3] - 2026-08-19
6
18
 
7
19
  ### Removed