From 1f30dd78d87581593d06462ebe44feb915793582 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 22 May 2026 15:18:37 +0000 Subject: [PATCH] chore: version packages --- .changeset/decay-preserve-velocity-on-retarget.md | 5 ----- .changeset/onrest-cancelled-before-first-frame.md | 5 ----- .changeset/preserve-string-precision.md | 5 ----- .changeset/reverse-transition-trail.md | 5 ----- .changeset/stop-superseded-loop-chains.md | 5 ----- .changeset/transition-phase-leave-render.md | 5 ----- packages/animated/package.json | 2 +- packages/core/package.json | 2 +- packages/mock-raf/package.json | 2 +- packages/parallax/package.json | 2 +- packages/rafz/package.json | 2 +- packages/react-spring/package.json | 2 +- packages/shared/package.json | 2 +- packages/types/package.json | 2 +- targets/konva/package.json | 2 +- targets/native/package.json | 2 +- targets/three/package.json | 2 +- targets/web/package.json | 2 +- targets/zdog/package.json | 2 +- 19 files changed, 13 insertions(+), 43 deletions(-) delete mode 100644 .changeset/decay-preserve-velocity-on-retarget.md delete mode 100644 .changeset/onrest-cancelled-before-first-frame.md delete mode 100644 .changeset/preserve-string-precision.md delete mode 100644 .changeset/reverse-transition-trail.md delete mode 100644 .changeset/stop-superseded-loop-chains.md delete mode 100644 .changeset/transition-phase-leave-render.md diff --git a/.changeset/decay-preserve-velocity-on-retarget.md b/.changeset/decay-preserve-velocity-on-retarget.md deleted file mode 100644 index fc9e4aa387..0000000000 --- a/.changeset/decay-preserve-velocity-on-retarget.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-spring/core': patch ---- - -Preserve `config.velocity` across `to`/`from` retargets when `config.decay` is set. Previously, `SpringValue._update` unconditionally reset `config.velocity` to `0` whenever a new goal was provided, which silently broke gesture-driven decay flows that retarget mid-throw (e.g. mouse-flick decay). Also clarifies the `decay` JSDoc and docs-site reference to explain that decay decelerates from an initial velocity and does not ease toward `to`. Closes #1843. diff --git a/.changeset/onrest-cancelled-before-first-frame.md b/.changeset/onrest-cancelled-before-first-frame.md deleted file mode 100644 index f9406207aa..0000000000 --- a/.changeset/onrest-cancelled-before-first-frame.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-spring/core': patch ---- - -Fire `onRest` when an animation is cancelled before its first frame. `SpringValue._stop` gated `onRest` on `anim.changed`, which only becomes `true` once a frame has rendered. When two `start()` calls happened within a single tick and the second returned the spring to its current value, the engine stopped the animation before any frame fired, so `onRest` was silently dropped. The same gap affected `set()` and `stop()` called synchronously after `start()`. Closes #1802. diff --git a/.changeset/preserve-string-precision.md b/.changeset/preserve-string-precision.md deleted file mode 100644 index 615b21ff96..0000000000 --- a/.changeset/preserve-string-precision.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-spring/shared': patch ---- - -Preserve decimal precision when interpolating between stringified numbers. Previously, `useSpring({ from: '0.00', to: '1.50' })` would render `'0'` at rest and lose precision mid-tween. The string interpolator now returns each keyframe verbatim when the input lands exactly on a range value, and pads mid-animation results to the shared decimal count of the keyframes (when every keyframe has the same non-zero fractional length). Closes #1461. diff --git a/.changeset/reverse-transition-trail.md b/.changeset/reverse-transition-trail.md deleted file mode 100644 index 3463128888..0000000000 --- a/.changeset/reverse-transition-trail.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-spring/core': minor ---- - -Add a `reverse` prop to `useTransition` that flips the order in which `trail` delays are assigned to transitioning items. Toggle it with caller state (e.g. `reverse: !open`) to make items animate in forward on `enter` and backward on `leave`. Render order is untouched — use `sort` for that. Closes #1794. diff --git a/.changeset/stop-superseded-loop-chains.md b/.changeset/stop-superseded-loop-chains.md deleted file mode 100644 index fede65663d..0000000000 --- a/.changeset/stop-superseded-loop-chains.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-spring/core': patch ---- - -Stop looping when a re-render flips `loop` to a falsy value. Previously a declarative update like `useSpring({ to, loop })` would keep looping even after `loop` toggled to `false`, because the in-flight loop chain captured its own `loop` value and kept scheduling iterations in parallel with the new update. The Controller now tags each loop chain with a generation token and exits when a newer external update has superseded it. Closes #1193. diff --git a/.changeset/transition-phase-leave-render.md b/.changeset/transition-phase-leave-render.md deleted file mode 100644 index b161924c0c..0000000000 --- a/.changeset/transition-phase-leave-render.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-spring/core': patch ---- - -Expose `phase === 'leave'` to the `useTransition` render function during the render that runs the leave animation. Previously `t.phase` was only updated to the new phase in a layout effect after render, so the render fn always saw the previous phase (`'enter'`) while a leaving item animated out — and by the time a follow-up render could surface `'leave'`, the transition had expired and been pruned. The render fn now receives a state whose `phase` matches the upcoming animation, so consumers can reliably branch on `state.phase === 'leave'`. Closes #1654. diff --git a/packages/animated/package.json b/packages/animated/package.json index 2b927acc6a..f90d56bcf0 100644 --- a/packages/animated/package.json +++ b/packages/animated/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/animated", - "version": "10.0.4", + "version": "10.1.0", "description": "Animated component props for React", "module": "./dist/react-spring_animated.legacy-esm.js", "main": "./dist/cjs/index.js", diff --git a/packages/core/package.json b/packages/core/package.json index 001353f18d..16f2d6a468 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/core", - "version": "10.0.4", + "version": "10.1.0", "module": "./dist/react-spring_core.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_core.modern.d.mts", diff --git a/packages/mock-raf/package.json b/packages/mock-raf/package.json index ed9dde976e..64d8619eb1 100644 --- a/packages/mock-raf/package.json +++ b/packages/mock-raf/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/mock-raf", - "version": "10.0.4", + "version": "10.1.0", "private": true, "description": "Vendored copy of mock-raf for react-spring tests", "license": "MIT", diff --git a/packages/parallax/package.json b/packages/parallax/package.json index f2955d8f25..9d4d72e003 100644 --- a/packages/parallax/package.json +++ b/packages/parallax/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/parallax", - "version": "10.0.4", + "version": "10.1.0", "module": "./dist/react-spring_parallax.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_parallax.modern.d.mts", diff --git a/packages/rafz/package.json b/packages/rafz/package.json index efe281c930..6a6b60cfa3 100644 --- a/packages/rafz/package.json +++ b/packages/rafz/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/rafz", - "version": "10.0.4", + "version": "10.1.0", "description": "react-spring's fork of rafz one frameloop to rule them all", "module": "./dist/react-spring_rafz.legacy-esm.js", "main": "./dist/cjs/index.js", diff --git a/packages/react-spring/package.json b/packages/react-spring/package.json index e7631d9f26..31cb0904f6 100644 --- a/packages/react-spring/package.json +++ b/packages/react-spring/package.json @@ -1,6 +1,6 @@ { "name": "react-spring", - "version": "10.0.3", + "version": "10.0.4", "module": "./dist/react-spring.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring.modern.d.mts", diff --git a/packages/shared/package.json b/packages/shared/package.json index c3f970cded..f65f60b5c4 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/shared", - "version": "10.0.4", + "version": "10.1.0", "description": "Globals and shared modules", "module": "./dist/react-spring_shared.legacy-esm.js", "main": "./dist/cjs/index.js", diff --git a/packages/types/package.json b/packages/types/package.json index f2dfc06fd9..7db5928ec1 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/types", - "version": "10.0.4", + "version": "10.1.0", "description": "Internal package with TypeScript stuff", "module": "./dist/react-spring_types.legacy-esm.js", "main": "./dist/cjs/index.js", diff --git a/targets/konva/package.json b/targets/konva/package.json index ec9d007e4b..df1028e7df 100644 --- a/targets/konva/package.json +++ b/targets/konva/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/konva", - "version": "10.0.4", + "version": "10.1.0", "module": "./dist/react-spring_konva.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_konva.modern.d.mts", diff --git a/targets/native/package.json b/targets/native/package.json index 5ffceef535..fe9fb60744 100644 --- a/targets/native/package.json +++ b/targets/native/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/native", - "version": "10.0.4", + "version": "10.1.0", "module": "./dist/react-spring_native.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_native.modern.d.mts", diff --git a/targets/three/package.json b/targets/three/package.json index 2249e57436..f14037a51d 100644 --- a/targets/three/package.json +++ b/targets/three/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/three", - "version": "10.0.4", + "version": "10.1.0", "module": "./dist/react-spring_three.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_three.modern.d.mts", diff --git a/targets/web/package.json b/targets/web/package.json index d56eae9e15..f6ccaebfbc 100644 --- a/targets/web/package.json +++ b/targets/web/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/web", - "version": "10.0.4", + "version": "10.1.0", "module": "./dist/react-spring_web.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_web.modern.d.mts", diff --git a/targets/zdog/package.json b/targets/zdog/package.json index e5757ae4ad..89939d1938 100644 --- a/targets/zdog/package.json +++ b/targets/zdog/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/zdog", - "version": "10.0.4", + "version": "10.1.0", "module": "./dist/react-spring_zdog.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_zdog.modern.d.mts",