framer-motion
14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed
Upgrading framer-motion from 2.1.0 to 2.9.5
47 releases in betweennotes for 45
- 1+
- change to make
- 0
- advisories fixed
- 19+
- new
- 47+
- fixes
Counted from 45 of 47 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- deprecated2.4.0
Release by release
- new
Updating
package.jsonto be compatible with React 17.
- new
- new
Exporting internal API
startVisualElementAnimationfor use in Framer.
- new
- new
Exporting
Targettype.
- new
- fixed
Over-eager variant propagation.
- fixed
- fixed
Reverting
matchMedialistener to legacyaddListenerto fix in Safari.
- fixed
- new
Refactor has reduced complete bundle size to 27kb and
mcomponent bundle size to 12.5kb. - fixed
Removing whitespace from resolved CSS variables.
- new
- new
animatefunction for low-level singleMotionValueor arbitrary value animations.
- new
2.7.8 – 2.7.92 releases, nothing new or fixed; 1 without a note
6 other lines we could not sort, mostly version bumps
- 2.7.8
Reverting previous behaviour to allow manual triggering of updating drag constraints via
useDragControls. - 2.6.12
Reduced full bundle size by 0.8kb by replacing
import * from "popmotion"with a named map of specifically just the easing functions. - 2.6.5
Tweaked
restSpeeddefaults for smoother halting of physical (px) springs. - 2.6.1
Typescript 4.
- 2.4.3
Upgrading to Popmotion 9 RC.
- 2.1.2
Internal refactoring to improve tree-shaking and allow for dynamic feature injection.
3 internal lines (docs, tests, tooling) left out.