Skip to content

Commit

Permalink
v2.1.6 (#4808)
Browse files Browse the repository at this point in the history
Co-authored-by: 山吹色御守 <[email protected]>
  • Loading branch information
johnsoncodehk and KazariEX committed Sep 4, 2024
1 parent b43708e commit a8038a6
Show file tree
Hide file tree
Showing 14 changed files with 78 additions and 40 deletions.
38 changes: 38 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sup>official</sup>, 2.1.7 <sup>insiders</sup> (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 <sup>official</sup>, 2.1.5 <sup>insiders</sup> (2024-09-01)

### Features
Expand Down
8 changes: 4 additions & 4 deletions extensions/vscode/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"packages/*",
"test-workspace"
],
"version": "2.1.4"
"version": "2.1.6"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
6 changes: 3 additions & 3 deletions packages/component-meta/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-component-meta",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -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": "*"
Expand Down
2 changes: 1 addition & 1 deletion packages/component-type-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-component-type-helpers",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/language-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-core",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"**/*.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/language-plugin-pug/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-plugin-pug",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -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",
Expand Down
8 changes: 4 additions & 4 deletions packages/language-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-server",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -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"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/language-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-service",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"data",
Expand All @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/tsc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-tsc",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"bin",
Expand All @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions packages/typescript-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/typescript-plugin",
"version": "2.1.4",
"version": "2.1.6",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -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": {
Expand Down
28 changes: 14 additions & 14 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test-workspace/package.json
Original file line number Diff line number Diff line change
@@ -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:[email protected]",
"vue3.4": "npm:[email protected]"
}
Expand Down

0 comments on commit a8038a6

Please sign in to comment.