release: v3.2.25

This commit is contained in:
Evan You 2021-12-12 12:21:13 +08:00
parent 7d71a1ce45
commit 756534bde0
19 changed files with 100 additions and 73 deletions

View File

@ -1,3 +1,30 @@
## [3.2.25](https://github.com/vuejs/vue-next/compare/v3.2.24...v3.2.25) (2021-12-12)
### Bug Fixes
* **compiler-sfc:** generate valid TS in script and script setup co-usage with TS ([7e4f0a8](https://github.com/vuejs/vue-next/commit/7e4f0a869498e7dce601e7c150f402045ea2e79b)), closes [#5094](https://github.com/vuejs/vue-next/issues/5094)
* **compiler:** force block for custom dirs and inline beforeUpdate hooks ([1c9a481](https://github.com/vuejs/vue-next/commit/1c9a4810fcdd2b6c1c6c3be077aebbecbfcbcf1e))
* **runtime-core:** disallow recurse in vnode/directive beforeUpdate hooks ([a1167c5](https://github.com/vuejs/vue-next/commit/a1167c57e5514be57505f4bce8d163aa1f92cf14))
### Features
* **compiler-core:** support aliasing vue: prefixed events to inline vnode hooks ([4b0ca87](https://github.com/vuejs/vue-next/commit/4b0ca8709a7e2652f4b02665f378d47ba4dbe969))
* **experimental:** allow const for ref sugar declarations ([9823bd9](https://github.com/vuejs/vue-next/commit/9823bd95d11f22f0ae53f5e0b705a21b6e6e8859))
* **reactivity-transform/types:** restructure macro types + export types for all shorthand methods ([db729ce](https://github.com/vuejs/vue-next/commit/db729ce99eb13cd18dad600055239c63edd9cfb8))
* **reactivity-transform:** $$() escape for destructured prop bindings ([198ca14](https://github.com/vuejs/vue-next/commit/198ca14f192f9eb80028153f3d36600e636de3f0))
* **reactivity-transform:** rename @vue/ref-transform to @vue/reactivity-transform ([d70fd8d](https://github.com/vuejs/vue-next/commit/d70fd8d36b23c987f2ebe3280da785f4d2e7d2ef))
* **reactivity-transform:** support $-shorthands for all ref-creating APIs ([179fc05](https://github.com/vuejs/vue-next/commit/179fc05a8406eac525c8450153b42fcb5af7d6bb))
* **reactivity-transform:** support optionally importing macros ([fbd0fe9](https://github.com/vuejs/vue-next/commit/fbd0fe97595f759e12e445c713b732775589fabf))
* **reactivity-transform:** use toRef() for $() destructure codegen ([93ba6b9](https://github.com/vuejs/vue-next/commit/93ba6b974e4a2ff4ba004fef47ef69cfe980c654))
* **reactivity:** support default value in toRef() ([2db9c90](https://github.com/vuejs/vue-next/commit/2db9c909c2cf3845f57b2c930c05cd6c17abe3b0))
* **sfc-playground:** add github link ([#5067](https://github.com/vuejs/vue-next/issues/5067)) ([9ac0dde](https://github.com/vuejs/vue-next/commit/9ac0ddea4beec1a1c4471463d3476ccd019bd84e))
* **sfc-playground:** prevent ctrl+s default behavior ([#5066](https://github.com/vuejs/vue-next/issues/5066)) ([b027507](https://github.com/vuejs/vue-next/commit/b0275070e4824c5efa868528f610eaced83d8fbc))
* support ref in v-for, remove compat deprecation warnings ([41c18ef](https://github.com/vuejs/vue-next/commit/41c18effea9dd32ab899b5de3bb0513abdb52ee4))
## [3.2.24](https://github.com/vuejs/vue-next/compare/v3.2.23...v3.2.24) (2021-12-06) ## [3.2.24](https://github.com/vuejs/vue-next/compare/v3.2.23...v3.2.24) (2021-12-06)

View File

@ -1,6 +1,6 @@
{ {
"private": true, "private": true,
"version": "3.2.24", "version": "3.2.25",
"scripts": { "scripts": {
"dev": "node scripts/dev.js", "dev": "node scripts/dev.js",
"build": "node scripts/build.js", "build": "node scripts/build.js",

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-core", "name": "@vue/compiler-core",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/compiler-core", "description": "@vue/compiler-core",
"main": "index.js", "main": "index.js",
"module": "dist/compiler-core.esm-bundler.js", "module": "dist/compiler-core.esm-bundler.js",
@ -32,7 +32,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-core#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@babel/parser": "^7.16.4", "@babel/parser": "^7.16.4",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"source-map": "^0.6.1" "source-map": "^0.6.1"

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-dom", "name": "@vue/compiler-dom",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/compiler-dom", "description": "@vue/compiler-dom",
"main": "index.js", "main": "index.js",
"module": "dist/compiler-dom.esm-bundler.js", "module": "dist/compiler-dom.esm-bundler.js",
@ -37,7 +37,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-dom#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@vue/compiler-core": "3.2.24" "@vue/compiler-core": "3.2.25"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-sfc", "name": "@vue/compiler-sfc",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/compiler-sfc", "description": "@vue/compiler-sfc",
"main": "dist/compiler-sfc.cjs.js", "main": "dist/compiler-sfc.cjs.js",
"module": "dist/compiler-sfc.esm-browser.js", "module": "dist/compiler-sfc.esm-browser.js",
@ -33,11 +33,11 @@
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-sfc#readme",
"dependencies": { "dependencies": {
"@babel/parser": "^7.16.4", "@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.24", "@vue/compiler-core": "3.2.25",
"@vue/compiler-dom": "3.2.24", "@vue/compiler-dom": "3.2.25",
"@vue/compiler-ssr": "3.2.24", "@vue/compiler-ssr": "3.2.25",
"@vue/reactivity-transform": "3.2.24", "@vue/reactivity-transform": "3.2.25",
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"magic-string": "^0.25.7", "magic-string": "^0.25.7",
"source-map": "^0.6.1", "source-map": "^0.6.1",

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compiler-ssr", "name": "@vue/compiler-ssr",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/compiler-ssr", "description": "@vue/compiler-ssr",
"main": "dist/compiler-ssr.cjs.js", "main": "dist/compiler-ssr.cjs.js",
"types": "dist/compiler-ssr.d.ts", "types": "dist/compiler-ssr.d.ts",
@ -28,7 +28,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@vue/compiler-dom": "3.2.24" "@vue/compiler-dom": "3.2.25"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/reactivity-transform", "name": "@vue/reactivity-transform",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/reactivity-transform", "description": "@vue/reactivity-transform",
"main": "dist/reactivity-transform.cjs.js", "main": "dist/reactivity-transform.cjs.js",
"files": [ "files": [
@ -29,8 +29,8 @@
"homepage": "https://github.com/vuejs/vue-next/tree/dev/packages/reactivity-transform#readme", "homepage": "https://github.com/vuejs/vue-next/tree/dev/packages/reactivity-transform#readme",
"dependencies": { "dependencies": {
"@babel/parser": "^7.16.4", "@babel/parser": "^7.16.4",
"@vue/compiler-core": "3.2.24", "@vue/compiler-core": "3.2.25",
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"estree-walker": "^2.0.2", "estree-walker": "^2.0.2",
"magic-string": "^0.25.7" "magic-string": "^0.25.7"
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/reactivity", "name": "@vue/reactivity",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/reactivity", "description": "@vue/reactivity",
"main": "index.js", "main": "index.js",
"module": "dist/reactivity.esm-bundler.js", "module": "dist/reactivity.esm-bundler.js",
@ -36,6 +36,6 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24" "@vue/shared": "3.2.25"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/runtime-core", "name": "@vue/runtime-core",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/runtime-core", "description": "@vue/runtime-core",
"main": "index.js", "main": "index.js",
"module": "dist/runtime-core.esm-bundler.js", "module": "dist/runtime-core.esm-bundler.js",
@ -32,7 +32,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-core#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@vue/reactivity": "3.2.24" "@vue/reactivity": "3.2.25"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/runtime-dom", "name": "@vue/runtime-dom",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/runtime-dom", "description": "@vue/runtime-dom",
"main": "index.js", "main": "index.js",
"module": "dist/runtime-dom.esm-bundler.js", "module": "dist/runtime-dom.esm-bundler.js",
@ -35,8 +35,8 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-dom#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-dom#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@vue/runtime-core": "3.2.24", "@vue/runtime-core": "3.2.25",
"csstype": "^2.6.8" "csstype": "^2.6.8"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/runtime-test", "name": "@vue/runtime-test",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/runtime-test", "description": "@vue/runtime-test",
"private": true, "private": true,
"main": "index.js", "main": "index.js",
@ -25,7 +25,7 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@vue/runtime-core": "3.2.24" "@vue/runtime-core": "3.2.25"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/server-renderer", "name": "@vue/server-renderer",
"version": "3.2.24", "version": "3.2.25",
"description": "@vue/server-renderer", "description": "@vue/server-renderer",
"main": "index.js", "main": "index.js",
"module": "dist/server-renderer.esm-bundler.js", "module": "dist/server-renderer.esm-bundler.js",
@ -31,10 +31,10 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/server-renderer#readme",
"peerDependencies": { "peerDependencies": {
"vue": "3.2.24" "vue": "3.2.25"
}, },
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@vue/compiler-ssr": "3.2.24" "@vue/compiler-ssr": "3.2.25"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/sfc-playground", "name": "@vue/sfc-playground",
"version": "3.2.24", "version": "3.2.25",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
@ -12,7 +12,7 @@
"vite": "^2.7.1" "vite": "^2.7.1"
}, },
"dependencies": { "dependencies": {
"vue": "workspace:*", "vue": "3.2.25",
"@vue/repl": "^0.4.5", "@vue/repl": "^0.4.5",
"file-saver": "^2.0.5", "file-saver": "^2.0.5",
"jszip": "^3.6.0" "jszip": "^3.6.0"

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/shared", "name": "@vue/shared",
"version": "3.2.24", "version": "3.2.25",
"description": "internal utils shared across @vue packages", "description": "internal utils shared across @vue packages",
"main": "index.js", "main": "index.js",
"module": "dist/shared.esm-bundler.js", "module": "dist/shared.esm-bundler.js",

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/size-check", "name": "@vue/size-check",
"version": "3.2.24", "version": "3.2.25",
"private": true, "private": true,
"scripts": { "scripts": {
"build": "vite build" "build": "vite build"

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/template-explorer", "name": "@vue/template-explorer",
"version": "3.2.24", "version": "3.2.25",
"private": true, "private": true,
"buildOptions": { "buildOptions": {
"formats": [ "formats": [

View File

@ -1,6 +1,6 @@
{ {
"name": "@vue/compat", "name": "@vue/compat",
"version": "3.2.24", "version": "3.2.25",
"description": "Vue 3 compatibility build for Vue 2", "description": "Vue 3 compatibility build for Vue 2",
"main": "index.js", "main": "index.js",
"module": "dist/vue.runtime.esm-bundler.js", "module": "dist/vue.runtime.esm-bundler.js",
@ -38,6 +38,6 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue-compat#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue-compat#readme",
"peerDependencies": { "peerDependencies": {
"vue": "3.2.24" "vue": "3.2.25"
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "vue", "name": "vue",
"version": "3.2.24", "version": "3.2.25",
"description": "The progressive JavaScript framework for building modern web UI.", "description": "The progressive JavaScript framework for building modern web UI.",
"main": "index.js", "main": "index.js",
"module": "dist/vue.runtime.esm-bundler.js", "module": "dist/vue.runtime.esm-bundler.js",
@ -64,10 +64,10 @@
}, },
"homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme", "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme",
"dependencies": { "dependencies": {
"@vue/shared": "3.2.24", "@vue/shared": "3.2.25",
"@vue/compiler-dom": "3.2.24", "@vue/compiler-dom": "3.2.25",
"@vue/runtime-dom": "3.2.24", "@vue/runtime-dom": "3.2.25",
"@vue/compiler-sfc": "3.2.24", "@vue/compiler-sfc": "3.2.25",
"@vue/server-renderer": "3.2.24" "@vue/server-renderer": "3.2.25"
} }
} }

View File

@ -100,7 +100,7 @@ importers:
specifiers: specifiers:
'@babel/parser': ^7.16.4 '@babel/parser': ^7.16.4
'@babel/types': ^7.16.0 '@babel/types': ^7.16.0
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
estree-walker: ^2.0.2 estree-walker: ^2.0.2
source-map: ^0.6.1 source-map: ^0.6.1
dependencies: dependencies:
@ -113,8 +113,8 @@ importers:
packages/compiler-dom: packages/compiler-dom:
specifiers: specifiers:
'@vue/compiler-core': 3.2.24 '@vue/compiler-core': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
dependencies: dependencies:
'@vue/compiler-core': link:../compiler-core '@vue/compiler-core': link:../compiler-core
'@vue/shared': link:../shared '@vue/shared': link:../shared
@ -125,12 +125,12 @@ importers:
'@babel/types': ^7.16.0 '@babel/types': ^7.16.0
'@types/estree': ^0.0.48 '@types/estree': ^0.0.48
'@types/lru-cache': ^5.1.0 '@types/lru-cache': ^5.1.0
'@vue/compiler-core': 3.2.24 '@vue/compiler-core': 3.2.25
'@vue/compiler-dom': 3.2.24 '@vue/compiler-dom': 3.2.25
'@vue/compiler-ssr': 3.2.24 '@vue/compiler-ssr': 3.2.25
'@vue/consolidate': ^0.17.3 '@vue/consolidate': ^0.17.3
'@vue/reactivity-transform': 3.2.24 '@vue/reactivity-transform': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
estree-walker: ^2.0.2 estree-walker: ^2.0.2
hash-sum: ^2.0.0 hash-sum: ^2.0.0
lru-cache: ^5.1.1 lru-cache: ^5.1.1
@ -168,15 +168,15 @@ importers:
packages/compiler-ssr: packages/compiler-ssr:
specifiers: specifiers:
'@vue/compiler-dom': 3.2.24 '@vue/compiler-dom': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
dependencies: dependencies:
'@vue/compiler-dom': link:../compiler-dom '@vue/compiler-dom': link:../compiler-dom
'@vue/shared': link:../shared '@vue/shared': link:../shared
packages/reactivity: packages/reactivity:
specifiers: specifiers:
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
dependencies: dependencies:
'@vue/shared': link:../shared '@vue/shared': link:../shared
@ -185,8 +185,8 @@ importers:
'@babel/core': ^7.16.0 '@babel/core': ^7.16.0
'@babel/parser': ^7.16.4 '@babel/parser': ^7.16.4
'@babel/types': ^7.16.0 '@babel/types': ^7.16.0
'@vue/compiler-core': 3.2.24 '@vue/compiler-core': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
estree-walker: ^2.0.2 estree-walker: ^2.0.2
magic-string: ^0.25.7 magic-string: ^0.25.7
dependencies: dependencies:
@ -201,16 +201,16 @@ importers:
packages/runtime-core: packages/runtime-core:
specifiers: specifiers:
'@vue/reactivity': 3.2.24 '@vue/reactivity': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
dependencies: dependencies:
'@vue/reactivity': link:../reactivity '@vue/reactivity': link:../reactivity
'@vue/shared': link:../shared '@vue/shared': link:../shared
packages/runtime-dom: packages/runtime-dom:
specifiers: specifiers:
'@vue/runtime-core': 3.2.24 '@vue/runtime-core': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
csstype: ^2.6.8 csstype: ^2.6.8
dependencies: dependencies:
'@vue/runtime-core': link:../runtime-core '@vue/runtime-core': link:../runtime-core
@ -219,16 +219,16 @@ importers:
packages/runtime-test: packages/runtime-test:
specifiers: specifiers:
'@vue/runtime-core': 3.2.24 '@vue/runtime-core': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
dependencies: dependencies:
'@vue/runtime-core': link:../runtime-core '@vue/runtime-core': link:../runtime-core
'@vue/shared': link:../shared '@vue/shared': link:../shared
packages/server-renderer: packages/server-renderer:
specifiers: specifiers:
'@vue/compiler-ssr': 3.2.24 '@vue/compiler-ssr': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
dependencies: dependencies:
'@vue/compiler-ssr': link:../compiler-ssr '@vue/compiler-ssr': link:../compiler-ssr
'@vue/shared': link:../shared '@vue/shared': link:../shared
@ -240,7 +240,7 @@ importers:
file-saver: ^2.0.5 file-saver: ^2.0.5
jszip: ^3.6.0 jszip: ^3.6.0
vite: ^2.7.1 vite: ^2.7.1
vue: workspace:* vue: 3.2.25
dependencies: dependencies:
'@vue/repl': 0.4.5 '@vue/repl': 0.4.5
file-saver: 2.0.5 file-saver: 2.0.5
@ -266,11 +266,11 @@ importers:
packages/vue: packages/vue:
specifiers: specifiers:
'@vue/compiler-dom': 3.2.24 '@vue/compiler-dom': 3.2.25
'@vue/compiler-sfc': 3.2.24 '@vue/compiler-sfc': 3.2.25
'@vue/runtime-dom': 3.2.24 '@vue/runtime-dom': 3.2.25
'@vue/server-renderer': 3.2.24 '@vue/server-renderer': 3.2.25
'@vue/shared': 3.2.24 '@vue/shared': 3.2.25
dependencies: dependencies:
'@vue/compiler-dom': link:../compiler-dom '@vue/compiler-dom': link:../compiler-dom
'@vue/compiler-sfc': link:../compiler-sfc '@vue/compiler-sfc': link:../compiler-sfc