From a8038a601d7a14600235d933c3019e7ca33f3739 Mon Sep 17 00:00:00 2001 From: Johnson Chu Date: Thu, 5 Sep 2024 03:12:25 +0800 Subject: [PATCH] v2.1.6 (#4808) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 山吹色御守 <85992002+KazariEX@users.noreply.github.com> --- CHANGELOG.md | 38 ++++++++++++++++++++ extensions/vscode/package.json | 8 ++--- lerna.json | 2 +- package.json | 2 +- packages/component-meta/package.json | 6 ++-- packages/component-type-helpers/package.json | 2 +- packages/language-core/package.json | 2 +- packages/language-plugin-pug/package.json | 4 +-- packages/language-server/package.json | 8 ++--- packages/language-service/package.json | 6 ++-- packages/tsc/package.json | 4 +-- packages/typescript-plugin/package.json | 4 +-- pnpm-lock.yaml | 28 +++++++-------- test-workspace/package.json | 4 +-- 14 files changed, 78 insertions(+), 40 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 774b6231ed..9fdafde1cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,44 @@ > [Join the Insiders Program](https://github.com/vuejs/language-tools/wiki/Get-Insiders-Edition) for more exclusive features and updates. +## 2.1.6 official, 2.1.7 insiders (2024-09-05) + +### Features + +- **language-plugin-pug:** support initial indentation (#4774) +- **language-service:** JSDoc display support when typing props on component template (#4796) - Thanks to @joy-yu! +- **language-core:** typed directives in template (#4807) - Thanks to @KazariEX! + +### Bug Fixes + +- **language-core:** wrap template refs with `unref` in interpolation (#4777) - Thanks to @KazariEX! +- **language-core:** ensure to pass tsc on inline global types (#4782) - Thanks to @KazariEX! +- **language-core:** infer native template ref as build-in element interface (#4786) - Thanks to @KazariEX! +- **language-core:** generate `__VLS_StyleModules` after template (#4790) - Thanks to @KazariEX! +- **language-core:** make `expose` of non-generic template ref required (#4795) - Thanks to @zhiyuanzmj! +- **language-core:** avoid using `__typeProps` with runtime props (#4800) - Thanks to @KazariEX! +- **language-core:** ignore unknown attrs error when strictTemplates is not enabled (#4785) +- **language-core:** prevent append globalTypes to virtual file (#4806) - Thanks to @zhiyuanzmj! +- **language-core:** prevent type error when use defineSlots and non-template (#4809) - Thanks to @zhiyuanzmj! +- **typescript-plugin:** disconnect socket on error (#4672) + +### Performance + +- **language-core:** don't emit event lnlayhint when content is none (#4776) - Thanks to @Gehbt! + +### Other Changes + +- **language-core:** split `__VLS_templateResult` (#4781) - Thanks to @KazariEX! +- **language-core:** wrap template virtual code into a function (#4784) +- **language-core:** move `templateRef` into `composibles` (#4791) - Thanks to @KazariEX! +- **language-core:** generate global types for the first parsed Vue component if cannot write global types file + +### Tests + +- **language-server:** add renaming case for template `ref()` (#4794) - Thanks to @KazariEX! +- **tsc:** update to Vue 3.5 (#4725) +- **tsc:** unknown props on non-strict generic component (#4792) + ## 2.1.4 official, 2.1.5 insiders (2024-09-01) ### Features diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 3f5ecaf39f..7f9e930ea7 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "volar", - "version": "2.1.4", + "version": "2.1.6", "repository": { "type": "git", "url": "https://github.com/vuejs/language-tools.git", @@ -553,9 +553,9 @@ "@types/vscode": "^1.82.0", "@volar/vscode": "~2.4.1", "@vscode/vsce": "latest", - "@vue/language-core": "2.1.4", - "@vue/language-server": "2.1.4", - "@vue/typescript-plugin": "2.1.4", + "@vue/language-core": "2.1.6", + "@vue/language-server": "2.1.6", + "@vue/typescript-plugin": "2.1.6", "esbuild": "~0.21.0", "esbuild-plugin-copy": "latest", "esbuild-visualizer": "latest", diff --git a/lerna.json b/lerna.json index b62389a652..8c14b250f8 100644 --- a/lerna.json +++ b/lerna.json @@ -6,5 +6,5 @@ "packages/*", "test-workspace" ], - "version": "2.1.4" + "version": "2.1.6" } diff --git a/package.json b/package.json index 51666658ef..281dfb7b76 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "watch:base": "tsc -b -w", "watch:vue": "cd ./extensions/vscode && npm run watch", "prerelease": "npm run build && npm run test", - "version:test": "lerna version --exact --force-publish --yes --sync-workspace-lock --no-push --no-git-tag-version", + "version": "lerna version --exact --force-publish --yes --sync-workspace-lock --no-push --no-git-tag-version", "release": "npm run release:base && npm run release:vue", "release:base": "lerna publish --exact --force-publish --yes --sync-workspace-lock --no-git-tag-version", "release:vue": "cd ./extensions/vscode && npm run release", diff --git a/packages/component-meta/package.json b/packages/component-meta/package.json index 47dce8ea31..c8b8c86654 100644 --- a/packages/component-meta/package.json +++ b/packages/component-meta/package.json @@ -1,6 +1,6 @@ { "name": "vue-component-meta", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "**/*.js", @@ -13,9 +13,9 @@ }, "dependencies": { "@volar/typescript": "~2.4.1", - "@vue/language-core": "2.1.4", + "@vue/language-core": "2.1.6", "path-browserify": "^1.0.1", - "vue-component-type-helpers": "2.1.4" + "vue-component-type-helpers": "2.1.6" }, "peerDependencies": { "typescript": "*" diff --git a/packages/component-type-helpers/package.json b/packages/component-type-helpers/package.json index 2c286f1504..d535f38860 100644 --- a/packages/component-type-helpers/package.json +++ b/packages/component-type-helpers/package.json @@ -1,6 +1,6 @@ { "name": "vue-component-type-helpers", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "**/*.js", diff --git a/packages/language-core/package.json b/packages/language-core/package.json index fca9a5b3a5..455de4c700 100644 --- a/packages/language-core/package.json +++ b/packages/language-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/language-core", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "**/*.js", diff --git a/packages/language-plugin-pug/package.json b/packages/language-plugin-pug/package.json index 57b572040f..cbdbfe93a9 100644 --- a/packages/language-plugin-pug/package.json +++ b/packages/language-plugin-pug/package.json @@ -1,6 +1,6 @@ { "name": "@vue/language-plugin-pug", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "**/*.js", @@ -13,7 +13,7 @@ }, "devDependencies": { "@types/node": "latest", - "@vue/language-core": "2.1.4" + "@vue/language-core": "2.1.6" }, "dependencies": { "@volar/source-map": "~2.4.1", diff --git a/packages/language-server/package.json b/packages/language-server/package.json index 3f68e7212a..cef2293f01 100644 --- a/packages/language-server/package.json +++ b/packages/language-server/package.json @@ -1,6 +1,6 @@ { "name": "@vue/language-server", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "**/*.js", @@ -18,9 +18,9 @@ "@volar/language-core": "~2.4.1", "@volar/language-server": "~2.4.1", "@volar/test-utils": "~2.4.1", - "@vue/language-core": "2.1.4", - "@vue/language-service": "2.1.4", - "@vue/typescript-plugin": "2.1.4", + "@vue/language-core": "2.1.6", + "@vue/language-service": "2.1.6", + "@vue/typescript-plugin": "2.1.6", "vscode-languageserver-protocol": "^3.17.5", "vscode-uri": "^3.0.8" } diff --git a/packages/language-service/package.json b/packages/language-service/package.json index 822c2405e3..cb0d3f62e2 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@vue/language-service", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "data", @@ -20,9 +20,9 @@ "@volar/language-service": "~2.4.1", "@volar/typescript": "~2.4.1", "@vue/compiler-dom": "^3.4.0", - "@vue/language-core": "2.1.4", + "@vue/language-core": "2.1.6", "@vue/shared": "^3.4.0", - "@vue/typescript-plugin": "2.1.4", + "@vue/typescript-plugin": "2.1.6", "computeds": "^0.0.1", "path-browserify": "^1.0.1", "volar-service-css": "0.0.62", diff --git a/packages/tsc/package.json b/packages/tsc/package.json index e914fb25d2..b000370ba2 100644 --- a/packages/tsc/package.json +++ b/packages/tsc/package.json @@ -1,6 +1,6 @@ { "name": "vue-tsc", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "bin", @@ -17,7 +17,7 @@ }, "dependencies": { "@volar/typescript": "~2.4.1", - "@vue/language-core": "2.1.4", + "@vue/language-core": "2.1.6", "semver": "^7.5.4" }, "peerDependencies": { diff --git a/packages/typescript-plugin/package.json b/packages/typescript-plugin/package.json index 72eb701f2e..691e1dfde7 100644 --- a/packages/typescript-plugin/package.json +++ b/packages/typescript-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vue/typescript-plugin", - "version": "2.1.4", + "version": "2.1.6", "license": "MIT", "files": [ "**/*.js", @@ -13,7 +13,7 @@ }, "dependencies": { "@volar/typescript": "~2.4.1", - "@vue/language-core": "2.1.4", + "@vue/language-core": "2.1.6", "@vue/shared": "^3.4.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cdddc7accc..6304555f1d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -51,13 +51,13 @@ importers: specifier: latest version: 3.0.0 '@vue/language-core': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../../packages/language-core '@vue/language-server': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../../packages/language-server '@vue/typescript-plugin': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../../packages/typescript-plugin esbuild: specifier: ~0.21.0 @@ -81,7 +81,7 @@ importers: specifier: ~2.4.1 version: 2.4.1 '@vue/language-core': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../language-core path-browserify: specifier: ^1.0.1 @@ -90,7 +90,7 @@ importers: specifier: '*' version: 5.5.4 vue-component-type-helpers: - specifier: 2.1.4 + specifier: 2.1.6 version: link:../component-type-helpers devDependencies: '@types/node': @@ -161,7 +161,7 @@ importers: specifier: latest version: 22.5.3 '@vue/language-core': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../language-core packages/language-server: @@ -176,13 +176,13 @@ importers: specifier: ~2.4.1 version: 2.4.1 '@vue/language-core': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../language-core '@vue/language-service': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../language-service '@vue/typescript-plugin': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../typescript-plugin vscode-languageserver-protocol: specifier: ^3.17.5 @@ -206,13 +206,13 @@ importers: specifier: ^3.4.0 version: 3.5.1 '@vue/language-core': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../language-core '@vue/shared': specifier: ^3.4.0 version: 3.5.1 '@vue/typescript-plugin': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../typescript-plugin computeds: specifier: ^0.0.1 @@ -273,7 +273,7 @@ importers: specifier: ~2.4.1 version: 2.4.1 '@vue/language-core': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../language-core semver: specifier: ^7.5.4 @@ -292,7 +292,7 @@ importers: specifier: ~2.4.1 version: 2.4.1 '@vue/language-core': - specifier: 2.1.4 + specifier: 2.1.6 version: link:../language-core '@vue/shared': specifier: ^3.4.0 @@ -314,7 +314,7 @@ importers: specifier: ~3.5.1 version: 3.5.1(typescript@5.5.4) vue-component-type-helpers: - specifier: 2.1.4 + specifier: 2.1.6 version: link:../packages/component-type-helpers vue2: specifier: npm:vue@2.7.16 diff --git a/test-workspace/package.json b/test-workspace/package.json index 14a35a2ff9..f530335046 100644 --- a/test-workspace/package.json +++ b/test-workspace/package.json @@ -1,11 +1,11 @@ { "private": true, - "version": "2.1.4", + "version": "2.1.6", "devDependencies": { "typescript-next": "npm:typescript@next", "typescript-stable": "npm:typescript@latest", "vue": "~3.5.1", - "vue-component-type-helpers": "2.1.4", + "vue-component-type-helpers": "2.1.6", "vue2": "npm:vue@2.7.16", "vue3.4": "npm:vue@3.4.38" }