Skip to content

fix(deps): update dependency framer-motion to v12.38.0#90

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/framer-motion-12.x
Open

fix(deps): update dependency framer-motion to v12.38.0#90
renovate[bot] wants to merge 1 commit intomainfrom
renovate/framer-motion-12.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 6, 2025

This PR contains the following updates:

Package Change Age Confidence
framer-motion 12.9.712.38.0 age confidence

Release Notes

motiondivision/motion (framer-motion)

v12.38.0

Compare Source

Added
  • Added layoutAnchor prop to configure custom anchor point for resolving relative projection boxes.
Fixed
  • Reorder: Fix axis switching after window resize.
  • Reorder: Fix with virtualised lists.
  • AnimatePresence: Ensure children are removed when exit animation matches current values.

v12.37.0

Compare Source

Added
  • Support for hardware accelerating "start" and "end" offsets in scroll and useScroll.
  • Support for oklch, oklab, lab, lch, color, color-mix, light-dark color types.
Fixed
  • Fix whileInView with client-side navigation.
  • Fix draggable elements when layout updates due to surrounding element re-renders.
  • Improved memory pressure of layout animations.
  • Ensure motion value returned from useSpring reports correct isAnimating().

v12.36.0

Compare Source

Added
  • Allow dragSnapToOrigin to accept "x" or "y" for per-axis snapping.
  • Added axis-locked layout animations with layout="x" and layout="y".
  • Added skipInitialAnimation to useSpring.
Fixed
  • Fixed height and width: auto animations with box-sizing: border-box.
  • Reset component values when exit animation finishes.
  • Ensure anticipate easing returns 1 at p === 1.
  • Fix @emotion/is-prop-valid resolve error in Storybook.
  • Remove data-pop-layout-id from exiting elements when animation interrupted.
  • Ensure we skip WAAPI for non-animatable keyframes.
  • Ensure we skip WAAPI for SVG transforms.
  • Ensure MotionValue props are not passed to SVG.
  • AnimatePresence: Prevent mode="wait" elements from getting stuck when switched rapidly.

v12.35.2

Compare Source

Fixed
  • Reduced filesize of styleEffect.
  • Fix rounding from popLayout.
  • opacity animations in React Strict Mode in development.
  • Ensure useSpring is not affected by monitor framerate.
  • Updating animations sequence segment types to exclude lifecycle handlers.
  • Fix layout animations with parents offset by a %-based translation.
  • Fix autoplay: false with WAAPI animations.
  • Fix layout jump in React Strict Mode in development.
  • Detect divide-by-zero in CSS calc() values before making animatable templates.

v12.35.1

Compare Source

Fixed
  • Fixing combination of string keyframes, spring and delay.
  • Gracefully handle negative scroll values.
  • Fix one-frame visual gap when rapidly switching WAAPI animations.
  • animation.time = 0 on a finished animation sets the playhead in a paused state.

v12.35.0

Compare Source

Added
  • ViewTimeline support for scroll and useScroll.

v12.34.5

Compare Source

Fixed
  • Ensure final WAAPI styles are always committed synchronously to prevent flash of incorrect styles in Firefox.
  • Prevent Next.js from caching typeof window checks.
  • Improve projection node cleanup.
  • Variant propagation fixed for asynchronously-mounted children.

v12.34.4

Compare Source

Fixed
  • Ensure onComplete fires at the end of an animation sequence.

v12.34.3

Compare Source

Fixed
  • Ensure velocity is never transferred to a time-derived spring.

v12.34.2

Compare Source

Fixed
  • Layout animations: Reset motion value velocity when starting a new layout animation.

v12.34.1

Compare Source

Fixed
  • useScroll: Ensure animations aren't hardware accelerated when target is set.
  • Improve animatable "none" generation for mask values.

v12.34.0

Compare Source

Fixed
  • useScroll: Hardware accelerated animations.

v12.33.2

Compare Source

Fixed
  • Improve detection of detached elements with vanilla layout animations.

v12.33.0

Compare Source

Added
  • <motion />: New propagate.tap prop prevents tap gestures from propagating to parents.

v12.32.0

Compare Source

Added
  • transition.inherit: When true, inherit transition values from less-specific transitions.

v12.31.3

Compare Source

Fixed
  • <motion />: Ensure animation state is reset after being re-suspended.
  • Prevent stale values when mixing transitionEnd and transition.type: false.
  • Drag: Fix "sticky" throw velocity on initial interaciton.
  • Drag: Ensure catching a thrown element kills its velocity.

v12.31.2

Compare Source

Fixed
  • onHoverStart and onHoverEnd first argument now correctly typed as PointerEvent.
  • whileHover: No longer persists after drag end.
  • AnimatePresence: Allow changing mode prop.

v12.31.1

Compare Source

Added
  • Drag constraints updated even when draggable or constraints resize outside of React renders.

v12.31.0

Compare Source

Added
  • animate: Support for bi-directional callbacks within animation sequences.
Fixed
  • Ensure onPan never fires before onPanStart.

v12.30.1

Compare Source

Fixed
  • Allow drag to be initiated by child a and button elements.

v12.30.0

Compare Source

Added
  • MotionConfig: Add skipAnimations option.
Fixed
  • animate: Prevent error when calling stop() on removed elements.
  • animateLayout: Fixing shared element animations when animate called before animateLayout.

v12.29.3

Compare Source

Fixed
  • Reorder: Fixed viewport autoscroll.

v12.29.2

Compare Source

Fixed
  • Updates to layout animations.

v12.29.0

Compare Source

Added
  • transformViewBoxPoint: Scale drag gestures within <svg> elements where viewBox and rendered width/height are mismatched.
  • trackContentSize: New scroll and useScroll option for tracking changes to content size.
Fixed
  • Add React 19 test suite to CI.
  • Fix types with motion.create().
  • Shared element animations now respect layoutDependency.

v12.28.2

Compare Source

Added
  • Add default value type px for fontSize.
Fixed
  • Removed default value type from radius.
  • Ensure LazyMotion animates initial state even when state has changed before Motion is loaded.

v12.28.1

Compare Source

Fixed
  • Ensure scale: "0%" isn't treated as default value.

v12.27.5

Compare Source

Fixed
  • Ensure pen gesture is correctly cleaned up on drag cancel.
  • Fix edge case where DocumentProjectionNode's attached element was null.

v12.27.4

Compare Source

Added
  • AnimatePresence: anchorY for vertically positioning popped children.
Fixed
  • Fixed path drawing animations in zoomed Safari contexts by switching to unitless values.

v12.27.3

Compare Source

Fixed
  • Ensure drag gestures trigger from keyboard-accessible elements (button, textarea etc) if these elements have drag applied directly.

v12.27.2

Compare Source

Fixed
  • Adding sourcemaps to motion-dom and motion-utils.
  • Fix Reorder autoscroll within scrollable pages.
  • Gracefully handle missing elements in animation sequences.

v12.27.1

Compare Source

Fixed
  • Improving projection node cleanup.

v12.27.0

Compare Source

Fixed
  • Adding new exports for internal use.

v12.26.2

Compare Source

Fixed
  • Internal refactor of projection system into motion-dom.

v12.26.1

Compare Source

Fixed
  • Improve overload selection for useTransform.

v12.26.0

Compare Source

Added
  • Support for multiple output value maps with useTransform.

v12.25.0

Compare Source

Added
  • Support for auto-scrolling when a Reorder.Item reaches the edges of its parent scrollable container.

v12.24.12

Compare Source

Fixed
  • Draggable elements now track pointer during page and element scroll.

v12.24.11

Compare Source

Fixed
  • Fixed time sampling of GPU animations under heavy CPU load.

v12.24.10

Compare Source

v12.24.9

Compare Source

Fixed
  • Fixing Radix Dialog with AnimatePresence.
  • Ensure drag constraints animation resumes after press interruption.
  • Prevent drag gesture from triggering when pressing focusable elements.

v12.24.8

Compare Source

Fixed
  • Perform unit conversion when animating to/from calc() values.

v12.24.7

Compare Source

Fixed
  • Fix duplicate exit animations in AnimatePresence.

v12.24.6

Compare Source

Fixed
  • Remove memory leak from retained matchMedia callbacks.

v12.24.5

Compare Source

Fixed
  • Prevent ref access error for AnimatePresence popLayout mode in React 19.

v12.24.4

Compare Source

Fixed
  • Support ref functions that return a cleanup callback.

v12.24.3

Compare Source

Fixed
  • Ensure onAnimationStart and onAnimationComplete callbacks fire for useSpring.

v12.24.2

Compare Source

Fixed
  • Ensure useDragControls snapToCursor: true` works with initial transforms.

v12.24.1

Compare Source

Fixed
  • Ensure CSS Motion Path properties are applied via style on SVG elements.
  • Ensure JSX is correctly imported by Reorder.Item.

v12.24.0

Compare Source

Added
  • { type: "svg" } option to motion.create() for creating custom SVG components.
  • px default value type for CSS logical properties (paddingBlock, paddingInline, marginBlock, marginInline).
Fixed
  • Ensure drag gesture updates with latest props every render.
  • Fix missing JSX import error.
  • Fix motion-dom build.
  • Exclude src from distributed package.

v12.23.28

Compare Source

Fixed
  • Fixing MotionStyle type with React 19 when skipLibCheck is false.
  • Add guard for process check for better compat with ESM environments.

v12.23.27

Compare Source

Fixed
  • Improved Intellisense detection for motion import.
  • Adding sourcemaps to release.

v12.23.26

Compare Source

Fixed
  • Moved initialisation of default scale correctors to allow for overwriting existing correctors.

v12.23.25

Compare Source

Fixed
  • Ensure relative projection boxes are re-measured when parent layout changes.

v12.23.24

Compare Source

Fixed
  • Ensure that when a component remounts, it continues to fire animations even when initial={false}.

v12.23.23

Compare Source

Added
  • Exporting PresenceChild and PopChild type for internal use.

v12.23.22

Compare Source

Added
  • Exporting HTMLElements and useComposedRefs type for internal use.

v12.23.21

Compare Source

Fixed
  • Fixing main-thread scroll with animations that contain delay.

v12.23.20

Compare Source

Fixed
  • Suppress non-animatable value warning for instant animations.

v12.23.19

Compare Source

Fixed
  • Remove support for changing ref prop.

v12.23.18

Compare Source

Fixed
  • <motion /> components now support changing ref prop.

v12.23.16

Compare Source

Fixed
  • Fixing ref when passed to a child of AnimatePresence in "popLayout" mode.

v12.23.15

Compare Source

Fixed
  • Fixing export * error in RSC.

v12.23.14

Compare Source

Fixed
  • Fixing types of Reorder.Item and Reorder.Group so incorrect HTML props are correctly flagged.
  • Reverting rehydration of externalRef when it switches.

v12.23.13

Compare Source

Fixed
  • Fixed issue where motion components don't update refs when externalRef changes. The useMotionRef function now properly includes externalRef in the dependency array to ensure ref callbacks update when the external ref changes.
Changed
  • Stopped tracking yarn cache in the repo.

v12.23.12

Compare Source

Added
  • Exporting internal APIs for use in view animations.

v12.23.11

Compare Source

Added
  • Children of variants with delayChildren: stagger() will now be staggered correctly alongside their newly-entering siblings.

v12.23.10

Compare Source

Fixed
  • Fixed shared layout animation in situations where no motion components have re-rendered between shared element switching.

v12.23.9

Compare Source

Changed
  • Removing redundant renderRequest MotionValue lifecycle.

v12.23.7

Compare Source

Fixed
  • springValue cleanup.
  • Removed additional removeNode from AnimatePresence when using popLayout.

v12.23.6

Compare Source

Changed
  • Added explainer for reduced motion warning.
  • Refactored motion component creation to remove indirection.

v12.23.5

Compare Source

Fixed
  • Fix animation timings within dynamically-generated popups.

v12.23.3

Compare Source

Changed
  • 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.

v12.23.2

Compare Source

Fixed
  • Ensure that when a component remounts, it continues to fire animations even when initial={false}.

v12.23.1

Compare Source

Fixed
  • Remove support for changing ref prop.

v12.23.0

Compare Source

Added
  • Add .stop() and .cancel() methods to useDragControls().

v12.22.0

Compare Source

Added
  • Allow delayChildren to accept stagger(). This enables from and ease options when staggering variant children.
Deprecated
  • staggerChildren and staggerDirection options.

v12.20.5

Compare Source

Fixed
  • Improve performance of projection styles by writing directly to element.style.
  • Only block layout animations when window has changed width.

v12.20.4

Compare Source

Fixed
  • Improve performance of render loop.
  • Improve performance of types.

v12.20.3

Compare Source

Fixed
  • Always skip layout animation check on tree mount.

v12.20.2

Compare Source

Fixed
  • Updated Transition type to be more permissive.

v12.20.1

Compare Source

Fixed
  • Updated Target type to match previous definition.

v12.20.0

Compare Source

Added
  • Pass a shadow DOM root element via AnimatePresence root prop to attach "popLayout" styles to a different root element.

v12.19.4

Compare Source

Fixed
  • Ensure animations are removed from scope when finished.

v12.19.3

Compare Source

Fixed
  • Restore some deprecated types.
  • Add transformPerspective to TargetAndTransition.
  • Filter number-indexed and function props from CSSStyleDeclaration.

v12.19.2

Compare Source

Fixed
  • React: Prevent duplicate layout animation commits within Suspense boundaries.

v12.19.1

Compare Source

Fixed
  • React: Fix export * error message in Next.js.

v12.19.0

Compare Source

Added
  • React: usePageInView for tracking document visibility.

v12.18.2

Compare Source

Fixed
  • Fixed es bundle dependency imports for "motion".
  • Restored translateX, originX etc values in animation targets.

v12.18.1

Compare Source

Fixed
  • Removed "react" import from "motion-dom".

v12.18.0

Compare Source

Added
  • Support for defining a timeline position relative to the start of the most recently added animation (e.g. <+0.5, <-1)

v12.17.3

Compare Source

Changed
  • Refactored MotionProps into vanilla MotionNodeOptions type within "motion-dom" package.

v12.17.2

Compare Source

Changed
  • Handle colors when creating animatable "none" keyframes for complex strings.

v12.17.1

Compare Source

Fixed
  • Fixes isValidProp check with Rolldown.

v12.17.0

Compare Source

Added
  • MCP server.
Fixed
  • Improved rounding for linear() easing curves.

v12.16.0

Compare Source

Added
  • resize().

v12.15.0

Compare Source

Added
  • Support for pathLength/pathSpacing/pathOffset for svgEffect.
  • Auto kebab-casing of data and aria attributes in attrEffect.
  • attrEffect applies attributes via JS property where possible.
  • Auto transform-box: fill-box for SVGs with transform in styleEffect.

v12.14.0

Compare Source

Added
  • Support for originX/Y/Z in styleEffect.
Fixed
  • Added markers for pure function calls with effects.

v12.13.0

Compare Source

Added
  • svgEffect, propEffect and attrEffect.
Fixed
  • Fixed a jump in layout animations in select circumstances.

v12.12.2

Compare Source

Fixed
  • Ensure scroll updates are only triggered after a scroll read.

v12.12.1

Compare Source

Fixed
  • Checks for instanceof HTMLElement made compatible with dynamically generated iframes.

v12.12.0

Compare Source

Added
  • springValue
Fixed
  • Fixed various typos in the type definitions along with a stale documentation link.

v12.11.4

Compare Source

Fixed
  • Only read transform from the DOM for initial independent transforms when there's no active projection.

v12.11.3

Compare Source

Changed
  • useWillChange now only adds transform to will-change to prevent issues with prematurely flattened preserve-3d.

v12.11.2

Compare Source

Fixed
  • Removed __VERSION__ placeholder from motion value.
  • Fixed types for Reorder component.

v12.11.1

Compare Source

Fixed
  • Default scroll tracking to document.scrollingElement.

v12.11.0

Compare Source

Added
  • Added value.isEffectActive for internal use.

v12.10.6

Compare Source

Fixed
  • Stop firing .then() after .stop() and .cancel().

v12.10.5

Compare Source

Fixed
  • Fixed attaching multiple press handlers on the same element.

v12.10.4

Compare Source

Fixed
  • Fixed layout animations jumping when interrupted.
  • Lower memory and runtime overhead of layout animations.

v12.10.3

Compare Source

Fixed
  • Attempting to fix layout animations jumping when interrupted.

v12.10.2

Compare Source

Fixed
  • Fixed .cancel() after .stop().

v12.10.1

Compare Source

Changed
  • Main thread scroll animations are now lazy, resolving after "scroll" events instead of every animation frame.

v12.10.0

Compare Source

Added
  • styleEffect now supports:
    • Default value types
    • Independent transforms
    • CSS variables

Configuration

📅 Schedule: (UTC)

  • 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 was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 6, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gkblog Error Error Mar 17, 2026 9:01am

@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 531f100 to 4623fe8 Compare April 11, 2025 16:29
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 4623fe8 to 767bffc Compare April 14, 2025 15:30
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 767bffc to de27db0 Compare April 15, 2025 10:29
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from de27db0 to 23a0360 Compare April 17, 2025 11:51
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 23a0360 to 6746be8 Compare April 21, 2025 12:49
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 6746be8 to 86c9e86 Compare April 23, 2025 13:36
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 86c9e86 to 7a6ae26 Compare April 24, 2025 08:30
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 7a6ae26 to 7567a85 Compare April 24, 2025 17:13
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 7567a85 to 3cb47f2 Compare April 27, 2025 15:44
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 3cb47f2 to feef018 Compare May 1, 2025 11:23
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from feef018 to d278524 Compare May 5, 2025 14:15
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from d278524 to 2f858ed Compare May 5, 2025 18:55
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12 fix(deps): update dependency framer-motion to v12 - autoclosed May 6, 2025
@renovate renovate Bot closed this May 6, 2025
@renovate renovate Bot deleted the renovate/framer-motion-12.x branch May 6, 2025 10:52
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12 - autoclosed fix(deps): update dependency framer-motion to v12 May 6, 2025
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.12.1 fix(deps): update dependency framer-motion to v12.12.2 May 24, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 8b4ca69 to 4373d2c Compare May 31, 2025 16:11
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.12.2 fix(deps): update dependency framer-motion to v12.15.0 May 31, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 4373d2c to 44d7f56 Compare June 3, 2025 10:55
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.15.0 fix(deps): update dependency framer-motion to v12.16.0 Jun 3, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 44d7f56 to 5bee206 Compare June 11, 2025 11:42
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.16.0 fix(deps): update dependency framer-motion to v12.17.0 Jun 11, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 5bee206 to 24258f8 Compare June 15, 2025 08:07
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.17.0 fix(deps): update dependency framer-motion to v12.18.1 Jun 15, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 24258f8 to aea622b Compare June 28, 2025 08:16
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.18.1 fix(deps): update dependency framer-motion to v12.19.2 Jun 28, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from aea622b to 9f77357 Compare June 30, 2025 12:15
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.19.2 fix(deps): update dependency framer-motion to v12.19.3 Jun 30, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 9f77357 to 3a2efc2 Compare June 30, 2025 15:33
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.19.3 fix(deps): update dependency framer-motion to v12.20.1 Jun 30, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 3a2efc2 to 14d04bb Compare July 1, 2025 09:30
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.20.1 fix(deps): update dependency framer-motion to v12.20.2 Jul 1, 2025
@renovate renovate Bot force-pushed the renovate/framer-motion-12.x branch from 14d04bb to 2810f53 Compare July 1, 2025 16:06
@renovate renovate Bot changed the title fix(deps): update dependency framer-motion to v12.20.2 fix(deps): update dependency framer-motion to v12.22.0 Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants