Skip to content

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jul 9, 2025

This PR contains the following updates:

Package Change Age Confidence
motion ^11.15.0 -> ^12.0.0 age confidence

Release Notes

motiondivision/motion (motion)

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

Added
  • Added pages for remaining error and warning messages.

v12.23.1

Compare Source

Added
  • Exporting internal APIs for use in view animations.

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

v12.9.7

Compare Source

Fixed
  • Fix mixing PopChild with Astro view transitions.

v12.9.6

Compare Source

Fixed
  • Fix setting transformBox via style.

v12.9.5

Compare Source

Fixed
  • Fixed drag undefined error in React 19 Strict Mode.
  • Skip keyframe measurements for values without support for unit conversion.

v12.9.4

Compare Source

Fixed
  • Remove version check for MotionValue.

v12.9.3

Compare Source

Fixed
  • Fixed memory leak when unmounting motion components.

v12.9.2

Compare Source

Fixed
  • Fixed scroll timeline cache when defining offset.
  • Detect when page scroll is attached to document.body and use this instead of document.documentElement.

v12.9.1

Compare Source

Fixed
  • Restarting a finished main thread animation with a negative .speed now works as expected.

v12.9.0

Compare Source

Added
  • styleEffect

v12.8.2

Compare Source

Changed
  • Unifying transform behaviour for SVG and CSS switched from element measurements for transform-box: fill-box.

v12.8.0

Compare Source

Added
  • mapValue
  • transformValue
Changed
  • Removed support for Framer's internal CustomValueType.

v12.7.5

Compare Source

Changed
  • Improved scroll timeline caching.
  • Replaced WAAPI keyframe generation with linear() easing.
  • Ensure final defined keyframe is always applied to animations when animation finishes.
  • Moved instantAnimationState.current to MotionGlobalConfig.instantAnimations.
  • Changed delay from read to setup frameloop step.
Fixed
  • Fixed .then() and await early resolution.
  • Fixed replaying main thread animations after finished.
  • .speed works correctly across all animation types.
  • Various imperative animation control fixes.

v12.7.4

Compare Source

Fixed
  • Removed non-deterministic behaviour from AnimatePresence.

v12.7.3

Compare Source

Fixed
  • Fixing duration for animateView transitions.
  • Prevent .commitStyles() on pseudoElement animations.

v12.7.2

Compare Source

Fixed
  • Adding "sideEffects": false to motion-dom and motion-utils packages.

v12.7.1

Compare Source

Fixed
  • Skip .commitStyles on psuedoElement animations.

v12.7.0

Compare Source

Added
  • Private layoutCrossfade allows disabling crossfade of shared layout elements.

v12.6.5

Compare Source

Fixed
  • Polyfilled sync and cancelSync exports.

v12.6.4

Compare Source

Added
  • Global injection of WillChangeMotionValue for internal Framer use.

v12.6.3

Compare Source

Changed
  • Refactored mini animate and animateView to share the same NativeAnimation. Mini animate down to 2.3kb.
Fixed
  • Fixed keyboard accessibility of press events.

v12.6.2

Compare Source

Fixed
  • Fixing hardware acceleration for non-transform values when a motion component has a defined transformTemplate.

v12.6.1

Compare Source

Fixed
  • Reverting pointer capture for press gesture.

v12.6.0

Compare Source

Changed
  • Renamed view to animateView.
Added
  • New interrupt: "wait" mode as animateView default.

v12.5.0

Compare Source

Added
  • Added motionValue to vanilla JS entrypoint.
Removed
  • Removed framer-motion-3d package.

v12.4.13

Compare Source

Fixed
  • Fixed reading initial transform values from elements.

v12.4.12

Compare Source

Fixed
  • Removed pointer capture from pan and drag gestures.

v12.4.11

Compare Source

Fixed
  • Preventing flattening of scroll animations when type or ease are explicitly set.

v12.4.10

Compare Source

Fixed
  • Adding UMD bundles for motion-dom and motion-utils.

v12.4.9

Compare Source

Fixed
  • Fixed Reorder.Item reordering causing lostpointercapture event to fire.

v12.4.7

Compare Source

Fixed
  • Fixed AnimatePresence not triggering exit animations when a child with layout or drag is removed.

v12.4.6

Compare Source

Fixed
  • Fixed drag gesture on child elements.

v12.4.5

Compare Source

Fixed
  • Fixed onClick handlers not working inside press events.

v12.4.4

Compare Source

Fixed
  • Changed press, drag and pan gestures to use pointer capturing for better usage within iframe embeds.

v12.4.3

Compare Source

Fixed
  • Restored warning for when animating more than two keyframes with a spring.

v12.4.2

Compare Source

Fixed
  • Preventing press from triggering when an element is disabled.

v12.4.1

Compare Source

Fixed
  • Fixed reading initial transform values from elements.

v12.4.0

Compare Source

Added
  • Added initial option to useInView.

v12.3.1

Compare Source

Fixed
  • Correctly applying CSS variables at the end of a mini animate animation.

v12.3.0

Compare Source

Added
  • Added usePresenceData to get custom data passed to AnimatePresence in descendant components.

v12.2.0

Compare Source

Added
  • Added unit support to useSpring.

v12.1.0

Compare Source

Fixed
  • Bug with AnimatePresence in React 19 strict mode.
Deprecated
  • Motion 3D.

v12.0.11

Compare Source

Fixed
  • Moving updateSVGDimensions to its own file to help with tree-shaking.

v12.0.10

Compare Source

Fixed
  • Providing MotionValue to motion component from motion/react-client entrypoint.

v12.0.9

Compare Source

Fixed
  • Removing React from bundle.

v12.0.8

Compare Source

Fixed
  • Infer type of children prop for motion.create.

v12.0.6

Compare Source

Fixed
  • Discard layout projection snapshots if 0x0.

v12.0.5

Compare Source

Fixed
  • Fix scale correction for CSS variables.

v12.0.4

Compare Source

Fixed
  • Add scale correction for CSS variables.

v12.0.3

Compare Source

Fixed
  • Fixed toggling between shared layout animations multiple times.
Added
  • Added private anchorX prop to AnimatePresence.
Changed
  • Simplified useSpring for smaller bundlesize.

v12.0.1

Compare Source

Fixed
  • Moving updateSVGDimensions to its own file to help with tree-shaking.

v12.0.0

Compare Source

Changed
  • press, hover and inView now pass the target element as the first argument to the gesture start callback.

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

Copy link

coderabbitai bot commented Jul 9, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

cloudflare-workers-and-pages bot commented Jul 9, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
mikn-dev d821331 Aug 07 2025, 11:30 AM

@renovate renovate bot force-pushed the renovate/motion-12.x branch 4 times, most recently from b6deeb8 to 8c4e2c5 Compare July 28, 2025 18:55
@renovate renovate bot force-pushed the renovate/motion-12.x branch from 8c4e2c5 to d821331 Compare August 7, 2025 11:29
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