diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d6e4dc0..ab6b4946 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +## [3.2.27](https://github.com/vuejs/vue-next/compare/v3.2.26...v3.2.27) (2022-01-16) + + +### Bug Fixes + +* **KeepAlive:** remove cached VNode properly ([#5260](https://github.com/vuejs/vue-next/issues/5260)) ([2e3e183](https://github.com/vuejs/vue-next/commit/2e3e183b4f19c9e25865e35438653cbc9bf01afc)), closes [#5258](https://github.com/vuejs/vue-next/issues/5258) +* **reactivity-transform:** should not rewrite for...in / for...of scope variables ([7007ffb](https://github.com/vuejs/vue-next/commit/7007ffb2c796d6d56b9c8e278c54dc1cefd7b58f)) +* **sfc-playground:** hide title to avoid overlap ([#5099](https://github.com/vuejs/vue-next/issues/5099)) ([44b9527](https://github.com/vuejs/vue-next/commit/44b95276f5c086e1d88fa3c686a5f39eb5bb7821)) +* **ssr:** make computed inactive during ssr, fix memory leak ([f4f0966](https://github.com/vuejs/vue-next/commit/f4f0966b33863ac0fca6a20cf9e8ddfbb311ae87)), closes [#5208](https://github.com/vuejs/vue-next/issues/5208) +* **ssr:** remove missing ssr directive transform error ([55cc4af](https://github.com/vuejs/vue-next/commit/55cc4af25e6f4924b267620bd965e496f260d41a)) +* **types/tsx:** allow ref_for type on tsx elements ([78df8c7](https://github.com/vuejs/vue-next/commit/78df8c78c4539d2408278d1a11612b6bbc47d22f)) +* **types:** fix shallowReadonly type ([92f11d6](https://github.com/vuejs/vue-next/commit/92f11d6740929f5b591740e30ae5fba50940ec82)) +* **types:** handle ToRef ([5ac7030](https://github.com/vuejs/vue-next/commit/5ac703055fa83cb1e8a173bbd6a4d6c33707a3c3)), closes [#5188](https://github.com/vuejs/vue-next/issues/5188) +* **types:** KeepAlive match pattern should allow mixed array ([3007d5b](https://github.com/vuejs/vue-next/commit/3007d5b4cafed1da445bc498f771bd2c79eda6fc)) + + +### Features + +* **types:** simplify `ExtractPropTypes` to avoid props JSDocs being removed ([#5166](https://github.com/vuejs/vue-next/issues/5166)) ([a570b38](https://github.com/vuejs/vue-next/commit/a570b38741a7dc259772c5ccce7ea8a1638eb0bd)) + + +### Performance Improvements + +* improve memory usage for static vnodes ([ed9eb62](https://github.com/vuejs/vue-next/commit/ed9eb62e5992bd575d999c4197330d8bad622cfb)) + + + ## [3.2.26](https://github.com/vuejs/vue-next/compare/v3.2.25...v3.2.26) (2021-12-12) diff --git a/package.json b/package.json index 5fb460cc..6fabb1c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.2.26", + "version": "3.2.27", "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 edadd90b..097681e4 100644 --- a/packages/compiler-core/package.json +++ b/packages/compiler-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-core", - "version": "3.2.26", + "version": "3.2.27", "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.26", + "@vue/shared": "3.2.27", "@babel/parser": "^7.16.4", "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 b2529f9b..2451f640 100644 --- a/packages/compiler-dom/package.json +++ b/packages/compiler-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-dom", - "version": "3.2.26", + "version": "3.2.27", "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.26", - "@vue/compiler-core": "3.2.26" + "@vue/shared": "3.2.27", + "@vue/compiler-core": "3.2.27" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index beb3ef9a..f0f434d4 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-sfc", - "version": "3.2.26", + "version": "3.2.27", "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.16.4", - "@vue/compiler-core": "3.2.26", - "@vue/compiler-dom": "3.2.26", - "@vue/compiler-ssr": "3.2.26", - "@vue/reactivity-transform": "3.2.26", - "@vue/shared": "3.2.26", + "@vue/compiler-core": "3.2.27", + "@vue/compiler-dom": "3.2.27", + "@vue/compiler-ssr": "3.2.27", + "@vue/reactivity-transform": "3.2.27", + "@vue/shared": "3.2.27", "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 5d580a56..d0e24cfe 100644 --- a/packages/compiler-ssr/package.json +++ b/packages/compiler-ssr/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-ssr", - "version": "3.2.26", + "version": "3.2.27", "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.26", - "@vue/compiler-dom": "3.2.26" + "@vue/shared": "3.2.27", + "@vue/compiler-dom": "3.2.27" } } diff --git a/packages/reactivity-transform/package.json b/packages/reactivity-transform/package.json index 73e23947..1ab3860a 100644 --- a/packages/reactivity-transform/package.json +++ b/packages/reactivity-transform/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity-transform", - "version": "3.2.26", + "version": "3.2.27", "description": "@vue/reactivity-transform", "main": "dist/reactivity-transform.cjs.js", "files": [ @@ -29,8 +29,8 @@ "homepage": "https://github.com/vuejs/vue-next/tree/dev/packages/reactivity-transform#readme", "dependencies": { "@babel/parser": "^7.16.4", - "@vue/compiler-core": "3.2.26", - "@vue/shared": "3.2.26", + "@vue/compiler-core": "3.2.27", + "@vue/shared": "3.2.27", "estree-walker": "^2.0.2", "magic-string": "^0.25.7" }, diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index f799cd31..6ff3b793 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.2.26", + "version": "3.2.27", "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.26" + "@vue/shared": "3.2.27" } } diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index ff5613b3..317c7da9 100644 --- a/packages/runtime-core/package.json +++ b/packages/runtime-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-core", - "version": "3.2.26", + "version": "3.2.27", "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.26", - "@vue/reactivity": "3.2.26" + "@vue/shared": "3.2.27", + "@vue/reactivity": "3.2.27" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index 4203594c..396d4fcd 100644 --- a/packages/runtime-dom/package.json +++ b/packages/runtime-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-dom", - "version": "3.2.26", + "version": "3.2.27", "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.26", - "@vue/runtime-core": "3.2.26", + "@vue/shared": "3.2.27", + "@vue/runtime-core": "3.2.27", "csstype": "^2.6.8" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index 10cf10ea..23dd5933 100644 --- a/packages/runtime-test/package.json +++ b/packages/runtime-test/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-test", - "version": "3.2.26", + "version": "3.2.27", "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.26", - "@vue/runtime-core": "3.2.26" + "@vue/shared": "3.2.27", + "@vue/runtime-core": "3.2.27" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index 0c9eec99..90754109 100644 --- a/packages/server-renderer/package.json +++ b/packages/server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/server-renderer", - "version": "3.2.26", + "version": "3.2.27", "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.26" + "vue": "3.2.27" }, "dependencies": { - "@vue/shared": "3.2.26", - "@vue/compiler-ssr": "3.2.26" + "@vue/shared": "3.2.27", + "@vue/compiler-ssr": "3.2.27" } } diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index fb217828..30d76c9a 100644 --- a/packages/sfc-playground/package.json +++ b/packages/sfc-playground/package.json @@ -1,6 +1,6 @@ { "name": "@vue/sfc-playground", - "version": "3.2.26", + "version": "3.2.27", "private": true, "scripts": { "dev": "vite", @@ -12,7 +12,7 @@ "vite": "^2.7.1" }, "dependencies": { - "vue": "3.2.26", + "vue": "3.2.27", "@vue/repl": "^0.4.8", "file-saver": "^2.0.5", "jszip": "^3.6.0" diff --git a/packages/shared/package.json b/packages/shared/package.json index a41f9c5f..08bd54d1 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.2.26", + "version": "3.2.27", "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 3789b7c9..1bbb29bb 100644 --- a/packages/size-check/package.json +++ b/packages/size-check/package.json @@ -1,6 +1,6 @@ { "name": "@vue/size-check", - "version": "3.2.26", + "version": "3.2.27", "private": true, "scripts": { "build": "vite build" diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index 338d6987..05c02976 100644 --- a/packages/template-explorer/package.json +++ b/packages/template-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/template-explorer", - "version": "3.2.26", + "version": "3.2.27", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue-compat/package.json b/packages/vue-compat/package.json index 7795b639..753c5650 100644 --- a/packages/vue-compat/package.json +++ b/packages/vue-compat/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compat", - "version": "3.2.26", + "version": "3.2.27", "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.26" + "vue": "3.2.27" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index e31b4aaa..d62b1bb7 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.2.26", + "version": "3.2.27", "description": "The progressive JavaScript framework for building modern web UI.", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -66,10 +66,10 @@ }, "homepage": "https://github.com/vuejs/vue-next/tree/master/packages/vue#readme", "dependencies": { - "@vue/shared": "3.2.26", - "@vue/compiler-dom": "3.2.26", - "@vue/runtime-dom": "3.2.26", - "@vue/compiler-sfc": "3.2.26", - "@vue/server-renderer": "3.2.26" + "@vue/shared": "3.2.27", + "@vue/compiler-dom": "3.2.27", + "@vue/runtime-dom": "3.2.27", + "@vue/compiler-sfc": "3.2.27", + "@vue/server-renderer": "3.2.27" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 714ed713..79f5d796 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -104,7 +104,7 @@ importers: specifiers: '@babel/parser': ^7.16.4 '@babel/types': ^7.16.0 - '@vue/shared': 3.2.26 + '@vue/shared': 3.2.27 estree-walker: ^2.0.2 source-map: ^0.6.1 dependencies: @@ -117,8 +117,8 @@ importers: packages/compiler-dom: specifiers: - '@vue/compiler-core': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/compiler-core': 3.2.27 + '@vue/shared': 3.2.27 dependencies: '@vue/compiler-core': link:../compiler-core '@vue/shared': link:../shared @@ -129,12 +129,12 @@ importers: '@babel/types': ^7.16.0 '@types/estree': ^0.0.48 '@types/lru-cache': ^5.1.0 - '@vue/compiler-core': 3.2.26 - '@vue/compiler-dom': 3.2.26 - '@vue/compiler-ssr': 3.2.26 + '@vue/compiler-core': 3.2.27 + '@vue/compiler-dom': 3.2.27 + '@vue/compiler-ssr': 3.2.27 '@vue/consolidate': ^0.17.3 - '@vue/reactivity-transform': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/reactivity-transform': 3.2.27 + '@vue/shared': 3.2.27 estree-walker: ^2.0.2 hash-sum: ^2.0.0 lru-cache: ^5.1.1 @@ -172,15 +172,15 @@ importers: packages/compiler-ssr: specifiers: - '@vue/compiler-dom': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/compiler-dom': 3.2.27 + '@vue/shared': 3.2.27 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/shared': link:../shared packages/reactivity: specifiers: - '@vue/shared': 3.2.26 + '@vue/shared': 3.2.27 dependencies: '@vue/shared': link:../shared @@ -189,8 +189,8 @@ importers: '@babel/core': ^7.16.0 '@babel/parser': ^7.16.4 '@babel/types': ^7.16.0 - '@vue/compiler-core': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/compiler-core': 3.2.27 + '@vue/shared': 3.2.27 estree-walker: ^2.0.2 magic-string: ^0.25.7 dependencies: @@ -205,16 +205,16 @@ importers: packages/runtime-core: specifiers: - '@vue/reactivity': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/reactivity': 3.2.27 + '@vue/shared': 3.2.27 dependencies: '@vue/reactivity': link:../reactivity '@vue/shared': link:../shared packages/runtime-dom: specifiers: - '@vue/runtime-core': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/runtime-core': 3.2.27 + '@vue/shared': 3.2.27 csstype: ^2.6.8 dependencies: '@vue/runtime-core': link:../runtime-core @@ -223,16 +223,16 @@ importers: packages/runtime-test: specifiers: - '@vue/runtime-core': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/runtime-core': 3.2.27 + '@vue/shared': 3.2.27 dependencies: '@vue/runtime-core': link:../runtime-core '@vue/shared': link:../shared packages/server-renderer: specifiers: - '@vue/compiler-ssr': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/compiler-ssr': 3.2.27 + '@vue/shared': 3.2.27 dependencies: '@vue/compiler-ssr': link:../compiler-ssr '@vue/shared': link:../shared @@ -244,7 +244,7 @@ importers: file-saver: ^2.0.5 jszip: ^3.6.0 vite: ^2.7.1 - vue: 3.2.26 + vue: 3.2.27 dependencies: '@vue/repl': 0.4.8 file-saver: 2.0.5 @@ -270,11 +270,11 @@ importers: packages/vue: specifiers: - '@vue/compiler-dom': 3.2.26 - '@vue/compiler-sfc': 3.2.26 - '@vue/runtime-dom': 3.2.26 - '@vue/server-renderer': 3.2.26 - '@vue/shared': 3.2.26 + '@vue/compiler-dom': 3.2.27 + '@vue/compiler-sfc': 3.2.27 + '@vue/runtime-dom': 3.2.27 + '@vue/server-renderer': 3.2.27 + '@vue/shared': 3.2.27 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/compiler-sfc': link:../compiler-sfc