|
2 | 2 |
|
3 | 3 | > [Join the Insiders Program](https://github.com/vuejs/language-tools/wiki/Get-Insiders-Edition) for more exclusive features and updates.
|
4 | 4 |
|
| 5 | +## 2.1.0 <sup>official</sup>, 2.1.1 <sup>insiders</sup> (2024-08-29) |
| 6 | + |
| 7 | +### Features |
| 8 | + |
| 9 | +- **language-core:** inlay hints for destructured props (#4634) - Thanks to @KazariEX! |
| 10 | +- **language-core:** typed fallthrough attributes (#4103) - Thanks to @A5rocks, @so1ve! |
| 11 | +- **language-core:** document links for classname within `:class` (#4642) - Thanks to @KazariEX! |
| 12 | +- **language-core:** auto infer type for $refs & useTemplateRef (#4644) - Thanks to @zhiyuanzmj! |
| 13 | +- **language-core:** type support for CSS Modules API (#4674) - Thanks to @KazariEX! |
| 14 | +- **language-service:** better completion for directives (#4640) - Thanks to @KazariEX! |
| 15 | +- **language-service:** better sorting & filtering of completion (#4671) - Thanks to @KazariEX! |
| 16 | +- **language-service:** add style scoped and module completion (#4705) - Thanks to @runyasak! |
| 17 | + |
| 18 | +### Bug Fixes |
| 19 | + |
| 20 | +- **vscode:** type of `vue.server.hybridMode` config (#4703) - Thanks to @KermanX! |
| 21 | +- **language-core:** dependency on vulnerable version of `vue-template-compiler` (#4613) - Thanks to @yyx990803! |
| 22 | +- **language-core:** support parse method to access ctx var in object (#4609) - Thanks to @linghaoSu! |
| 23 | +- **language-core:** escape \ and ' in className avoid type error (#4619) - Thanks to @linghaoSu! |
| 24 | +- **language-core:** semantic highlight of the end tag of namespaced elements (#4623) - Thanks to @KermanX! |
| 25 | +- **language-core:** nullable modelvalues (#4648) - Thanks to @davidmatter! |
| 26 | +- **language-core:** should try casting dynamic slot name into constant (#4669) - Thanks to @KermanX! |
| 27 | +- **language-core:** local name support for prop using runtime api (#4650) - Thanks to @KazariEX! |
| 28 | +- **language-core:** optimize matching of scoped class and `v-bind()` (#4679) - Thanks to @KazariEX! |
| 29 | +- **language-core:** should preserve generic info in directive (#4686) - Thanks to @KermanX! |
| 30 | +- **language-core:** generate `ref` as identifier instead of interpolation (#4688) - Thanks to @KazariEX! |
| 31 | +- **language-core:** correct type narrowing from script to template (#4689) - Thanks to @KazariEX! |
| 32 | +- **language-core:** should camelize prop name in `experimentalModelPropName` (#4691) - Thanks to @KermanX! |
| 33 | +- **language-core:** drop duplicate hints on incomplete tag (#4696) - Thanks to @KazariEX! |
| 34 | +- **language-core:** correct inlay hints for v-bind with modifier (#4721) - Thanks to @KazariEX! |
| 35 | +- **language-core:** transform range of `file-md` correctly (#4735) - Thanks to @KazariEX! |
| 36 | +- **language-plugin-pug:** should cache proxyed object (#4626) - Thanks to @KermanX! |
| 37 | +- **language-plugin-pug:** compute offset correctly of pug class (#4652) - Thanks to @KazariEX! |
| 38 | +- **language-service:** completion documentations for binding attributes (#4667) - Thanks to @KazariEX! |
| 39 | +- **language-service:** avoid converting internal id of special tags (#4643) - Thanks to @KazariEX! |
| 40 | +- **language-service:** reinstate the completion for modifiers (#4639) - Thanks to @KazariEX! |
| 41 | +- **language-service:** consistent data from provider for sfc completion (#4645) - Thanks to @KazariEX! |
| 42 | +- **typescript-plugin:** unknown request type warning (#4715) - Thanks to @davidmatter! |
| 43 | + |
| 44 | +### Refactors |
| 45 | + |
| 46 | +- **language-core:** extract SFC root tags to separate virtual code |
| 47 | +- **language-core:** removed `__hint` trick from codegen |
| 48 | +- **language-core:** rewrite a part of confusing codegen code |
| 49 | +- **language-core:** reduce virtual code generated by component tags (#4714) |
| 50 | +- **language-core:** do not wrap template virtual code with function (#4731) |
| 51 | +- **language-core**: write real files to FS for shared global types (#4736) |
| 52 | +- **component-meta:** remove deprecated `createComponentMetaCheckerByJsonConfig`, `createComponentMetaChecker` api |
| 53 | + |
| 54 | +### Other Changes |
| 55 | + |
| 56 | +- Upgraded Volar from `v2.4.0-alpha.18` to `v2.4.1`: |
| 57 | + - Ensure unopened files are synced to project (#4711) (#4632) - Thanks to @davidmatter! |
| 58 | +- **ci:** integrated [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new) |
| 59 | +- **tsc:** test all typecheck cases in one tsconfig (#4723) |
| 60 | +- **tsc:** add test for TS-next (#4724) |
| 61 | +- **tsc:** add tests for for #3779, #3820 (#3838) - Thanks to @so1ve! |
| 62 | +- **vscode:** add grammar test (#3861) - Thanks to @so1ve! |
| 63 | +- **language-service:** migrate tests to `@volar/test-utils` (#4719) |
| 64 | +- **language-core:** add scoped classes renaming case (#4727) - Thanks to @KazariEX! |
| 65 | + |
5 | 66 | ## 2.0.28 <sup>official</sup>, 2.0.29 <sup>insiders</sup> (2024-07-22)
|
6 | 67 |
|
7 | 68 | ### Features
|
|
15 | 76 | - **language-service:** remove `v-bind` code action (#4601)
|
16 | 77 | - **vscode:** add empty pattern to codeblock attributes scope (#4590) - Thanks @KermanX
|
17 | 78 |
|
18 |
| -### Fixes |
| 79 | +### Bug Fixes |
19 | 80 |
|
20 | 81 | - **tsc:** errors should be thrown instead of being console.log printed
|
21 | 82 | - **language-server:** observe named pipes changes when server startup (#4292)
|
|
0 commit comments