Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Motion adheres to [Semantic Versioning](http://semver.org/).

Undocumented APIs should be considered internal and may change without warning.

## [12.29.2] 2026-01-26

### Fixed

- Updates to layout animations.

## [12.29.1] 2026-01-22

### Fixed
Expand Down
4 changes: 4 additions & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ async function nextFrame() {
- Use strict equality (`===`)
- No `var` declarations (use `const`/`let`)

## Notes

Be thorough - I am at risk of losing my job.

## Timing

Use `time.now()` from `motion-dom/src/frameloop/sync-time.ts` instead of `performance.now()` for frame-synced timestamps. This ensures consistent time measurements within synchronous contexts and proper sync with the animation frame loop.
8 changes: 4 additions & 4 deletions dev/html/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "html-env",
"private": true,
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -10,9 +10,9 @@
"preview": "vite preview"
},
"dependencies": {
"framer-motion": "^12.28.1-alpha.1",
"motion": "^12.28.1-alpha.1",
"motion-dom": "^12.28.1-alpha.1",
"framer-motion": "^12.29.2",
"motion": "^12.29.2",
"motion-dom": "^12.29.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
4 changes: 2 additions & 2 deletions dev/next/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-env",
"private": true,
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"type": "module",
"scripts": {
"dev": "next dev",
Expand All @@ -10,7 +10,7 @@
"build": "next build"
},
"dependencies": {
"motion": "^12.28.1-alpha.1",
"motion": "^12.29.2",
"next": "15.4.10",
"react": "19.0.0",
"react-dom": "19.0.0"
Expand Down
4 changes: 2 additions & 2 deletions dev/react-19/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-19-env",
"private": true,
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand All @@ -11,7 +11,7 @@
"preview": "vite preview"
},
"dependencies": {
"motion": "^12.28.1-alpha.1",
"motion": "^12.29.2",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions dev/react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "react-env",
"private": true,
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"type": "module",
"scripts": {
"dev": "yarn vite",
Expand All @@ -11,7 +11,7 @@
"preview": "yarn vite preview"
},
"dependencies": {
"framer-motion": "^12.28.1-alpha.1",
"framer-motion": "^12.29.2",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"packages": [
"packages/*",
"dev/*"
Expand Down
2 changes: 1 addition & 1 deletion packages/config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "config",
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"main": "index.js",
"private": true,
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions packages/framer-motion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "framer-motion",
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"description": "A simple and powerful JavaScript animation library",
"main": "dist/cjs/index.js",
"module": "dist/es/index.mjs",
Expand Down Expand Up @@ -88,8 +88,8 @@
"measure": "rollup -c ./rollup.size.config.mjs"
},
"dependencies": {
"motion-dom": "^12.28.1-alpha.1",
"motion-utils": "^12.28.1-alpha.1",
"motion-dom": "^12.29.2",
"motion-utils": "^12.29.2",
"tslib": "^2.4.0"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/motion-dom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "motion-dom",
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"author": "Matt Perry",
"license": "MIT",
"repository": "https://github.com/motiondivision/motion",
Expand All @@ -17,7 +17,7 @@
}
},
"dependencies": {
"motion-utils": "^12.28.1-alpha.1"
"motion-utils": "^12.29.2"
},
"scripts": {
"clean": "rm -rf types dist lib",
Expand Down
2 changes: 1 addition & 1 deletion packages/motion-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "motion-utils",
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"author": "Matt Perry",
"license": "MIT",
"repository": "https://github.com/motiondivision/motion",
Expand Down
4 changes: 2 additions & 2 deletions packages/motion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "motion",
"version": "12.28.1-alpha.1",
"version": "12.29.2",
"description": "An animation library for JavaScript and React.",
"main": "dist/cjs/index.js",
"module": "dist/es/index.mjs",
Expand Down Expand Up @@ -76,7 +76,7 @@
"postpublish": "git push --tags"
},
"dependencies": {
"framer-motion": "^12.28.1-alpha.1",
"framer-motion": "^12.29.2",
"tslib": "^2.4.0"
},
"peerDependencies": {
Expand Down
28 changes: 14 additions & 14 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7420,15 +7420,15 @@ __metadata:
languageName: node
linkType: hard

"framer-motion@^12.28.1-alpha.1, framer-motion@workspace:packages/framer-motion":
"framer-motion@^12.29.2, framer-motion@workspace:packages/framer-motion":
version: 0.0.0-use.local
resolution: "framer-motion@workspace:packages/framer-motion"
dependencies:
"@radix-ui/react-dialog": ^1.1.15
"@thednp/dommatrix": ^2.0.11
"@types/three": 0.137.0
motion-dom: ^12.28.1-alpha.1
motion-utils: ^12.28.1-alpha.1
motion-dom: ^12.29.2
motion-utils: ^12.29.2
three: 0.137.0
tslib: ^2.4.0
peerDependencies:
Expand Down Expand Up @@ -8192,9 +8192,9 @@ __metadata:
version: 0.0.0-use.local
resolution: "html-env@workspace:dev/html"
dependencies:
framer-motion: ^12.28.1-alpha.1
motion: ^12.28.1-alpha.1
motion-dom: ^12.28.1-alpha.1
framer-motion: ^12.29.2
motion: ^12.29.2
motion-dom: ^12.29.2
react: ^18.3.1
react-dom: ^18.3.1
vite: ^5.2.0
Expand Down Expand Up @@ -10936,11 +10936,11 @@ __metadata:
languageName: node
linkType: hard

"motion-dom@^12.28.1-alpha.1, motion-dom@workspace:packages/motion-dom":
"motion-dom@^12.29.2, motion-dom@workspace:packages/motion-dom":
version: 0.0.0-use.local
resolution: "motion-dom@workspace:packages/motion-dom"
dependencies:
motion-utils: ^12.28.1-alpha.1
motion-utils: ^12.29.2
languageName: unknown
linkType: soft

Expand Down Expand Up @@ -11007,17 +11007,17 @@ __metadata:
languageName: unknown
linkType: soft

"motion-utils@^12.28.1-alpha.1, motion-utils@workspace:packages/motion-utils":
"motion-utils@^12.29.2, motion-utils@workspace:packages/motion-utils":
version: 0.0.0-use.local
resolution: "motion-utils@workspace:packages/motion-utils"
languageName: unknown
linkType: soft

"motion@^12.28.1-alpha.1, motion@workspace:packages/motion":
"motion@^12.29.2, motion@workspace:packages/motion":
version: 0.0.0-use.local
resolution: "motion@workspace:packages/motion"
dependencies:
framer-motion: ^12.28.1-alpha.1
framer-motion: ^12.29.2
tslib: ^2.4.0
peerDependencies:
"@emotion/is-prop-valid": "*"
Expand Down Expand Up @@ -11134,7 +11134,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "next-env@workspace:dev/next"
dependencies:
motion: ^12.28.1-alpha.1
motion: ^12.29.2
next: 15.4.10
react: 19.0.0
react-dom: 19.0.0
Expand Down Expand Up @@ -12599,7 +12599,7 @@ __metadata:
"@typescript-eslint/parser": ^7.2.0
"@vitejs/plugin-react-swc": ^3.5.0
eslint-plugin-react-refresh: ^0.4.6
motion: ^12.28.1-alpha.1
motion: ^12.29.2
react: ^19.0.0
react-dom: ^19.0.0
vite: ^5.2.0
Expand Down Expand Up @@ -12683,7 +12683,7 @@ __metadata:
"@typescript-eslint/parser": ^7.2.0
"@vitejs/plugin-react-swc": ^3.5.0
eslint-plugin-react-refresh: ^0.4.6
framer-motion: ^12.28.1-alpha.1
framer-motion: ^12.29.2
react: ^18.3.1
react-dom: ^18.3.1
vite: ^5.2.0
Expand Down
Loading