Skip to content

Update dependency framer-motion to v11

Cedric Skwar requested to merge renovate/framer-motion-11.x into staging

Created by: renovate

This PR contains the following updates:

Package Type Update Change
framer-motion dependencies major ^10.16.4 -> ^11.0.0

Release Notes

framer/motion (framer-motion)

v11.1.9

Compare Source

Changed
  • Reinstating async event handlers to fix issues with user code and Suspence within Framer.

v11.1.8

Compare Source

Fixed
  • Animating between keyframe unit types when one keyframe is 0 and the other is an explicitly defined keyframe, e.g y: ["100%", 0].

v11.1.7

Compare Source

Changed
  • Updating types for motion.div.

v11.1.6

Compare Source

Changed
  • Binding stop to MainThreadAnimation

v11.1.5

Compare Source

Changed
  • Exporting DOMMotionComponents.

v11.1.4

Compare Source

Fixed
  • Fixing types of motion.div in certain TS5 environment configurations.
Changed
  • Skip removal of existing motion value when undefined.

v11.1.3

Compare Source

Fixed
  • ESM compat with CJS bundle.

v11.1.2

Compare Source

Fixed
  • Ensuring transforms unset during unit conversion are restored.

v11.1.1

Compare Source

Changed
  • Updating JSX transform.

v11.1.0

Compare Source

Changed
  • TypeScript 5 upgrade.

v11.0.28

Compare Source

Fixed
  • Ensure CSS var token is set as final animation keyframe.

v11.0.27

Compare Source

Fixed
  • Skipping animations with duration: 0.

v11.0.26

Compare Source

Fixed
  • Adding perspective() to projection transform.
  • Changing scheduling of useTransform to ensure frames are up-to-date.

v11.0.25

Compare Source

Fixed
  • Ensuring motion(Fragment) nodes are skipped from layout projection.

v11.0.24

Compare Source

Fixed
  • Changes in style are visible once a value is no longer present in animation props.

v11.0.23

Compare Source

Fixed
  • Fixed layout animations when combined with z transforms.

v11.0.22

Compare Source

Fixed
  • Fixed pre-generation of no-op WAAPI animations.

v11.0.21

Compare Source

Fixed
  • Fixed interrupting WAAPI spring animations.

v11.0.20

Compare Source

Fixed
  • Fixed interrupting shared element animations that contain rotate or skew transforms.

v11.0.19

Compare Source

Fixed
  • Fixed layout animations when combined with skew transforms.

v11.0.18

Compare Source

Fixed
  • Default duration doesn't override duration: 0 WAAPI animations.
  • Fix error when trying to animate unmounted element.
  • Avoid resolving WAAPI animation when stopping unresolved animation.

v11.0.17

Compare Source

Fixed
  • Interruption of WAAPI animations now animates from correct value.

v11.0.16

Compare Source

Fixed
  • Restored animation promise handling to match behaviour of <11.0.11.

v11.0.15

Compare Source

Fixed
  • Fixed measurements when more than one transform changes unit type.

v11.0.14

Compare Source

Fixed
  • Fixed animation controls in instances where keyframes resolve to be unanimatable.

v11.0.13

Compare Source

Added
  • Added default value types for backgroundPositionX and backgroundPositionY.
Fixed
  • Fixed height: auto animations.

v11.0.12

Compare Source

Fixed
  • Updated @emotion/is-valid-prop as peer dependency.

v11.0.11

Compare Source

Changed
  • Keyframes now resolved asynchronously.
  • External event handlers now fired synchronously.
  • CSS variables and unit conversion now supported with >2 keyframe animations.
  • Removed WAAPI animation of background-color.

v11.0.10

Compare Source

Fixed
  • Improved speed and stability of regexes.

v11.0.9

Compare Source

Added
  • Added support for Content Security Policy (CSP) nonces via MotionConfig.

v11.0.8

Compare Source

Fixed
  • Ensure optimised appear animations are cancelled before layout animation measurements.

v11.0.7

Compare Source

Fixed
  • Strip comments from strings before testing if they're CSS variables to prevent significant performance degradation.

v11.0.6

Compare Source

Updated
  • Added support for motion(Fragment) for controlling variants. For internal Framer use only.

v11.0.5

Compare Source

Updated
  • Performance updates.

v11.0.4

Compare Source

Fixed
  • Tighten check for navigator.userAgent.

v11.0.3

Compare Source

Fixed
  • Fixed layout animation bug in Framer.

v11.0.2

Compare Source

Fixed
  • Ensure CSS var token is set as final animation keyframe.

v11.0.1

Compare Source

Fixed
  • Fixed layout animations when combined with skew transforms.

v11.0.0

Compare Source

Changed
  • Replaced velocity-check jobs in favour of passive detection.
  • Post-commit render moved to a microtask.

v10.18.0

Compare Source

Added
  • globalTapTarget for use in Framer.

v10.17.12

Compare Source

Fixed
  • Fixed animate sequencing for MotionValues.

v10.17.11

Compare Source

Fixed
  • Fixed layout prop crashing Framer Motion 3D.

v10.17.9

Compare Source

Fixed
  • Improve error message when trying to animate multiple keyframes via spring.

v10.17.8

Compare Source

Fixed
  • Adding null safeguard for useAnimationControls.

v10.17.7

Compare Source

Fixed
  • Fix touch event filtering for hover gesture.

v10.17.6

Compare Source

Fixed
  • Ensure cancelled WAAPI animations can't finish.

v10.17.5

Compare Source

Fixed
  • Fixing final keyframe when using repeatType "reverse" and "mirror".
  • Display warning if scroll container is position: static.
  • Move more scroll measurements to read frame lifecycle.
  • Adding amount to useInView dependencies.

v10.17.4

Compare Source

Fixed
  • Ensure keyframe animations don't rerun if all values are the same.

v10.17.3

Compare Source

Fixed
  • Unset gestures correctly animate back to values defined in parent variant.

v10.17.2

Compare Source

Fixed
  • Fixed issues with duration-based springs appearing stuck or snapping.

v10.17.1

Compare Source

Fixed
  • Fixed animate sequencing for MotionValues.

v10.17.0

Compare Source

Added
  • Adding MotionGlobalConfig.skipAnimations to globally disable animations when testing.

v10.16.16

Compare Source

Fixed
  • circInOut easing fixed.
  • Improved optimised animation handoff.

v10.16.15

Compare Source

Fixed
  • Ensure animateChanges only runs in layout effect in initial render.

v10.16.14

Compare Source

v10.16.13

Compare Source

Fixed
  • Ensure animations don't attempt to fire when initial equals animate.

v10.16.12

Compare Source

Fixed
  • Use single animation to detect document paint ready before triggering optimised animations.
  • Measure one time for optimised animation start and one for handoff to emulate frame scheduling.

v10.16.11

Compare Source

Fixed
  • Ensure animation is never skipped if it's an interrupting animation.

v10.16.10

Compare Source

Fixed
  • Fixing appear animation optimisation when React portal is present.

v10.16.9

Compare Source

Fixed
  • Skipping no-op animations.

v10.16.8

Compare Source

Fixed
  • Added disableInstantAnimation private API.
  • Ensure optimised appear animations don't run post-hydration.

v10.16.7

Compare Source

Fixed
  • Fixing pan events within React portal.

v10.16.6

Compare Source

Fixed
  • Fixing Reorder component types.
  • Fixing Reorder.Item order calculation.
  • Fixing broken dragConstraints if component re-renders during resize.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Merge request reports