Skip to content

Commit baee3a5

Browse files
Merge branch 'main' into fix/errorHandler
2 parents 13fdd13 + 19b590f commit baee3a5

File tree

117 files changed

+2534
-1484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+2534
-1484
lines changed

CHANGELOG.md

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,50 @@
1+
## [3.3.11](https://github.com/vuejs/core/compare/v3.3.10...v3.3.11) (2023-12-08)
2+
3+
4+
### Bug Fixes
5+
6+
* **custom-element:** correctly handle number type props in prod ([#8989](https://github.com/vuejs/core/issues/8989)) ([d74d364](https://github.com/vuejs/core/commit/d74d364d62db8e48881af6b5a75ce4fb5f36cc35))
7+
* **reactivity:** fix mutation on user proxy of reactive Array ([6ecbd5c](https://github.com/vuejs/core/commit/6ecbd5ce2a7f59314a8326a1d193874b87f4d8c8)), closes [#9742](https://github.com/vuejs/core/issues/9742) [#9751](https://github.com/vuejs/core/issues/9751) [#9750](https://github.com/vuejs/core/issues/9750)
8+
* **runtime-dom:** fix width and height prop check condition ([5b00286](https://github.com/vuejs/core/commit/5b002869c533220706f9788b496b8ca8d8e98609)), closes [#9762](https://github.com/vuejs/core/issues/9762)
9+
* **shared:** handle Map with symbol keys in toDisplayString ([#9731](https://github.com/vuejs/core/issues/9731)) ([364821d](https://github.com/vuejs/core/commit/364821d6bdb1775e2f55a69bcfb9f40f7acf1506)), closes [#9727](https://github.com/vuejs/core/issues/9727)
10+
* **shared:** handle more Symbol cases in toDisplayString ([983d45d](https://github.com/vuejs/core/commit/983d45d4f8eb766b5a16b7ea93b86d3c51618fa6))
11+
* **Suspense:** properly get anchor when mount fallback vnode ([#9770](https://github.com/vuejs/core/issues/9770)) ([b700328](https://github.com/vuejs/core/commit/b700328342e17dc16b19316c2e134a26107139d2)), closes [#9769](https://github.com/vuejs/core/issues/9769)
12+
* **types:** ref() return type should not be any when initial value is any ([#9768](https://github.com/vuejs/core/issues/9768)) ([cdac121](https://github.com/vuejs/core/commit/cdac12161ec27b45ded48854c3d749664b6d4a6d))
13+
* **watch:** should not fire pre watcher on child component unmount ([#7181](https://github.com/vuejs/core/issues/7181)) ([6784f0b](https://github.com/vuejs/core/commit/6784f0b1f8501746ea70d87d18ed63a62cf6b76d)), closes [#7030](https://github.com/vuejs/core/issues/7030)
14+
15+
16+
17+
## [3.3.10](https://github.com/vuejs/core/compare/v3.3.9...v3.3.10) (2023-12-04)
18+
19+
20+
### Bug Fixes
21+
22+
* **app:** prevent template from being cached between apps with different options ([#9724](https://github.com/vuejs/core/issues/9724)) ([ec71585](https://github.com/vuejs/core/commit/ec715854ca12520b2afc9e9b3981cbae05ae5206)), closes [#9618](https://github.com/vuejs/core/issues/9618)
23+
* **compiler-sfc:** avoid passing forEach index to genMap ([f12db7f](https://github.com/vuejs/core/commit/f12db7fb564a534cef2e5805cc9f54afe5d72fbf))
24+
* **compiler-sfc:** deindent pug/jade templates ([6345197](https://github.com/vuejs/core/commit/634519720a21fb5a6871454e1cadad7053a568b8)), closes [#3231](https://github.com/vuejs/core/issues/3231) [#3842](https://github.com/vuejs/core/issues/3842) [#7723](https://github.com/vuejs/core/issues/7723)
25+
* **compiler-sfc:** fix :where and :is selector in scoped mode with multiple selectors ([#9735](https://github.com/vuejs/core/issues/9735)) ([c3e2c55](https://github.com/vuejs/core/commit/c3e2c556b532656b50b8ab5cd2d9eabc26622d63)), closes [#9707](https://github.com/vuejs/core/issues/9707)
26+
* **compiler-sfc:** generate more treeshaking friendly code ([#9507](https://github.com/vuejs/core/issues/9507)) ([8d74ca0](https://github.com/vuejs/core/commit/8d74ca0e6fa2738ca6854b7e879ff59419f948c7)), closes [#9500](https://github.com/vuejs/core/issues/9500)
27+
* **compiler-sfc:** support inferring generic types ([#8511](https://github.com/vuejs/core/issues/8511)) ([eb5e307](https://github.com/vuejs/core/commit/eb5e307c0be62002e62c4c800d0dfacb39b0d4ca)), closes [#8482](https://github.com/vuejs/core/issues/8482)
28+
* **compiler-sfc:** support resolving components from props ([#8785](https://github.com/vuejs/core/issues/8785)) ([7cbcee3](https://github.com/vuejs/core/commit/7cbcee3d831241a8bd3588ae92d3f27e3641e25f))
29+
* **compiler-sfc:** throw error when failing to load TS during type resolution ([#8883](https://github.com/vuejs/core/issues/8883)) ([4936d2e](https://github.com/vuejs/core/commit/4936d2e11a8d0ca3704bfe408548cb26bb3fd5e9))
30+
* **cssVars:** cssVar names should be double-escaped when generating code for ssr ([#8824](https://github.com/vuejs/core/issues/8824)) ([5199a12](https://github.com/vuejs/core/commit/5199a12f8855cd06f24bf355708b5a2134f63176)), closes [#7823](https://github.com/vuejs/core/issues/7823)
31+
* **deps:** update compiler to ^7.23.4 ([#9681](https://github.com/vuejs/core/issues/9681)) ([31f6ebc](https://github.com/vuejs/core/commit/31f6ebc4df84490ed29fb75e7bf4259200eb51f0))
32+
* **runtime-core:** Suspense get anchor properly in Transition ([#9309](https://github.com/vuejs/core/issues/9309)) ([65f3fe2](https://github.com/vuejs/core/commit/65f3fe273127a8b68e1222fbb306d28d85f01757)), closes [#8105](https://github.com/vuejs/core/issues/8105)
33+
* **runtime-dom:** set width/height with units as attribute ([#8781](https://github.com/vuejs/core/issues/8781)) ([bfc1838](https://github.com/vuejs/core/commit/bfc1838f31199de3f189198a3c234fa7bae91386))
34+
* **ssr:** avoid computed being accidentally cached before server render ([#9688](https://github.com/vuejs/core/issues/9688)) ([30d5d93](https://github.com/vuejs/core/commit/30d5d93a92b2154406ec04f8aca6b217fa01177c)), closes [#5300](https://github.com/vuejs/core/issues/5300)
35+
* **types:** expose emits as props in functional components ([#9234](https://github.com/vuejs/core/issues/9234)) ([887e54c](https://github.com/vuejs/core/commit/887e54c347ea9eac4c721b5e2288f054873d1d30))
36+
* **types:** fix reactive collection types ([#8960](https://github.com/vuejs/core/issues/8960)) ([ad27473](https://github.com/vuejs/core/commit/ad274737015c36906d76f3189203093fa3a2e4e7)), closes [#8904](https://github.com/vuejs/core/issues/8904)
37+
* **types:** improve return type withKeys and withModifiers ([#9734](https://github.com/vuejs/core/issues/9734)) ([43c3cfd](https://github.com/vuejs/core/commit/43c3cfdec5ae5d70fa2a21e857abc2d73f1a0d07))
38+
39+
40+
### Performance Improvements
41+
42+
* optimize on* prop check ([38aaa8c](https://github.com/vuejs/core/commit/38aaa8c88648c54fe2616ad9c0961288092fcb44))
43+
* **runtime-dom:** cache modifier wrapper functions ([da4a4fb](https://github.com/vuejs/core/commit/da4a4fb5e8eee3c6d31f24ebd79a9d0feca56cb2)), closes [#8882](https://github.com/vuejs/core/issues/8882)
44+
* **v-on:** constant handlers with modifiers should not be treated as dynamic ([4d94ebf](https://github.com/vuejs/core/commit/4d94ebfe75174b340d2b794e699cad1add3600a9))
45+
46+
47+
148
## [3.3.9](https://github.com/vuejs/core/compare/v3.3.8...v3.3.9) (2023-11-25)
249

350

@@ -41,7 +88,7 @@
4188
* **compiler-sfc:** fix dynamic directive arguments usage check for slots ([#9495](https://github.com/vuejs/core/issues/9495)) ([b39fa1f](https://github.com/vuejs/core/commit/b39fa1f8157647859331ce439c42ae016a49b415)), closes [#9493](https://github.com/vuejs/core/issues/9493)
4289
* **deps:** update dependency @vue/repl to ^2.6.2 ([#9536](https://github.com/vuejs/core/issues/9536)) ([5cef325](https://github.com/vuejs/core/commit/5cef325f41e3b38657c72fa1a38dedeee1c7a60a))
4390
* **deps:** update dependency @vue/repl to ^2.6.3 ([#9540](https://github.com/vuejs/core/issues/9540)) ([176d590](https://github.com/vuejs/core/commit/176d59058c9aecffe9da4d4311e98496684f06d4))
44-
* **hydration:** fix tagName access eeror on comment/text node hydration mismatch ([dd8a0cf](https://github.com/vuejs/core/commit/dd8a0cf5dcde13d2cbd899262a0e07f16e14e489)), closes [#9531](https://github.com/vuejs/core/issues/9531)
91+
* **hydration:** fix tagName access error on comment/text node hydration mismatch ([dd8a0cf](https://github.com/vuejs/core/commit/dd8a0cf5dcde13d2cbd899262a0e07f16e14e489)), closes [#9531](https://github.com/vuejs/core/issues/9531)
4592
* **types:** avoid exposing lru-cache types in generated dts ([462aeb3](https://github.com/vuejs/core/commit/462aeb3b600765e219ded2ee9a0ed1e74df61de0)), closes [#9521](https://github.com/vuejs/core/issues/9521)
4693
* **warn:** avoid warning on empty children with Suspense ([#3962](https://github.com/vuejs/core/issues/3962)) ([405f345](https://github.com/vuejs/core/commit/405f34587a63a5f1e3d147b9848219ea98acc22d))
4794

package.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"private": true,
3-
"version": "3.3.9",
3+
"version": "3.3.11",
44
"packageManager": "[email protected]",
55
"type": "module",
66
"scripts": {
@@ -32,9 +32,10 @@
3232
"dev-sfc-run": "run-p \"dev compiler-sfc -f esm-browser\" \"dev vue -if esm-bundler-runtime\" \"dev vue -ipf esm-browser-runtime\" \"dev server-renderer -if esm-bundler\" dev-sfc-serve",
3333
"serve": "serve",
3434
"open": "open http://localhost:3000/packages/template-explorer/local.html",
35-
"build-sfc-playground": "run-s build-all-cjs build-runtime-esm build-ssr-esm build-sfc-playground-self",
35+
"build-sfc-playground": "run-s build-all-cjs build-runtime-esm build-browser-esm build-ssr-esm build-sfc-playground-self",
3636
"build-all-cjs": "node scripts/build.js vue runtime compiler reactivity reactivity-transform shared -af cjs",
3737
"build-runtime-esm": "node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler-runtime && node scripts/build.js vue -f esm-browser-runtime",
38+
"build-browser-esm": "node scripts/build.js runtime reactivity shared -af esm-bundler && node scripts/build.js vue -f esm-bundler && node scripts/build.js vue -f esm-browser",
3839
"build-ssr-esm": "node scripts/build.js compiler-sfc server-renderer -f esm-browser",
3940
"build-sfc-playground-self": "cd packages/sfc-playground && npm run build",
4041
"preinstall": "npx only-allow pnpm",
@@ -57,16 +58,16 @@
5758
"node": ">=18.12.0"
5859
},
5960
"devDependencies": {
60-
"@babel/parser": "^7.23.4",
61-
"@babel/types": "^7.23.4",
61+
"@babel/parser": "^7.23.5",
62+
"@babel/types": "^7.23.5",
6263
"@rollup/plugin-alias": "^5.0.1",
6364
"@rollup/plugin-commonjs": "^25.0.7",
6465
"@rollup/plugin-json": "^6.0.1",
6566
"@rollup/plugin-node-resolve": "^15.2.3",
6667
"@rollup/plugin-replace": "^5.0.4",
6768
"@rollup/plugin-terser": "^0.4.4",
6869
"@types/hash-sum": "^1.0.2",
69-
"@types/node": "^20.10.0",
70+
"@types/node": "^20.10.3",
7071
"@typescript-eslint/parser": "^6.13.0",
7172
"@vitest/coverage-istanbul": "^0.34.6",
7273
"@vue/consolidate": "0.17.3",
@@ -90,7 +91,7 @@
9091
"prettier": "^3.1.0",
9192
"pretty-bytes": "^6.1.1",
9293
"pug": "^3.0.2",
93-
"puppeteer": "~21.5.1",
94+
"puppeteer": "~21.5.2",
9495
"rimraf": "^5.0.5",
9596
"rollup": "^4.1.4",
9697
"rollup-plugin-dts": "^6.1.0",
@@ -102,9 +103,9 @@
102103
"terser": "^5.22.0",
103104
"todomvc-app-css": "^2.4.3",
104105
"tslib": "^2.6.2",
105-
"tsx": "^4.5.0",
106+
"tsx": "^4.6.2",
106107
"typescript": "^5.2.2",
107-
"vite": "^5.0.0",
108-
"vitest": "^0.34.6"
108+
"vite": "^5.0.5",
109+
"vitest": "^1.0.0"
109110
}
110111
}

packages/compiler-core/__tests__/__snapshots__/codegen.spec.ts.snap

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ exports[`compiler: codegen > Element (callExpression + objectExpression + Templa
4848
"
4949
return function render(_ctx, _cache) {
5050
with (_ctx) {
51-
return _createElementVNode(\\"div\\", {
52-
id: \\"foo\\",
51+
return _createElementVNode("div", {
52+
id: "foo",
5353
[prop]: bar,
5454
[foo + bar]: bar
5555
}, [
56-
_createElementVNode(\\"p\\", { \\"some-key\\": \\"foo\\" })
56+
_createElementVNode("p", { "some-key": "foo" })
5757
], 16)
5858
}
5959
}"
@@ -63,12 +63,12 @@ exports[`compiler: codegen > assets + temps 1`] = `
6363
"
6464
return function render(_ctx, _cache) {
6565
with (_ctx) {
66-
const _component_Foo = _resolveComponent(\\"Foo\\")
67-
const _component_bar_baz = _resolveComponent(\\"bar-baz\\")
68-
const _component_barbaz = _resolveComponent(\\"barbaz\\")
69-
const _component_Qux = _resolveComponent(\\"Qux\\", true)
70-
const _directive_my_dir_0 = _resolveDirective(\\"my_dir_0\\")
71-
const _directive_my_dir_1 = _resolveDirective(\\"my_dir_1\\")
66+
const _component_Foo = _resolveComponent("Foo")
67+
const _component_bar_baz = _resolveComponent("bar-baz")
68+
const _component_barbaz = _resolveComponent("barbaz")
69+
const _component_Qux = _resolveComponent("Qux", true)
70+
const _directive_my_dir_0 = _resolveDirective("my_dir_0")
71+
const _directive_my_dir_1 = _resolveDirective("my_dir_1")
7272
let _temp0, _temp1, _temp2
7373
7474
return null
@@ -80,7 +80,7 @@ exports[`compiler: codegen > comment 1`] = `
8080
"
8181
return function render(_ctx, _cache) {
8282
with (_ctx) {
83-
return _createCommentVNode(\\"foo\\")
83+
return _createCommentVNode("foo")
8484
}
8585
}"
8686
`;
@@ -135,7 +135,7 @@ return function render(_ctx, _cache) {
135135
exports[`compiler: codegen > hoists 1`] = `
136136
"
137137
const _hoisted_1 = hello
138-
const _hoisted_2 = { id: \\"foo\\" }
138+
const _hoisted_2 = { id: "foo" }
139139
140140
return function render(_ctx, _cache) {
141141
with (_ctx) {
@@ -165,15 +165,15 @@ return function render(_ctx, _cache) {
165165
`;
166166

167167
exports[`compiler: codegen > module mode preamble 1`] = `
168-
"import { createVNode as _createVNode, resolveDirective as _resolveDirective } from \\"vue\\"
168+
"import { createVNode as _createVNode, resolveDirective as _resolveDirective } from "vue"
169169
170170
export function render(_ctx, _cache) {
171171
return null
172172
}"
173173
`;
174174

175175
exports[`compiler: codegen > module mode preamble w/ optimizeImports: true 1`] = `
176-
"import { createVNode, resolveDirective } from \\"vue\\"
176+
"import { createVNode, resolveDirective } from "vue"
177177
178178
// Binding optimization for webpack code-split
179179
const _createVNode = createVNode, _resolveDirective = resolveDirective
@@ -187,7 +187,7 @@ exports[`compiler: codegen > static text 1`] = `
187187
"
188188
return function render(_ctx, _cache) {
189189
with (_ctx) {
190-
return \\"hello\\"
190+
return "hello"
191191
}
192192
}"
193193
`;

packages/compiler-core/__tests__/__snapshots__/compile.spec.ts.snap

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ return function render(_ctx, _cache) {
77
with (_ctx) {
88
const { toDisplayString: _toDisplayString, openBlock: _openBlock, createElementBlock: _createElementBlock, createCommentVNode: _createCommentVNode, createTextVNode: _createTextVNode, Fragment: _Fragment, renderList: _renderList, createElementVNode: _createElementVNode, normalizeClass: _normalizeClass } = _Vue
99
10-
return (_openBlock(), _createElementBlock(\\"div\\", {
11-
id: \\"foo\\",
10+
return (_openBlock(), _createElementBlock("div", {
11+
id: "foo",
1212
class: _normalizeClass(bar.baz)
1313
}, [
14-
_createTextVNode(_toDisplayString(world.burn()) + \\" \\", 1 /* TEXT */),
14+
_createTextVNode(_toDisplayString(world.burn()) + " ", 1 /* TEXT */),
1515
ok
16-
? (_openBlock(), _createElementBlock(\\"div\\", { key: 0 }, \\"yes\\"))
16+
? (_openBlock(), _createElementBlock("div", { key: 0 }, "yes"))
1717
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
18-
_createTextVNode(\\"no\\")
18+
_createTextVNode("no")
1919
], 64 /* STABLE_FRAGMENT */)),
2020
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(list, (value, index) => {
21-
return (_openBlock(), _createElementBlock(\\"div\\", null, [
22-
_createElementVNode(\\"span\\", null, _toDisplayString(value + index), 1 /* TEXT */)
21+
return (_openBlock(), _createElementBlock("div", null, [
22+
_createElementVNode("span", null, _toDisplayString(value + index), 1 /* TEXT */)
2323
]))
2424
}), 256 /* UNKEYED_FRAGMENT */))
2525
], 2 /* CLASS */))
@@ -31,42 +31,42 @@ exports[`compiler: integration tests > function mode w/ prefixIdentifiers: true
3131
"const { toDisplayString: _toDisplayString, openBlock: _openBlock, createElementBlock: _createElementBlock, createCommentVNode: _createCommentVNode, createTextVNode: _createTextVNode, Fragment: _Fragment, renderList: _renderList, createElementVNode: _createElementVNode, normalizeClass: _normalizeClass } = Vue
3232
3333
return function render(_ctx, _cache) {
34-
return (_openBlock(), _createElementBlock(\\"div\\", {
35-
id: \\"foo\\",
34+
return (_openBlock(), _createElementBlock("div", {
35+
id: "foo",
3636
class: _normalizeClass(_ctx.bar.baz)
3737
}, [
38-
_createTextVNode(_toDisplayString(_ctx.world.burn()) + \\" \\", 1 /* TEXT */),
38+
_createTextVNode(_toDisplayString(_ctx.world.burn()) + " ", 1 /* TEXT */),
3939
(_ctx.ok)
40-
? (_openBlock(), _createElementBlock(\\"div\\", { key: 0 }, \\"yes\\"))
40+
? (_openBlock(), _createElementBlock("div", { key: 0 }, "yes"))
4141
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
42-
_createTextVNode(\\"no\\")
42+
_createTextVNode("no")
4343
], 64 /* STABLE_FRAGMENT */)),
4444
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.list, (value, index) => {
45-
return (_openBlock(), _createElementBlock(\\"div\\", null, [
46-
_createElementVNode(\\"span\\", null, _toDisplayString(value + index), 1 /* TEXT */)
45+
return (_openBlock(), _createElementBlock("div", null, [
46+
_createElementVNode("span", null, _toDisplayString(value + index), 1 /* TEXT */)
4747
]))
4848
}), 256 /* UNKEYED_FRAGMENT */))
4949
], 2 /* CLASS */))
5050
}"
5151
`;
5252

5353
exports[`compiler: integration tests > module mode 1`] = `
54-
"import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, renderList as _renderList, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from \\"vue\\"
54+
"import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, Fragment as _Fragment, renderList as _renderList, createElementVNode as _createElementVNode, normalizeClass as _normalizeClass } from "vue"
5555
5656
export function render(_ctx, _cache) {
57-
return (_openBlock(), _createElementBlock(\\"div\\", {
58-
id: \\"foo\\",
57+
return (_openBlock(), _createElementBlock("div", {
58+
id: "foo",
5959
class: _normalizeClass(_ctx.bar.baz)
6060
}, [
61-
_createTextVNode(_toDisplayString(_ctx.world.burn()) + \\" \\", 1 /* TEXT */),
61+
_createTextVNode(_toDisplayString(_ctx.world.burn()) + " ", 1 /* TEXT */),
6262
(_ctx.ok)
63-
? (_openBlock(), _createElementBlock(\\"div\\", { key: 0 }, \\"yes\\"))
63+
? (_openBlock(), _createElementBlock("div", { key: 0 }, "yes"))
6464
: (_openBlock(), _createElementBlock(_Fragment, { key: 1 }, [
65-
_createTextVNode(\\"no\\")
65+
_createTextVNode("no")
6666
], 64 /* STABLE_FRAGMENT */)),
6767
(_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.list, (value, index) => {
68-
return (_openBlock(), _createElementBlock(\\"div\\", null, [
69-
_createElementVNode(\\"span\\", null, _toDisplayString(value + index), 1 /* TEXT */)
68+
return (_openBlock(), _createElementBlock("div", null, [
69+
_createElementVNode("span", null, _toDisplayString(value + index), 1 /* TEXT */)
7070
]))
7171
}), 256 /* UNKEYED_FRAGMENT */))
7272
], 2 /* CLASS */))

0 commit comments

Comments
 (0)