Packages

motion

14.14.0 · 13 Nov 2026MIT38.5M / weekRepositoryHomepagenpmAtom feed

Upgrading motion From 12.23.1 to 12.43.0

80 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 12.23.1Latest14.14.0
  1. 12.23.1yours
  2. 14 releases
  3. 12.23.19breaking
  4. 64 releases
  5. 12.43.0target

Before you upgrade

Tick each one off as you go
  • Breaking12.23.19

Release by release

  1. 12.43.0

    28 Jul 20262 new · 2 fixes
    • New

      Hardware acceleration for backgroundColor in supported browsers.

    • New

      Hardware acceleration for SVG elements.

    • Fixed

      AnimatePresence: Exiting children no longer interleave with entering children, which could reorder and remount children present in both renders.

    • Fixed

      motion: Throw error when passing a custom motion component an incorrect ref type.

  2. 12.42.2

    30 Jun 20261 fix
    • Fixed

      animateView: Cropped group layers now animate border-radius from the old to new radius.

  3. 12.42.1

    30 Jun 20261 fix
    • Fixed

      animateView: Old layer fade out now cancelled when defining .new().

  4. 12.42.0

    25 Jun 20262 fixes
    • Fixed

      animateView: Auto-crop is now aspect-ratio aware, disabling crops for matching aspect-ratios.

    • Fixed

      animateView: Disabled automatic border-radius animation.

  5. 12.41.0

    23 Jun 20266 new · 4 fixes
    • New

      animateView: Moves from Motion+ Early Access and alpha to main library.

    • New

      animateView: .add() resolves a CSS selector or Element to automatically generate, apply and remove view-transition-name.

    • New

      animateView: .new() and .old() configures values to animate on new and old layers.

    • New

      animateView: .layout() can set a custom transition on the size/position animation of the currently selected elements.

  6. 12.40.0

    21 May 20262 new
    • New

      path option to transition.

    • New

      arc() for motion along an arc.

  7. 12.39.0

    18 May 20261 new · 11 fixes
    • New

      Support for repeatType and repeatDelay in animation sequences.

    • Fixed

      Variants: Re-run keyframe animations when switching between variant labels even when they share identical keyframe arrays.

    • Fixed

      Drag: Preserve in-flight motion value animations across React 19 reorder unmount/remount so dragSnapToOrigin no longer leaves the drag transform stranded after a layout swap.

    • Fixed

      LazyMotion: Share React contexts between the framer-motion and framer-motion/m (and therefore motion/react and motion/react-m) CJS bundles so that <m.div> from the /m subpath picks up features loaded by <LazyMotion> from the main entry point.

  8. 12.38.0

    17 Mar 20261 new · 3 fixes
    • New

      Added layoutAnchor prop to configure custom anchor point for resolving relative projection boxes.

    • Fixed

      Reorder: Fix axis switching after window resize.

    • Fixed

      Reorder: Fix with virtualised lists.

    • Fixed

      AnimatePresence: Ensure children are removed when exit animation matches current values.

7 other lines we could not sort, mostly version bumps
  • animateView: Layers are automatically grouped to match their DOM-hierarchy. New .group(false) method opts-out.

    12.42.0
  • animateView: .enter() and .exit() now refer specifically to new and old layers where there are no matching old or new layers.

    12.41.0
  • animateView: Interrupted transition setups now return resolved animation rather than throwing.

    12.41.0
  • Stopped tracking yarn cache in the repo.

    12.23.13
  • Removing redundant renderRequest MotionValue lifecycle.

    12.23.9
  • Refactored motion component creation to remove indirection.

    12.23.6
  • useScroll: Re-attempt to initialise scroll animation within a useEffect if refs weren't hydrated during the useLayoutEffect. Throw if refs are still not hydrated during the useEffect.

    12.23.3

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.