Skip to content
Draft

v3.2.0 #5870

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# Changelog

## 3.2.0 (2025-12-00)

### vscode

- **fix:** Vue TS highlighting when trailing type alias is missing semicolon (#5853) - Thanks to @serkodev!
- **perf:** replace `fast-diff` with custom character-by-character alignment algorithm (#5849) (#5851)
- **refactor:** update Vue grammar scope name to "text.html.vue" (#5856)
- **test:** add test for embedded grammars (#5861) - Thanks to @serkodev!

### component-meta

- **feat:** add `tags` to slots and exposed (#5862) - Thanks to @aj-dev!
- **feat:** filter out irrelevant properties from `exposed` (#5868) - Thanks to @aj-dev!

### typescript-plugin

- **feat:** include leading dot when finding references to CSS classes (#5852)
- **fix:** missing module error after file rename (#5839) - Thanks to @serkodev!
- **fix:** prioritize non-warning completion entries over warning ones (#5847)
- **fix:** always pass rest parameters for future compatibility (#5859) - Thanks to @KazariEX!
- **fix:** add nullish guards before accessing `ts.CompletionEntryData` (#5869) - Thanks to @KazariEX!
- **fix:** handle import type nodes in definition proxy (#5873)

### language-core

- **feat:** revert overcorrection of `v-for` type inference (#5836)
- **feat:** align `v-for` key type with `Object.keys` (#5837) - Thanks to @serkodev!
- **feat:** narrow component and directive types (#5841)
- **feat:** support `<!-- @strictTemplates -->` magic comment (#5845)
- **fix:** correctly resolve `<script src="">` (#5838)
- **fix:** preserve template slot wrappers during `createIfBranch` (#5844) - Thanks to @serkodev!
- **fix:** include end tag locations when renaming global components
- **refactor:** replace dynamic types generation with static files (#5872)

### workspace

- **chore:** update testing infrastructure (#5848)
- **chore:** use tsgo in development (#5860)
- **chore:** reduce local dependencies and update workflows (#5863)
- **chore:** upgrade tsslint and vite to pre-release versions
- **chore:** delete tests for Vue 3.4 (#5871)

## 3.1.8 (2025-12-09)

### Features
Expand Down
2 changes: 1 addition & 1 deletion extensions/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "volar",
"version": "3.1.8",
"version": "3.2.0",
"repository": {
"type": "git",
"url": "https://github.com/vuejs/language-tools.git",
Expand Down
23 changes: 21 additions & 2 deletions extensions/vscode/src/generated-meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Meta info
export const publisher = 'Vue';
export const name = 'volar';
export const version = '3.1.5';
export const version = '3.2.0';
export const displayName = 'Vue (Official)';
export const description = 'Language Support for Vue';
export const extensionId = `${publisher}.${name}`;
Expand All @@ -17,7 +17,7 @@ export type CommandKey =
| 'vue.action.restartServer';

/**
* Commands map registed by `Vue.volar`
* Commands map registered by `Vue.volar`
*/
export const commands = {
/**
Expand All @@ -32,6 +32,25 @@ export const commands = {
actionRestartServer: 'vue.action.restartServer',
} satisfies Record<string, CommandKey>;

/**
* Type union of all languages
*/
export type LanguageKey =
| 'vue'
| 'markdown'
| 'html'
| 'jade';

/**
* Languages map registed by `Vue.volar`
*/
export const languages = {
vue: 'vue',
markdown: 'markdown',
html: 'html',
jade: 'jade',
} satisfies Record<string, LanguageKey>;

/**
* Type union of all configs
*/
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"extensions/**",
"packages/**"
],
"version": "3.1.8"
"version": "3.2.0"
}
2 changes: 1 addition & 1 deletion packages/component-meta/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-component-meta",
"version": "3.1.8",
"version": "3.2.0",
"license": "MIT",
"files": [
"**/*.js",
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": "3.1.8",
"version": "3.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": "3.1.8",
"version": "3.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion 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": "3.1.8",
"version": "3.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/language-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-server",
"version": "3.1.8",
"version": "3.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/language-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/language-service",
"version": "3.1.8",
"version": "3.2.0",
"license": "MIT",
"files": [
"data",
Expand Down
2 changes: 1 addition & 1 deletion packages/tsc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-tsc",
"version": "3.1.8",
"version": "3.2.0",
"license": "MIT",
"files": [
"bin",
Expand Down
2 changes: 1 addition & 1 deletion packages/typescript-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue/typescript-plugin",
"version": "3.1.8",
"version": "3.2.0",
"license": "MIT",
"files": [
"**/*.js",
Expand Down