Skip to content

chore: version packages - #13

Merged
bcheung merged 1 commit into
mainfrom
changeset-release/main
Nov 6, 2026
Merged

bcheung merged 1 commit into
mainfrom
changeset-release/main

Conversation

@bcheung

@bcheung bcheung commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@useflow/core@0.5.0

Minor Changes

  • 827436d: validatePersistedState no longer requires a saved path to begin at the flow's start step, so progress from flows entered or reset at another step can be restored. The allowedInitialStepIds option and ValidatePersistedStateOptions type are removed. Missing steps, a mismatched current step and an inconsistent status are still rejected.
  • ad272a5: Add typed restore discard events for expired, unmigrated, migration_rejected, and validation_rejected saved progress. Support a per-restore callback override and isolate callback failures without changing restore results or storage cleanup.
  • cb4290d: Run the persister's validate on migrated state too. Previously a successful migration skipped validate; migrated progress that fails it is now discarded and reported as validation_rejected.

@useflow/react@0.5.0

Minor Changes

  • 81e7cc4: reset() accepts optional context and initialStepId overrides to start the flow over with new data or at a different step. Calling reset() with no arguments behaves as before.
  • ad272a5: Add Flow and FlowProvider onDiscard callbacks for rejected saved progress, including incompatible flow definitions. Re-export discard event types, resolve callback overrides without duplicate notifications, and preserve existing persistence error reporting.

Patch Changes

  • Updated dependencies [827436d]
  • Updated dependencies [ad272a5]
  • Updated dependencies [cb4290d]
    • @useflow/core@0.5.0

@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 4910fde to a88e754 Compare November 6, 2026 03:57
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from a88e754 to b1b78de Compare November 6, 2026 03:59
@bcheung
bcheung merged commit 239afff into main Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant