From 635d88aa9ece62d2e26ec5d050294824d6b147d7 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 15 Nov 2021 11:45:05 +0800 Subject: [PATCH] release: v3.2.22 --- CHANGELOG.md | 15 +++++++ package.json | 2 +- packages/compiler-core/package.json | 4 +- packages/compiler-dom/package.json | 6 +-- packages/compiler-sfc/package.json | 12 +++--- packages/compiler-ssr/package.json | 6 +-- packages/reactivity/package.json | 4 +- packages/ref-transform/package.json | 6 +-- packages/runtime-core/package.json | 6 +-- packages/runtime-dom/package.json | 6 +-- packages/runtime-test/package.json | 6 +-- packages/server-renderer/package.json | 8 ++-- packages/sfc-playground/package.json | 4 +- packages/shared/package.json | 2 +- packages/size-check/package.json | 2 +- packages/template-explorer/package.json | 2 +- packages/vue-compat/package.json | 4 +- packages/vue/package.json | 12 +++--- pnpm-lock.yaml | 54 ++++++++++++------------- 19 files changed, 88 insertions(+), 73 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3128336d..f6e6e949 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,18 @@ +## [3.2.22](https://github.com/vuejs/vue-next/compare/v3.2.21...v3.2.22) (2021-11-15) + + +### Bug Fixes + +* **compiler-sfc:** add type for props include Function in prod mode ([#4938](https://github.com/vuejs/vue-next/issues/4938)) ([9c42a1e](https://github.com/vuejs/vue-next/commit/9c42a1e2a3385f3b33faed5cdcc430bf8c1fc4b2)) +* **compiler-sfc:** add type for props's properties in prod mode ([#4790](https://github.com/vuejs/vue-next/issues/4790)) ([090df08](https://github.com/vuejs/vue-next/commit/090df0837eb0aedd8a02fd0107b7668ca5c136a1)), closes [#4783](https://github.com/vuejs/vue-next/issues/4783) +* **compiler-sfc:** externalRE support automatic http/https prefix url pattern ([#4922](https://github.com/vuejs/vue-next/issues/4922)) ([574070f](https://github.com/vuejs/vue-next/commit/574070f43f804fd855f4ee319936ec770a56cef0)), closes [#4920](https://github.com/vuejs/vue-next/issues/4920) +* **compiler-sfc:** fix expose codegen edge case ([#4919](https://github.com/vuejs/vue-next/issues/4919)) ([31fd590](https://github.com/vuejs/vue-next/commit/31fd590fd47e2dc89b84687ffe26a5c6f05fea34)), closes [#4917](https://github.com/vuejs/vue-next/issues/4917) +* **devtool:** improve devtools late injection browser env detection ([#4890](https://github.com/vuejs/vue-next/issues/4890)) ([fa2237f](https://github.com/vuejs/vue-next/commit/fa2237f1d824eac511c4246135318594c48dc121)) +* **runtime-core:** improve dedupe listeners when attr fallthrough ([#4912](https://github.com/vuejs/vue-next/issues/4912)) ([b4eb7e3](https://github.com/vuejs/vue-next/commit/b4eb7e3866d7dc722d93a48f4faae1696d4e7023)), closes [#4859](https://github.com/vuejs/vue-next/issues/4859) +* **types/sfc:** fix withDefaults type inference when using union types ([#4925](https://github.com/vuejs/vue-next/issues/4925)) ([04e5835](https://github.com/vuejs/vue-next/commit/04e58351965caf489ac68e4961ef70448d954912)) + + + ## [3.2.21](https://github.com/vuejs/vue-next/compare/v3.2.20...v3.2.21) (2021-11-02) diff --git a/package.json b/package.json index f57c1f0f..fcfd1f52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.2.21", + "version": "3.2.22", "scripts": { "dev": "node scripts/dev.js", "build": "node scripts/build.js", diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index d8b95392..ccf38294 100644 --- a/packages/compiler-core/package.json +++ b/packages/compiler-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-core", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/compiler-core", "main": "index.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", "dependencies": { - "@vue/shared": "3.2.21", + "@vue/shared": "3.2.22", "@babel/parser": "^7.15.0", "estree-walker": "^2.0.2", "source-map": "^0.6.1" diff --git a/packages/compiler-dom/package.json b/packages/compiler-dom/package.json index b2b196a4..f9bd8bbc 100644 --- a/packages/compiler-dom/package.json +++ b/packages/compiler-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-dom", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/compiler-dom", "main": "index.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", "dependencies": { - "@vue/shared": "3.2.21", - "@vue/compiler-core": "3.2.21" + "@vue/shared": "3.2.22", + "@vue/compiler-core": "3.2.22" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index 49ca76c3..48f547b1 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-sfc", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/compiler-sfc", "main": "dist/compiler-sfc.cjs.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", "dependencies": { "@babel/parser": "^7.15.0", - "@vue/compiler-core": "3.2.21", - "@vue/compiler-dom": "3.2.21", - "@vue/compiler-ssr": "3.2.21", - "@vue/ref-transform": "3.2.21", - "@vue/shared": "3.2.21", + "@vue/compiler-core": "3.2.22", + "@vue/compiler-dom": "3.2.22", + "@vue/compiler-ssr": "3.2.22", + "@vue/ref-transform": "3.2.22", + "@vue/shared": "3.2.22", "estree-walker": "^2.0.2", "magic-string": "^0.25.7", "source-map": "^0.6.1", diff --git a/packages/compiler-ssr/package.json b/packages/compiler-ssr/package.json index 90781b50..b4091cb7 100644 --- a/packages/compiler-ssr/package.json +++ b/packages/compiler-ssr/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-ssr", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/compiler-ssr", "main": "dist/compiler-ssr.cjs.js", "types": "dist/compiler-ssr.d.ts", @@ -28,7 +28,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/compiler-ssr#readme", "dependencies": { - "@vue/shared": "3.2.21", - "@vue/compiler-dom": "3.2.21" + "@vue/shared": "3.2.22", + "@vue/compiler-dom": "3.2.22" } } diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index f2e8ef00..18355fa3 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/reactivity", "main": "index.js", "module": "dist/reactivity.esm-bundler.js", @@ -36,6 +36,6 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/reactivity#readme", "dependencies": { - "@vue/shared": "3.2.21" + "@vue/shared": "3.2.22" } } diff --git a/packages/ref-transform/package.json b/packages/ref-transform/package.json index ca1bf8c2..08e65f86 100644 --- a/packages/ref-transform/package.json +++ b/packages/ref-transform/package.json @@ -1,6 +1,6 @@ { "name": "@vue/ref-transform", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/ref-transform", "main": "dist/ref-transform.cjs.js", "files": [ @@ -29,8 +29,8 @@ "homepage": "https://github.com/vuejs/vue-next/tree/dev/packages/ref-transform#readme", "dependencies": { "@babel/parser": "^7.15.0", - "@vue/compiler-core": "3.2.21", - "@vue/shared": "3.2.21", + "@vue/compiler-core": "3.2.22", + "@vue/shared": "3.2.22", "estree-walker": "^2.0.2", "magic-string": "^0.25.7" }, diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index b95a8b33..c5bb243e 100644 --- a/packages/runtime-core/package.json +++ b/packages/runtime-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-core", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/runtime-core", "main": "index.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", "dependencies": { - "@vue/shared": "3.2.21", - "@vue/reactivity": "3.2.21" + "@vue/shared": "3.2.22", + "@vue/reactivity": "3.2.22" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index 13437283..38423f3d 100644 --- a/packages/runtime-dom/package.json +++ b/packages/runtime-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-dom", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/runtime-dom", "main": "index.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", "dependencies": { - "@vue/shared": "3.2.21", - "@vue/runtime-core": "3.2.21", + "@vue/shared": "3.2.22", + "@vue/runtime-core": "3.2.22", "csstype": "^2.6.8" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index 67c07098..aeab88bd 100644 --- a/packages/runtime-test/package.json +++ b/packages/runtime-test/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-test", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/runtime-test", "private": true, "main": "index.js", @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/runtime-test#readme", "dependencies": { - "@vue/shared": "3.2.21", - "@vue/runtime-core": "3.2.21" + "@vue/shared": "3.2.22", + "@vue/runtime-core": "3.2.22" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index 953378f7..12357402 100644 --- a/packages/server-renderer/package.json +++ b/packages/server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/server-renderer", - "version": "3.2.21", + "version": "3.2.22", "description": "@vue/server-renderer", "main": "index.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", "peerDependencies": { - "vue": "3.2.21" + "vue": "3.2.22" }, "dependencies": { - "@vue/shared": "3.2.21", - "@vue/compiler-ssr": "3.2.21" + "@vue/shared": "3.2.22", + "@vue/compiler-ssr": "3.2.22" } } diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index 93c3ee63..c40350cc 100644 --- a/packages/sfc-playground/package.json +++ b/packages/sfc-playground/package.json @@ -1,6 +1,6 @@ { "name": "@vue/sfc-playground", - "version": "3.2.21", + "version": "3.2.22", "private": true, "scripts": { "dev": "vite", @@ -11,7 +11,7 @@ "@vitejs/plugin-vue": "^1.9.3" }, "dependencies": { - "vue": "3.2.21", + "vue": "3.2.22", "@vue/repl": "^0.4.4", "file-saver": "^2.0.5", "jszip": "^3.6.0" diff --git a/packages/shared/package.json b/packages/shared/package.json index 88d62d0a..05df8729 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.2.21", + "version": "3.2.22", "description": "internal utils shared across @vue packages", "main": "index.js", "module": "dist/shared.esm-bundler.js", diff --git a/packages/size-check/package.json b/packages/size-check/package.json index 8c3a87c0..1faa5490 100644 --- a/packages/size-check/package.json +++ b/packages/size-check/package.json @@ -1,6 +1,6 @@ { "name": "@vue/size-check", - "version": "3.2.21", + "version": "3.2.22", "private": true, "scripts": { "build": "vite build" diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index 5de1f08f..42290f87 100644 --- a/packages/template-explorer/package.json +++ b/packages/template-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/template-explorer", - "version": "3.2.21", + "version": "3.2.22", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue-compat/package.json b/packages/vue-compat/package.json index 38d3e4d6..46cedf24 100644 --- a/packages/vue-compat/package.json +++ b/packages/vue-compat/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compat", - "version": "3.2.21", + "version": "3.2.22", "description": "Vue 3 compatibility build for Vue 2", "main": "index.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", "peerDependencies": { - "vue": "3.2.21" + "vue": "3.2.22" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 6b71bf46..c8f91480 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.2.21", + "version": "3.2.22", "description": "The progressive JavaScript framework for buiding modern web UI.", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -61,10 +61,10 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme", "dependencies": { - "@vue/shared": "3.2.21", - "@vue/compiler-dom": "3.2.21", - "@vue/runtime-dom": "3.2.21", - "@vue/compiler-sfc": "3.2.21", - "@vue/server-renderer": "3.2.21" + "@vue/shared": "3.2.22", + "@vue/compiler-dom": "3.2.22", + "@vue/runtime-dom": "3.2.22", + "@vue/compiler-sfc": "3.2.22", + "@vue/server-renderer": "3.2.22" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 93d07af1..1fd96811 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -100,7 +100,7 @@ importers: specifiers: '@babel/parser': ^7.15.0 '@babel/types': ^7.15.0 - '@vue/shared': 3.2.21 + '@vue/shared': 3.2.22 estree-walker: ^2.0.2 source-map: ^0.6.1 dependencies: @@ -113,8 +113,8 @@ importers: packages/compiler-dom: specifiers: - '@vue/compiler-core': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/compiler-core': 3.2.22 + '@vue/shared': 3.2.22 dependencies: '@vue/compiler-core': link:../compiler-core '@vue/shared': link:../shared @@ -125,12 +125,12 @@ importers: '@babel/types': ^7.15.0 '@types/estree': ^0.0.48 '@types/lru-cache': ^5.1.0 - '@vue/compiler-core': 3.2.21 - '@vue/compiler-dom': 3.2.21 - '@vue/compiler-ssr': 3.2.21 + '@vue/compiler-core': 3.2.22 + '@vue/compiler-dom': 3.2.22 + '@vue/compiler-ssr': 3.2.22 '@vue/consolidate': ^0.17.3 - '@vue/ref-transform': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/ref-transform': 3.2.22 + '@vue/shared': 3.2.22 estree-walker: ^2.0.2 hash-sum: ^2.0.0 lru-cache: ^5.1.1 @@ -168,15 +168,15 @@ importers: packages/compiler-ssr: specifiers: - '@vue/compiler-dom': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/compiler-dom': 3.2.22 + '@vue/shared': 3.2.22 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/shared': link:../shared packages/reactivity: specifiers: - '@vue/shared': 3.2.21 + '@vue/shared': 3.2.22 dependencies: '@vue/shared': link:../shared @@ -184,8 +184,8 @@ importers: specifiers: '@babel/core': ^7.15.0 '@babel/parser': ^7.15.0 - '@vue/compiler-core': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/compiler-core': 3.2.22 + '@vue/shared': 3.2.22 estree-walker: ^2.0.2 magic-string: ^0.25.7 dependencies: @@ -199,16 +199,16 @@ importers: packages/runtime-core: specifiers: - '@vue/reactivity': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/reactivity': 3.2.22 + '@vue/shared': 3.2.22 dependencies: '@vue/reactivity': link:../reactivity '@vue/shared': link:../shared packages/runtime-dom: specifiers: - '@vue/runtime-core': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/runtime-core': 3.2.22 + '@vue/shared': 3.2.22 csstype: ^2.6.8 dependencies: '@vue/runtime-core': link:../runtime-core @@ -217,16 +217,16 @@ importers: packages/runtime-test: specifiers: - '@vue/runtime-core': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/runtime-core': 3.2.22 + '@vue/shared': 3.2.22 dependencies: '@vue/runtime-core': link:../runtime-core '@vue/shared': link:../shared packages/server-renderer: specifiers: - '@vue/compiler-ssr': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/compiler-ssr': 3.2.22 + '@vue/shared': 3.2.22 dependencies: '@vue/compiler-ssr': link:../compiler-ssr '@vue/shared': link:../shared @@ -237,7 +237,7 @@ importers: '@vue/repl': ^0.4.4 file-saver: ^2.0.5 jszip: ^3.6.0 - vue: 3.2.21 + vue: 3.2.22 dependencies: '@vue/repl': 0.4.4 file-saver: 2.0.5 @@ -265,11 +265,11 @@ importers: packages/vue: specifiers: - '@vue/compiler-dom': 3.2.21 - '@vue/compiler-sfc': 3.2.21 - '@vue/runtime-dom': 3.2.21 - '@vue/server-renderer': 3.2.21 - '@vue/shared': 3.2.21 + '@vue/compiler-dom': 3.2.22 + '@vue/compiler-sfc': 3.2.22 + '@vue/runtime-dom': 3.2.22 + '@vue/server-renderer': 3.2.22 + '@vue/shared': 3.2.22 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/compiler-sfc': link:../compiler-sfc