|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 3.1.6 (2025-12-06) |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +- feat(vscode): add settings to enable per-block formatting (#5784) - Thanks to @serkodev! |
| 8 | +- feat(language-service): enhanced component auto import (#5790) |
| 9 | +- feat(component-meta): add component name and description fields (#5797) |
| 10 | +- feat(typescript-plugin): add support for template "Add Import" quick fix (#5799) - Thanks to @serkodev! |
| 11 | +- feat(typescript-plugin): mapping JSDoc informations from `<script setup>` (#5805) |
| 12 | +- feat(vscode): support tsdk path for Eclipse Theia (#5806) - Thanks to @serkodev! |
| 13 | + |
| 14 | +### Bug Fixes |
| 15 | + |
| 16 | +- fix(language-service): ignore intrinsic elements when detect tag name casing (#5771) |
| 17 | +- fix(language-core): `createParsedCommandLineByJson` parsed incorrect options since v3.1.5 (https://github.com/vuejs/language-tools/pull/5768#issuecomment-3569623037) |
| 18 | +- fix(vscode): make `vue.server.path` compatible with Windows (#5772) |
| 19 | +- fix(vscode): analyze interpolation highlight ranges based on AST (#5777) |
| 20 | +- fix(vscode): sync latest vscode html language configuration (#5740) |
| 21 | +- fix(language-core): enhance `getVIfNode` to support `v-else-if` directives (#5765) - Thanks to @serkodev! |
| 22 | +- fix(language-core): generate `{}` instead of its string value for `style="..."` (#5781) - Thanks to @KazariEX! |
| 23 | +- fix(language-core): `v-bind="$attrs"` loses navigation when `inferTemplateDollarAttrs` is disabled (#5783) |
| 24 | +- fix(language-service): skip `const props =` completion in StringLiteral (#5786) |
| 25 | +- fix(language-core): unable to get completion for the second scoped class name |
| 26 | +- fix(language-service): format components with HTML void-element names (#5788) - Thanks to @serkodev! |
| 27 | +- fix(language-service): properly handle promise when resolving CSS links (#5785) |
| 28 | +- fix(language-core): infer `$el` type for generic components using `inferComponentDollarEl` (#5794) |
| 29 | +- fix(language-core): ensure `<script>` content generates before `<script setup>` (#5795) |
| 30 | +- fix(language-core): remove `bypassDefineComponent` hack for better JS support (#4876) (#5379) |
| 31 | +- fix(language-core): `Prettify<T>` caused generic props gets inferred as `unknown` (#5667) - Thanks to @so1ve! |
| 32 | +- fix(vscode): handle leading `<` as operator in SFC scripts (#5801) - Thanks to @serkodev! |
| 33 | +- fix(vscode): patch `isTypeScriptDocument` in VSCode for `typescript.preferences.autoImportSpecifierExcludeRegexes` config support (#5364) |
| 34 | +- fix(language-core): ensure type consistency for optional boolean props (#5803) |
| 35 | +- fix(language-core): add compatibility for `vapor` attr (#5496) |
| 36 | +- fix(language-core): AST fault tolerance for key binding on template (#5807) |
| 37 | + |
| 38 | +### Performance |
| 39 | + |
| 40 | +- perf(language-core): reuse ts asts for `:class` - Thanks to @KazariEX! |
| 41 | + |
| 42 | +### Other Changes |
| 43 | + |
| 44 | +- Revert "refactor(typescript-plugin): remove go to definition trick for auto imported components (#5733)" |
| 45 | +- docs(typescript-plugin): update Neovim configuration link (#5775) - Thanks to @AlexVagrant! |
| 46 | +- refactor(language-core): normalize template AST (#5782) |
| 47 | +- refactor(language-core): split style codegen (#5787) |
| 48 | +- refactor(language-core): remove `debugger` from virtual code for tsslint compatibility |
| 49 | +- refactor(language-core): remove legacy navigation support in `ref="xxx"` |
| 50 | +- refactor(language-core): reduce codegen options (#5804) |
| 51 | +- refactor(component-meta): deprecated `rawType` and `__internal__.tsLs` (#5808) |
| 52 | +- chore: update volar to 2.4.26 |
| 53 | + - feat: fallback resolution mode for `createResolveModuleName` (https://github.com/volarjs/volar.js/pull/293) (#5644) - Thanks to @serkodev! |
| 54 | + |
3 | 55 | ## 3.1.5 (2025-11-23) |
4 | 56 |
|
5 | 57 | ### Features |
|
0 commit comments