Repository navigation
chore: merge main release history into next - #5785
Conversation
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Changesets v3 invokes pnpm pack with --out, which pnpm 9 does not support. Upgrade the repository pin and refresh the pnpm 10 patch hash so frozen installs continue to work.
* Add distinct state and transition meta types * Use meta for state metadata typing * Update packages/core/src/setup.ts Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> * Preserve invoke transition metadata types --------- Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…odeDefinition` (#5712) * fix(core): widen the meta parameters of AnyStateNode and AnyStateNodeDefinition `StateNode` and `StateNodeDefinition` gained `TStateMeta` and `TTransitionMeta` in #5700. Both default to `MetaObject` rather than widening, so the aliases meant to stand for "a node of any machine" stopped covering the nodes of an `AnyStateMachine`, which have those parameters as `any`. Assignability hides this — `any` assigns in both directions — but tooling that tracks `any` does not: `@typescript-eslint`'s `no-unsafe-argument` and `no-unsafe-return` report every node read off an untyped machine. `AnyTransitionDefinition` was widened along with the new parameters in that same change; these two were missed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> * fix(core): widen the graph module's AnyStateNode too, and cover the transition slot `graph/types.ts` declared a second `AnyStateNode` with the same defect, which `toDirectedGraph` and `getStateNodes` consume and `graph/index.ts` re-exports. It now re-exports the core alias rather than restating it, so the two cannot drift apart again. The test asserted only the state metadata parameter. `TTransitionMeta` defaults to `TStateMeta`, so dropping it would be harmless, but writing `MetaObject` into that slot explicitly would not have been caught. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
… fixes from next (#5760) * @xstate/store 4.x: declare xstate as an optional peer; backport store fixes from next Backports store-only fixes from #5697 (69b6663) and the useStore inspect option from #5683 (c57f80e). * Address review: drain flushStorage, restart event history on clear, commit-phase inspector * @xstate/store: preserve cleared history across pure transitions and pending effects (#5764) * Fix clearStorage history reset across pure transitions and pending effects * Invalidate pre-clear snapshot effects and stale rehydrate reads
* feat(store): add source atoms with shared subscription lifecycle * fix(store): recover source activation and async delivery errors
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
…43-20261009-final
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
mainrelease history as merged intonextnexttree because the interveningmaincommits are release/version commits and backports fromnextnext→mainXState v6 PR without replacing v6 code with v5 conflict hunksValidation
git diff --exit-code origin/next HEAD(identical trees)Merge note
Use a merge commit, not squash or rebase; preserving
mainas the second parent is what clears #5543's ancestry conflict.