This repository was archived by the owner on Mar 31, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Update xstate monorepo to v5 (major) #476
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/major-xstate-monorepo
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for superstore-redwood-stripe ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
99de6d0 to
4b4d5df
Compare
b2154b6 to
6e7a9e4
Compare
0ba61ab to
49c91a4
Compare
49c91a4 to
cbe2be6
Compare
cbe2be6 to
11d7556
Compare
016fa17 to
bf4f0f8
Compare
2a410a2 to
db65755
Compare
5ca27e2 to
123852a
Compare
20b2fed to
c4ee3eb
Compare
c4ee3eb to
bd6a722
Compare
9f1109d to
b2292c6
Compare
24b736c to
5c1b0ae
Compare
500850e to
b4fec35
Compare
c331df4 to
1ed7de0
Compare
1ed7de0 to
bfc36af
Compare
ff2f686 to
79324dd
Compare
9a6f96a to
b20066f
Compare
55eb75f to
75e61ed
Compare
02d2bb0 to
55822e1
Compare
55822e1 to
8e7b357
Compare
8e7b357 to
eb6edb2
Compare
4245010 to
1f8a745
Compare
1f8a745 to
bba4770
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.2.2->5.0.34.38.0->5.19.2Release Notes
statelyai/xstate (@xstate/react)
v5.0.3Compare Source
Patch Changes
9e1de554c4ebf49997b717fada540951d01f511cThanks @davidkpiano! - Added React 19 as a peer dependency.v5.0.2Compare Source
Patch Changes
80b9afbaeThanks @Andarist! - Fixed definingactorswithinputwithinsetup.v5.0.1Compare Source
Patch Changes
bf6119a7310a878afbf4f5b01f5e24288f9a0f16]:v5.0.0Compare Source
Patch Changes
#5109
d67b71dd25d457a2a59f2c943db13f50fab7ec3dThanks @davidkpiano! - Add React 19 as a peer dependencyUpdated dependencies [
8c4b70652acaef2702f32435362e4755679a516d]:v4.1.3Compare Source
Patch Changes
25963966c394fc904dc9b701a420b6e204ebe7f7]:v4.1.2Compare Source
Patch Changes
#5055
ad38c35c37Thanks @SandroMaglione! - Updated types ofuseActor,useMachine, anduseActorRefto requireinputwhen defined insidetypes/input.Previously even when
inputwas defined insidetypes,useActor,useMachine, anduseActorRefwould not make the input required:With this change the above code will show a type error, since
inputis now required:This avoids runtime errors when forgetting to pass
inputwhen defined insidetypes.v4.1.1Compare Source
Patch Changes
#4844
5aa6eb05cThanks @davidkpiano! - TheuseSelector(…)hook from@xstate/reactis now compatible with stores from@xstate/store.v4.1.0Compare Source
Minor Changes
#4231
c2402e7bcThanks @davidkpiano! - Theactorpassed touseSelector(actor, selector)is now allowed to beundefinedfor an actor that may not exist yet. For actors that may beundefined, thesnapshotprovided to theselectorfunction can also beundefined:v4.0.3Compare Source
Patch Changes
#4695
52900a084Thanks @davidkpiano! - Options increateActorContextare now properly merged with provider options. Previously, provider options replaced the actor options.v4.0.2Compare Source
Patch Changes
1f2ccb97cThanks @davidkpiano! - Typegen-based types for detecting missing implementations have been removed internally.v4.0.1Compare Source
Patch Changes
d7f220225Thanks @davidkpiano! - Fix an issue whereaftertransitions do not work in React strict mode. Delayed events (including fromaftertransitions) should now work as expected in all React modes.v4.0.0Compare Source
Major Changes
#3947
5fa3a0c74Thanks @davidkpiano! - Removed the ability to pass a factory function as argument touseMachine.#4006
42df9a536Thanks @davidkpiano! -useActorRefis introduced, which returns anActorReffrom actor logic:~~
useMachine~~ is deprecated in favor ofuseActor, which works with machines and any other kind of logic~~
useSpawn~~ is removed in favor ofuseActorRef#4050
fc88dc8e6Thanks @davidkpiano! - Theoptionsprop has been added (back) to theContext.Providercomponent returned fromcreateActorContext:#4006
42df9a536Thanks @davidkpiano! -useActorhas been removed from the created actor context, you should be able to replace its usage withMyCtx.useSelectorandMyCtx.useActorRef.#4265
1153b3f9aThanks @davidkpiano! - FSM-related functions have been removed.#3947
5fa3a0c74Thanks @davidkpiano! - Implementations for machines onuseMachinehooks should go directly on the machine viamachine.provide(...), and are no longer allowed to be passed in as options.#3148
7a68cbb61Thanks @davidkpiano! - RemovedgetSnapshotparameter from hooks. It is expected that the receivedactorRefhas to have agetSnapshotmethod on it that can be used internally.Minor Changes
5fb3c683dThanks @Andarist! -exportsfield has been added to thepackage.jsonmanifest. It limits what files can be imported from a package - it's no longer possible to import from files that are not considered to be a part of the public API.409552cf8Thanks @davidkpiano! - TheuseMachinefunction is an alias ofuseActor.340aee643Thanks @Andarist! - Fast refresh now works as expected for most use-cases.fc88dc8e6Thanks @davidkpiano! - TheobserverOrListenerargument has been removed from the 3rd argument ofcreateActorContext(logic, options).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.