Skip to content

Deprecate and remove @react-spring/native, @react-spring/konva, and @react-spring/zdog targets#2526

Draft
Copilot wants to merge 3 commits into
nextfrom
copilot/deprecate-react-spring-packages
Draft

Deprecate and remove @react-spring/native, @react-spring/konva, and @react-spring/zdog targets#2526
Copilot wants to merge 3 commits into
nextfrom
copilot/deprecate-react-spring-packages

Conversation

Copy link
Copy Markdown

Copilot AI commented Jun 4, 2026

This PR removes the deprecated native, konva, and zdog targets after their direct adoption was determined to be effectively zero. It also updates umbrella packaging and docs so the published surface area reflects only active targets.

  • Workspace/package removal

    • Deleted targets/native, targets/konva, and targets/zdog packages.
    • Removed umbrella re-export stubs:
      • packages/react-spring/src/native.ts
      • packages/react-spring/src/konva.ts
      • packages/react-spring/src/zdog.ts
  • Umbrella + release wiring

    • Removed @react-spring/native, @react-spring/konva, and @react-spring/zdog from packages/react-spring/package.json dependencies.
    • Removed those packages from scripts/remove-dist-tag.sh package list.
    • Updated lockfile/workspace graph accordingly.
  • Docs + user-facing metadata updates

    • Updated target references in docs and homepage copy to list only active targets (web, three).
    • Updated bug report template target checklist to remove deprecated targets.
    • Updated target examples on the docs homepage rotating code block to remove native/konva/zdog snippets.
  • Config alignment after target removal

    • Removed targets/zdog/@types include from root tsconfig.json.
    • Narrowed Vitest target alias/exclude patterns from (web|native|three|konva|zdog) to (web|three).
// packages/react-spring/package.json (before/after intent)
"dependencies": {
  "@react-spring/core": "workspace:~",
  "@react-spring/three": "workspace:~",
  "@react-spring/web": "workspace:~"
}

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 4, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
react-spring Error Error Jun 4, 2026 8:46pm

Request Review

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 4, 2026

🦋 Changeset detected

Latest commit: bdae922

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

This PR includes changesets to release 1 package
Name Type
react-spring Major

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

Copilot AI changed the title [WIP] Deprecate @react-spring/zdog, @react-spring/konva, and @react-spring/native Deprecate and remove @react-spring/native, @react-spring/konva, and @react-spring/zdog targets Jun 4, 2026
Copilot AI requested a review from joshuaellis June 4, 2026 15:09
@joshuaellis
Copy link
Copy Markdown
Member

@copilot you've not added a changset. This would likely be refactor! To denote the breaking change. Or it could be chore! idk.

Copy link
Copy Markdown
Author

Copilot AI commented Jun 4, 2026

@copilot you've not added a changset. This would likely be refactor! To denote the breaking change. Or it could be chore! idk.

Added a changeset in bdae922 with a major bump for react-spring to mark the breaking removal of the deprecated targets.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 4, 2026

Docs preview: https://pr-2526---react-spring-204644970562.europe-west1.run.app

Deployed at b3b4458de74a8181588b3534b590db7c2dbc7da8. Updates on every push.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate @react-spring/zdog, @react-spring/konva, and @react-spring/native

2 participants