Skip to content

Releases: volarjs/volar.js

v2.3.2

23 Jun 19:22

Choose a tag to compare

Bug Fixes

  • language-core: re-export SourceMap (#210) - Thanks @kermanx
  • language-service: make sure provideSelectionRanges array length is valid
  • language-service: don't format parent virtual code if formatting range inside embedded code
  • language-core: assert virtual code ID must be lowercase
  • language-server: fix Webpack compatibility

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Open Source enables Microsoft products and services to bring choice, technology and community to our customers.

Silver Sponsors

Become a sponsor

v2.3.1

22 Jun 02:22

Choose a tag to compare

Features

  • labs: improving the capabilities of the virtual code editor (#208)

Bug Fixes

  • labs: language client ID should not be case sensitive
  • language-server: fix URI conversion for file names with similar embedded code ID
  • language-server: write virtual file command broken
  • vscode: error tolerant to contentChanges length (vuejs/language-tools#4457)

Performance

  • source-map: use binary search for translateOffset

Refactors

  • source-map: decoupling from muggle-string
  • source-map: improve range mapping accuracy (#204)
  • source-map: API refactoring (Part of #206) - Thanks @piotrtomiak
  • language-service: delete SourceMapWithDocuments, LinkedCodeMapWithDocument
  • language-core: pluginized source map factory function (#207)

Other Changes

  • language-service: fix SourceMapWithDocuments virtualCode typo (#190) - Thanks @machty

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Open Source enables Microsoft products and services to bring choice, technology and community to our customers.

Silver Sponsors

Become a sponsor

v2.3.0

09 Jun 00:10

Choose a tag to compare

Features

  • language-core: added option to resolve hidden extensions (#190)
  • language-core: reimplemented multi-source mapping (#194)
  • language-core: completed support for multi-source mapping in plugin mode (#197) - Thanks @piotrtomiak
  • language-server: added support for Workspace Diagnostics (#199)
  • language-server: accurately defined language server capabilities (#185)
  • typescript: added option to prevent offset in plugin mode (#191)

Bug Fixes

  • language-service: fixed conversion of markdown links
  • vscode: showed error on missing TypeScript lib (#195) - Thanks @msujew
  • monaco: fixed Monaco selection ranges conversion (#198) - Thanks @remcohaszing

Performance

  • vscode: auto insertion request now exits early on vscode (#157)
  • language-server: improved snapshot reusability (#196)
  • typescript: skips searchExternalFiles if extra extensions are empty

Refactors

  • typescript: added setup option for createLanguageServicePlugin, createAsyncLanguageServicePlugin
  • language-core: LanguagePlugin now requires the first generic parameter to specify the script ID type
  • language-core: updateVirtualCode is now optional, if not provided, createVirtualCode is always called to update source script
  • language-server: createTypeScriptProjectProvider has been renamed to createTypeScriptProject
  • language-server: createSimpleProjectProvider has been renamed to createSimpleProject
  • language-server: no longer handles @vscode/l10n
  • language-server: removed InitializationOptions interface
  • language-service: LSP related logic has been changed to be completely based on URI (#182)
  • language-service: LanguageServiceEnvironment#workapceFolder is now a URI array and has been renamed to workspaceFolders
  • language-service: provideAutoInsertionEdit has been renamed to provideAutoInsertSnippet
  • language-service: normalized LanguageService API name format
  • labs: Codegen Stacks debug feature has been removed (#184)

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.2.5

23 May 12:44

Choose a tag to compare

Features

  • source-map: add API to support generated code with different length than original code #183 - Thanks @piotrtomiak

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.2.4

16 May 10:11

Choose a tag to compare

Bug Fixes

  • typescript: path completion not working for meta files

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.2.3

15 May 10:55

Choose a tag to compare

Bug Fixes

  • typescript: empty items list should be valid completion result vuejs/language-tools#4368
  • typescript: deduplication when merging hover infos #178
  • language-service: transforming volar embedded URIs in markdown #180 - Thanks @remcohaszing
  • language-server: memorize URI conversion results of synchronized documents #181

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.2.2

10 May 08:18

Choose a tag to compare

Bug Fixes

  • typescript: TS plugin only displays the first hover info
  • language-core: isRenameEnabled respect CodeInformation.navigation.shouldRename
  • test-utils: use stdio transport for test server #175

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.2.1

06 May 11:00

Choose a tag to compare

Features

  • language-server: restored support for "Reload Project" command

Bug Fixes

  • typescript: additional completion not working in TS plugin vuejs/language-tools#4323
  • language-server: pass correct languageId when creating virtual code #173

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.2.0

01 May 03:34

Choose a tag to compare

Features

  • Add ESLint integration #171
  • language-service: auto insertion does not abstract selection #156

Bug Fixes

  • typescript: runTsc cannot display source code for errors vuejs/language-tools#4099
  • typescript: runTsc cannot display source code for errors with --incremental #158 #162 - Thanks @wangshunnn
  • typescript: handle invalid references result
  • typescript: parameter hints not working in TS plugin vuejs/language-tools#3948
  • typescript: fault tolerance with TS file size assertion vuejs/language-tools#4278
  • typescript: TS plugin find reference result's definition span should be able to fall back to file root
  • typescript: prioritize resolving JS virtual script to matched .d.ts file
  • typescript: more inclusive performance rename operation vuejs/language-tools#4297
  • typescript: normalize filePath for language service APIs vuejs/language-tools#4297
  • typescript: avoid eagerly updating source scripts #166
  • vscode: newly created file failed to match tsconfig immediately vuejs/language-tools#4297
  • vscode: avoid crash when workspace tsdk does not exist
  • language-server: fault-tolerant URI translation #159
  • language-core: handle empty mappings in updateVirtualCodeMapOfMap #161 - Thanks @remcohaszing

Performance

Refactors

  • More accurate interface design and terminology #154
  • language-server: architecture improvements #167
  • language-server: remove ConfigurationHost abstract
  • language-service: expose changed setting sections on onDidChangeConfiguration
  • language-service: ServiceContext.inject method return nullable
  • typescript: decorateLanguageServiceHost less side effects #160
  • language-core: make CodeInformation properties optional
  • language-core: resolved language ID by LangaugePlugin #168

Please refer to CHANGELOG.md for details.

Sponsors

Special Sponsor

Stay in the flow with instant dev experiences.
No more hours stashing/pulling/installing locally

β€” just click, and start coding.

Platinum Sponsors

An approachable, performant and versatile framework for building web user interfaces.

Astro powers the world's fastest websites, client-side web apps, dynamic API endpoints, and everything in-between.

Essential tools for software developers and teams.

Silver Sponsors

Become a sponsor

v2.1.6

28 Mar 02:26

Choose a tag to compare

Bug Fixes

Please refer to CHANGELOG.md for details.


(This project is mainly supported by StackBlitz)

Our Platinum Sponsors

Our Silver Sponsors