volarjs/volar.js (@volar/typescript)
### [`v2.4.0`](https://togithub.com/volarjs/volar.js/blob/HEAD/CHANGELOG.md#240-2024-08-18)
[Compare Source](https://togithub.com/volarjs/volar.js/compare/v2.3.4...v2.4.0)
##### Features
- **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://togithub.com/volarjs/volar.js/issues/213))
- **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://togithub.com/volarjs/volar.js/issues/214))
- **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
- **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
- **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
- **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
- **monaco:** implement CancellationToken for workers ([#221](https://togithub.com/volarjs/volar.js/issues/221))
- **typescript:** export `replaceTscContent` for downstream usage ([#223](https://togithub.com/volarjs/volar.js/issues/223)) - Thanks [@so1ve](https://togithub.com/so1ve)
- **kit:** add support for checking project references files ([#232](https://togithub.com/volarjs/volar.js/issues/232))
##### Bug Fixes
- **language-service:** multi-level DocumentSymbol results from different virtual code are not merged accurately
- **typescript:** use Proxy instead of modifying LanguageService instance ([#216](https://togithub.com/volarjs/volar.js/issues/216))
- **typescript:** implement `directoryExists` for language service host
- **typescript:** improve accuracy of `runTsc` extensions parameter behavior ([#222](https://togithub.com/volarjs/volar.js/issues/222))
- **typescript:** synchronize script snapshots in a side-effect-free manner ([#226](https://togithub.com/volarjs/volar.js/issues/226))
- **typescript:** add missing workspace symbols support for TS plugin ([vuejs/language-tools#4595](https://togithub.com/vuejs/language-tools/issues/4595))
- **typescript:** add missing code actions support for TS plugin ([vuejs/language-tools#4586](https://togithub.com/vuejs/language-tools/issues/4586))
- **monaco:** can't recognize the package with type definitions in `@types/xxx` ([#81](https://togithub.com/volarjs/volar.js/issues/81))
- **language-server:** simplify `asFileName` result if possible ([volarjs/vscode-typescript-web#4497](https://togithub.com/volarjs/vscode-typescript-web/issues/3))
- **language-server:** avoid loading diagnosticMessages for en language
- **language-server:** use `Program.getSourceFile` instead of `askedFiles` to more accurately determine indirect reference files
- **language-server:** respect client `linkSupport` property for declaration, definition, typeDefinition, implementation requests
- **jsdelivr:** avoid sending read file request if `pkgFilePath` is empty
- **jsdelivr:** avoid sending flat request for `xxx.ts`, `xxx.d.ts` module names
- **jsdelivr:** avoid sending flat request for `@types/xxx` if package `xxx` do not exist
- **source-map:** don't throw when `fromOffsets` is not sorted
- **labs:** associated script mappings are not visible
##### Refactors
- **language-server:** update `watchFiles` API to return Disposable
- **language-server:** only register event handlers when the language server does support a certain language feature
- **language-server:** add `setup` hook for `createTypeScriptProject` function
- **langauge-server:** improve LSP diagnostic integration ([#230](https://togithub.com/volarjs/volar.js/issues/230))
- **language-server:** split code based on logical concerns ([#231](https://togithub.com/volarjs/volar.js/issues/231))
- **typescript:** add `setup` hook for `runTsc` function
- **typescript:** add `extraExtensionsToRemove` option for `runTsc` function for glint emit support
- **typescript:** `createAsyncLanguageServicePlugin`'s `scriptKind` param allows pass a getter
- **monaco:** add `setup` hook for `createSimpleWorkerLanguageService`, `createTypeScriptWorkerService` functions
- **monaco:** replace `activateAutomaticTypeAcquisition` with `createNpmFileSystem` from the new `@volar/jsdelivr` package ([#218](https://togithub.com/volarjs/volar.js/issues/218)) ([#219](https://togithub.com/volarjs/volar.js/issues/219))
- **monaco:** rename `servicePlugins` option to `languageServicePlugins`
- **monaco:** update to `monaco-languageserver-types` 0.4 ([#225](https://togithub.com/volarjs/volar.js/issues/225)) - Thanks [@remcohaszing](https://togithub.com/remcohaszing)
- **language-core:** no longer coupled to the TypeScript context, TypeScript properties are defined via interface merging in `@volar/typescript` ([#215](https://togithub.com/volarjs/volar.js/issues/215))
- **language-service:** move project context from `Language` to language service option ([#217](https://togithub.com/volarjs/volar.js/issues/217))
- **test-utils:** update `startLanguageServer` function to accept multiple workspace folders ([#229](https://togithub.com/volarjs/volar.js/issues/229))
evanw/esbuild (esbuild)
### [`v0.23.1`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0231)
[Compare Source](https://togithub.com/evanw/esbuild/compare/v0.23.0...v0.23.1)
- Allow using the `node:` import prefix with `es*` targets ([#3821](https://togithub.com/evanw/esbuild/issues/3821))
The [`node:` prefix on imports](https://nodejs.org/api/esm.html#node-imports) is an alternate way to import built-in node modules. For example, `import fs from "fs"` can also be written `import fs from "node:fs"`. This only works with certain newer versions of node, so esbuild removes it when you target older versions of node such as with `--target=node14` so that your code still works. With the way esbuild's platform-specific feature compatibility table works, this was added by saying that only newer versions of node support this feature. However, that means that a target such as `--target=node18,es2022` removes the `node:` prefix because none of the `es*` targets are known to support this feature. This release adds the support for the `node:` flag to esbuild's internal compatibility table for `es*` to allow you to use compound targets like this:
```js
// Original code
import fs from 'node:fs'
fs.open
// Old output (with --bundle --format=esm --platform=node --target=node18,es2022)
import fs from "fs";
fs.open;
// New output (with --bundle --format=esm --platform=node --target=node18,es2022)
import fs from "node:fs";
fs.open;
```
- Fix a panic when using the CLI with invalid build flags if `--analyze` is present ([#3834](https://togithub.com/evanw/esbuild/issues/3834))
Previously esbuild's CLI could crash if it was invoked with flags that aren't valid for a "build" API call and the `--analyze` flag is present. This was caused by esbuild's internals attempting to add a Go plugin (which is how `--analyze` is implemented) to a null build object. The panic has been fixed in this release.
- Fix incorrect location of certain error messages ([#3845](https://togithub.com/evanw/esbuild/issues/3845))
This release fixes a regression that caused certain errors relating to variable declarations to be reported at an incorrect location. The regression was introduced in version 0.18.7 of esbuild.
- Print comments before case clauses in switch statements ([#3838](https://togithub.com/evanw/esbuild/issues/3838))
With this release, esbuild will attempt to print comments that come before case clauses in switch statements. This is similar to what esbuild already does for comments inside of certain types of expressions. Note that these types of comments are not printed if minification is enabled (specifically whitespace minification).
- Fix a memory leak with `pluginData` ([#3825](https://togithub.com/evanw/esbuild/issues/3825))
With this release, the build context's internal `pluginData` cache will now be cleared when starting a new build. This should fix a leak of memory from plugins that return `pluginData` objects from `onResolve` and/or `onLoad` callbacks.
vuejs/core (vue)
### [`v3.4.38`](https://togithub.com/vuejs/core/releases/tag/v3.4.38)
[Compare Source](https://togithub.com/vuejs/core/compare/v3.4.37...v3.4.38)
For stable releases, please refer to [CHANGELOG.md](https://togithub.com/vuejs/core/blob/main/CHANGELOG.md) for details.
For pre-releases, please refer to [CHANGELOG.md](https://togithub.com/vuejs/core/blob/minor/CHANGELOG.md) of the `minor` branch.
Configuration
📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^20.14.15
->^20.16.1
^2.3.4
->^2.4.0
^0.23.0
->^0.23.1
^3.4.37
->^3.4.38
Release Notes
volarjs/volar.js (@volar/typescript)
### [`v2.4.0`](https://togithub.com/volarjs/volar.js/blob/HEAD/CHANGELOG.md#240-2024-08-18) [Compare Source](https://togithub.com/volarjs/volar.js/compare/v2.3.4...v2.4.0) ##### Features - **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://togithub.com/volarjs/volar.js/issues/213)) - **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://togithub.com/volarjs/volar.js/issues/214)) - **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 - **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 - **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 - **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 - **monaco:** implement CancellationToken for workers ([#221](https://togithub.com/volarjs/volar.js/issues/221)) - **typescript:** export `replaceTscContent` for downstream usage ([#223](https://togithub.com/volarjs/volar.js/issues/223)) - Thanks [@so1ve](https://togithub.com/so1ve) - **kit:** add support for checking project references files ([#232](https://togithub.com/volarjs/volar.js/issues/232)) ##### Bug Fixes - **language-service:** multi-level DocumentSymbol results from different virtual code are not merged accurately - **typescript:** use Proxy instead of modifying LanguageService instance ([#216](https://togithub.com/volarjs/volar.js/issues/216)) - **typescript:** implement `directoryExists` for language service host - **typescript:** improve accuracy of `runTsc` extensions parameter behavior ([#222](https://togithub.com/volarjs/volar.js/issues/222)) - **typescript:** synchronize script snapshots in a side-effect-free manner ([#226](https://togithub.com/volarjs/volar.js/issues/226)) - **typescript:** add missing workspace symbols support for TS plugin ([vuejs/language-tools#4595](https://togithub.com/vuejs/language-tools/issues/4595)) - **typescript:** add missing code actions support for TS plugin ([vuejs/language-tools#4586](https://togithub.com/vuejs/language-tools/issues/4586)) - **monaco:** can't recognize the package with type definitions in `@types/xxx` ([#81](https://togithub.com/volarjs/volar.js/issues/81)) - **language-server:** simplify `asFileName` result if possible ([volarjs/vscode-typescript-web#4497](https://togithub.com/volarjs/vscode-typescript-web/issues/3)) - **language-server:** avoid loading diagnosticMessages for en language - **language-server:** use `Program.getSourceFile` instead of `askedFiles` to more accurately determine indirect reference files - **language-server:** respect client `linkSupport` property for declaration, definition, typeDefinition, implementation requests - **jsdelivr:** avoid sending read file request if `pkgFilePath` is empty - **jsdelivr:** avoid sending flat request for `xxx.ts`, `xxx.d.ts` module names - **jsdelivr:** avoid sending flat request for `@types/xxx` if package `xxx` do not exist - **source-map:** don't throw when `fromOffsets` is not sorted - **labs:** associated script mappings are not visible ##### Refactors - **language-server:** update `watchFiles` API to return Disposable - **language-server:** only register event handlers when the language server does support a certain language feature - **language-server:** add `setup` hook for `createTypeScriptProject` function - **langauge-server:** improve LSP diagnostic integration ([#230](https://togithub.com/volarjs/volar.js/issues/230)) - **language-server:** split code based on logical concerns ([#231](https://togithub.com/volarjs/volar.js/issues/231)) - **typescript:** add `setup` hook for `runTsc` function - **typescript:** add `extraExtensionsToRemove` option for `runTsc` function for glint emit support - **typescript:** `createAsyncLanguageServicePlugin`'s `scriptKind` param allows pass a getter - **monaco:** add `setup` hook for `createSimpleWorkerLanguageService`, `createTypeScriptWorkerService` functions - **monaco:** replace `activateAutomaticTypeAcquisition` with `createNpmFileSystem` from the new `@volar/jsdelivr` package ([#218](https://togithub.com/volarjs/volar.js/issues/218)) ([#219](https://togithub.com/volarjs/volar.js/issues/219)) - **monaco:** rename `servicePlugins` option to `languageServicePlugins` - **monaco:** update to `monaco-languageserver-types` 0.4 ([#225](https://togithub.com/volarjs/volar.js/issues/225)) - Thanks [@remcohaszing](https://togithub.com/remcohaszing) - **language-core:** no longer coupled to the TypeScript context, TypeScript properties are defined via interface merging in `@volar/typescript` ([#215](https://togithub.com/volarjs/volar.js/issues/215)) - **language-service:** move project context from `Language` to language service option ([#217](https://togithub.com/volarjs/volar.js/issues/217)) - **test-utils:** update `startLanguageServer` function to accept multiple workspace folders ([#229](https://togithub.com/volarjs/volar.js/issues/229))evanw/esbuild (esbuild)
### [`v0.23.1`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#0231) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.23.0...v0.23.1) - Allow using the `node:` import prefix with `es*` targets ([#3821](https://togithub.com/evanw/esbuild/issues/3821)) The [`node:` prefix on imports](https://nodejs.org/api/esm.html#node-imports) is an alternate way to import built-in node modules. For example, `import fs from "fs"` can also be written `import fs from "node:fs"`. This only works with certain newer versions of node, so esbuild removes it when you target older versions of node such as with `--target=node14` so that your code still works. With the way esbuild's platform-specific feature compatibility table works, this was added by saying that only newer versions of node support this feature. However, that means that a target such as `--target=node18,es2022` removes the `node:` prefix because none of the `es*` targets are known to support this feature. This release adds the support for the `node:` flag to esbuild's internal compatibility table for `es*` to allow you to use compound targets like this: ```js // Original code import fs from 'node:fs' fs.open // Old output (with --bundle --format=esm --platform=node --target=node18,es2022) import fs from "fs"; fs.open; // New output (with --bundle --format=esm --platform=node --target=node18,es2022) import fs from "node:fs"; fs.open; ``` - Fix a panic when using the CLI with invalid build flags if `--analyze` is present ([#3834](https://togithub.com/evanw/esbuild/issues/3834)) Previously esbuild's CLI could crash if it was invoked with flags that aren't valid for a "build" API call and the `--analyze` flag is present. This was caused by esbuild's internals attempting to add a Go plugin (which is how `--analyze` is implemented) to a null build object. The panic has been fixed in this release. - Fix incorrect location of certain error messages ([#3845](https://togithub.com/evanw/esbuild/issues/3845)) This release fixes a regression that caused certain errors relating to variable declarations to be reported at an incorrect location. The regression was introduced in version 0.18.7 of esbuild. - Print comments before case clauses in switch statements ([#3838](https://togithub.com/evanw/esbuild/issues/3838)) With this release, esbuild will attempt to print comments that come before case clauses in switch statements. This is similar to what esbuild already does for comments inside of certain types of expressions. Note that these types of comments are not printed if minification is enabled (specifically whitespace minification). - Fix a memory leak with `pluginData` ([#3825](https://togithub.com/evanw/esbuild/issues/3825)) With this release, the build context's internal `pluginData` cache will now be cleared when starting a new build. This should fix a leak of memory from plugins that return `pluginData` objects from `onResolve` and/or `onLoad` callbacks.vuejs/core (vue)
### [`v3.4.38`](https://togithub.com/vuejs/core/releases/tag/v3.4.38) [Compare Source](https://togithub.com/vuejs/core/compare/v3.4.37...v3.4.38) For stable releases, please refer to [CHANGELOG.md](https://togithub.com/vuejs/core/blob/main/CHANGELOG.md) for details. For pre-releases, please refer to [CHANGELOG.md](https://togithub.com/vuejs/core/blob/minor/CHANGELOG.md) of the `minor` branch.Configuration
📅 Schedule: Branch creation - "after 2am and before 3am" (UTC), Automerge - "after 1am and before 2am" (UTC).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.