Migrations and version rules
Version-specific rules for @vueuse/math. Release content is cited by URL, not copied.
v15.0.0 (2026-09-16)
- No
@vueuse/mathAPI changes; the export set is identical to v14 (dist/index.d.ts:167). - Requires Node.js
>= 22; Node.js 20 support dropped (package.json:39; release). - Pins
@vueuse/shared@15.0.0as a dependency (package.json:45).
v14.0.0 (2025-10-22)
- BREAKING: requires Vue 3.5 as minimum (
package.json:42). - DEPRECATED: alias exports
and,or,notin favor oflogicAnd,logicOr,logicNot(issue); aliases remain exported and marked@deprecatedin 15.0.0 (dist/index.d.ts:20-21,32-33,44-45). - Build moved to
tsdownwith relocated dist files (issue); deep imports resolve via the"./*": "./dist/*"export map (package.json:27).
v13.0.0 (2025-03-10)
- BREAKING: ESM-only, the CommonJS build is removed (release, issue).
"type": "module"inpackage.json:3.
v12.8.0 (2025-03-05)
- VueUse's own
MaybeRef/MaybeRefOrGettertypes deprecated in favor of Vue's native ones (release, issue). Current signatures importMaybeRefOrGetterfromvue(dist/index.d.ts:1).
Migration checklist
- Coming from v13 or older: confirm the build chain handles ESM; no
require('@vueuse/math'). - Coming from v14 or older: confirm Node.js 22+ runtime.
- Any version: replace
and/or/notimports withlogicAnd/logicOr/logicNot. - Any version: Vue 3.5+ peer,
npm i @vueuse/math @vueuse/core(README.md:10).