svelte-language-server
Version:
A language server for Svelte
213 lines (113 loc) • 9.98 kB
Markdown
# Changelog
## 0.18.3
### Patch Changes
- fix: load esm version of Vite ([#3065](https://github.com/sveltejs/language-tools/pull/3065))
- perf: remove lodash ([#3038](https://github.com/sveltejs/language-tools/pull/3038))
- feat: provide utils for svelte-check tsgo integration ([#3036](https://github.com/sveltejs/language-tools/pull/3036))
- Updated dependencies [[`7a3464b`](https://github.com/sveltejs/language-tools/commit/7a3464b54b997c703d5b60cc6ab1ed74c49efffc), [`a2561fc`](https://github.com/sveltejs/language-tools/commit/a2561fc2c52bdcd0bad746261222196fd94d5396), [`459d031`](https://github.com/sveltejs/language-tools/commit/459d031b4fafd558fc015e1cb37826aa691f2fa3)]:
- @sveltejs/load-config@0.2.0
- svelte2tsx@0.7.57
## 0.18.2
### Patch Changes
- fix: don't show type inlay hint for component inside snippets ([#3041](https://github.com/sveltejs/language-tools/pull/3041))
- fix: correct 'occured' typo in `svelte:boundary` `onerror` description (shown in editor IntelliSense) ([#3039](https://github.com/sveltejs/language-tools/pull/3039))
- feat: support reading Svelte config from `vite.config.js/ts` ([#3031](https://github.com/sveltejs/language-tools/pull/3031))
- fix: mark optional members with a trailing `?` in completion labels ([#3044](https://github.com/sveltejs/language-tools/pull/3044))
- Updated dependencies [[`151cf45`](https://github.com/sveltejs/language-tools/commit/151cf4593efb4cc3a88cd3c00d5a2f847ac345fe)]:
- @sveltejs/load-config@0.1.1
## 0.18.1
### Patch Changes
- feat: add support for svelte config ts/mts files ([#3009](https://github.com/sveltejs/language-tools/pull/3009))
- feat: support CSS completions in nested style tags ([#3022](https://github.com/sveltejs/language-tools/pull/3022))
- fix: support prettier.useEditorConfig setting ([#3026](https://github.com/sveltejs/language-tools/pull/3026))
- fix: prevent > in expression affects HTML folding ([#3029](https://github.com/sveltejs/language-tools/pull/3029))
- Updated dependencies [[`86fafb1`](https://github.com/sveltejs/language-tools/commit/86fafb1f42ab87aeda282c9457fd44303a75f45c), [`6bd8b17`](https://github.com/sveltejs/language-tools/commit/6bd8b175ad5918b5822e4323a4e67d79918eff84), [`4a064e5`](https://github.com/sveltejs/language-tools/commit/4a064e5ef6d1c0148b2f833fadafea1b134e9d5c), [`e9f4ce9`](https://github.com/sveltejs/language-tools/commit/e9f4ce9594cd63e6f260be7efd482e7e2b1c53cd), [`3474048`](https://github.com/sveltejs/language-tools/commit/3474048822eca390e58940e10ae844c77b81501a)]:
- svelte2tsx@0.7.56
## 0.18.0
### Minor Changes
- feat: typescript 6.0 support ([#2985](https://github.com/sveltejs/language-tools/pull/2985))
### Patch Changes
- Updated dependencies [[`29e2894`](https://github.com/sveltejs/language-tools/commit/29e2894c795f5b1fcfc091ba03d541148a18e4a2)]:
- svelte2tsx@0.7.55
## 0.17.31
### Patch Changes
- fix: prevent duplicate diagnostics ([#3000](https://github.com/sveltejs/language-tools/pull/3000))
- fix: properly place svelte-ignore comment in quickfix when `<script module>` presents ([#3011](https://github.com/sveltejs/language-tools/pull/3011))
- fix: prevent incorrect $types imports being injected when moving +page.svelte files ([#3010](https://github.com/sveltejs/language-tools/pull/3010))
- fix: prevent extra script indentation when inserting svelte-ignore comments ([#3011](https://github.com/sveltejs/language-tools/pull/3011))
- fix: provide tsconfig.json diagnostics for svelte-check ([#3005](https://github.com/sveltejs/language-tools/pull/3005))
- Updated dependencies [[`8b103ba`](https://github.com/sveltejs/language-tools/commit/8b103bab7a8234397a8d4b88f75c88514354b5c5)]:
- svelte2tsx@0.7.54
## 0.17.30
### Patch Changes
- perf: micro-optimizations in hot paths ([#2960](https://github.com/sveltejs/language-tools/pull/2960))
- fix: prevent config loading message in svelte-check --incremental ([#2974](https://github.com/sveltejs/language-tools/pull/2974))
- perf: enable incremental TypeScript reparsing via getChangeRange ([#2961](https://github.com/sveltejs/language-tools/pull/2961))
- perf: various optimization with ast walk ([#2969](https://github.com/sveltejs/language-tools/pull/2969))
- feat: pull diagnostics support ([#2978](https://github.com/sveltejs/language-tools/pull/2978))
- fix: prevent error with escape sequence in attribute ([#2968](https://github.com/sveltejs/language-tools/pull/2968))
- fix: typescript 6.0 compatibility ([#2988](https://github.com/sveltejs/language-tools/pull/2988))
- Updated dependencies [[`5b9a4ac`](https://github.com/sveltejs/language-tools/commit/5b9a4ac9f5949f709667d43a16766475bc5a63d8)]:
- svelte2tsx@0.7.53
## 0.17.29
### Patch Changes
- fix: pass filename to `warningFilter` ([#2959](https://github.com/sveltejs/language-tools/pull/2959))
## 0.17.28
### Patch Changes
- feat: support for comments in tags ([#2944](https://github.com/sveltejs/language-tools/pull/2944))
## 0.17.27
### Patch Changes
- fix: handle relative imports reaching outside working directory when using `--incremental/--tsgo` flags ([#2942](https://github.com/sveltejs/language-tools/pull/2942))
- fix: extract style/script tag followed by destructuring in the template ([#2921](https://github.com/sveltejs/language-tools/pull/2921))
- fix: support SvelteKit zero types in svelte-check --incremental ([#2939](https://github.com/sveltejs/language-tools/pull/2939))
- Updated dependencies [[`6a04679`](https://github.com/sveltejs/language-tools/commit/6a04679e600c7a9ecd0bcdb9476c4edd4bdf6e72), [`b914d01`](https://github.com/sveltejs/language-tools/commit/b914d0104ba5326cc607039313dd8993a6e141fd)]:
- svelte2tsx@0.7.49
## 0.17.26
### Patch Changes
- feat: add links to diagnostic error codes via codeDescription ([#2936](https://github.com/sveltejs/language-tools/pull/2936))
- chore: provide utils for svelte-check ([#2932](https://github.com/sveltejs/language-tools/pull/2932))
- Updated dependencies [[`0b8af82`](https://github.com/sveltejs/language-tools/commit/0b8af829a3ceadd0cd08754a9edcb6cc353cb20f)]:
- svelte2tsx@0.7.48
## 0.17.25
### Patch Changes
- fix: apply text synchronize change in order ([#2927](https://github.com/sveltejs/language-tools/pull/2927))
## 0.17.24
### Patch Changes
- perf: only parse html once in a batch update ([#2923](https://github.com/sveltejs/language-tools/pull/2923))
- feat: support emmet.extensionsPath config ([#2918](https://github.com/sveltejs/language-tools/pull/2918))
- feat: custom element JSDoc documentation for completion/hover ([#2879](https://github.com/sveltejs/language-tools/pull/2879))
- fix: compatibility with prettier-plugin-tailwindcss in monorepo ([#2925](https://github.com/sveltejs/language-tools/pull/2925))
- Updated dependencies [[`e2f09eb`](https://github.com/sveltejs/language-tools/commit/e2f09eb1379a08983c48518e7af65a49736fa813)]:
- svelte2tsx@0.7.47
## 0.17.23
### Patch Changes
- perf: move return statement in `getCompletions` so it returns immediately if possible ([#2899](https://github.com/sveltejs/language-tools/pull/2899))
- perf: avoid global completion in component start tag ([#2904](https://github.com/sveltejs/language-tools/pull/2904))
- perf: optimize path normalization ([#2907](https://github.com/sveltejs/language-tools/pull/2907))
- perf: optimize module resolution cache invalidation check ([#2902](https://github.com/sveltejs/language-tools/pull/2902))
- fix: add some limit to store auto-import ([#2909](https://github.com/sveltejs/language-tools/pull/2909))
- [perf]: avoid re-reacting completion items for svelte syntax every time `getCompletionsWithRegardToTriggerCharacter` is called ([#2900](https://github.com/sveltejs/language-tools/pull/2900))
- Updated dependencies [[`b6ebbd8`](https://github.com/sveltejs/language-tools/commit/b6ebbd83e7495db187d2ebc15d3b9e372623e1a7)]:
- svelte2tsx@0.7.46
## 0.17.22
### Patch Changes
- feat: support hierarchical document symbols ([#2817](https://github.com/sveltejs/language-tools/pull/2817))
- fix: use moustache for svelte5 onhandler completion ([#2883](https://github.com/sveltejs/language-tools/pull/2883))
- feat: quick fix for adding lang="ts" ([#2882](https://github.com/sveltejs/language-tools/pull/2882))
- fix: support for @nativescript-community/svelte-native ([#2867](https://github.com/sveltejs/language-tools/pull/2867))
- fix: always treat a script tag as top-level if it's the first tag in the file ([#2886](https://github.com/sveltejs/language-tools/pull/2886))
- fix: restrict emmet completion with emmet specific triggerCharacter ([#2873](https://github.com/sveltejs/language-tools/pull/2873))
- fix: support experimental feature in "Show compiled Code" ([#2884](https://github.com/sveltejs/language-tools/pull/2884))
- feat: implement 'source.removeUnusedImports' code action ([#2875](https://github.com/sveltejs/language-tools/pull/2875))
## 0.17.21
### Patch Changes
- perf: check if file content changed in tsconfig file watch ([#2859](https://github.com/sveltejs/language-tools/pull/2859))
- Updated dependencies [[`7468286`](https://github.com/sveltejs/language-tools/commit/7468286afd56b886f5490adebe6f667306d0fe08)]:
- svelte2tsx@0.7.45
## 0.17.20
### Patch Changes
- perf: tweak some snapshot hot paths ([#2852](https://github.com/sveltejs/language-tools/pull/2852))
- perf: more precise module cache invalidation ([#2853](https://github.com/sveltejs/language-tools/pull/2853))
- Updated dependencies [[`f799839`](https://github.com/sveltejs/language-tools/commit/f799839a5a5dfc5dcffdc42fb34b5b10b4345be5), [`dec37ea`](https://github.com/sveltejs/language-tools/commit/dec37eabe44370615d98af2d19ae6ed7feafc297)]:
- svelte2tsx@0.7.44
See https://github.com/sveltejs/language-tools/releases