Skip to content

Commit 925732e

Browse files
committed
chore: changelog
1 parent 5b319c8 commit 925732e

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

CHANGELOG.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,57 @@
11
# Changelog
22

3+
## [2.4.0](https://github.com/volarjs/volar.js/compare/v2.3.4...v2.4.0) (2024-08-18)
4+
5+
### Features
6+
7+
- **language-service, language-server:** add support for LSP [`workspaceSymbol/resolve`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_symbolResolve) request ([#213](https://github.com/volarjs/volar.js/issues/213))
8+
- **language-service, language-server:** add support for LSP [`workspace/executeCommand`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspace_executeCommand) request ([#214](https://github.com/volarjs/volar.js/issues/214))
9+
- **language-service, language-server:** add support for LSP [`textDocument/declaration`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_declaration) request
10+
- **language-service, language-server:** add support for LSP [`textDocument/moniker`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_moniker) request
11+
- **language-service, language-server:** add support for LSP [`textDocument/prepareTypeHierarchy`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_prepareTypeHierarchy) [`typeHierarchy/supertypes`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#typeHierarchy_supertypes) [`typeHierarchy/subtypes`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#typeHierarchy_subtypes) requests
12+
- **language-service, language-server:** add support for LSP [`textDocument/inlineValue`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_inlineValue) request
13+
- **monaco:** implement CancellationToken for workers ([#221](https://github.com/volarjs/volar.js/issues/221))
14+
- **typescript:** export `replaceTscContent` for downstream usage ([#223](https://github.com/volarjs/volar.js/issues/223)) - Thanks @so1ve
15+
- **kit:** add support for checking project references files ([#232](https://github.com/volarjs/volar.js/issues/232))
16+
17+
### Bug Fixes
18+
19+
- **language-service:** multi-level DocumentSymbol results from different virtual code are not merged accurately
20+
- **typescript:** use Proxy instead of modifying LanguageService instance ([#216](https://github.com/volarjs/volar.js/issues/216))
21+
- **typescript:** implement `directoryExists` for language service host
22+
- **typescript:** improve accuracy of `runTsc` extensions parameter behavior ([#222](https://github.com/volarjs/volar.js/issues/222))
23+
- **typescript:** synchronize script snapshots in a side-effect-free manner ([#226](https://github.com/volarjs/volar.js/issues/226))
24+
- **typescript:** add missing workspace symbols support for TS plugin ([vuejs/language-tools#4595](https://github.com/vuejs/language-tools/issues/4595))
25+
- **typescript:** add missing code actions support for TS plugin ([vuejs/language-tools#4586](https://github.com/vuejs/language-tools/issues/4586))
26+
- **monaco:** can't recognize the package with type definitions in `@types/xxx` ([#81](https://github.com/volarjs/volar.js/issues/81))
27+
- **language-server:** simplify `asFileName` result if possible ([volarjs/vscode-typescript-web#4497](https://github.com/volarjs/vscode-typescript-web/issues/3))
28+
- **language-server:** avoid loading diagnosticMessages for en language
29+
- **language-server:** use `Program.getSourceFile` instead of `askedFiles` to more accurately determine indirect reference files
30+
- **language-server:** respect client `linkSupport` property for declaration, definition, typeDefinition, implementation requests
31+
- **jsdelivr:** avoid sending read file request if `pkgFilePath` is empty
32+
- **jsdelivr:** avoid sending flat request for `xxx.ts`, `xxx.d.ts` module names
33+
- **jsdelivr:** avoid sending flat request for `@types/xxx` if package `xxx` do not exist
34+
- **source-map:** don't throw when `fromOffsets` is not sorted
35+
- **labs:** associated script mappings are not visible
36+
37+
### Refactors
38+
39+
- **language-server:** update `watchFiles` API to return Disposable
40+
- **language-server:** only register event handlers when the language server does support a certain language feature
41+
- **language-server:** add `setup` hook for `createTypeScriptProject` function
42+
- **langauge-server:** improve LSP diagnostic integration ([#230](https://github.com/volarjs/volar.js/issues/230))
43+
- **language-server:** split code based on logical concerns ([#231](https://github.com/volarjs/volar.js/issues/231))
44+
- **typescript:** add `setup` hook for `runTsc` function
45+
- **typescript:** add `extraExtensionsToRemove` option for `runTsc` function for glint emit support
46+
- **typescript:** `createAsyncLanguageServicePlugin`'s `scriptKind` param allows pass a getter
47+
- **monaco:** add `setup` hook for `createSimpleWorkerLanguageService`, `createTypeScriptWorkerService` functions
48+
- **monaco:** replace `activateAutomaticTypeAcquisition` with `createNpmFileSystem` from the new `@volar/jsdelivr` package ([#218](https://github.com/volarjs/volar.js/issues/218)) ([#219](https://github.com/volarjs/volar.js/issues/219))
49+
- **monaco:** rename `servicePlugins` option to `languageServicePlugins`
50+
- **monaco:** update to `monaco-languageserver-types` 0.4 ([#225](https://github.com/volarjs/volar.js/issues/225)) - Thanks @remcohaszing
51+
- **language-core:** no longer coupled to the TypeScript context, TypeScript properties are defined via interface merging in `@volar/typescript` ([#215](https://github.com/volarjs/volar.js/issues/215))
52+
- **language-service:** move project context from `Language` to language service option ([#217](https://github.com/volarjs/volar.js/issues/217))
53+
- **test-utils:** update `startLanguageServer` function to accept multiple workspace folders ([#229](https://github.com/volarjs/volar.js/issues/229))
54+
355
## [2.3.4](https://github.com/volarjs/volar.js/compare/v2.3.3...v2.3.4) (2024-06-25)
456

557
### Bug Fixes

0 commit comments

Comments
 (0)