motion
14.14.0 · 13 Nov 2026MIT38.5M / weekRepositoryHomepagenpmAtom feed
Upgrading motion From 13.1.0 to 13.5.1
12 releases in betweenevery note read
Reading releases, release notes and advisories…
- 1
- change to make
- 0
- advisories fixed
- 7
- new
- 23
- fixes
Before you upgrade
Tick each one off as you go- Breaking13.2.0
Release by release
- Fixed
scroll: Temporarily reverted removal of internalobserveTimelineAPI to fix compatibility with previous13.xAPIs. Moving to pinned dependencies before removing in14.x. - Fixed
styleEffect: Cleaning up an earlier value no longer removes a value that was bound to the same key after it. - Fixed
svgEffect: No longer writes transforms and origins as attributes. - Fixed
<motion>:inherit={false}now correctly not inheriting parent animations. - Fixed
<motion>: FixsortNodePositionthrowing when a sibling hasn't mounted
- Fixed
- New
spring: Now accepts negativebounce(0--1) to define overdamped springs. - Fixed
Ensure
warninganderrormessages are cleaned from production build. - Fixed
Ensure values are never rendered before they've been resolved.
- New
- Fixed
AnimatePresence:mode="wait"no longer drops new children ifexitcompletes during a React transition.
- Fixed
- Fixed
layout: Fix relative child jumping when parent interrupts layout animation. - Fixed
AnimatePresence: Can no longer drop a child added while another exit animation completes. - Fixed
Reorder: Only clear Reorder.Group's reorder guard when values change. - Fixed
spring/useSpring: 5% smaller.
- Fixed
- Fixed
useDragControls: FixedsnapToCursororigin drift on repeated calls. - Fixed
drag: Improvedpointerendtiming. - Fixed
spring: Check invalid spring values before applying. - Fixed
AnimatePresence: Ensure children don't stick during reentry.
- Fixed
- Fixed
<motion>: Ensure animations replay whenSuspensereveals memoized content.
- Fixed
- Fixed
Reorder: Don't scale position of elements at origin0whendragConstraintschanges. - Fixed
Unrecognised easing names no longer throw.
- Fixed
- Fixed
animate: CSS variable writes on SVGs apply tostyleattribute.
- Fixed
15 other lines we could not sort, mostly version bumps
- 13.5.1
<motion>: Fall back to the attribute in readSVGValue when computed style is empty. - 13.5.1
<motion>: Internal changes toanimateChangesfor size reductions. - 13.5.0
<m>: 20% smaller. - 13.5.0
useSpring: 10% smaller. - 13.5.0
scroll/useScroll: Use main thread for alloffsetanimations. - 13.4.4
scroll: 44% smaller. - 13.4.4
useScroll: 33% smaller. - 13.4.4
Scroll callbacks: 50% faster.
- 13.4.4
Removed
ScrollTimelinesupport for JS callbacks as benchmarked no improvement overscrollInfo. - 13.3.0
springValue/useSpring: 80% reduction in time when retargeting.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.