frankiefab100 / Web3Collectives

A free resource library for Blockchain Developers, smart contract engineers and Web3 enthusiasts. Learn more: https://frankiefab.hashnode.dev/introducing-web3collectives-your-gateway-to-web3-knowledge
https://web3collectives.vercel.app/
MIT License
10 stars 3 forks source link

fix(deps): update dependency framer-motion to v10 - autoclosed #47

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
framer-motion ^6.5.1 -> ^10.0.0 age adoption passing confidence

Release Notes

framer/motion (framer-motion) ### [`v10.16.12`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101612-2023-12-01) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.11...v10.16.12) ##### 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`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101611-2023-12-01) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.10...v10.16.11) ##### Fixed - Ensure animation is never skipped if it's an interrupting animation. ### [`v10.16.10`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101610-2023-11-30) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.9...v10.16.10) ##### Fixed - Fixing appear animation optimisation when React portal is present. ### [`v10.16.9`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10169-2023-11-30) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.8...v10.16.9) ##### Fixed - Skipping no-op animations. ### [`v10.16.8`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10168-2023-11-29) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.7...v10.16.8) ##### Fixed - Added `disableInstantAnimation` private API. - Ensure optimised appear animations don't run post-hydration. ### [`v10.16.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10167-2023-11-29) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.6...v10.16.7) ##### Fixed - Fixing pan events within React portal. ### [`v10.16.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10166-2023-11-29) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.5...v10.16.6) ##### Fixed - Fixing `Reorder` component types. - Fixing `Reorder.Item` order calculation. - Fixing broken `dragConstraints` if component re-renders during resize. ### [`v10.16.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10165-2023-11-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.4...v10.16.5) ##### Fixed - Fixing `AnimatePresence` fast rerender bug. ### [`v10.16.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10164-2023-05-09) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.3...v10.16.4) ##### Fixed - Changed handoff `startTime` source from `performance.now()` to `document.timeline.currentTime`. ### [`v10.16.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10163-2023-04-09) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.2...v10.16.3) ##### Fixed - Improved compatibility of custom `RefObject` and `MutableRefObject` types. - Fixing `useScroll` dependencies array. - Fixing optimised handoff to WAAPI animations. ### [`v10.16.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10162-2023-08-30) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.1...v10.16.2) ##### Fixed - Improved performance of frameloop scheduling. - Fixed crasher when using SVGs as scroll animation targets. ### [`v10.16.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10161-2023-08-21) [Compare Source](https://togithub.com/framer/motion/compare/v10.16.0...v10.16.1) ##### Fixed - SVGs mount read/writes are now batched. ### [`v10.16.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10160-2023-08-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.15.2...v10.16.0) ##### Added - New function syntax for `useTransform`. ##### Improved - Improved handoff animation performance. ### [`v10.15.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10152-2023-08-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.15.1...v10.15.2) ##### Fixed - Numerical CSS variables are now read correctly. ### [`v10.15.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10151-2023-08-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.15.0...v10.15.1) ##### Fixed - Replacing `requestAnimationFrame` timestamp with `performance.now()` to avoid [timestamp bug in Chrome](https://bugs.chromium.org/p/chromium/issues/detail?id=1470675#makechanges). ### [`v10.15.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10150-2023-07-28) [Compare Source](https://togithub.com/framer/motion/compare/v10.14.0...v10.15.0) ##### Added - Updated types for public `inView` API. ### [`v10.14.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10140-2023-07-27) [Compare Source](https://togithub.com/framer/motion/compare/v10.13.2...v10.14.0) ##### Added - `scroll()` now accepts animations from `animate()` to create hardware-accelerated animations. ### [`v10.13.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10132-2023-07-27) [Compare Source](https://togithub.com/framer/motion/compare/v10.13.1...v10.13.2) ##### Fixed - Removed animation resync for optimised animation handoff. - Fixed offset not working with useScroll. ### [`v10.13.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10131-2023-07-24) [Compare Source](https://togithub.com/framer/motion/compare/v10.13.0...v10.13.1) ##### Added - Fixed subpixel layout rounding in Chrome. ### [`v10.13.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10130-2023-07-19) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.23...v10.13.0) ##### Added - `scroll()`, a universal API for powering scroll-driven animations via `ScrollTimeline`. ### [`v10.12.23`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101223-2023-07-19) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.22...v10.12.23) ##### Fixed - Fixing subpixel layout support in Webkit. ### [`v10.12.22`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101222-2023-07-17) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.21...v10.12.22) ##### Fixed - Supporting subpixel layouts in layout animations. ### [`v10.12.21`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101221-2023-07-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.20...v10.12.21) ##### Fixed - Transforming values if new values have been read from props. ### [`v10.12.20`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101220-2023-07-13) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.18...v10.12.20) ##### Fixed - Fixing race condition with animation `Promise`. - Attempt to read initial animation from props before reading from DOM. ### [`v10.12.18`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101218-2023-06-30) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.17...v10.12.18) ##### Fixed - When layout animation is forced to be instant via `useInstantTransition`, ignore the delay option. ### [`v10.12.17`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101217-2023-06-23) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.16...v10.12.17) ##### Fixed - Fixing `useInstantTransition` when called on subsequent frames. - Fixing reverse animation with negative speed finishes too early when the time is set to the duration. ### [`v10.12.16`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101216-2023-05-24) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.15...v10.12.16) ##### Fixed - Fixing unit conversion when animating `translateX`/`translateY`. ### [`v10.12.15`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101215-2023-05-24) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.14...v10.12.15) ##### Fixed - Fixed timing bug when mixing `layout` prop and `animate()`. - Removing errant log from `resolveConstraints`. ### [`v10.12.14`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101214-2023-05-23) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.13...v10.12.14) ##### Fixed - Ensure new `layout` components animate correctly on the first re-render. ### [`v10.12.13`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101213-2023-05-23) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.12...v10.12.13) ##### Fixed - Fixed scale correction in elements that have finished layout animations. ### [`v10.12.12`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101212-2023-05-15) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.11...v10.12.12) ##### Fixed - Ensuring zero units like `"0px"` can be used as keyframe templates. ### [`v10.12.11`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101211-2023-05-15) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.10...v10.12.11) ##### Fixed - Fixing ending layout animations immediately on resize. ### [`v10.12.10`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101210-2023-05-10) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.9...v10.12.10) ##### Fixed - Fixing persisting `AnimatePresence` child when exit animation is interrupted. ### [`v10.12.9`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10129-2023-05-05) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.8...v10.12.9) ##### Fixed - Fixing jumpy layer when a layout changes after a pending animation has been scheduled. ### [`v10.12.8`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10128-2023-05-05) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.7...v10.12.8) ##### Fixed - Moving layout animations to `queueMicrotasks()`, ensuring layout animations don't fire until all synchronous effects have executed. ### [`v10.12.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10127-2023-05-02) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.6...v10.12.7) ##### Fixed - Improve handling of `"none"` keyframes. ### [`v10.12.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10126-2023-05-02) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.5...v10.12.6) ##### Fixed - Fixing relative layout animations when mixing `type: false` and `type: "tween", duration: 0`. ### [`v10.12.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10125-2023-05-01) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.4...v10.12.5) ##### Changed - Exporting `visualElementStore` for internal use. ### [`v10.12.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10124-2023-04-18) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.3...v10.12.4) ##### Fixed - Fixing types for `attrX`, `attrY` and `attrScale` values. ### [`v10.12.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10123-2023-04-18) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.2...v10.12.3) ##### Fixed - Fixing CSS variable interpolation inside complex strings. ### [`v10.12.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101223-2023-07-19) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.1...v10.12.2) ##### Fixed - Fixing subpixel layout support in Webkit. ### [`v10.12.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#101219-2023-06-30) [Compare Source](https://togithub.com/framer/motion/compare/v10.12.0...v10.12.1) ##### Fixed - Fixing unit conversion for `translateX`/`translateY`. ### [`v10.12.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10120-2023-04-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.11.6...v10.12.0) ##### Added - Exporting `frame` and `cancelFrame` as a public API. ### [`v10.11.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10116-2023-04-12) [Compare Source](https://togithub.com/framer/motion/compare/v10.11.5...v10.11.6) ##### Fixed - Fixed performance regression introduced with previous fix. ### [`v10.11.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10115-2023-04-11) [Compare Source](https://togithub.com/framer/motion/compare/v10.11.4...v10.11.5) ##### Fixed - Propagating relative nodes in layout animations. ### [`v10.11.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10114-2023-04-11) [Compare Source](https://togithub.com/framer/motion/compare/v10.11.3...v10.11.4) ##### Fixed - Fixing optimised transform animations. ### [`v10.11.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10113-2023-04-11) [Compare Source](https://togithub.com/framer/motion/compare/v10.11.2...v10.11.3) ##### Fixed - Calling `.play()` on finished animations now correctly restarts them. ### [`v10.11.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10112-2023-04-06) [Compare Source](https://togithub.com/framer/motion/compare/v10.11.1...v10.11.2) ##### Fixed - Fixing WAAPI offsets with springs in animation sequences. ### [`v10.11.1`](https://togithub.com/framer/motion/compare/v10.11.0...v10.11.1) [Compare Source](https://togithub.com/framer/motion/compare/v10.11.0...v10.11.1) ### [`v10.11.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10110-2023-04-06) [Compare Source](https://togithub.com/framer/motion/compare/v10.10.0...v10.11.0) ##### Added - Adding springs to animation sequences. ##### Fixed - Fixing "keyframes must be of same type" error with some animation ### [`v10.10.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#10100-2023-03-29) [Compare Source](https://togithub.com/framer/motion/compare/v10.9.4...v10.10.0) ##### Fixed - Adding `.duration` to `animate()`. sequences. ### [`v10.9.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1094-2023-03-29) [Compare Source](https://togithub.com/framer/motion/compare/v10.9.3...v10.9.4) ##### Fixed - Removing log from `useSpring`. ### [`v10.9.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1093-2023-03-29) [Compare Source](https://togithub.com/framer/motion/compare/v10.9.2...v10.9.3) ##### Fixed - Improving scroll animation startup time. ### [`v10.9.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1092-2023-03-28) [Compare Source](https://togithub.com/framer/motion/compare/v10.9.1...v10.9.2) ##### Fixed - Fixing animation scope with animation sequences. ### [`v10.9.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1091-2023-03-24) [Compare Source](https://togithub.com/framer/motion/compare/v10.9.0...v10.9.1) ##### Fixed - Recalculating and rerendering relative targets when layout is remeasured. ### [`v10.9.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1090-2023-03-24) [Compare Source](https://togithub.com/framer/motion/compare/v10.8.5...v10.9.0) ##### Added - Animation sequencing. ### [`v10.8.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1085-2023-03-22) [Compare Source](https://togithub.com/framer/motion/compare/v10.8.4...v10.8.5) ##### Fixed - Fixed use of multiple easing functions with WAAPI animations. ### [`v10.8.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1084-2023-03-21) [Compare Source](https://togithub.com/framer/motion/compare/v10.8.3...v10.8.4) ##### Changed - Fixing `from` option in `stagger()`. ### [`v10.8.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1083-2023-03-21) [Compare Source](https://togithub.com/framer/motion/compare/v10.8.2...v10.8.3) ##### Changed - Fixing `duration: 0` animations never ending. ### [`v10.8.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1082-2023-03-21) [Compare Source](https://togithub.com/framer/motion/compare/v10.8.1...v10.8.2) ##### Changed - Further loosening `animate()` overloads. ### [`v10.8.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1081-2023-03-21) [Compare Source](https://togithub.com/framer/motion/compare/v10.8.0...v10.8.1) ##### Changed - Loosening `animate()` overloads. ### [`v10.8.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1080-2023-03-21) [Compare Source](https://togithub.com/framer/motion/compare/v10.7.0...v10.8.0) ##### Added - `stagger()` ##### Fixed - SVG and SVG path types for `animate()`. ### [`v10.7.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1070-2023-03-21) [Compare Source](https://togithub.com/framer/motion/compare/v10.6.8...v10.7.0) ##### Changed - Default transitions no longer need to be namespaced under `default`. ### [`v10.6.8`](https://togithub.com/framer/motion/compare/v10.6.1...v10.6.8) [Compare Source](https://togithub.com/framer/motion/compare/v10.6.1...v10.6.8) ### [`v10.6.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1061-2023-03-20) [Compare Source](https://togithub.com/framer/motion/compare/v10.6.0...v10.6.1) ##### Fixed - Complex string types interpolate correctly with WAAPI spring easing. ### [`v10.6.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1060-2023-03-17) [Compare Source](https://togithub.com/framer/motion/compare/v10.5.0...v10.6.0) ##### Added - `cancel()`, `complete()` and `speed` to `animate()`. ##### Changed - `"easeIn"`, `"easeOut"` and `"easeInOut"` easing functions are now WAAPI spec-compliant. ##### Fixed - `.stop()` stops animations permanently. - `useSpring` timing. - `animate()` with `repeat: 1` and `repeatType` `"reverse"` or `"mirror"` correctly applies final keyframe. ### [`v10.5.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1050-2023-03-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.4.0...v10.5.0) ##### Added - `useAnimate()` provides a composable way to use `animate()`. ### [`v10.4.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1040-2023-03-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.4...v10.4.0) ##### Added - `animate()` now supports DOM elements and DOM selectors. ### [`v10.3.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1034-2023-03-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.3...v10.3.4) ##### Fixed - Updating README. ### [`v10.3.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1033-2023-03-16) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.2...v10.3.3) ##### Fixed - Using frame timestamp, when available, to sample time. ### [`v10.3.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1032-2023-03-15) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.1...v10.3.2) ##### Fixed - Applying target CSS variable at the end of animation. ### [`v10.3.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1031-2023-03-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.3.0...v10.3.1) ##### Fixed - Fixed `time` `Promise` on instant animation. ### [`v10.3.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1030-2023-03-14) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.5...v10.3.0) ##### Added - `time`, `play()`, `pause()` and `then()` to animations created with `animate()`. ### [`v10.2.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1025-2023-03-13) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.4...v10.2.5) ##### Fixed - Adding de-opt to projection tree when relative target has changed. ### [`v10.2.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1024-2023-03-10) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.3...v10.2.4) ##### Changed - Refactored `animate` to resolve for `time` instead of `timeDelta`. ##### Fixed - `delay` will now apply to `"inertia"` animations. ### [`v10.2.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1023-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.2...v10.2.3) ##### Fixed - Unifying `AnimationPlaybackControls` types. - Changing `Feature` type to fix Next build errors. ### [`v10.2.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1022-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.1...v10.2.2) ##### Fixed - Restoring `DeprecatedLayoutGroupContext` for legacy Smart Components in Framer. ### [`v10.2.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1021-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.2.0...v10.2.1) ##### Fixed - Passing low `restSpeed` and `restDelta` to `useSpring()`. ### [`v10.2.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1020-2023-03-07) [Compare Source](https://togithub.com/framer/motion/compare/v10.1.0...v10.2.0) ##### Added - Vanilla JS entry point `framer-motion/dom`. ### [`v10.1.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1010-2023-03-06) [Compare Source](https://togithub.com/framer/motion/compare/v10.0.2...v10.1.0) ##### Added - Frame-batched event handlers. This means external event handlers are now batched on the next animation frame, allowing React to correctly batch state updates. ### [`v10.0.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1002-2023-03-05) [Compare Source](https://togithub.com/framer/motion/compare/v10.0.1...v10.0.2) ##### Fixed - Fixing "Non-numeric `offset`" error in older browsers. ### [`v10.0.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1001-2023-02-27) [Compare Source](https://togithub.com/framer/motion/compare/v10.0.0...v10.0.1) ##### Changed - Reducing keyframe pregeneration duration by 75%. ### [`v10.0.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#1000-2023-02-24) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.7...v10.0.0) ##### Added - `background-color` animations are now hardware accelerated. ##### Removed - Removing fallback for `IntersectionObserver`. Use a polyfill for support in older browsers. - Removed `DeprecatedLayoutGroupContext`. ##### Changed - Using `exitBeforeEnter` with `AnimatePresence` now throws an error. - Using `value.onChange` will now throw a warning with instructions to change to `value.on("change", callback)`. - Using `AnimateSharedLayout` now throws an error. ##### Fixed - `repeat: Infinity` no longer de-opts from pre-generated WAAPI animations. ### [`v9.1.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#917-2023-02-24) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.6...v9.1.7) ##### Fixed - Switching `const enum` for types. ### [`v9.1.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#916-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.5...v9.1.6) ##### Added - Exporting `scroll` for internal use inside Framer. ### [`v9.1.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#915-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.4...v9.1.5) ##### Fixed - Changing `Feature` to `Feature`. ### [`v9.1.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#914-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.3...v9.1.4) ##### Fixed - Fixing types of `useScroll`. ### [`v9.1.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#913-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.2...v9.1.3) ##### Updated - Limiting propagation of dirty projection nodes for improved layout animation performance. ### [`v9.1.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#912-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.1...v9.1.2) ##### Updated - Replacing `type enum` with `const enum` for smaller bundlesize. ### [`v9.1.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#911-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.1.0...v9.1.1) ##### Updated - Removing external dependencies. ### [`v9.1.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#910-2023-02-23) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.7...v9.1.0) ##### Added - Hardware acceleration of `clipPath`, `filter` and `transform` styles. ### [`v9.0.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#907-2023-02-21) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.6...v9.0.7) ##### Fixed - Improving types of `color.parse()`. ### [`v9.0.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#906-2023-02-21) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.5...v9.0.6) ##### Added - Exporting animation types for internal Framer use. ### [`v9.0.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#905-2023-02-21) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.4...v9.0.5) ##### Added - Adding legacy Popmotion exports for internal Framer use. ### [`v9.0.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#904-2023-02-16) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.3...v9.0.4) ##### Updated - 25% speed improvement for transform string creation. ### [`v9.0.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#903-2023-02-14) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.2...v9.0.3) ##### Updated - Refactored `motion` component features to load without React components. - Deprecated fallback behavior for missing `IntersectionObserver`. ### [`v9.0.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#902-2023-02-07) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.1...v9.0.2) ##### Changed - `Reorder.Item` no longer throws an error within `MotionConfig strict`. ### [`v9.0.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#901-2023-02-02) [Compare Source](https://togithub.com/framer/motion/compare/v9.0.0...v9.0.1) ##### Removed - Tap events no longer suspend `tabindex` attribute for the duration of the gesture. ### [`v9.0.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#900-2023-02-01) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.5...v9.0.0) ##### Added - Tap events are now keyboard accessible. ##### Changed - `whileFocus` only triggers according to `focus-visible` rules. ### [`v8.5.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#855-2023-01-30) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.4...v8.5.5) ##### Fixed - Ensuring `Animation.cancel()` is called on finished WAAPI animations. ### [`v8.5.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#854-2023-01-27) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.3...v8.5.4) ##### Fixed - Reducing size of prop filtering. ### [`v8.5.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#853-2023-01-26) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.2...v8.5.3) ##### Fixed - Manually recording optimised appear `startTime` to fix inaccuracies of Firefox's `Animation.currentTime`. ### [`v8.5.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#852-2023-01-23) [Compare Source](https://togithub.com/framer/motion/compare/v8.5.0...v8.5.2) ##### Fixed - Updated optimised appear animations to defer animations until Chrome releases paint holding. ### [`v8.5.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#850-2023-01-18) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.7...v8.5.0) ##### Added - `layoutRoot` prop. When component has `layout` and `layoutRoot` props, it will perform layout animations instantly but all children will perform layout animations relative to it. ### [`v8.4.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#847-2023-01-18) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.6...v8.4.7) ##### Fixed - Fixed right-click filtering. ### [`v8.4.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#846-2023-01-17) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.5...v8.4.6) ##### Fixed - Fixed WAAPI deoptimisation with layout animations. - Reduced number of animations triggered for components that have gesture event handlers but no corresponding `while-` props. ### [`v8.4.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#845-2023-01-17) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.4...v8.4.5) ##### Fixed - Only trigger `animateChanges` in a `useLayoutEffect` when optimised appear animations are present. - Resync optimised appear handoff animations before cancelling WAAPI animations to ensure seamless visual handoff. ### [`v8.4.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#844-2023-01-17) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.3...v8.4.4) ##### Fixed - Filtering `values` prop. ### [`v8.4.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#843-2023-01-13) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.2...v8.4.3) ##### Fixed - When in Reduced Motion mode, `transition` no longer overrides instant transitions. ### [`v8.4.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#842-2023-01-11) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.1...v8.4.2) ##### Fixed - Events sourced from `pointercancel` no longer being added to pan gesture history. ### [`v8.4.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#841-2023-01-11) [Compare Source](https://togithub.com/framer/motion/compare/v8.4.0...v8.4.1) ##### Fixed - `delay` no longer getting doubled with pregenerated WAAPI keyframes. ### [`v8.4.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#840-2023-01-10) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.4...v8.4.0) ##### Added - Exporting `frameData` and `sync` for internal Framer use. ### [`v8.3.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#834-2023-01-10) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.3...v8.3.4) ##### Fixed - Detection of hex colors with alpha values within complex strings. ### [`v8.3.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#833-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.2...v8.3.3) ##### Fixed - Stop filtering `pen` hover events. ### [`v8.3.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#832-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.1...v8.3.2) ##### Fixed - Allow `useMotionTemplate` to accept static values. ### [`v8.3.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#831-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.3.0...v8.3.1) ##### Fixed - Memoisation of tap callbacks. ### [`v8.3.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#830-2023-01-09) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.4...v8.3.0) ##### Added - `motion` components can accept a `MotionValue` as `children`. ### [`v8.2.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#824-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.3...v8.2.4) ##### Fixed - Stop applying scale correction to an element's styles when there's no active projection transform. ### [`v8.2.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#823-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.2...v8.2.3) ##### Changed - Improved memoisation of internal event handlers. ### [`v8.2.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#822-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.2.0...v8.2.2) ##### Fixed - Removed ability to trigger animations via `useAnimationControls()` during render lifecycle. This would be a source of silent or subtle errors. ### [`v8.2.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#820-2023-01-06) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.9...v8.2.0) ##### Added - Exporting easing functions. ### [`v8.1.9`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#819-2023-01-05) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.8...v8.1.9) ##### Fixed - Preventing infinite keyframe pre-generation. ### [`v8.1.8`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#818-2023-01-05) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.7...v8.1.8) ##### Fixed - Sampling of animations with delay/repeat settings when interrupting WAAPI animations. ### [`v8.1.7`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#817-2023-01-04) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.6...v8.1.7) ##### Fixed - Swapping `style` value between `MotionValue` and static value. ### [`v8.1.6`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#816-2023-01-04) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.5...v8.1.6) ##### Fixed - Minification of `process.env.NODE_ENV`. ### [`v8.1.5`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#815-2023-01-03) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.4...v8.1.5) ##### Changed - Display warning in development mode when Reduced Motion is enabled on device. ### [`v8.1.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#814-2023-01-03) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.3...v8.1.4) ##### Fixed - Ensuring child variant components fire `onAnimationStart` when an animation is triggered by a parent. ### [`v8.1.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#813-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.1...v8.1.3) ##### Fixed - Fixed `times`. ### [`v8.1.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#811-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.1.0...v8.1.1) ##### Fixed - Fixing error when `Transition.type` is invalid. ### [`v8.1.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#810-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.4...v8.1.0) ##### Added - `MotionValue.jump` can be used to "jump" a `MotionValue` to a new value, bypassing active springs, ending current animations and resetting to `velocity` to `0`. ### [`v8.0.4`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#804-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.3...v8.0.4) ##### Fixed - Cleaning up animations when a `MotionValue` has no active `"change"` subscribers. - Changing `useMotionValueEvent` subscription to `useInsertionEffect`. ### [`v8.0.3`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#803-2023-01-02) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.2...v8.0.3) ##### Fixed - Use range for tslib dependency. - Fixing multitouch with drag and pan gestures. ### [`v8.0.2`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#802-2022-12-23) [Compare Source](https://togithub.com/framer/motion/compare/v8.0.1...v8.0.2) ##### Fixed - Fixing defaults for hardware-accelerated animations. ### [`v8.0.1`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#801-2022-12-21) [Compare Source](https://togithub.com/framer/motion/compare/f58fea876198895716a776550ec6fbf0813ecaad...v8.0.1) ##### Added - Warning for unhydrated refs passed to `useScroll()` options. ### [`v8.0.0`](https://togithub.com/framer/motion/blob/HEAD/CHANGELOG.md#800-2022-12-21) [Compare Source](https://togithub.com/framer/motion/compare/v7.10.3...f58fea876198895716a776550ec6fbf0813ecaad) ##### Removed - Removed polyfilled support for mouse/touch events. - Removed drag pointerup patch for Safari over `