Breaking Changes
- ESM-only: Dropped CJS output, the package now only ships ESM (
.mjs) (4b7833f) - Removed deprecated gesture prop shorthands:
focus,hover,press,inViewshorthand props have been removed — use the full event handler props instead (427044a)
Features
- v-motion directive: Add
v-motiondirective for declarative animations on any element without wrapping in<motion>component (0ea8a57)
Bug Fixes
- Prevent reorder freeze when dragging during exit animation (673d429)
- Defer
onExitCompleteto prevent re-entrant microtask scheduling deadlock (f61d449) - Remove UMD format config for Rolldown compatibility (65bf933)
Refactors
- Adopt framer-motion
FeatureBundlearchitecture for better tree-shaking (85f0f81) - Migrate imports from framer-motion internals to
motion-dom/motion-utils(efa94ec) - Migrate
AnimationControlsto useVisualElementand fix animation lifecycle (b6dc425) - AnimatePresence: Replace eager registration with lazy discovery via
data-apattribute (425ae77)
Chores
- Remove docs directory from monorepo (c981263)
Full Changelog: v1.10.3...v2.0.0-beta.1