-
Notifications
You must be signed in to change notification settings - Fork 294
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
chore(ui): Bump xstate to ^4.33.0 #2432
Conversation
🦋 Changeset detectedLatest commit: e66a528 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -42,7 +42,7 @@ | |||
"dependencies": { | |||
"lodash": "4.17.21", | |||
"style-dictionary": "3.7.0", | |||
"xstate": "^4.30.6", | |||
"xstate": "^4.33.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For my knowledge, why not pin the version?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good question!
This is to avoid package duplication: Gatsby depends on xstate@^4.x.x
, so if we pin the version, customer will get duplicated versions of xstate. And we found that duplicated xstate causes runtime errors.
More details here! #1545
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it, thanks!
Description of changes
Bumping xstate to 4.33.0, which contains statelyai/xstate#3126 that fixes #764.
Issue #, if available
#764
Description of how you validated changes
Build and e2e tests passing. This is not really a change in customer's end, because we pointed to latest
xstate
anyway.Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.