Packages

framer-motion

14.7.1 · 27 Oct 2026MIT45.3M / weekRepositoryHomepagenpmAtom feed

Upgrading framer-motion from 2.0.0 to 2.9.5

49 releases in betweennotes for 47

Other targets from 2.0.0Latest14.7.1
1+
change to make
0
advisories fixed
20+
new
48+
fixes

Counted from 47 of 49 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

  1. 2.9.5

    1 Dec 20201 new
    • new

      Updating package.json to be compatible with React 17.

  2. 2.9.4

    21 Oct 20201 new
    • new

      Exporting internal API startVisualElementAnimation for use in Framer.

  3. 2.9.3

    20 Oct 20201 new
    • new

      Exporting Target type.

  4. 2.9.2

    20 Oct 20201 fix
    • fixed

      Over-eager variant propagation.

  5. 2.9.1

    12 Oct 20201 fix
    • fixed

      Reverting matchMedia listener to legacy addListener to fix in Safari.

  6. 2.9.0

    12 Oct 20201 new · 1 fix
    • new

      Refactor has reduced complete bundle size to 27kb and m component bundle size to 12.5kb.

    • fixed

      Removing whitespace from resolved CSS variables.

  7. 2.8.0

    9 Oct 20201 new
    • new

      animate function for low-level single MotionValue or arbitrary value animations.

  8. 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
  • Reverting previous behaviour to allow manual triggering of updating drag constraints via useDragControls.

    2.7.8
  • Reduced full bundle size by 0.8kb by replacing import * from "popmotion" with a named map of specifically just the easing functions.

    2.6.12
  • Tweaked restSpeed defaults for smoother halting of physical (px) springs.

    2.6.5
  • Typescript 4.

    2.6.1
  • Upgrading to Popmotion 9 RC.

    2.4.3
  • Internal refactoring to improve tree-shaking and allow for dynamic feature injection.

    2.1.2

3 internal lines (docs, tests, tooling) left out.