chore: version packages#2436
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
c870b16 to
902ea8e
Compare
902ea8e to
17c6970
Compare
17c6970 to
9db092b
Compare
9db092b to
24e0f6a
Compare
joshuaellis
pushed a commit
that referenced
this pull request
May 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to next, this PR will be updated.
Releases
@react-spring/animated@10.0.4
Patch Changes
e5107dc]:@react-spring/core@10.0.4
Patch Changes
#2410
1fb03f4Thanks @gumob! - fix(core): clear stale updates in useSprings layout effect to prevent re-application on subsequent renders#2407
6c37f69Thanks @hiebj! - fix: exitBeforeEnter in useTransition doesn't work when used with trail#2435
46f97dbThanks @joshuaellis! - fix(useTrail): withloop: true, deeper springs trap in a mid-range oscillation instead of sweeping the full from→to distance each cycle. The trail chains children viato: parent.springs, so every parent change resets the child's animation progress; under looping, the head snap-resets each cycle but children only chase fluidly. An internalController.onLoopResetsubscription now fires synchronously when the head recurses into the next loop iteration, and every non-head child snaps back tofromin phase. The fluid-chain contract is preserved. Fixes #1063.#2438
01810a4Thanks @joshuaellis! - fix(core): run async scripttoto completion underskipAnimationso the spring lands at the script's final value rather than being skipped entirely (#1429)#2430
8da5e50Thanks @joshuaellis! - fix: events not firing when SpringRef attached manually under StrictMode#2431
98d9f52Thanks @joshuaellis! - fix(SpringValue):stop()no longer establishes a goal on a spring that never had one. The previous implementation always called_focus(this.get())to snapanimation.toto the current value — useful for freezing a live animation, but wrong for a paused or never-started spring whose underlying value was seeded by_prepareNodeviafrom. The bug became observable under React.StrictMode, whose simulated unmount firesuseSprings's cleanup (ctrl.stop(true)) on a freshly-mounted, paused spring, leavingt.goalequal to thefromvalue instead ofundefined.#2431
98d9f52Thanks @joshuaellis! - fix(useTrail): chaining no longer breaks under React.StrictMode. ThereverseandpassedRefaccumulators inside theuseSpringswrapper relied on the wrapper being invoked at least once per render. Under StrictMode's second render pass,useSprings's internaluseMemocaches and the wrapper is skipped, leaving the accumulators at their initial values and reversing the trail direction. For the object-form props the values are now derived directly from the shared props. Fixes #1991.Updated dependencies [
e5107dc]:@react-spring/parallax@10.0.4
Patch Changes
344972e,e5107dc]:@react-spring/shared@10.0.4
Patch Changes
#2432
e5107dcThanks @joshuaellis! - fix:useResizenow reports border-box dimensions (includes padding and border)Updated dependencies []:
@react-spring/konva@10.0.4
Patch Changes
1fb03f4,6c37f69,46f97db,01810a4,8da5e50,98d9f52,98d9f52,e5107dc]:@react-spring/native@10.0.4
Patch Changes
1fb03f4,6c37f69,46f97db,01810a4,8da5e50,98d9f52,98d9f52,e5107dc]:@react-spring/three@10.0.4
Patch Changes
1fb03f4,6c37f69,46f97db,01810a4,8da5e50,98d9f52,98d9f52,e5107dc]:@react-spring/web@10.0.4
Patch Changes
#2439
344972eThanks @joshuaellis! - fix(web): remove DOM attributes when their animated value becomesundefinedPreviously, attributes such as
inert,disabled,viewBox,className, andchildrenwere coerced to the string"undefined"or left stale when their animated value resolved toundefined. Boolean-style attributes likeinertmust be entirely removed to be disabled — setting them to any value (including"undefined") keeps them active.applyAnimatedValuesnow callsremoveAttribute(or clears the class/textContent) in this case.Updated dependencies [
1fb03f4,6c37f69,46f97db,01810a4,8da5e50,98d9f52,98d9f52,e5107dc]:@react-spring/zdog@10.0.4
Patch Changes
1fb03f4,6c37f69,46f97db,01810a4,8da5e50,98d9f52,98d9f52,e5107dc]:@react-spring/rafz@10.0.4
@react-spring/types@10.0.4
@react-spring/mock-raf@10.0.4