-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix(deps): update xstate monorepo (major) #1489
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 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
renovate
bot
added
dependencies
Pull requests that update a dependency file
renovate-bot
labels
Apr 23, 2024
kongponents-bot
approved these changes
Apr 23, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
April 24, 2024 06:19
b167e07
to
14b75f2
Compare
kongponents-bot
approved these changes
Apr 24, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
April 29, 2024 07:32
14b75f2
to
0ffe366
Compare
kongponents-bot
approved these changes
Apr 29, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
April 30, 2024 07:38
0ffe366
to
b864357
Compare
kongponents-bot
approved these changes
Apr 30, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 1, 2024 06:18
b864357
to
b4820a8
Compare
kongponents-bot
approved these changes
May 1, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 2, 2024 04:59
b4820a8
to
b7e29fb
Compare
kongponents-bot
approved these changes
May 2, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 6, 2024 04:42
b7e29fb
to
3ca0d7f
Compare
kongponents-bot
approved these changes
May 6, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 6, 2024 07:09
3ca0d7f
to
ac867a5
Compare
kongponents-bot
approved these changes
May 6, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 7, 2024 05:18
ac867a5
to
f2d31ed
Compare
kongponents-bot
approved these changes
May 7, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 7, 2024 08:24
f2d31ed
to
3b126f0
Compare
kongponents-bot
approved these changes
May 7, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 9, 2024 04:50
3b126f0
to
7a63253
Compare
kongponents-bot
approved these changes
May 9, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 10, 2024 05:21
7a63253
to
78ccdcf
Compare
kongponents-bot
approved these changes
May 10, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 10, 2024 06:51
78ccdcf
to
72098b9
Compare
kongponents-bot
approved these changes
May 10, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
May 16, 2024 06:02
72098b9
to
8e6158d
Compare
kongponents-bot
approved these changes
Nov 19, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
November 21, 2024 06:47
751cd03
to
4fec211
Compare
kongponents-bot
approved these changes
Nov 21, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
November 25, 2024 09:56
4fec211
to
fe199ec
Compare
kongponents-bot
approved these changes
Nov 25, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
November 26, 2024 07:57
fe199ec
to
883679d
Compare
kongponents-bot
approved these changes
Nov 26, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
November 27, 2024 07:29
883679d
to
4e1dd7a
Compare
kongponents-bot
approved these changes
Nov 27, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
November 28, 2024 08:49
4e1dd7a
to
9b6d4c0
Compare
kongponents-bot
approved these changes
Nov 28, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 3, 2024 05:08
9b6d4c0
to
01af664
Compare
kongponents-bot
approved these changes
Dec 3, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 10, 2024 08:03
01af664
to
a093007
Compare
kongponents-bot
approved these changes
Dec 10, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 12, 2024 06:14
a093007
to
460e353
Compare
kongponents-bot
approved these changes
Dec 12, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 13, 2024 06:07
460e353
to
8316fea
Compare
kongponents-bot
approved these changes
Dec 13, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 20, 2024 08:40
8316fea
to
fea5f98
Compare
kongponents-bot
approved these changes
Dec 20, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 20, 2024 08:48
fea5f98
to
97453ac
Compare
kongponents-bot
approved these changes
Dec 20, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 23, 2024 07:28
97453ac
to
b2a89d8
Compare
kongponents-bot
approved these changes
Dec 23, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 23, 2024 09:20
b2a89d8
to
1087a60
Compare
kongponents-bot
approved these changes
Dec 23, 2024
renovate
bot
force-pushed
the
renovate/major-xstate-monorepo
branch
from
December 24, 2024 06:12
1087a60
to
7bc1fe2
Compare
kongponents-bot
approved these changes
Dec 24, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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:
^2.0.0
->^4.0.0
^4.38.3
->^5.19.0
Release Notes
statelyai/xstate (@xstate/vue)
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)
.v3.1.4
Compare Source
Patch Changes
25963966c394fc904dc9b701a420b6e204ebe7f7
]:v3.1.3
Compare Source
Patch Changes
#5055
ad38c35c37
Thanks @SandroMaglione! - Updated types ofuseActor
,useMachine
, anduseActorRef
to requireinput
when defined insidetypes/input
.Previously even when
input
was defined insidetypes
,useActor
,useMachine
, anduseActorRef
would not make the input required:With this change the above code will show a type error, since
input
is now required:This avoids runtime errors when forgetting to pass
input
when defined insidetypes
.v3.1.2
Compare Source
Patch Changes
b53856d28
Thanks @farskid! - Interpreter options can now be specified in the second argument of createActorContext(machine, options).v3.1.1
Compare Source
Patch Changes
51d254692
Thanks @Andarist! - Fixed an issue that caused the internally useduseSyncExternalStore
to warn about the computed snapshot not being cached when a not-started machine servive was passed touseActor
.v3.1.0
Compare Source
Minor Changes
#3778
f12248b23
Thanks @davidkpiano! - ThecreateActorContext(...)
helper has been introduced to make global actors easier to use with React. It outputs a React Context object with the following properties:.Provider
- The React Context provider.useActor(...)
- A hook that can be used to get the current state and send events to the actor.useSelector(...)
- A hook that can be used to select some derived state from the actor's state.useActorRef()
- A hook that can be used to get a reference to the actor that can be passed to other componentsUsage:
v3.0.3
Compare Source
Patch Changes
1f2ccb97c
Thanks @davidkpiano! - Typegen-based types for detecting missing implementations have been removed internally.v3.0.2
Compare Source
Patch Changes
4190c3fd6
Thanks @davidkpiano! - Computing the initial state is now consistent withuseMachine
anduseActor
, avoiding stale initial state problems with nested machinesv3.0.1
Compare Source
Patch Changes
#3456
131d429ab
Thanks @davidkpiano! - AddshallowEqual
helper comparator function.#3500
0dfc6d92f
Thanks @Andarist! - Fixed an issue withuseSelector
always computing fresh snapshots internally for uninitialized services. This avoids the internaluseSyncExternalStore
from warning about the snapshot value not being cached properly.v3.0.0
Compare Source
Major Changes
#2939
360e85462
Thanks @Andarist! - This package now accepts React 18 as a peer dep and the implementation has been rewritten to useuse-sync-external-store
package. This doesn't break compatibility with older versions of React since we are using the shim to keep compatibility with those older versions.#2939
360e85462
Thanks @Andarist! -asEffect
andasLayoutEffect
action creators were removed. They were not fitting the React model that well and could lead to issues as their existence suggested that they are easy to use.To execute actions at those exact times you can always either just call your stuff directly from those effects or send events to the machine from those effects and execute explicit actions in response to said events.
#2939
360e85462
Thanks @Andarist! - The signatures ofuseMachine
anduseService
integrating with@xstate/fsm
were changed. They now only accept a single generic each (TMachine
andTService
respectively). This has been done to match their signatures with the related hooks that integrate withxstate
itself.Patch Changes
#2939
360e85462
Thanks @Andarist! - In v2 we have changed signatures ofuseMachine
anduseInterpret
. Instead of accepting a list of generics they now only support a single generic:TMachine
. This change, erroneously, was only introduced to types targeting [email protected] but the types targeting previous TS releases were still using the older signatures. This has now been fixed and users of older TS versions should now be able to leverage typegen with@xstate/react
.#2939
360e85462
Thanks @Andarist! -useMachine
forxstate
now correctly rerenders with the initial state when the internal service is being restarted. This might happen during Fast Refresh and now you shouldn't be able to observe this stale state that didn't match the actual state of the service.#2939
360e85462
Thanks @Andarist! -useMachine
for@xstate/fsm
now starts the service in an effect. This avoids side-effects in render and improves the compatibility withStrictMode
.#2939
360e85462
Thanks @Andarist! - Implementations given touseMachine
targeting@xstate/fsm
are now updated in a layout effect. This avoid some stale closure problems for actions that are executed in response to events sent from layout effects.Updated dependencies [
360e85462
,360e85462
]:Configuration
📅 Schedule: Branch creation - "before 5am every weekday" in timezone America/New_York, Automerge - "every weekday" in timezone America/New_York.
🚦 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.
👻 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.