From 9a09e476679040fcec3257d42cd0dab29e95b9f2 Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 3 Apr 2023 18:19:11 +0800 Subject: [PATCH] release: v3.3.0-alpha.7 --- CHANGELOG.md | 20 +++++++++ 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/dts-test/package.json | 2 +- packages/reactivity-transform/package.json | 6 +-- packages/reactivity/package.json | 4 +- 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 | 2 +- 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 | 52 +++++++++++----------- 20 files changed, 92 insertions(+), 72 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad42a00eccb..34df3c7d0b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,23 @@ +# [3.3.0-alpha.7](https://github.com/vuejs/core/compare/v3.3.0-alpha.6...v3.3.0-alpha.7) (2023-04-03) + + +### Bug Fixes + +* **compiler-dom:** handle newlines when evaluating constants during stringification ([#7995](https://github.com/vuejs/core/issues/7995)) ([5261085](https://github.com/vuejs/core/commit/52610851137b9c5f6f57d771fd604fba309b3c97)), closes [#7994](https://github.com/vuejs/core/issues/7994) +* **compiler-sfc:** use dynamic defaults merging for methods with computed keys ([482f2e3](https://github.com/vuejs/core/commit/482f2e3434a1edc47a181890354838e206d08922)), closes [#7113](https://github.com/vuejs/core/issues/7113) + + +### Features + +* **compiler-sfc:** codegen support for defineEmits() short syntax (followup of [#7992](https://github.com/vuejs/core/issues/7992)) ([ef73ea5](https://github.com/vuejs/core/commit/ef73ea53eaf853d43e70946d2d448ae8c0a83e4f)) +* **compiler-sfc:** support arbitrary expression as withDefaults argument ([fe61944](https://github.com/vuejs/core/commit/fe619443d2e99301975de120685dbae8d66c03a6)), closes [#6459](https://github.com/vuejs/core/issues/6459) +* **reactivity:** improve support of getter usage in reactivity APIs ([#7997](https://github.com/vuejs/core/issues/7997)) ([59e8284](https://github.com/vuejs/core/commit/59e828448e7f37643cd0eaea924a764e9d314448)) +* **sfc:** revert withDefaults() deprecation ([4af5d1b](https://github.com/vuejs/core/commit/4af5d1b0754035058436f9e4e5c12aedef199177)) +* **sfc:** support more ergnomic defineEmits type syntax ([#7992](https://github.com/vuejs/core/issues/7992)) ([8876dcc](https://github.com/vuejs/core/commit/8876dccf42a7f05375d97cb18c1afdfd0fc51c94)) +* **types/slots:** support slot presence / props type checks via `defineSlots` macro and `slots` option ([#7982](https://github.com/vuejs/core/issues/7982)) ([5a2f5d5](https://github.com/vuejs/core/commit/5a2f5d59cffa36a99e6f2feab6b3ba7958b7362f)) + + + # [3.3.0-alpha.6](https://github.com/vuejs/core/compare/v3.3.0-alpha.5...v3.3.0-alpha.6) (2023-03-30) diff --git a/package.json b/package.json index e1dbd8008c5..dc81f6c9559 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "packageManager": "pnpm@7.26.0", "type": "module", "scripts": { diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index fe90675003e..682026df93f 100644 --- a/packages/compiler-core/package.json +++ b/packages/compiler-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-core", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/compiler-core", "main": "index.js", "module": "dist/compiler-core.esm-bundler.js", @@ -33,7 +33,7 @@ "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-core#readme", "dependencies": { "@babel/parser": "^7.21.3", - "@vue/shared": "3.3.0-alpha.6", + "@vue/shared": "3.3.0-alpha.7", "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 e47ad56c65a..92caea5ebe1 100644 --- a/packages/compiler-dom/package.json +++ b/packages/compiler-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-dom", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/compiler-dom", "main": "index.js", "module": "dist/compiler-dom.esm-bundler.js", @@ -37,7 +37,7 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/compiler-dom#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.6", - "@vue/compiler-core": "3.3.0-alpha.6" + "@vue/shared": "3.3.0-alpha.7", + "@vue/compiler-core": "3.3.0-alpha.7" } } diff --git a/packages/compiler-sfc/package.json b/packages/compiler-sfc/package.json index e96b2c5068f..6328889699a 100644 --- a/packages/compiler-sfc/package.json +++ b/packages/compiler-sfc/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-sfc", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "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/core/tree/main/packages/compiler-sfc#readme", "dependencies": { "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.0-alpha.6", - "@vue/compiler-dom": "3.3.0-alpha.6", - "@vue/compiler-ssr": "3.3.0-alpha.6", - "@vue/reactivity-transform": "3.3.0-alpha.6", - "@vue/shared": "3.3.0-alpha.6", + "@vue/compiler-core": "3.3.0-alpha.7", + "@vue/compiler-dom": "3.3.0-alpha.7", + "@vue/compiler-ssr": "3.3.0-alpha.7", + "@vue/reactivity-transform": "3.3.0-alpha.7", + "@vue/shared": "3.3.0-alpha.7", "estree-walker": "^2.0.2", "magic-string": "^0.30.0", "postcss": "^8.1.10", diff --git a/packages/compiler-ssr/package.json b/packages/compiler-ssr/package.json index eb10e2fdd76..eac467fd7a8 100644 --- a/packages/compiler-ssr/package.json +++ b/packages/compiler-ssr/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-ssr", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "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/core/tree/main/packages/compiler-ssr#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.6", - "@vue/compiler-dom": "3.3.0-alpha.6" + "@vue/shared": "3.3.0-alpha.7", + "@vue/compiler-dom": "3.3.0-alpha.7" } } diff --git a/packages/dts-test/package.json b/packages/dts-test/package.json index 4b33763d692..8687e34428e 100644 --- a/packages/dts-test/package.json +++ b/packages/dts-test/package.json @@ -4,5 +4,5 @@ "dependencies": { "vue": "workspace:*" }, - "version": "3.3.0-alpha.6" + "version": "3.3.0-alpha.7" } diff --git a/packages/reactivity-transform/package.json b/packages/reactivity-transform/package.json index d79e0c04e03..057cba0e604 100644 --- a/packages/reactivity-transform/package.json +++ b/packages/reactivity-transform/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity-transform", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/reactivity-transform", "main": "dist/reactivity-transform.cjs.js", "files": [ @@ -29,8 +29,8 @@ "homepage": "https://github.com/vuejs/core/tree/dev/packages/reactivity-transform#readme", "dependencies": { "@babel/parser": "^7.20.15", - "@vue/compiler-core": "3.3.0-alpha.6", - "@vue/shared": "3.3.0-alpha.6", + "@vue/compiler-core": "3.3.0-alpha.7", + "@vue/shared": "3.3.0-alpha.7", "estree-walker": "^2.0.2", "magic-string": "^0.30.0" }, diff --git a/packages/reactivity/package.json b/packages/reactivity/package.json index 02876de3080..e069619ca87 100644 --- a/packages/reactivity/package.json +++ b/packages/reactivity/package.json @@ -1,6 +1,6 @@ { "name": "@vue/reactivity", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/reactivity", "main": "index.js", "module": "dist/reactivity.esm-bundler.js", @@ -36,6 +36,6 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/reactivity#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.6" + "@vue/shared": "3.3.0-alpha.7" } } diff --git a/packages/runtime-core/package.json b/packages/runtime-core/package.json index 5bb41d12741..a09933bfc6c 100644 --- a/packages/runtime-core/package.json +++ b/packages/runtime-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-core", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/runtime-core", "main": "index.js", "module": "dist/runtime-core.esm-bundler.js", @@ -32,7 +32,7 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.6", - "@vue/reactivity": "3.3.0-alpha.6" + "@vue/shared": "3.3.0-alpha.7", + "@vue/reactivity": "3.3.0-alpha.7" } } diff --git a/packages/runtime-dom/package.json b/packages/runtime-dom/package.json index 584b8051944..ed871f75fb8 100644 --- a/packages/runtime-dom/package.json +++ b/packages/runtime-dom/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-dom", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/runtime-dom", "main": "index.js", "module": "dist/runtime-dom.esm-bundler.js", @@ -35,8 +35,8 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-dom#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.6", - "@vue/runtime-core": "3.3.0-alpha.6", + "@vue/shared": "3.3.0-alpha.7", + "@vue/runtime-core": "3.3.0-alpha.7", "csstype": "^3.1.1" } } diff --git a/packages/runtime-test/package.json b/packages/runtime-test/package.json index 3093f9ff00b..d95c02c8d96 100644 --- a/packages/runtime-test/package.json +++ b/packages/runtime-test/package.json @@ -1,6 +1,6 @@ { "name": "@vue/runtime-test", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/runtime-test", "private": true, "main": "index.js", @@ -25,7 +25,7 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-test#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.6", - "@vue/runtime-core": "3.3.0-alpha.6" + "@vue/shared": "3.3.0-alpha.7", + "@vue/runtime-core": "3.3.0-alpha.7" } } diff --git a/packages/server-renderer/package.json b/packages/server-renderer/package.json index 2665b855a63..d65afa63762 100644 --- a/packages/server-renderer/package.json +++ b/packages/server-renderer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/server-renderer", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "@vue/server-renderer", "main": "index.js", "module": "dist/server-renderer.esm-bundler.js", @@ -32,10 +32,10 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/server-renderer#readme", "peerDependencies": { - "vue": "3.3.0-alpha.6" + "vue": "3.3.0-alpha.7" }, "dependencies": { - "@vue/shared": "3.3.0-alpha.6", - "@vue/compiler-ssr": "3.3.0-alpha.6" + "@vue/shared": "3.3.0-alpha.7", + "@vue/compiler-ssr": "3.3.0-alpha.7" } } diff --git a/packages/sfc-playground/package.json b/packages/sfc-playground/package.json index 692ad25c89e..8212d1b276d 100644 --- a/packages/sfc-playground/package.json +++ b/packages/sfc-playground/package.json @@ -1,6 +1,6 @@ { "name": "@vue/sfc-playground", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "private": true, "scripts": { "dev": "vite", diff --git a/packages/shared/package.json b/packages/shared/package.json index c8a1ba38cf3..426cac33cce 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,6 @@ { "name": "@vue/shared", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "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 2acfa7579cd..314961bfbbd 100644 --- a/packages/size-check/package.json +++ b/packages/size-check/package.json @@ -1,6 +1,6 @@ { "name": "@vue/size-check", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "private": true, "scripts": { "build": "vite build" diff --git a/packages/template-explorer/package.json b/packages/template-explorer/package.json index 701bcfad6ad..b7bdd068e46 100644 --- a/packages/template-explorer/package.json +++ b/packages/template-explorer/package.json @@ -1,6 +1,6 @@ { "name": "@vue/template-explorer", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "private": true, "buildOptions": { "formats": [ diff --git a/packages/vue-compat/package.json b/packages/vue-compat/package.json index 0450ad0fd49..dcc0631d6fe 100644 --- a/packages/vue-compat/package.json +++ b/packages/vue-compat/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compat", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "Vue 3 compatibility build for Vue 2", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -43,6 +43,6 @@ "source-map": "^0.6.1" }, "peerDependencies": { - "vue": "3.3.0-alpha.6" + "vue": "3.3.0-alpha.7" } } diff --git a/packages/vue/package.json b/packages/vue/package.json index 584cf73bd84..7606ae73596 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "vue", - "version": "3.3.0-alpha.6", + "version": "3.3.0-alpha.7", "description": "The progressive JavaScript framework for building modern web UI.", "main": "index.js", "module": "dist/vue.runtime.esm-bundler.js", @@ -81,10 +81,10 @@ }, "homepage": "https://github.com/vuejs/core/tree/main/packages/vue#readme", "dependencies": { - "@vue/shared": "3.3.0-alpha.6", - "@vue/compiler-dom": "3.3.0-alpha.6", - "@vue/runtime-dom": "3.3.0-alpha.6", - "@vue/compiler-sfc": "3.3.0-alpha.6", - "@vue/server-renderer": "3.3.0-alpha.6" + "@vue/shared": "3.3.0-alpha.7", + "@vue/compiler-dom": "3.3.0-alpha.7", + "@vue/runtime-dom": "3.3.0-alpha.7", + "@vue/compiler-sfc": "3.3.0-alpha.7", + "@vue/server-renderer": "3.3.0-alpha.7" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 26862294c7e..71477814d57 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -102,7 +102,7 @@ importers: specifiers: '@babel/parser': ^7.21.3 '@babel/types': ^7.21.3 - '@vue/shared': 3.3.0-alpha.6 + '@vue/shared': 3.3.0-alpha.7 estree-walker: ^2.0.2 source-map: ^0.6.1 dependencies: @@ -115,8 +115,8 @@ importers: packages/compiler-dom: specifiers: - '@vue/compiler-core': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/compiler-core': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 dependencies: '@vue/compiler-core': link:../compiler-core '@vue/shared': link:../shared @@ -127,12 +127,12 @@ importers: '@babel/types': ^7.21.3 '@types/estree': ^0.0.48 '@types/lru-cache': ^5.1.0 - '@vue/compiler-core': 3.3.0-alpha.6 - '@vue/compiler-dom': 3.3.0-alpha.6 - '@vue/compiler-ssr': 3.3.0-alpha.6 + '@vue/compiler-core': 3.3.0-alpha.7 + '@vue/compiler-dom': 3.3.0-alpha.7 + '@vue/compiler-ssr': 3.3.0-alpha.7 '@vue/consolidate': ^0.17.3 - '@vue/reactivity-transform': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/reactivity-transform': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 estree-walker: ^2.0.2 hash-sum: ^2.0.0 lru-cache: ^5.1.1 @@ -170,8 +170,8 @@ importers: packages/compiler-ssr: specifiers: - '@vue/compiler-dom': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/compiler-dom': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/shared': link:../shared @@ -184,7 +184,7 @@ importers: packages/reactivity: specifiers: - '@vue/shared': 3.3.0-alpha.6 + '@vue/shared': 3.3.0-alpha.7 dependencies: '@vue/shared': link:../shared @@ -193,8 +193,8 @@ importers: '@babel/core': ^7.21.3 '@babel/parser': ^7.20.15 '@babel/types': ^7.21.3 - '@vue/compiler-core': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/compiler-core': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 estree-walker: ^2.0.2 magic-string: ^0.30.0 dependencies: @@ -209,16 +209,16 @@ importers: packages/runtime-core: specifiers: - '@vue/reactivity': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/reactivity': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 dependencies: '@vue/reactivity': link:../reactivity '@vue/shared': link:../shared packages/runtime-dom: specifiers: - '@vue/runtime-core': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/runtime-core': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 csstype: ^3.1.1 dependencies: '@vue/runtime-core': link:../runtime-core @@ -227,16 +227,16 @@ importers: packages/runtime-test: specifiers: - '@vue/runtime-core': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/runtime-core': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 dependencies: '@vue/runtime-core': link:../runtime-core '@vue/shared': link:../shared packages/server-renderer: specifiers: - '@vue/compiler-ssr': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/compiler-ssr': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 dependencies: '@vue/compiler-ssr': link:../compiler-ssr '@vue/shared': link:../shared @@ -277,11 +277,11 @@ importers: packages/vue: specifiers: - '@vue/compiler-dom': 3.3.0-alpha.6 - '@vue/compiler-sfc': 3.3.0-alpha.6 - '@vue/runtime-dom': 3.3.0-alpha.6 - '@vue/server-renderer': 3.3.0-alpha.6 - '@vue/shared': 3.3.0-alpha.6 + '@vue/compiler-dom': 3.3.0-alpha.7 + '@vue/compiler-sfc': 3.3.0-alpha.7 + '@vue/runtime-dom': 3.3.0-alpha.7 + '@vue/server-renderer': 3.3.0-alpha.7 + '@vue/shared': 3.3.0-alpha.7 dependencies: '@vue/compiler-dom': link:../compiler-dom '@vue/compiler-sfc': link:../compiler-sfc