diff --git a/.changeset/spring-precision-floor.md b/.changeset/spring-precision-floor.md deleted file mode 100644 index 631de0b5c7..0000000000 --- a/.changeset/spring-precision-floor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@react-spring/core': patch ---- - -Floor the spring's adaptive precision at the smallest difference doubles can represent around the values being animated. Previously, when a caller's layout math introduced tiny floating-point drift on the target (e.g. `Math.cos(Math.PI / 2)` returning `6e-17` instead of `0`, so a "logical 160" arrived as `159.99999999999997`), the adaptive precision collapsed to a value smaller than any delta the spring could express, so the animation never settled and the awaited `start()` promise never resolved. Closes #2208. diff --git a/packages/animated/package.json b/packages/animated/package.json index f90d56bcf0..948418a3ae 100644 --- a/packages/animated/package.json +++ b/packages/animated/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/animated", - "version": "10.1.0", + "version": "10.1.1", "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 16f2d6a468..59f63d44d9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/core", - "version": "10.1.0", + "version": "10.1.1", "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 64d8619eb1..4c9d065fdf 100644 --- a/packages/mock-raf/package.json +++ b/packages/mock-raf/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/mock-raf", - "version": "10.1.0", + "version": "10.1.1", "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 9d4d72e003..1cd4c0b308 100644 --- a/packages/parallax/package.json +++ b/packages/parallax/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/parallax", - "version": "10.1.0", + "version": "10.1.1", "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 6a6b60cfa3..2fa38ae9dc 100644 --- a/packages/rafz/package.json +++ b/packages/rafz/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/rafz", - "version": "10.1.0", + "version": "10.1.1", "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/shared/package.json b/packages/shared/package.json index f65f60b5c4..240de587e2 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/shared", - "version": "10.1.0", + "version": "10.1.1", "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 7db5928ec1..194be2a6eb 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/types", - "version": "10.1.0", + "version": "10.1.1", "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 df1028e7df..89a28d98fc 100644 --- a/targets/konva/package.json +++ b/targets/konva/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/konva", - "version": "10.1.0", + "version": "10.1.1", "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 fe9fb60744..4e899f6c19 100644 --- a/targets/native/package.json +++ b/targets/native/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/native", - "version": "10.1.0", + "version": "10.1.1", "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 f14037a51d..534d8b769e 100644 --- a/targets/three/package.json +++ b/targets/three/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/three", - "version": "10.1.0", + "version": "10.1.1", "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 f6ccaebfbc..42935585bc 100644 --- a/targets/web/package.json +++ b/targets/web/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/web", - "version": "10.1.0", + "version": "10.1.1", "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 89939d1938..e5df939efa 100644 --- a/targets/zdog/package.json +++ b/targets/zdog/package.json @@ -1,6 +1,6 @@ { "name": "@react-spring/zdog", - "version": "10.1.0", + "version": "10.1.1", "module": "./dist/react-spring_zdog.legacy-esm.js", "main": "./dist/cjs/index.js", "types": "./dist/react-spring_zdog.modern.d.mts",