diff --git a/CHANGELOG.md b/CHANGELOG.md index dd6b95d74f..774b6231ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,31 @@ > [Join the Insiders Program](https://github.com/vuejs/language-tools/wiki/Get-Insiders-Edition) for more exclusive features and updates. +## 2.1.4 official, 2.1.5 insiders (2024-09-01) + +### Features + +- **typescript-plugin, language-server:** generate global types file into `node_modules/.vue-global-types` (#4752) - Thanks to @KazariEX! +- **language-core:** navigation support for template-ref (#4726) - Thanks to @KazariEX! + +### Bug Fixes + +- **language-core, typescript-plugin, language-server:** apply snake case on globalTypes filename (#4749) - Thanks to @KazariEX! +- **language-core:** hoist `$refs` type (#4763) +- **language-core:** disable lib check on global types file (#4767) - Thanks to @KazariEX! +- **language-core:** prevent circular reference of templateRef (#4768) - Thanks to @zhiyuanzmj! +- **language-core:** using interface merging for `GlobalComponents` +- **language-core:** `fallthroughAttributes` causes global components to be self-referential (#4761) +- **language-core:** auto-completion for the last line of template block (#4771) - Thanks to @zhiyuanzmj! +- **language-core:** update ast correctly on repeated `v-for` modifications (#4772) - Thanks to @KazariEX! +- **language-server:** leaking named pipes (#4672) +- **typescript-plugin:** compatible with Yarn PnP (#4751) +- **vscode:** whitelist `ms-dynamics-smb.al` extension for Vue Hybrid Mode. (#4765) - Thanks to @kyleweishaupt! + +### Other Changes + +- Add optional "dependencies" textarea to issue template (#4758) - Thanks to @davidmatter! + ## 2.1.2 official, 2.1.3 insiders (2024-08-29) ### Bug Fixes diff --git a/extensions/vscode/package.json b/extensions/vscode/package.json index 393baf0d4b..3f5ecaf39f 100644 --- a/extensions/vscode/package.json +++ b/extensions/vscode/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "volar", - "version": "2.1.2", + "version": "2.1.4", "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.2", - "@vue/language-server": "2.1.2", - "@vue/typescript-plugin": "2.1.2", + "@vue/language-core": "2.1.4", + "@vue/language-server": "2.1.4", + "@vue/typescript-plugin": "2.1.4", "esbuild": "~0.21.0", "esbuild-plugin-copy": "latest", "esbuild-visualizer": "latest", diff --git a/lerna.json b/lerna.json index 44011e047e..b62389a652 100644 --- a/lerna.json +++ b/lerna.json @@ -6,5 +6,5 @@ "packages/*", "test-workspace" ], - "version": "2.1.2" + "version": "2.1.4" } diff --git a/package.json b/package.json index 9bb69abd57..51666658ef 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "prerelease": "npm run build && npm run test", "version:test": "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", + "release:base": "lerna publish --exact --force-publish --yes --sync-workspace-lock --no-git-tag-version", "release:vue": "cd ./extensions/vscode && npm run release", "release:next": "npm run release:next-base && npm run release:next-vue", "release:next-base": "npm run release:base -- --dist-tag next", diff --git a/packages/component-meta/package.json b/packages/component-meta/package.json index 3f2d0e7dfe..47dce8ea31 100644 --- a/packages/component-meta/package.json +++ b/packages/component-meta/package.json @@ -1,6 +1,6 @@ { "name": "vue-component-meta", - "version": "2.1.2", + "version": "2.1.4", "license": "MIT", "files": [ "**/*.js", @@ -13,9 +13,9 @@ }, "dependencies": { "@volar/typescript": "~2.4.1", - "@vue/language-core": "2.1.2", + "@vue/language-core": "2.1.4", "path-browserify": "^1.0.1", - "vue-component-type-helpers": "2.1.2" + "vue-component-type-helpers": "2.1.4" }, "peerDependencies": { "typescript": "*" diff --git a/packages/component-type-helpers/package.json b/packages/component-type-helpers/package.json index 45755c3d84..2c286f1504 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.2", + "version": "2.1.4", "license": "MIT", "files": [ "**/*.js", diff --git a/packages/language-core/package.json b/packages/language-core/package.json index c3f1e8a942..fca9a5b3a5 100644 --- a/packages/language-core/package.json +++ b/packages/language-core/package.json @@ -1,6 +1,6 @@ { "name": "@vue/language-core", - "version": "2.1.2", + "version": "2.1.4", "license": "MIT", "files": [ "**/*.js", diff --git a/packages/language-plugin-pug/package.json b/packages/language-plugin-pug/package.json index 207b763ced..57b572040f 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.2", + "version": "2.1.4", "license": "MIT", "files": [ "**/*.js", @@ -13,7 +13,7 @@ }, "devDependencies": { "@types/node": "latest", - "@vue/language-core": "2.1.2" + "@vue/language-core": "2.1.4" }, "dependencies": { "@volar/source-map": "~2.4.1", diff --git a/packages/language-server/package.json b/packages/language-server/package.json index cffc86daa0..3f68e7212a 100644 --- a/packages/language-server/package.json +++ b/packages/language-server/package.json @@ -1,6 +1,6 @@ { "name": "@vue/language-server", - "version": "2.1.2", + "version": "2.1.4", "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.2", - "@vue/language-service": "2.1.2", - "@vue/typescript-plugin": "2.1.2", + "@vue/language-core": "2.1.4", + "@vue/language-service": "2.1.4", + "@vue/typescript-plugin": "2.1.4", "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 ca3b35377a..822c2405e3 100644 --- a/packages/language-service/package.json +++ b/packages/language-service/package.json @@ -1,6 +1,6 @@ { "name": "@vue/language-service", - "version": "2.1.2", + "version": "2.1.4", "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.2", + "@vue/language-core": "2.1.4", "@vue/shared": "^3.4.0", - "@vue/typescript-plugin": "2.1.2", + "@vue/typescript-plugin": "2.1.4", "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 4bdcf27d02..e914fb25d2 100644 --- a/packages/tsc/package.json +++ b/packages/tsc/package.json @@ -1,6 +1,6 @@ { "name": "vue-tsc", - "version": "2.1.2", + "version": "2.1.4", "license": "MIT", "files": [ "bin", @@ -17,7 +17,7 @@ }, "dependencies": { "@volar/typescript": "~2.4.1", - "@vue/language-core": "2.1.2", + "@vue/language-core": "2.1.4", "semver": "^7.5.4" }, "peerDependencies": { diff --git a/packages/typescript-plugin/package.json b/packages/typescript-plugin/package.json index 302abc60a5..72eb701f2e 100644 --- a/packages/typescript-plugin/package.json +++ b/packages/typescript-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@vue/typescript-plugin", - "version": "2.1.2", + "version": "2.1.4", "license": "MIT", "files": [ "**/*.js", @@ -13,7 +13,7 @@ }, "dependencies": { "@volar/typescript": "~2.4.1", - "@vue/language-core": "2.1.2", + "@vue/language-core": "2.1.4", "@vue/shared": "^3.4.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 584f1cde98..f95c98ff62 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,10 +13,10 @@ importers: devDependencies: '@lerna-lite/cli': specifier: latest - version: 3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(@lerna-lite/version@3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4) + version: 3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(@lerna-lite/version@3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4) '@lerna-lite/publish': specifier: latest - version: 3.8.0(typescript@5.5.4) + version: 3.9.0(typescript@5.5.4) '@tsslint/cli': specifier: latest version: 1.0.17(typescript@5.5.4) @@ -51,13 +51,13 @@ importers: specifier: latest version: 3.0.0 '@vue/language-core': - specifier: 2.1.2 + specifier: 2.1.4 version: link:../../packages/language-core '@vue/language-server': - specifier: 2.1.2 + specifier: 2.1.4 version: link:../../packages/language-server '@vue/typescript-plugin': - specifier: 2.1.2 + specifier: 2.1.4 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.2 + specifier: 2.1.4 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.2 + specifier: 2.1.4 version: link:../component-type-helpers devDependencies: '@types/node': @@ -161,7 +161,7 @@ importers: specifier: latest version: 22.5.1 '@vue/language-core': - specifier: 2.1.2 + specifier: 2.1.4 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.2 + specifier: 2.1.4 version: link:../language-core '@vue/language-service': - specifier: 2.1.2 + specifier: 2.1.4 version: link:../language-service '@vue/typescript-plugin': - specifier: 2.1.2 + specifier: 2.1.4 version: link:../typescript-plugin vscode-languageserver-protocol: specifier: ^3.17.5 @@ -206,13 +206,13 @@ importers: specifier: ^3.4.0 version: 3.4.38 '@vue/language-core': - specifier: 2.1.2 + specifier: 2.1.4 version: link:../language-core '@vue/shared': specifier: ^3.4.0 version: 3.4.38 '@vue/typescript-plugin': - specifier: 2.1.2 + specifier: 2.1.4 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.2 + specifier: 2.1.4 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.2 + specifier: 2.1.4 version: link:../language-core '@vue/shared': specifier: ^3.4.0 @@ -314,7 +314,7 @@ importers: specifier: ^3.4.0 version: 3.4.38(typescript@5.5.4) vue-component-type-helpers: - specifier: 2.1.2 + specifier: 2.1.4 version: link:../packages/component-type-helpers vue2: specifier: npm:vue@2.7.16 @@ -772,8 +772,8 @@ packages: '@jridgewell/trace-mapping@0.3.25': resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} - '@lerna-lite/cli@3.8.0': - resolution: {integrity: sha512-Flv2ITNfS4dTXG8I44P3R2kuY8x6i5rN9uGxkLY0lnNzjlMy0FU0CXchUrGlzfmP+e7bzhDRmvV7dQMeYoZ1mg==} + '@lerna-lite/cli@3.9.0': + resolution: {integrity: sha512-sw7vVf9YDDjlLJVjcHyWkUSXF7cnwYNSFHaVjagmXyEoeeK5RtDBTEgCDkO17GP5mff1lRHoahrt/SCDV7KBxg==} engines: {node: ^18.0.0 || >=20.0.0} hasBin: true peerDependencies: @@ -797,24 +797,24 @@ packages: '@lerna-lite/watch': optional: true - '@lerna-lite/core@3.8.0': - resolution: {integrity: sha512-0ObizEznKsABbEFGKnt6wyfB1+IGFShMF4nmUfLsYHFw9OXZ0J3HZPPScS/kLBCzti3QfP79OWh+X0FrxacAGA==} + '@lerna-lite/core@3.9.0': + resolution: {integrity: sha512-gpQ8TYB5HE1R31zmaNsSuutm8QBPIw7Fyxd0/xbY3VZ76tEt0PtpU0BIcoPlFx1ZvRAWWUCr/Obq8rvpyF622Q==} engines: {node: ^18.0.0 || >=20.0.0} - '@lerna-lite/init@3.8.0': - resolution: {integrity: sha512-TPOitzDHXlrzfKLo4ZdvMdCHsupb4DsqgniVioq+09mduGW1lIh+BYp9C2TyXEWBqnaMQkf4uIZ3oFwye/rDiA==} + '@lerna-lite/init@3.9.0': + resolution: {integrity: sha512-OwKpywZAllU/gLdH+abESjp5+mvuoCyNaokhyaF/aeu6qVkEK0NONgU+5fnJwQrbMWYNLiujKtP0HQzmIW8YyA==} engines: {node: ^18.0.0 || >=20.0.0} '@lerna-lite/npmlog@3.8.0': resolution: {integrity: sha512-ny8vueqyhWZtNRsoOVUybdOK6KcGDpLzFD01Ae4k/NjEw1ap3v6sUS0k7h/U2/HmZgiR0bU+XRJShuoUZf6E/g==} engines: {node: ^18.0.0 || >=20.0.0} - '@lerna-lite/publish@3.8.0': - resolution: {integrity: sha512-JyC65BfVa0dtGBJeCcIIDLCJT8nWP1vh/FEeXmSmAjrYLuja2FWoFuemVW301bk3JZiejMD+nW8nauXUJbal6w==} + '@lerna-lite/publish@3.9.0': + resolution: {integrity: sha512-D5YVwTtMFjZa1sMQ4mQ/TiaFD1b/S9N+XL4L5/hsy8JiTPE8S8O1SyyqJQ5iyaGAdi/sLXT+xyF5Z9aAeIvwhw==} engines: {node: ^18.0.0 || >=20.0.0} - '@lerna-lite/version@3.8.0': - resolution: {integrity: sha512-G395hZQQdzUHeIeGrYet8FuvZofahmukbhrKadlMal1Xz25kpzYG0yNPSXu2VKKjwip2KZixfmIDB35vRyFcHQ==} + '@lerna-lite/version@3.9.0': + resolution: {integrity: sha512-tVtZL4c7+9lTOxIVWlztJGjGxQvJxG7gojApHcoCJ2MAq0mtIPAOIts2JJWjPxKXOzqKq1S5N3Ke+e74/zx/4g==} engines: {node: ^18.0.0 || >=20.0.0} '@nodelib/fs.scandir@2.1.5': @@ -1940,8 +1940,8 @@ packages: git-up@7.0.0: resolution: {integrity: sha512-ONdIrbBCFusq1Oy0sC71F5azx8bVkvtZtMJAsv+a6lz5YAmbNnLD6HAB4gptHZVLPR8S2/kVN6Gab7lryq5+lQ==} - git-url-parse@14.1.0: - resolution: {integrity: sha512-8xg65dTxGHST3+zGpycMMFZcoTzAdZ2dOtu4vmgIfkTFnVHBxHMzBC2L1k8To7EmrSiHesT8JgPLT91VKw1B5g==} + git-url-parse@15.0.0: + resolution: {integrity: sha512-5reeBufLi+i4QD3ZFftcJs9jC26aULFLBU23FeKM/b1rI0K6ofIeAblmDVO7Ht22zTDE9+CkJ3ZVb0CgJmz3UQ==} github-from-package@0.0.0: resolution: {integrity: sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==} @@ -3856,10 +3856,10 @@ snapshots: '@jridgewell/resolve-uri': 3.1.2 '@jridgewell/sourcemap-codec': 1.5.0 - '@lerna-lite/cli@3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(@lerna-lite/version@3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4)': + '@lerna-lite/cli@3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(@lerna-lite/version@3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4)': dependencies: - '@lerna-lite/core': 3.8.0(typescript@5.5.4) - '@lerna-lite/init': 3.8.0(typescript@5.5.4) + '@lerna-lite/core': 3.9.0(typescript@5.5.4) + '@lerna-lite/init': 3.9.0(typescript@5.5.4) '@lerna-lite/npmlog': 3.8.0 dedent: 1.5.3 dotenv: 16.4.5 @@ -3867,15 +3867,15 @@ snapshots: load-json-file: 7.0.1 yargs: 17.7.2 optionalDependencies: - '@lerna-lite/publish': 3.8.0(typescript@5.5.4) - '@lerna-lite/version': 3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(typescript@5.5.4) + '@lerna-lite/publish': 3.9.0(typescript@5.5.4) + '@lerna-lite/version': 3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(typescript@5.5.4) transitivePeerDependencies: - babel-plugin-macros - bluebird - supports-color - typescript - '@lerna-lite/core@3.8.0(typescript@5.5.4)': + '@lerna-lite/core@3.9.0(typescript@5.5.4)': dependencies: '@inquirer/expand': 2.1.22 '@inquirer/input': 2.2.9 @@ -3911,9 +3911,9 @@ snapshots: - supports-color - typescript - '@lerna-lite/init@3.8.0(typescript@5.5.4)': + '@lerna-lite/init@3.9.0(typescript@5.5.4)': dependencies: - '@lerna-lite/core': 3.8.0(typescript@5.5.4) + '@lerna-lite/core': 3.9.0(typescript@5.5.4) fs-extra: 11.2.0 p-map: 7.0.2 write-json-file: 6.0.0 @@ -3935,12 +3935,12 @@ snapshots: strip-ansi: 7.1.0 wide-align: 1.1.5 - '@lerna-lite/publish@3.8.0(typescript@5.5.4)': + '@lerna-lite/publish@3.9.0(typescript@5.5.4)': dependencies: - '@lerna-lite/cli': 3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(@lerna-lite/version@3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4) - '@lerna-lite/core': 3.8.0(typescript@5.5.4) + '@lerna-lite/cli': 3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(@lerna-lite/version@3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4) + '@lerna-lite/core': 3.9.0(typescript@5.5.4) '@lerna-lite/npmlog': 3.8.0 - '@lerna-lite/version': 3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(typescript@5.5.4) + '@lerna-lite/version': 3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(typescript@5.5.4) '@npmcli/arborist': 7.5.4 '@npmcli/package-json': 5.2.0 byte-size: 9.0.0 @@ -3972,10 +3972,10 @@ snapshots: - supports-color - typescript - '@lerna-lite/version@3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(typescript@5.5.4)': + '@lerna-lite/version@3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(typescript@5.5.4)': dependencies: - '@lerna-lite/cli': 3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(@lerna-lite/version@3.8.0(@lerna-lite/publish@3.8.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4) - '@lerna-lite/core': 3.8.0(typescript@5.5.4) + '@lerna-lite/cli': 3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(@lerna-lite/version@3.9.0(@lerna-lite/publish@3.9.0(typescript@5.5.4))(typescript@5.5.4))(typescript@5.5.4) + '@lerna-lite/core': 3.9.0(typescript@5.5.4) '@lerna-lite/npmlog': 3.8.0 '@octokit/plugin-enterprise-rest': 6.0.1 '@octokit/rest': 21.0.2 @@ -3988,7 +3988,7 @@ snapshots: dedent: 1.5.3 fs-extra: 11.2.0 get-stream: 9.0.1 - git-url-parse: 14.1.0 + git-url-parse: 15.0.0 graceful-fs: 4.2.11 is-stream: 4.0.1 load-json-file: 7.0.1 @@ -5406,7 +5406,7 @@ snapshots: is-ssh: 1.4.0 parse-url: 8.1.0 - git-url-parse@14.1.0: + git-url-parse@15.0.0: dependencies: git-up: 7.0.0 diff --git a/test-workspace/package.json b/test-workspace/package.json index 6ea994a85d..fe988a91a0 100644 --- a/test-workspace/package.json +++ b/test-workspace/package.json @@ -1,11 +1,11 @@ { "private": true, - "version": "2.1.2", + "version": "2.1.4", "devDependencies": { "typescript-next": "npm:typescript@next", "typescript-stable": "npm:typescript@latest", "vue": "^3.4.0", - "vue-component-type-helpers": "2.1.2", + "vue-component-type-helpers": "2.1.4", "vue2": "npm:vue@2.7.16", "vue3.3": "npm:vue@3.3.13", "vue3.5": "npm:vue@3.5.0-beta.1"