Update dependency react-spring to v9 - autoclosed
Created by: renovate[bot]
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
react-spring | ^8.0.27 -> ^9.2.4 |
Release Notes
pmndrs/react-spring
v9.2.4
Fixes
- Animated should not try to access Array.prototype (#1585)
- Add
immediate
to payload in useTransition hook (#1600) - useSprings controller clear refs properly when length changes in React.StrictMode (#1597)
v9.2.3
Fixes
- incorrect type imports for rafz (#1560)
v9.2.2
Features
- NEW package @react-spring/rafz (a fork of the pmndrs library rafz) – did not constitute minor bump.
Fixes
- Three – Array props were not been updated correctly, big thanks @midanosi! (#1430)
- Three – XR session was breaking Springs, big thanks @ffdead (#1518)
Chores
- update the yarn.lock with updated packages
v9.2.1
Fixes
- Parallax – add position properties to layer
v9.2.0
Features
- Parallax – Sticky!! Thanks to @kindoflew (#619)
-
POTENTIALLY_BREAKING_CHANGE
Parallax – child horizontal prop defaults to parent's (#1458)
Fixes
- Parallax – scrollTo gets correct scroll value (#1455)
- Core – SpringValue would jump to to value at end of decay (#1437)
- Core – SpringValue wouldn't animate after immediate value has been changed (#1026)
- useTransition – useTransition wasn't passing it's ref (#1453)
- useTransition – Delay prop wasn't being added to the trail delay caused by the trail prop (#1099)
- Core – Springs sometimes return undefined (#1096)
-
POTENTIALLY_BREAKING_CHANGE
SpringRef – has been re-written as a function resolving (#1423)
Chores
- repo now uses preconstruct and changesets
- recrawl has been removed from repo due to lack of windows support
- support react@17 in peer deps (#1478)
v9.1.2
Fixes
- revert changes from #1023 because of a misunderstanding of the API
- resolve #1419 where
onStart
andonRest
were not fired causing a build up of events in the queue.
Chores
- Updating demos to work with
react-spring.io
v9.1.1
Chores
- Deps of packages now use
~
instead of^
. This will help users not interenally download minor version of the package incase we have potential breaking changes like in v9.1.0 – #1414 (thanks @CPatchane)
v9.1.0
Features
- We listened to the feedback people had, so whilst we encourage people to use the pattern
[styles, api] = useSpring()
we have aliased callingapi
to beapi.start
#1359 (thanks to @dbismut) -
POTENTIALLY BREAKING CHANGE
We've unified the return of all eventsonStart
,onChange
,onRest
etc. to be the following -(animationResult, controller, item)
item will only not beundefined
when usinguseTransition
.
Fixes
- scrollTop is not set when from & to are equal #1185 (thanks @Rohanhacker)
- skip animation with async to infinite loop #1160
- Stop jank in animation when duration changes on SpringValue #1163
Chores
- We have our test suite working again! hooray, it means we can review and commit PR's quicker and more effectively
- We've updated all our examples in this repo to v9 #1386 (huge thanks to @dbismut)
v9.0.1
Includes #1414 to avoid downloading minor versions, only patches will be installed in deps.
v9.0.0
Configuration
-
If you want to rebase/retry this PR, check this box.
This PR has been generated by WhiteSource Renovate. View repository job log here.