Skip to content

Commit 368b506

Browse files
committed
[skip ci]
close #5874
1 parent e66a049 commit 368b506

File tree

12 files changed

+73
-12
lines changed

12 files changed

+73
-12
lines changed

CHANGELOG.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,47 @@
11
# Changelog
22

3+
## 3.2.0 (2025-12-00)
4+
5+
### vscode
6+
7+
- **fix:** Vue TS highlighting when trailing type alias is missing semicolon (#5853) - Thanks to @serkodev!
8+
- **perf:** replace `fast-diff` with custom character-by-character alignment algorithm (#5849) (#5851)
9+
- **refactor:** update Vue grammar scope name to "text.html.vue" (#5856)
10+
- **test:** add test for embedded grammars (#5861) - Thanks to @serkodev!
11+
12+
### component-meta
13+
14+
- **feat:** add `tags` to slots and exposed (#5862) - Thanks to @aj-dev!
15+
- **feat:** filter out irrelevant properties from `exposed` (#5868) - Thanks to @aj-dev!
16+
17+
### typescript-plugin
18+
19+
- **feat:** include leading dot when finding references to CSS classes (#5852)
20+
- **fix:** missing module error after file rename (#5839) - Thanks to @serkodev!
21+
- **fix:** prioritize non-warning completion entries over warning ones (#5847)
22+
- **fix:** always pass rest parameters for future compatibility (#5859) - Thanks to @KazariEX!
23+
- **fix:** add nullish guards before accessing `ts.CompletionEntryData` (#5869) - Thanks to @KazariEX!
24+
- **fix:** handle import type nodes in definition proxy (#5873)
25+
26+
### language-core
27+
28+
- **feat:** revert overcorrection of `v-for` type inference (#5836)
29+
- **feat:** align `v-for` key type with `Object.keys` (#5837) - Thanks to @serkodev!
30+
- **feat:** narrow component and directive types (#5841)
31+
- **feat:** support `<!-- @strictTemplates -->` magic comment (#5845)
32+
- **fix:** correctly resolve `<script src="">` (#5838)
33+
- **fix:** preserve template slot wrappers during `createIfBranch` (#5844) - Thanks to @serkodev!
34+
- **fix:** include end tag locations when renaming global components
35+
- **refactor:** replace dynamic types generation with static files (#5872)
36+
37+
### workspace
38+
39+
- **chore:** update testing infrastructure (#5848)
40+
- **chore:** use tsgo in development (#5860)
41+
- **chore:** reduce local dependencies and update workflows (#5863)
42+
- **chore:** upgrade tsslint and vite to pre-release versions
43+
- **chore:** delete tests for Vue 3.4 (#5871)
44+
345
## 3.1.8 (2025-12-09)
446

547
### Features

extensions/vscode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "volar",
4-
"version": "3.1.8",
4+
"version": "3.2.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/vuejs/language-tools.git",

extensions/vscode/src/generated-meta.ts

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Meta info
55
export const publisher = 'Vue';
66
export const name = 'volar';
7-
export const version = '3.1.5';
7+
export const version = '3.2.0';
88
export const displayName = 'Vue (Official)';
99
export const description = 'Language Support for Vue';
1010
export const extensionId = `${publisher}.${name}`;
@@ -17,7 +17,7 @@ export type CommandKey =
1717
| 'vue.action.restartServer';
1818

1919
/**
20-
* Commands map registed by `Vue.volar`
20+
* Commands map registered by `Vue.volar`
2121
*/
2222
export const commands = {
2323
/**
@@ -32,6 +32,25 @@ export const commands = {
3232
actionRestartServer: 'vue.action.restartServer',
3333
} satisfies Record<string, CommandKey>;
3434

35+
/**
36+
* Type union of all languages
37+
*/
38+
export type LanguageKey =
39+
| 'vue'
40+
| 'markdown'
41+
| 'html'
42+
| 'jade';
43+
44+
/**
45+
* Languages map registed by `Vue.volar`
46+
*/
47+
export const languages = {
48+
vue: 'vue',
49+
markdown: 'markdown',
50+
html: 'html',
51+
jade: 'jade',
52+
} satisfies Record<string, LanguageKey>;
53+
3554
/**
3655
* Type union of all configs
3756
*/

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
"extensions/**",
66
"packages/**"
77
],
8-
"version": "3.1.8"
8+
"version": "3.2.0"
99
}

packages/component-meta/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-component-meta",
3-
"version": "3.1.8",
3+
"version": "3.2.0",
44
"license": "MIT",
55
"files": [
66
"**/*.js",

packages/component-type-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-component-type-helpers",
3-
"version": "3.1.8",
3+
"version": "3.2.0",
44
"license": "MIT",
55
"files": [
66
"**/*.js",

packages/language-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/language-core",
3-
"version": "3.1.8",
3+
"version": "3.2.0",
44
"license": "MIT",
55
"files": [
66
"**/*.js",

packages/language-plugin-pug/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/language-plugin-pug",
3-
"version": "3.1.8",
3+
"version": "3.2.0",
44
"license": "MIT",
55
"files": [
66
"**/*.js",

packages/language-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/language-server",
3-
"version": "3.1.8",
3+
"version": "3.2.0",
44
"license": "MIT",
55
"files": [
66
"**/*.js",

packages/language-service/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vue/language-service",
3-
"version": "3.1.8",
3+
"version": "3.2.0",
44
"license": "MIT",
55
"files": [
66
"data",

0 commit comments

Comments
 (0)