Skip to content

Conversation

@jacekradko
Copy link
Member

Description

Upgrading xstate and @xstate/react to allow for react@19 as a peer dep.

https://github.com/statelyai/xstate/blob/main/packages/xstate-react/CHANGELOG.md#500

Fixes: SDK-2101

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Apr 9, 2025

🦋 Changeset detected

Latest commit: 2eec4f7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@clerk/elements Patch

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

@vercel
Copy link

vercel bot commented Apr 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ⬜️ Skipped (Inspect) Apr 10, 2025 1:33am

@jacekradko jacekradko changed the title feat(elements): upgrade xstate and @xstate/react feat(elements): Upgrade xstate and @xstate/react Apr 9, 2025
@jacekradko jacekradko force-pushed the feat/upgrade-xstate-react branch from 8e7079c to 64d6479 Compare April 9, 2025 20:28
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 11 out of 13 changed files in this pull request and generated 1 comment.

Files not reviewed (2)
  • packages/elements/package.json: Language not supported
  • pnpm-lock.yaml: Language not supported
Comments suppressed due to low confidence (1)

packages/elements/src/internals/utils/inspector/console/console.ts:158

  • [nitpick] Using ts-expect-error to bypass type checking for '_parent' might hide potential issues. Consider refining the ActorRefLike interface or adding a type guard to safely access '_parent' without suppressing errors.
logEvent('Parent', parseRefId(inspectionEvent.actorRef._parent));

@jacekradko jacekradko merged commit cae75e8 into main Apr 10, 2025
30 checks passed
@jacekradko jacekradko deleted the feat/upgrade-xstate-react branch April 10, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants