-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update XState (main) - autoclosed #170178
Conversation
Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI) |
771b720
to
88b9d08
Compare
88b9d08
to
b2136e9
Compare
7722356
to
4ea2002
Compare
5dc6b9d
to
dc6e306
Compare
819419e
to
51acb34
Compare
2415ef5
to
753bd78
Compare
9be8387
to
ee280c0
Compare
d47d9b8
to
840ac0a
Compare
3cab2b2
to
3ddb196
Compare
f5dd683
to
eeecdd3
Compare
For this upgrade to a major version, the official Xstate docs states:
We are currently on v4.x.x of typescript, which constrains us on this upgrade. |
eeecdd3
to
da58c6c
Compare
Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs) |
bef557a
to
cf03e30
Compare
/ci |
💔 Build FailedFailed CI StepsHistory
To update your PR or re-run it, just comment with: |
I'm withdrawing my approval, since I reviewed this when it was just a minor version upgrade. It feels dangerous for the renovate bot to replace the PR content with a major version upgrade after approval. |
cf03e30
to
494bdbd
Compare
943109b
to
e6a7571
Compare
e6a7571
to
709da2a
Compare
709da2a
to
1e96734
Compare
1e96734
to
ab224b3
Compare
ab224b3
to
ee00ae0
Compare
ee00ae0
to
dc31ca0
Compare
dc31ca0
to
919fbd8
Compare
919fbd8
to
f4da4fe
Compare
f4da4fe
to
5f94d4a
Compare
Created an issue to track the major upgrade work |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Closing in favour of PRs to be opened by Self-Hosted Renovate. |
This PR contains the following updates:
^3.2.2
->^4.1.1
^4.38.2
->^5.16.0
Release Notes
statelyai/xstate (@xstate/react)
v4.1.1
Compare Source
Patch Changes
#4844
5aa6eb05c
Thanks @davidkpiano! - TheuseSelector(…)
hook from@xstate/react
is now compatible with stores from@xstate/store
.v4.1.0
Compare Source
Minor Changes
#4231
c2402e7bc
Thanks @davidkpiano! - Theactor
passed touseSelector(actor, selector)
is now allowed to beundefined
for an actor that may not exist yet. For actors that may beundefined
, thesnapshot
provided to theselector
function can also beundefined
:v4.0.3
Compare Source
Patch Changes
#4695
52900a084
Thanks @davidkpiano! - Options increateActorContext
are now properly merged with provider options. Previously, provider options replaced the actor options.v4.0.2
Compare Source
Patch Changes
1f2ccb97c
Thanks @davidkpiano! - Typegen-based types for detecting missing implementations have been removed internally.v4.0.1
Compare Source
Patch Changes
d7f220225
Thanks @davidkpiano! - Fix an issue whereafter
transitions do not work in React strict mode. Delayed events (including fromafter
transitions) should now work as expected in all React modes.v4.0.0
Compare Source
Major Changes
#3947
5fa3a0c74
Thanks @davidkpiano! - Removed the ability to pass a factory function as argument touseMachine
.#4006
42df9a536
Thanks @davidkpiano! -useActorRef
is introduced, which returns anActorRef
from 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
fc88dc8e6
Thanks @davidkpiano! - Theoptions
prop has been added (back) to theContext.Provider
component returned fromcreateActorContext
:#4006
42df9a536
Thanks @davidkpiano! -useActor
has been removed from the created actor context, you should be able to replace its usage withMyCtx.useSelector
andMyCtx.useActorRef
.#4265
1153b3f9a
Thanks @davidkpiano! - FSM-related functions have been removed.#3947
5fa3a0c74
Thanks @davidkpiano! - Implementations for machines onuseMachine
hooks should go directly on the machine viamachine.provide(...)
, and are no longer allowed to be passed in as options.#3148
7a68cbb61
Thanks @davidkpiano! - RemovedgetSnapshot
parameter from hooks. It is expected that the receivedactorRef
has to have agetSnapshot
method on it that can be used internally.Minor Changes
5fb3c683d
Thanks @Andarist! -exports
field has been added to thepackage.json
manifest. 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.409552cf8
Thanks @davidkpiano! - TheuseMachine
function is an alias ofuseActor
.340aee643
Thanks @Andarist! - Fast refresh now works as expected for most use-cases.fc88dc8e6
Thanks @davidkpiano! - TheobserverOrListener
argument 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 becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.