github motiondivision/motion-vue v2.0.0-beta.1

pre-release6 hours ago

Breaking Changes

  • ESM-only: Dropped CJS output, the package now only ships ESM (.mjs) (4b7833f)
  • Removed deprecated gesture prop shorthands: focus, hover, press, inView shorthand props have been removed — use the full event handler props instead (427044a)

Features

  • v-motion directive: Add v-motion directive for declarative animations on any element without wrapping in <motion> component (0ea8a57)

Bug Fixes

  • Prevent reorder freeze when dragging during exit animation (673d429)
  • Defer onExitComplete to prevent re-entrant microtask scheduling deadlock (f61d449)
  • Remove UMD format config for Rolldown compatibility (65bf933)

Refactors

  • Adopt framer-motion FeatureBundle architecture for better tree-shaking (85f0f81)
  • Migrate imports from framer-motion internals to motion-dom / motion-utils (efa94ec)
  • Migrate AnimationControls to use VisualElement and fix animation lifecycle (b6dc425)
  • AnimatePresence: Replace eager registration with lazy discovery via data-ap attribute (425ae77)

Chores

  • Remove docs directory from monorepo (c981263)

Full Changelog: v1.10.3...v2.0.0-beta.1

Don't miss a new motion-vue release

NewReleases is sending notifications on new releases.