chore: version packages#2521
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
82d0376 to
e4c408a
Compare
e4c408a to
c2783c8
Compare
c2783c8 to
6938666
Compare
6938666 to
07a15d8
Compare
07a15d8 to
8ea4f7a
Compare
f79874b to
b201558
Compare
b201558 to
afedbf3
Compare
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.1.1
Patch Changes
40baba5,6110c76]:@react-spring/core@10.1.1
Patch Changes
#2520
831a1bdThanks @joshuaellis! - 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)returning6e-17instead of0, so a "logical 160" arrived as159.99999999999997), the adaptive precision collapsed to a value smaller than any delta the spring could express, so the animation never settled and the awaitedstart()promise never resolved. Closes #2208.#2532
4eed726Thanks @joshuaellis! - Auto-startuseTransitionwhenpropsis a function. The function/depsform creates an internalSpringRef, which was assigned to every controller and treated like an injected ref, so the documenteduseTransition(data, () => ({ ... }))form never started its enter animation.useTransitionnow matchesuseSpring/useSprings: only an injected ref (viaconfig.ref) defers auto-start, souseChainand StrictMode remounts keep working. Note: if you previously worked around this by callingapi.start()manually on the function form, the transition now also auto-starts. Closes #2287.Updated dependencies [
40baba5,6110c76]:@react-spring/parallax@10.1.1
Patch Changes
#2527
822ceb0Thanks @joshuaellis! - Pin theParallaxcontainer to its top-left corner (top: 0; left: 0). The container isposition: absolutebut previously set no offsets, so it inherited its static position. Host layouts that shift that position — such as theplace-items: centerin Vite's defaultindex.css— pushed the viewport-height container below the viewport, giving the document its own scrollbar on top of the container's, hence the "double scrollbar". Closes #2255.Updated dependencies [
40baba5,6110c76]:@react-spring/rafz@10.1.1
Patch Changes
40baba5Thanks @joshuaellis! - Fix looping/sequenced animations freezing under@react-three/fiber'sframeloop="demand". The three target drivesrafzfrom r3f's render loop, which only runs while frames are requested viainvalidate(). When aloop/to-array/delayanimation reached a segment boundary, the spring went idle for the microtask gap while the next segment was scheduled — r3f's loop stopped and nothing restarted it, so the animation froze (and event-driveninvalidate()calls couldn't help, since they're cancelled by r3f's same-frame decrement).rafznow exposes anonDemandsignal that fires while it has pending frame work; the three target turns it into aninvalidate()deferred to after the current frame, cleanly restarting r3f's loop. Demand mode is preserved — once the animation settles, the canvas sleeps again. No moreinvalidate()-in-events oruseFrameworkarounds needed. Closes #2402.@react-spring/shared@10.1.1
Patch Changes
#2536
40baba5Thanks @joshuaellis! - Fix looping/sequenced animations freezing under@react-three/fiber'sframeloop="demand". The three target drivesrafzfrom r3f's render loop, which only runs while frames are requested viainvalidate(). When aloop/to-array/delayanimation reached a segment boundary, the spring went idle for the microtask gap while the next segment was scheduled — r3f's loop stopped and nothing restarted it, so the animation froze (and event-driveninvalidate()calls couldn't help, since they're cancelled by r3f's same-frame decrement).rafznow exposes anonDemandsignal that fires while it has pending frame work; the three target turns it into aninvalidate()deferred to after the current frame, cleanly restarting r3f's loop. Demand mode is preserved — once the animation settles, the canvas sleeps again. No moreinvalidate()-in-events oruseFrameworkarounds needed. Closes #2402.#2529
6110c76Thanks @joshuaellis! - Stop the string interpolator throwingCannot read properties of null (reading 'map')when an output value contains no numbers. Strings likeboxShadow: 'none'or an unresolved CSS variable that falls through as its literalvar(--x)text now extract to no numeric tokens and interpolate gracefully instead of hitting a nullString.match. Closes #2327.Updated dependencies [
40baba5]:@react-spring/konva@10.1.1
Patch Changes
40baba5,831a1bd,6110c76,4eed726]:@react-spring/native@10.1.1
Patch Changes
40baba5,831a1bd,6110c76,4eed726]:@react-spring/three@10.1.1
Patch Changes
#2536
40baba5Thanks @joshuaellis! - Fix looping/sequenced animations freezing under@react-three/fiber'sframeloop="demand". The three target drivesrafzfrom r3f's render loop, which only runs while frames are requested viainvalidate(). When aloop/to-array/delayanimation reached a segment boundary, the spring went idle for the microtask gap while the next segment was scheduled — r3f's loop stopped and nothing restarted it, so the animation froze (and event-driveninvalidate()calls couldn't help, since they're cancelled by r3f's same-frame decrement).rafznow exposes anonDemandsignal that fires while it has pending frame work; the three target turns it into aninvalidate()deferred to after the current frame, cleanly restarting r3f's loop. Demand mode is preserved — once the animation settles, the canvas sleeps again. No moreinvalidate()-in-events oruseFrameworkarounds needed. Closes #2402.Updated dependencies [
40baba5,831a1bd,6110c76,4eed726]:@react-spring/web@10.1.1
Patch Changes
40baba5,831a1bd,6110c76,4eed726]:@react-spring/zdog@10.1.1
Patch Changes
40baba5,831a1bd,6110c76,4eed726]:@react-spring/types@10.1.1
@react-spring/mock-raf@10.1.1