Packages

framer-motion

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

Upgrading framer-motion from 0.6.4 to 0.20.2

67 releases in betweennotes for 64

Other targets from 0.6.4Latest14.7.1
4+
changes to make
0
advisories fixed
29+
new
60+
fixes

Counted from 64 of 67 release notes. Advisories are counted from the advisory database, in full.

Before you upgrade

Tick each one off as you go
  • breaking0.16.0
  • breaking0.15.0
  • breaking0.12.0
  • breaking0.9.0

Release by release

  1. 0.20.2

    20 Jun 20191 fix
    • fixed

      Ensuring each MotionValue receives one MotionValuesMap update subscriber.

  2. 0.20.1

    20 Jun 20192 fixes
    • fixed

      Adding x/y MotionValues to the useDrag dependency list.

    • fixed

      Ensure hover events only fire as a result of mouse interactions.

  3. 0.20.0

    19 Jun 20192 new
    • new

      Allowing SVG motion components to accept MotionValues via attributes.

    • new

      Adding SVG attribute types to Target.

  4. 0.19.1

    13 Jun 20192 new · 1 fix
    • new

      initial={false} to shadow contents of animate thereby disabling on mount animation.

    • new

      AnimationControls.set for imperative setting of values.

    • fixed

      Resolve animations only after a defined delay to ensure velocity is only resolved as an animation begins on a value.

  5. 0.19.0nothing new or fixed in the note

  6. 0.18.6

    13 Jun 20191 new
    • new

      Production and prototype environment-specific tsdocs.

  7. 0.18.5

    7 Jun 20194 fixes
    • fixed

      Properly cleaning up event listeners in tap gesture.

    • fixed

      Only starting pan gesture when pointer has moved more than one point.

    • fixed

      Applying transformPagePoint to dragConstraints when it's a RefObject<Element> to ensure it works in scaled environments.

    • fixed

      Fixing dragElastic behaviour when dragMomentum={false}.

  8. 0.18.4

    31 May 20191 fix
    • fixed

      Preventing default browser behaviours on draggable elements.

19 other lines we could not sort, mostly version bumps
  • stylefire@5.0.0 - Changes originX/Y default to "50%".

    0.19.0
  • Updating deps.

    0.16.4
  • useViewportScrollValues => useViewportScroll.

    0.15.0
  • Making special value support configurable

    0.14.0
  • useTransformedValue => useTransform

    0.13.0
  • useCycle([...args]) -> useCycle(...args)

    0.12.0
  • Popmotion libraries.

    0.11.1
  • value.addUpdateSubscription => value.onChange

    0.11.0
  • value.addRenderSubscription => value.onRenderRequest (and made internal)

    0.11.0
  • Updating docs to avoid single-letter event vars.

    0.10.2

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