diff --git a/.github/renovate.json5 b/.github/renovate.json5 index db0e457a6..fa130ca40 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -50,5 +50,9 @@ // pinned // https://github.com/vuejs/core/issues/10300#issuecomment-1940855364 'lru-cache', + + // pinned + // https://github.com/vuejs/core/commit/a012e39b373f1b6918e5c89856e8f902e1bfa14d + '@rollup/plugin-replace', ], } diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e79cebb3..6acaa893f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,17 @@ +## [3.4.20](https://github.com/vuejs/core/compare/v3.4.19...v3.4.20) (2024-02-26) + + +### Bug Fixes + +* **parser:** should not treat uppercase components as special tags ([e0e0253](https://github.com/vuejs/core/commit/e0e02535cdea1aeb1cfaff0d61d4b2555e555c36)), closes [#10395](https://github.com/vuejs/core/issues/10395) +* **runtime-dom:** avoid always resetting nullish option value ([ff130c4](https://github.com/vuejs/core/commit/ff130c470204086edaa093fb8fdc1247c69cba69)), closes [#10396](https://github.com/vuejs/core/issues/10396) +* **runtime-dom:** fix nested v-show priority regression ([364f890](https://github.com/vuejs/core/commit/364f8902c8657faec7c3a4d70a5b2c856567e92d)), closes [#10338](https://github.com/vuejs/core/issues/10338) +* **runtime-dom:** v-bind style should clear previous css string value ([#10373](https://github.com/vuejs/core/issues/10373)) ([e2d3235](https://github.com/vuejs/core/commit/e2d323538e71d404e729148fd19a08bbc2e3da9b)), closes [#10352](https://github.com/vuejs/core/issues/10352) +* **suspense:** handle suspense switching with nested suspense ([#10184](https://github.com/vuejs/core/issues/10184)) ([0f3da05](https://github.com/vuejs/core/commit/0f3da05ea201761529bb95594df1e2cee20b7107)), closes [#10098](https://github.com/vuejs/core/issues/10098) +* **types:** better typing for direct setup signature of defineComponent ([#10357](https://github.com/vuejs/core/issues/10357)) ([eadce5b](https://github.com/vuejs/core/commit/eadce5b75356656fd2209ebdb406d34823c961b7)), closes [#8604](https://github.com/vuejs/core/issues/8604) [#8855](https://github.com/vuejs/core/issues/8855) + + + ## [3.4.19](https://github.com/vuejs/core/compare/v3.4.18...v3.4.19) (2024-02-13) diff --git a/changelogs/CHANGELOG-3.0.md b/changelogs/CHANGELOG-3.0.md index 50b152dc2..16483767f 100644 --- a/changelogs/CHANGELOG-3.0.md +++ b/changelogs/CHANGELOG-3.0.md @@ -773,7 +773,7 @@ may cause build issues in projects still using TS 3.x. - **types:** adjust type exports for manual render function and tooling usage ([e4dc03a](https://github.com/vuejs/core/commit/e4dc03a8b17d5e9f167de6a62a645878ac7ef3e2)), closes [#1329](https://github.com/vuejs/core/issues/1329) - **types:** mixins/extends support in TypeScript ([#626](https://github.com/vuejs/core/issues/626)) ([d3c436a](https://github.com/vuejs/core/commit/d3c436ae2e66b75b7f2ed574dadda3f0e1fdce73)) - **types:** support typing directive value via generic argument ([#1007](https://github.com/vuejs/core/issues/1007)) ([419b86d](https://github.com/vuejs/core/commit/419b86d1908f2a0521e6a7eafcbee764e9ee59a0)), closes [#998](https://github.com/vuejs/core/issues/998) -- **types:** update to Typescript 3.9 ([#1106](https://github.com/vuejs/core/issues/1106)) ([97dedeb](https://github.com/vuejs/core/commit/97dedebd8097116a16209664a1ca38392b964da3)) +- **types:** update to TypeScript 3.9 ([#1106](https://github.com/vuejs/core/issues/1106)) ([97dedeb](https://github.com/vuejs/core/commit/97dedebd8097116a16209664a1ca38392b964da3)) ### Performance Improvements diff --git a/package.json b/package.json index 9f894fa57..538d63be6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "private": true, - "version": "3.4.19", - "packageManager": "pnpm@8.15.1", + "version": "3.4.20", + "packageManager": "pnpm@8.15.4", "type": "module", "scripts": { "dev": "node scripts/dev.js", @@ -70,49 +70,49 @@ "@rollup/plugin-terser": "^0.4.4", "@types/hash-sum": "^1.0.2", "@types/minimist": "^1.2.5", - "@types/node": "^20.11.16", - "@types/semver": "^7.5.6", - "@typescript-eslint/eslint-plugin": "^6.18.1", - "@typescript-eslint/parser": "^6.18.1", - "@vitest/coverage-istanbul": "^1.2.2", - "@vue/consolidate": "0.17.3", + "@types/node": "^20.11.20", + "@types/semver": "^7.5.8", + "@typescript-eslint/eslint-plugin": "^7.0.2", + "@typescript-eslint/parser": "^7.0.2", + "@vitest/coverage-istanbul": "^1.3.1", + "@vue/consolidate": "1.0.0", "conventional-changelog-cli": "^4.1.0", "enquirer": "^2.4.1", - "esbuild": "^0.20.0", + "esbuild": "^0.20.1", "esbuild-plugin-polyfill-node": "^0.3.0", - "eslint": "^8.56.0", - "eslint-define-config": "^1.24.1", + "eslint": "^8.57.0", + "eslint-define-config": "^2.1.0", "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1", - "eslint-plugin-jest": "^27.6.3", + "eslint-plugin-jest": "^27.9.0", "estree-walker": "^2.0.2", "execa": "^8.0.1", - "jsdom": "^23.2.0", - "lint-staged": "^15.2.0", + "jsdom": "^24.0.0", + "lint-staged": "^15.2.2", "lodash": "^4.17.21", - "magic-string": "^0.30.6", + "magic-string": "^0.30.7", "markdown-table": "^3.0.3", - "marked": "^11.2.0", + "marked": "^12.0.0", "minimist": "^1.2.8", "npm-run-all2": "^6.1.2", "picocolors": "^1.0.0", - "prettier": "^3.2.2", + "prettier": "^3.2.5", "pretty-bytes": "^6.1.1", "pug": "^3.0.2", - "puppeteer": "~21.11.0", + "puppeteer": "~22.2.0", "rimraf": "^5.0.5", - "rollup": "4.9.2", + "rollup": "^4.12.0", "rollup-plugin-dts": "^6.1.0", "rollup-plugin-esbuild": "^6.1.1", "rollup-plugin-polyfill-node": "^0.13.0", - "semver": "^7.5.4", + "semver": "^7.6.0", "serve": "^14.2.1", "simple-git-hooks": "^2.9.0", - "terser": "^5.27.0", + "terser": "^5.28.1", "todomvc-app-css": "^2.4.3", "tslib": "^2.6.2", - "tsx": "^4.7.0", + "tsx": "^4.7.1", "typescript": "^5.2.2", - "vite": "^5.0.12", - "vitest": "^1.2.2" + "vite": "^5.1.4", + "vitest": "^1.3.1" } } diff --git a/packages/compiler-core/__tests__/transforms/vOn.spec.ts b/packages/compiler-core/__tests__/transforms/vOn.spec.ts index 9f5e00948..568fa0b5a 100644 --- a/packages/compiler-core/__tests__/transforms/vOn.spec.ts +++ b/packages/compiler-core/__tests__/transforms/vOn.spec.ts @@ -271,7 +271,7 @@ describe('compiler: transform v-on', () => { }) }) - test('should NOT wrap as function if expression is already function expression (with Typescript)', () => { + test('should NOT wrap as function if expression is already function expression (with TypeScript)', () => { const { node } = parseWithVOn(`
`) expect((node.codegenNode as VNodeCall).props).toMatchObject({ properties: [ diff --git a/packages/compiler-core/package.json b/packages/compiler-core/package.json index 9f3687f5d..0a94a9288 100644 --- a/packages/compiler-core/package.json +++ b/packages/compiler-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/compiler-core", - "version": "3.4.19", + "version": "3.4.20", "description": "@vue/compiler-core", "main": "index.js", "module": "dist/compiler-core.esm-bundler.js", diff --git a/packages/compiler-core/src/tokenizer.ts b/packages/compiler-core/src/tokenizer.ts index c63ec6bfb..561a84b5f 100644 --- a/packages/compiler-core/src/tokenizer.ts +++ b/packages/compiler-core/src/tokenizer.ts @@ -553,12 +553,11 @@ export default class Tokenizer { // HTML mode // -