Skip to content

Commit

Permalink
v2.2.0 (#5079)
Browse files Browse the repository at this point in the history
Co-authored-by: 山吹色御守 <[email protected]>
  • Loading branch information
johnsoncodehk and KazariEX authored Dec 23, 2024
1 parent 9252511 commit 55638ff
Show file tree
Hide file tree
Showing 14 changed files with 222 additions and 141 deletions.
63 changes: 63 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,69 @@

> [Join the Insiders Program](https://github.com/vuejs/language-tools/wiki/Get-Insiders-Edition) for more exclusive features and updates.
## 2.2.0 <sup>official</sup>, 2.2.1 <sup>insiders</sup> (2024-12-24)

### Features

- feat(language-core): support `@vue-generic` (#4971) - Thanks to @KazariEX!
- feat(vscode): add configuration for skipping automatic detection of Hybrid Mode (#5046) - Thanks to @KazariEX!
- feat(language-service): crawl html data of `data-allow-mismatch` - Thanks to @KazariEX!
- feat(language-core): type support of `$attrs` (#5076) - Thanks to @KazariEX!
- feat(language-core): type support of `useSlots` and `$slots` (#5055) - Thanks to @KazariEX!
- feat(language-core): type support of `v-model` modifiers (#5061) - Thanks to @KazariEX!
- feat(language-service): process references data at runtime to reduce bundle size (#5054) - Thanks to @KazariEX!
- feat(language-core): support the use of sfc root comment to configure `vueCompilerOptions` (#4987) - Thanks to @KazariEX!
- feat(vscode): add timeout logic for insiders fetching (#5048) - Thanks to @KazariEX!
- feat(vscode): add examples to inlay hints configuration (#5068) - Thanks to @KazariEX!

### Performance

- perf(typescript-plugin): use named pipe servers more efficiently (#5070)

### Bug Fixes

- fix(language-core): generate script setup starting from last leading comment without `@ts-check` - Thanks to @KazariEX!
- fix(language-core): make model modifiers optional (#4978) - Thanks to @stafyniaksacha!
- fix(language-core): always report missing props on `<slot>` (#4982) - Thanks to @KazariEX!
- fix(language-core): avoid unchecked index access when parsing `defineEmits` (#5028) - Thanks to @KazariEX!
- fix(language-service): handle text edit of special closing tags completion correctly (#5016) - Thanks to @KazariEX!
- fix(language-core): don't generate variable access of template refs using `useTemplateRef` (#5032) - Thanks to @KazariEX!
- fix(vscode): update `enabledHybridMode` before activate extension (#5019) - Thanks to @nieyuyao!
- fix(tsc): point to shimmed tsc entry point to support ts 5.7 (#5020) - Thanks to @davidmatter!
- fix(vscode): add `GitHub.copilot-chat` to hybrid mode compatible list (#5047) - Thanks to @KazariEX!
- fix(language-core): generate generics normally when `useTemplateRef` has no parameters (#5051) - Thanks to @KazariEX!
- fix(language-core): avoid clipping prop name using `.prop` or `.attr` on `v-model` - Thanks to @KazariEX!
- fix(language-core): handle named default import of components correctly (#5066) - Thanks to @KazariEX!
- fix(language-core): disable navigation feature on non-binding prop values (#5040) - Thanks to @KazariEX!
- fix(language-core): do not generate `useTemplateRef` parameter repeatedly (#5009)
- fix(language-core): generate macros after script setup content (#5071) - Thanks to @KazariEX!
- fix(language-core): correct type and completion support of `vue:` event (#4969) - Thanks to @KazariEX!
- fix(language-core): prevent visiting functional components for `parseScriptSetupRanges` (#5049) - Thanks to @zhiyuanzmj!
- fix(language-service): don't provide modifier completion for `@` and `:` (#5052) - Thanks to @KazariEX!
- fix(language-core): consistent interpolation behavior of shorthand binding (#4975) - Thanks to @KazariEX!
- fix(language-core): resolve components with various name cases correctly (#5067) - Thanks to @KazariEX!
- fix(language-core): map `v-slot` correctly to report error when missing default slot - Thanks to @KazariEX!
- fix(language-core): map component loc to instance variable for verification - Thanks to @KazariEX!

### Other Changes

- refactor: improve code consistency (#4976) - Thanks to @KazariEX!
- docs: update nvim guide (#4984) - Thanks to @zeromask1337!
- docs: fix broken marketplace page (#5004) - Thanks to @rioj7!
- chore: upgrade `reactive-vscode` to v0.2.7 (#4997) - Thanks to @KermanX!
- refactor(language-service): consistent style of source and virtual code operation (#5053) - Thanks to @KazariEX!
- refactor(language-core): remove unnecessary linked code mappings of `defineProp` (#5058) - Thanks to @KazariEX!
- refactor(language-core): simplify current component info passing (#5078) - Thanks to @KazariEX!
- Upgraded Volar from `v2.4.8` to `v2.4.11`:
- fix(typescript): avoid crash when converting relatedInformation from overly large files
- fix(typescript): fix interactive refactors (https://github.com/volarjs/volar.js/pull/244) - Thanks to @andrewbranch!
- fix(typescript): should not suppressing getLanguageId crashes (https://github.com/volarjs/volar.js/issues/253)
- fix(typescript): force update the opened script snapshot after the language plugin is ready (https://github.com/volarjs/volar.js/issues/254)
- feat(typescript): add typescriptObject option to runTsc (https://github.com/volarjs/volar.js/pull/245) - Thanks to @zhiyuanzmj!
- fix(typescript): fix issue with transpiled TypeScript files not being registered with a project at all (https://github.com/volarjs/volar.js/pull/250) - Thanks to @piotrtomiak!
- docs(source-map): updated API section based on #207 (https://github.com/volarjs/volar.js/pull/248) - Thanks to @alamhubb!
- fix(typescript): resolve the shim used for tsc in Typescript v5.7 and up (#252) - Thanks to @kitsune7!

## 2.1.10 <sup>official</sup>, 2.1.11 <sup>insiders</sup> (2024-10-31)

### 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.10",
"version": "2.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vuejs/language-tools.git",
Expand Down Expand Up @@ -567,9 +567,9 @@
"@types/vscode": "^1.82.0",
"@volar/vscode": "~2.4.11",
"@vscode/vsce": "latest",
"@vue/language-core": "2.1.10",
"@vue/language-server": "2.1.10",
"@vue/typescript-plugin": "2.1.10",
"@vue/language-core": "2.2.0",
"@vue/language-server": "2.2.0",
"@vue/typescript-plugin": "2.2.0",
"esbuild": "latest",
"esbuild-visualizer": "latest",
"reactive-vscode": "^0.2.9",
Expand Down
10 changes: 9 additions & 1 deletion insiders.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
{
"latest": "2.1.11",
"latest": "2.2.1",
"versions": [
{
"version": "2.2.1",
"date": "2024-12-24",
"downloads": {
"GitHub": "https://github.com/volarjs/insiders/releases/tag/v2.2.1",
"AFDIAN": "https://afdian.com/p/0b679fe4c16a11ef98065254001e7c00"
}
},
{
"version": "2.1.11",
"date": "2024-10-31",
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.10"
"version": "2.2.0"
}
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.10",
"version": "2.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -14,9 +14,9 @@
},
"dependencies": {
"@volar/typescript": "~2.4.11",
"@vue/language-core": "2.1.10",
"@vue/language-core": "2.2.0",
"path-browserify": "^1.0.1",
"vue-component-type-helpers": "2.1.10"
"vue-component-type-helpers": "2.2.0"
},
"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.10",
"version": "2.2.0",
"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.10",
"version": "2.2.0",
"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.10",
"version": "2.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -14,7 +14,7 @@
},
"devDependencies": {
"@types/node": "latest",
"@vue/language-core": "2.1.10"
"@vue/language-core": "2.2.0"
},
"dependencies": {
"@volar/source-map": "~2.4.11",
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.10",
"version": "2.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -19,9 +19,9 @@
"@volar/language-core": "~2.4.11",
"@volar/language-server": "~2.4.11",
"@volar/test-utils": "~2.4.11",
"@vue/language-core": "2.1.10",
"@vue/language-service": "2.1.10",
"@vue/typescript-plugin": "2.1.10",
"@vue/language-core": "2.2.0",
"@vue/language-service": "2.2.0",
"@vue/typescript-plugin": "2.2.0",
"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.10",
"version": "2.2.0",
"license": "MIT",
"files": [
"data",
Expand All @@ -21,9 +21,9 @@
"@volar/language-service": "~2.4.11",
"@volar/typescript": "~2.4.11",
"@vue/compiler-dom": "^3.5.0",
"@vue/language-core": "2.1.10",
"@vue/language-core": "2.2.0",
"@vue/shared": "^3.5.0",
"@vue/typescript-plugin": "2.1.10",
"@vue/typescript-plugin": "2.2.0",
"alien-signals": "^0.4.9",
"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.10",
"version": "2.2.0",
"license": "MIT",
"files": [
"bin",
Expand All @@ -18,7 +18,7 @@
},
"dependencies": {
"@volar/typescript": "~2.4.11",
"@vue/language-core": "2.1.10"
"@vue/language-core": "2.2.0"
},
"peerDependencies": {
"typescript": ">=5.0.0"
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.10",
"version": "2.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand All @@ -14,7 +14,7 @@
},
"dependencies": {
"@volar/typescript": "~2.4.11",
"@vue/language-core": "2.1.10",
"@vue/language-core": "2.2.0",
"@vue/shared": "^3.5.0"
},
"devDependencies": {
Expand Down
Loading

0 comments on commit 55638ff

Please sign in to comment.