-
Notifications
You must be signed in to change notification settings - Fork 2
fix(deps): update xstate monorepo to v5 (major) #1489
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
Closed
Closed
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
kongponents-bot
approved these changes
Apr 23, 2024
b167e07 to
14b75f2
Compare
kongponents-bot
approved these changes
Apr 24, 2024
14b75f2 to
0ffe366
Compare
kongponents-bot
approved these changes
Apr 29, 2024
0ffe366 to
b864357
Compare
kongponents-bot
approved these changes
Apr 30, 2024
b864357 to
b4820a8
Compare
kongponents-bot
approved these changes
May 1, 2024
b4820a8 to
b7e29fb
Compare
kongponents-bot
approved these changes
May 2, 2024
b7e29fb to
3ca0d7f
Compare
kongponents-bot
approved these changes
May 6, 2024
3ca0d7f to
ac867a5
Compare
kongponents-bot
approved these changes
May 6, 2024
ac867a5 to
f2d31ed
Compare
kongponents-bot
approved these changes
May 7, 2024
f2d31ed to
3b126f0
Compare
kongponents-bot
approved these changes
May 7, 2024
3b126f0 to
7a63253
Compare
kongponents-bot
approved these changes
May 9, 2024
7a63253 to
78ccdcf
Compare
kongponents-bot
approved these changes
May 10, 2024
78ccdcf to
72098b9
Compare
kongponents-bot
approved these changes
May 10, 2024
72098b9 to
8e6158d
Compare
72be018 to
1697522
Compare
de052db to
d908a2c
Compare
43d832d to
359852c
Compare
359852c to
935d8c1
Compare
e14bcd7 to
ee8e0b7
Compare
35c03d5 to
2f30dd0
Compare
98fe4a8 to
8910ba4
Compare
4493ea7 to
7c9d6a6
Compare
a726a88 to
0273f3f
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
0273f3f to
b5924a3
Compare
Contributor
Author
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
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.
Coming soon: The Renovate bot (GitHub App) will be renamed to Mend. PRs from Renovate will soon appear from 'Mend'. Learn more here.
This PR contains the following updates:
^2.0.0->^5.0.0^4.38.3->^5.22.0Warning
Deprecated preset:
Kong/public-shared-renovate:kong-frontend-configYour config references a deprecated preset. To prevent disruption, this file now composes the org default building blocks and layers a few tweaks so behavior stays close to the historical frontend configuration.
What’s different from the default
schedule:automergeWeekdays+schedule:daily+:noUnscheduledUpdates)mend-botlabel alongside Renovate’s standard dependency labelingAmerica/New_YorkKong/kong-api-testsandthe-actions-org/workflow-dispatchRecommended migration
Prefer switching to the default preset and applying only the bits you still need locally. Example configuration to replicate this preset’s behavior on top of the default:
{ "extends": [ "Kong/public-shared-renovate", "schedule:automergeWeekdays", "schedule:daily", ":automergeMinor", ":automergePatch", ":automergeRequireAllStatusChecks", ":labels(dependencies,mend-bot)", ":noUnscheduledUpdates", ":timezone(America/New_York)" ], "packageRules": [ { "matchPackageNames": ["*"], "matchDepTypes": ["action"], "matchUpdateTypes": ["minor", "patch"], "matchCurrentVersion": "!/^v0/", "groupName": "non-major github actions with stable versions" } ] }To disable the same actions locally, add the helpers after the default in your
extendslist:Timeline
This compatibility preset will be removed in January 2026. Please migrate to the default preset with local overrides before then.
Release Notes
statelyai/xstate (@xstate/vue)
v5.0.0Compare Source
Patch Changes
e07a7cd8462473188a0fb646a965e61be1ce6ae3]:v4.0.4Compare Source
Patch Changes
479c74b83fa77c57c48f54cf0e9dcfab5fe6cae5]:v4.0.3Compare Source
Patch Changes
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9]:v4.0.2Compare Source
Patch Changes
d99df1d8f4fe49145c9974465b65028bf19b365f]:v4.0.1Compare Source
Patch Changes
bf6119a7310a878afbf4f5b01f5e24288f9a0f16]:v4.0.0Compare Source
Patch Changes
8c4b70652acaef2702f32435362e4755679a516d]:v3.1.4Compare Source
Patch Changes
25963966c394fc904dc9b701a420b6e204ebe7f7]:v3.1.3Compare 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.v3.1.2Compare Source
Patch Changes
#4844
5aa6eb05cThanks @davidkpiano! - TheuseSelector(…)hook from@xstate/reactis now compatible with stores from@xstate/store.v3.1.1Compare Source
Patch Changes
f112081b9Thanks @davidkpiano! - Fixsend(…)type foruseActor(…)v3.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:v3.0.3Compare Source
Patch Changes
b453b2d72ba12d0fe46a995f9ccced8000fd0cc9]:v3.0.2Compare Source
Patch Changes
3ad929eb4Thanks @tkofh! - TheuseActorhook now correctly types it'ssendfunction when passed anActorLogic.v3.0.1Compare Source
Patch Changes
5e05d5908093bfd3435dc2243e066e4e91b3ebc5Thanks @davidkpiano! - The emitted event type can no longer be accidentally overridden in the emitted event payload. See #5196 for the issue.v3.0.0Compare Source
Major Changes
#5175
38aa9f518ee2f9a5f481306a1dc68c0ad47d28d5Thanks @davidkpiano! - ThecreateStorefunction now only accepts a single configuration object argument. This is a breaking change that simplifies the API and aligns with the configuration pattern used throughout XState.#5175
38aa9f518ee2f9a5f481306a1dc68c0ad47d28d5Thanks @davidkpiano! - You can now enqueue effects in state transitions.#5175
38aa9f518ee2f9a5f481306a1dc68c0ad47d28d5Thanks @davidkpiano! - ThefromStore(config)function now only supports a single config object argument.#5175
38aa9f518ee2f9a5f481306a1dc68c0ad47d28d5Thanks @davidkpiano! - ThecreateStoreWithProducer(…)function now only accepts two arguments: aproducerand a config ({ context, on }) object.#5175
38aa9f518ee2f9a5f481306a1dc68c0ad47d28d5Thanks @davidkpiano! - Only complete assigner functions that replace thecontextfully are supported. This is a breaking change that simplifies the API and provides more type safety.const store = createStore({ context: { items: [], count: 0 }, on: { - increment: { count: (context) => context.count + 1 } - increment: (context) => ({ count: context.count + 1 }) + increment: (context) => ({ ...context, count: context.count + 1 }) } })#5175
38aa9f518ee2f9a5f481306a1dc68c0ad47d28d5Thanks @davidkpiano! - Emitted event types are now specified in functions on theemitsproperty of the store definition:Minor Changes
#5175
38aa9f518ee2f9a5f481306a1dc68c0ad47d28d5Thanks @davidkpiano! - Addedstore.triggerAPI for sending events with a fluent interface:The
triggerAPI provides full type safety for event names and payloads, making it easier and safer to send events to the store.Configuration
📅 Schedule: Branch creation - Between 12:00 AM and 03:59 AM ( * 0-3 * * * ) in timezone America/New_York, Automerge - Monday through Friday ( * * * * 1-5 ) in timezone America/New_York.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.