forked from vuejs/language-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from vuejs:master #140
Merged
Merged
Changes from all commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
0020c08
test(language-service): migrate tests to `@volar/test-utils` (#4719)
johnsoncodehk 0b99c60
test(tsc): test all typecheck cases in one tsconfig (#4723)
johnsoncodehk 4618cdc
ci(lint): auto-fix
github-actions[bot] a243f94
test(vscode): add grammar test (#3861)
so1ve e4d3683
test(tsc): add test for TS-next (#4724)
johnsoncodehk de50847
test(tsc): add tests for #3779, #3820 (#3838)
so1ve 74c763e
test(tsc): only test TS-next in CI
johnsoncodehk 21e3b71
chore(component-type-helpers): fix typo
johnsoncodehk 9da831f
feat(language-core): typed fallthrough attributes (#4103)
so1ve bee8ef5
feat(language-core): document links for classname within `:class` (#4…
KazariEX 4dd5ee9
feat(language-core): auto infer type for $refs & useTemplateRef (#4644)
zhiyuanzmj 0b22735
fix(language-service): consistent data from provider for sfc completi…
KazariEX 6bb7820
fix(language-core): local name support for prop using runtime api (#4…
KazariEX 6722371
ci(lint): auto-fix
github-actions[bot] 812592c
fix(language-plugin-pug): compute offset correctly of pug class (#4652)
KazariEX 08dddce
ci(lint): auto-fix
github-actions[bot] d6bd797
feat(language-service): better sorting & filtering of completion (#4671)
KazariEX c7fe96f
feat(language-core): type support for CSS Modules API (#4674)
KazariEX d35cb82
fix(language-core): optimize matching of scoped class and `v-bind()` …
KazariEX 22eea60
fix(language-core): should preserve generic info in directive (#4686)
kermanx ebc8710
fix(language-core): generate `ref` as identifier instead of interpola…
KazariEX fc22bf7
fix(language-core): correct type narrowing from script to template (#…
KazariEX 8eda337
fix(language-core): should camelize prop name in `experimentalModelPr…
kermanx 23dbcea
fix(language-core): drop duplicate hints on incomplete tag (#4696)
KazariEX 333d73e
feat(language-service): add style scoped and module completion (#4705)
runyasak 66920c8
fix(language-core): correct inlay hints for v-bind with modifier (#4721)
KazariEX 0e2db19
fix(language-core): tsNode.text is missing in tsc
johnsoncodehk 29b13cf
test: add scoped classes renaming case (#4727)
KazariEX b2707f0
fix(language-core): fallthrough attributes should be optional
johnsoncodehk 3070691
fix(language-core): don't fallthrough attributes if defineEmits exists
johnsoncodehk 5a9bb12
refactor(language-core): rewrite generatePropsOption
johnsoncodehk 21205fb
fix(language-core): fallthrough attributes break component type when …
johnsoncodehk d94bd3c
fix(language-core): improve fallthrough attributes and defineEmit com…
johnsoncodehk ebb8490
feat(language-core): add fallthroughAttributes compiler option
johnsoncodehk 180af0b
fix(language-core): fix __VLS_template returns when skipTemplateCodeg…
johnsoncodehk 5936c82
refactor(language-core): reduce virtual code generated by component t…
johnsoncodehk 13924d1
refactor(language-core): do not wrap template virtual code with funct…
johnsoncodehk a162f04
refactor(component-meta): remove deprecated functions and exports
johnsoncodehk 38c1e48
refactor: write real files to FS for shared global types (#4736)
johnsoncodehk 7437e3b
fix(language-core): transform range of `file-md` correctly (#4735)
KazariEX e41e56b
chore: bump deps
johnsoncodehk 08c5476
chore: changelog
johnsoncodehk 5100637
v2.1.0
johnsoncodehk ecaa9f9
chore: update insiders.json
johnsoncodehk 194e77c
fix: write globalTypes into `dist` for correct export (#4740)
KazariEX 92523f2
fix(language-core): don't default `vueCompilerOptions.lib` to `@vue/r…
johnsoncodehk cdb52d2
chore: changelog
johnsoncodehk 4e4b839
v2.1.2
johnsoncodehk 4cf3c33
chore: update insiders.json
johnsoncodehk d18cade
fix: apply snake case on globalTypes filename (#4749)
KazariEX 07bc594
feat: generate global types file into `node_modules/.vue-global-types…
KazariEX 931444f
ci(lint): auto-fix
github-actions[bot] ac1bec7
chore: code consistency
johnsoncodehk a94ed38
chore: Add optional "dependencies" textarea to issue template [ci ski…
davidmatter 950c9e1
fix: Whitelist ms-dynamics-smb.al extension for Vue Hybrid Mode. (#4765)
kyleweishaupt 306936b
fix(language-core): hoist `$refs` type (#4763)
johnsoncodehk 8bc2416
fix(language-server): leaking named pipes
johnsoncodehk 63fca0b
fix(language-core): disable lib check on global types file (#4767)
KazariEX 69be985
feat(language-core): navigation support for template-ref (#4726)
KazariEX 923f835
fix(vscode): correct highlighting on tag starting with `template` (#4…
KazariEX af7fc39
fix(typescript-plugin): compatible with Yarn PnP
johnsoncodehk a081e07
fix(language-core): prevent circular reference of templateRef (#4768)
zhiyuanzmj 05a8020
Revert "fix(vscode): correct highlighting on tag starting with `templ…
johnsoncodehk 8d8e069
fix(language-core): using interface merging for GlobalComponents
johnsoncodehk 9e2aaf7
fix(language-core): `fallthroughAttributes` causes global components …
johnsoncodehk 4fae9dd
fix(language-core): re-fix Yarn PnP compatibility
johnsoncodehk 87a804a
fix(language-core): auto-completion for the last line of template blo…
zhiyuanzmj ea9bb02
fix(language-core): update ast correctly on repeated `v-for` modifica…
KazariEX a95b51a
v2.1.4 (#4773)
johnsoncodehk f12667f
chore: update insiders.json
johnsoncodehk 836a606
feat(language-plugin-pug): support initial indentation
johnsoncodehk b809d01
pref: don't emit event lnlayhint when content is none (#4776)
Gehbt 0fd9a7a
fix(language-core): wrap template refs with `unref` in interpolation …
KazariEX 7a0337b
fix(language-core): __VLS_unref is any
johnsoncodehk 2bb3cc1
refactor(language-core): split `__VLS_templateResult` (#4781)
KazariEX fd30217
fix(language-core): ensure to pass tsc on inline global types (#4782)
KazariEX ece125b
refactor(language-core): wrap template virtual code into a function (…
johnsoncodehk 1a734cf
refactor(language-core): rename `__VLS_internalComponent` to `__VLS_s…
johnsoncodehk acccf11
fix(language-core): infer native template ref as build-in element int…
KazariEX 97ce6d8
refactor(language-core): move `templateRef` into `composibles` (#4791)
KazariEX 6a403c8
fix(language-core): generate `__VLS_StyleModules` after template (#4790)
KazariEX 16b1b36
refactor(language-core): remove `__VLS_name`
johnsoncodehk bdf5d41
refactor(language-core): determine skipTemplateCodegen in advance
johnsoncodehk b9d5f9c
test: add renaming case for template `ref()` (#4794)
KazariEX 4c89e20
test(tsc): update to Vue 3.5 (#4725)
johnsoncodehk cd7c2fd
test: always run TS-next test for `test:update` script
johnsoncodehk 8064338
fix(typescript-plugin): disconnect socket on error
johnsoncodehk 2bb5379
ci(language-service): update html data
github-actions[bot] 858d7c4
fix(language-core): make `expose` of non-generic template ref require…
zhiyuanzmj e90ea65
fix(language-core): avoid using `__typeProps` with runtime props (#4800)
KazariEX f1d453c
fix(language-core): ignore unknown attrs error when strictTemplates i…
johnsoncodehk 1eabe25
chore: update to Vue 3.5.1
johnsoncodehk 282f6e1
test: unknown props on non-strict generic component (#4792)
KazariEX 5c7e153
feat(language-service): JSDoc display support when typing props on co…
joy-yu e3f8b91
fix(language-core): prevent append globalTypes to virtual file (#4806)
zhiyuanzmj b14b8a9
refactor(language-core): generate global types for the first parsed V…
johnsoncodehk 408dca1
refactor(language-core): update path import to use posix style
johnsoncodehk 410f929
feat(language-core): typed directives in template (#4807)
KazariEX b43708e
fix(language-core): prevent type error when use defineSlots and non-t…
zhiyuanzmj a8038a6
v2.1.6 (#4808)
johnsoncodehk 52e3066
chore: update insiders.json
johnsoncodehk 1dafe62
ci(language-service): update html data
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,137 @@ | |
|
||
> [Join the Insiders Program](https://github.com/vuejs/language-tools/wiki/Get-Insiders-Edition) for more exclusive features and updates. | ||
|
||
## 2.1.6 <sup>official</sup>, 2.1.7 <sup>insiders</sup> (2024-09-05) | ||
|
||
### Features | ||
|
||
- **language-plugin-pug:** support initial indentation (#4774) | ||
- **language-service:** JSDoc display support when typing props on component template (#4796) - Thanks to @joy-yu! | ||
- **language-core:** typed directives in template (#4807) - Thanks to @KazariEX! | ||
|
||
### Bug Fixes | ||
|
||
- **language-core:** wrap template refs with `unref` in interpolation (#4777) - Thanks to @KazariEX! | ||
- **language-core:** ensure to pass tsc on inline global types (#4782) - Thanks to @KazariEX! | ||
- **language-core:** infer native template ref as build-in element interface (#4786) - Thanks to @KazariEX! | ||
- **language-core:** generate `__VLS_StyleModules` after template (#4790) - Thanks to @KazariEX! | ||
- **language-core:** make `expose` of non-generic template ref required (#4795) - Thanks to @zhiyuanzmj! | ||
- **language-core:** avoid using `__typeProps` with runtime props (#4800) - Thanks to @KazariEX! | ||
- **language-core:** ignore unknown attrs error when strictTemplates is not enabled (#4785) | ||
- **language-core:** prevent append globalTypes to virtual file (#4806) - Thanks to @zhiyuanzmj! | ||
- **language-core:** prevent type error when use defineSlots and non-template (#4809) - Thanks to @zhiyuanzmj! | ||
- **typescript-plugin:** disconnect socket on error (#4672) | ||
|
||
### Performance | ||
|
||
- **language-core:** don't emit event lnlayhint when content is none (#4776) - Thanks to @Gehbt! | ||
|
||
### Other Changes | ||
|
||
- **language-core:** split `__VLS_templateResult` (#4781) - Thanks to @KazariEX! | ||
- **language-core:** wrap template virtual code into a function (#4784) | ||
- **language-core:** move `templateRef` into `composibles` (#4791) - Thanks to @KazariEX! | ||
- **language-core:** generate global types for the first parsed Vue component if cannot write global types file | ||
|
||
### Tests | ||
|
||
- **language-server:** add renaming case for template `ref()` (#4794) - Thanks to @KazariEX! | ||
- **tsc:** update to Vue 3.5 (#4725) | ||
- **tsc:** unknown props on non-strict generic component (#4792) | ||
|
||
## 2.1.4 <sup>official</sup>, 2.1.5 <sup>insiders</sup> (2024-09-01) | ||
|
||
### Features | ||
|
||
- **typescript-plugin, language-server:** generate global types file into `node_modules/.vue-global-types` (#4752) - Thanks to @KazariEX! | ||
- **language-core:** navigation support for template-ref (#4726) - Thanks to @KazariEX! | ||
|
||
### Bug Fixes | ||
|
||
- **language-core, typescript-plugin, language-server:** apply snake case on globalTypes filename (#4749) - Thanks to @KazariEX! | ||
- **language-core:** hoist `$refs` type (#4763) | ||
- **language-core:** disable lib check on global types file (#4767) - Thanks to @KazariEX! | ||
- **language-core:** prevent circular reference of templateRef (#4768) - Thanks to @zhiyuanzmj! | ||
- **language-core:** using interface merging for `GlobalComponents` | ||
- **language-core:** `fallthroughAttributes` causes global components to be self-referential (#4761) | ||
- **language-core:** auto-completion for the last line of template block (#4771) - Thanks to @zhiyuanzmj! | ||
- **language-core:** update ast correctly on repeated `v-for` modifications (#4772) - Thanks to @KazariEX! | ||
- **language-server:** leaking named pipes (#4672) | ||
- **typescript-plugin:** compatible with Yarn PnP (#4751) | ||
- **vscode:** whitelist `ms-dynamics-smb.al` extension for Vue Hybrid Mode. (#4765) - Thanks to @kyleweishaupt! | ||
|
||
### Other Changes | ||
|
||
- Add optional "dependencies" textarea to issue template (#4758) - Thanks to @davidmatter! | ||
|
||
## 2.1.2 <sup>official</sup>, 2.1.3 <sup>insiders</sup> (2024-08-29) | ||
|
||
### Bug Fixes | ||
|
||
- **language-core, typescript-plugin, language-server:** write globalTypes into dist for correct export (#4740) (#4737) (#4738) (#4739) - Thanks to @KazariEX! | ||
- **language-core:** don't default `vueCompilerOptions.lib` to `@vue/runtime-dom` for Vue 2 | ||
|
||
## 2.1.0 <sup>official</sup>, 2.1.1 <sup>insiders</sup> (2024-08-29) | ||
|
||
### Features | ||
|
||
- **language-core:** inlay hints for destructured props (#4634) - Thanks to @KazariEX! | ||
- **language-core:** typed fallthrough attributes (#4103) - Thanks to @A5rocks, @so1ve! | ||
- **language-core:** document links for classname within `:class` (#4642) - Thanks to @KazariEX! | ||
- **language-core:** auto infer type for $refs & useTemplateRef (#4644) - Thanks to @zhiyuanzmj! | ||
- **language-core:** type support for CSS Modules API (#4674) - Thanks to @KazariEX! | ||
- **language-service:** better completion for directives (#4640) - Thanks to @KazariEX! | ||
- **language-service:** better sorting & filtering of completion (#4671) - Thanks to @KazariEX! | ||
Comment on lines
+79
to
+85
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ensure proper documentation for new features. Make sure that the new features are properly documented to help users understand and utilize them effectively. Do you want me to generate the documentation or open a GitHub issue to track this task? |
||
- **language-service:** add style scoped and module completion (#4705) - Thanks to @runyasak! | ||
|
||
### Bug Fixes | ||
|
||
- **vscode:** type of `vue.server.hybridMode` config (#4703) - Thanks to @KermanX! | ||
- **language-core:** dependency on vulnerable version of `vue-template-compiler` (#4613) - Thanks to @yyx990803! | ||
- **language-core:** support parse method to access ctx var in object (#4609) - Thanks to @linghaoSu! | ||
- **language-core:** escape \ and ' in className avoid type error (#4619) - Thanks to @linghaoSu! | ||
- **language-core:** semantic highlight of the end tag of namespaced elements (#4623) - Thanks to @KermanX! | ||
- **language-core:** nullable modelvalues (#4648) - Thanks to @davidmatter! | ||
- **language-core:** should try casting dynamic slot name into constant (#4669) - Thanks to @KermanX! | ||
- **language-core:** local name support for prop using runtime api (#4650) - Thanks to @KazariEX! | ||
- **language-core:** optimize matching of scoped class and `v-bind()` (#4679) - Thanks to @KazariEX! | ||
- **language-core:** should preserve generic info in directive (#4686) - Thanks to @KermanX! | ||
- **language-core:** generate `ref` as identifier instead of interpolation (#4688) - Thanks to @KazariEX! | ||
- **language-core:** correct type narrowing from script to template (#4689) - Thanks to @KazariEX! | ||
- **language-core:** should camelize prop name in `experimentalModelPropName` (#4691) - Thanks to @KermanX! | ||
- **language-core:** drop duplicate hints on incomplete tag (#4696) - Thanks to @KazariEX! | ||
- **language-core:** correct inlay hints for v-bind with modifier (#4721) - Thanks to @KazariEX! | ||
- **language-core:** transform range of `file-md` correctly (#4735) - Thanks to @KazariEX! | ||
- **language-plugin-pug:** should cache proxyed object (#4626) - Thanks to @KermanX! | ||
- **language-plugin-pug:** compute offset correctly of pug class (#4652) - Thanks to @KazariEX! | ||
- **language-service:** completion documentations for binding attributes (#4667) - Thanks to @KazariEX! | ||
- **language-service:** avoid converting internal id of special tags (#4643) - Thanks to @KazariEX! | ||
- **language-service:** reinstate the completion for modifiers (#4639) - Thanks to @KazariEX! | ||
- **language-service:** consistent data from provider for sfc completion (#4645) - Thanks to @KazariEX! | ||
- **typescript-plugin:** unknown request type warning (#4715) - Thanks to @davidmatter! | ||
|
||
### Refactors | ||
|
||
- **language-core:** extract SFC root tags to separate virtual code | ||
- **language-core:** removed `__hint` trick from codegen | ||
- **language-core:** rewrite a part of confusing codegen code | ||
- **language-core:** reduce virtual code generated by component tags (#4714) | ||
- **language-core:** do not wrap template virtual code with function (#4731) | ||
- **language-core**: write real files to FS for shared global types (#4736) | ||
- **component-meta:** remove deprecated `createComponentMetaCheckerByJsonConfig`, `createComponentMetaChecker` api | ||
|
||
### Other Changes | ||
|
||
- Upgraded Volar from `v2.4.0-alpha.18` to `v2.4.1`: | ||
- Ensure unopened files are synced to project (#4711) (#4632) - Thanks to @davidmatter! | ||
- **ci:** integrated [pkg.pr.new](https://github.com/stackblitz-labs/pkg.pr.new) | ||
- **tsc:** test all typecheck cases in one tsconfig (#4723) | ||
- **tsc:** add test for TS-next (#4724) | ||
- **tsc:** add tests for for #3779, #3820 (#3838) - Thanks to @so1ve! | ||
- **vscode:** add grammar test (#3861) - Thanks to @so1ve! | ||
- **language-service:** migrate tests to `@volar/test-utils` (#4719) | ||
- **language-core:** add scoped classes renaming case (#4727) - Thanks to @KazariEX! | ||
|
||
## 2.0.28 <sup>official</sup>, 2.0.29 <sup>insiders</sup> (2024-07-22) | ||
|
||
### Features | ||
|
@@ -15,7 +146,7 @@ | |
- **language-service:** remove `v-bind` code action (#4601) | ||
- **vscode:** add empty pattern to codeblock attributes scope (#4590) - Thanks @KermanX | ||
|
||
### Fixes | ||
### Bug Fixes | ||
|
||
- **tsc:** errors should be thrown instead of being console.log printed | ||
- **language-server:** observe named pipes changes when server startup (#4292) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add tests for new features.
Ensure that tests are added for the new features to verify their correctness and prevent future regressions.
Do you want me to generate the unit testing code or open a GitHub issue to track this task?