Skip to content
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

fix(deps): update volarjs to v2 (major) #633

Merged
merged 9 commits into from May 2, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 4, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@vue/language-core (source) 1.8.27 -> 2.0.13 age adoption passing confidence
vue-tsc (source) 1.8.27 -> 2.0.13 age adoption passing confidence

Release Notes

vuejs/language-tools (@​vue/language-core)

v2.0.13

Compare Source

Performance
  • tsc: re-introduce global types removal check (#​4245)
Other Changes
  • Upgrade Volar from v2.2.0-alpha.7 to v2.2.0-alpha.8 for a vue-tsc performance issue fixes (#​4238)

v2.0.12

Compare Source

Bug Fixes
  • vscode: restart tsserver before restart vue language server (#​4242)
  • tsc: remove exit early condition
  • typescript-plugin: handle named pipe server timeout
  • language-core: @vue-ignore not working for fragment v-if/v-for nodes (#​4232)
Other Changes
  • Upgrade Volar from v2.2.0-alpha.6 to v2.2.0-alpha.7 for a typescript plugin bug fixes

v2.0.11

Compare Source

Features
  • vscode: support for enabling/disabling typescript plugin (#​4226)
    • Added typeScriptPluginOnly option for vue.server.hybridMode setting.
    • When Hybrid Mode is disabled, the Vue TypeScript Plugin will be disabled by default.
  • vscode: support for vue.format.wrapAttributes setting (#​4212)
  • vscode: add vue.codeActions.askNewComponentName setting (#​4217)
Bug Fixes
  • vscode: Find File References not working when hybrid mode is disabled (#​4221)
  • language-core: type narrowing not working for inline event handlers (#​4209)
  • language-core: @vue-ignore, @vue-expect-error not working for interpolations
  • language-core: improve reliability for @vue-ignore, @vue-expect-error (#​4203)
  • language-core: duplicated items in suggestion list for prop values (#​3922)
  • language-server: vueCompilerOptions not working with hybrid mode (#​4211) (#​3959)
Other Changes

v2.0.10

Compare Source

Features
  • vscode: enable vue.updateImportsOnFileMove.enabled by default (#​3646)
  • vscode: re-add restart server command (#​4174)
  • vscode: automatically enable Hybrid Mode if possible (#​4206)
  • component-meta: add typing resolution for defineModel modifiers (#​4175) - Thanks @​stafyniaksacha
  • language-service: drag and drop import respects tsconfig path aliases (#​4184)
  • language-service: supports auto insertion of multiple cursors (#​4140)
Bug Fixes
  • language-server: additionalExtensions option not working for inferred project
  • language-core: avoid interpolation indentation affecting each other
  • language-core: generate each interpolation into separate virtual code (#​4165)
  • language-service: ignore html wrapAttributes format settings for vue document (#​3987)
  • vscode: remove duplicate ts version status (#​4167)
  • language-server: .html, .md file language id incorrect
  • typescript-plugin: formatting settings not working for ts completion
  • tsc: remove fake global types holder for composite projects compatibility (#​4196) - Thanks @​blake-newman
Performance
  • language-core: cache canonical root file names with string Set
Other Changes
  • Upgrade Volar from v2.1.3 to v2.2.0-alpha.5 for a few bug fixes and performance improves, please refer to CHANGELOG.md for details.
  • vscode: update required VSCode version to ^1.88.0
  • docs: update readme with neovim lspconfig setup (#​4134) - Thanks @​RayGuo-ergou
  • language-core: split inline css codegen into separate plugin
  • language-core: move global types codegen into separate script
  • language-core: resolve virtual code features before push code
  • test: added simple tests for vue-tsc and custom SFC extensions. (#​4181) - Thanks @​cabal95

v2.0.7

Compare Source

[!NOTE]
Hybrid Mode is now disabled by default, you need to enable vue.server.hybridMode in settings to enable it explicitly.

Features
  • language-server: reintroducing full TS support and disable Hybrid Mode by default (#​4119)
  • vscode: check outdated @vue/language-plugin-pug in doctor
  • vscode: significantly reduces the status bar space occupied
Bug Fixes
  • vscode: vueCompilerOptions no longer prompts for deprecated options
  • component-meta: defineSlots allows empty params (#​4093) - thanks @​Evertvdw
  • typescript-plugin: fault tolerance for named pipe servers json file (#​4075) - thanks @​Simon-He95
  • language-core: generate defineModel emits type on-demand (#​4052) - thanks @​so1ve
  • language-core: special treatment for number elements inside v-for (#​3859) - thanks @​so1ve
  • language-plugin-pug: semantic tokens mapping failed (#​4070)
Other Changes

v2.0.6

Compare Source

[!IMPORTANT]
If the TypeScript language server crashes since 2.0, please try using VSCode Insiders and install JavaScript and TypeScript Nightly, or temporarily downgrade to 1.8.27.
Issue: https://github.com/vuejs/language-tools/issues/3962

If false positive errors occur, please try disabling unrelated extensions in the Vue workspace.
Issue: https://github.com/vuejs/language-tools/issues/3942

Fixes
  • language-core: use local variables in v-bind shorthand (#​4017) - thanks @​so1ve
  • language-core: sfc folding end position failed to mapping (#​4038) - thanks @​so1ve
  • language-service: remove extraLiners option for formatting (#​3943)
  • language-service: bump volar-service-typescript for fix jsx formatting (#​3949)
  • language-service: bump @volar/typescript for fix 2.0.5 auto-complete performance regression (#​4024)
Other Changes
  • vscode: rename vue.inlayHints.vbindShorthand setting to vue.inlayHints.vBindShorthand (#​3995) - thanks @​l4dybird

v2.0.5

Compare Source

Features
  • language-core: support v-bind shorthand (#​3990) - thanks @​so1ve
  • language-service: support inlay hints for v-bind shorthand (#​3990) - thanks @​so1ve
  • vscode: prompt to disable Svelte extension in Vue workspace to avoid conflicts
Fixes
  • typescript-plugin: fault tolerance for named pipe server data
  • language-core: avoid globalTypesHolder being specified from a node_modules file (#​3990)
  • language-core: fault tolerance for plugin creation
  • language-plugin-pug: failed to load due to an invalid require path (#​3930)
  • typescript-plugin: custom extensions do not work (#​3977)
  • language-service: html custom data not working (#​3975)
Other Changes

v2.0.4

Compare Source

Features
  • vscode: report requires TSDK version in doctor
Fixes
  • typescript-plugin: JSON parsing error when server data length > 8192 (#​3961)

v2.0.3

Compare Source

Features
Fixes
  • vscode: compatible with VSCode 1.87.0
  • vscode: search "TypeScript and JavaScript Language Features" with id (#​3932)
  • typescript-plugin: more reliable connection to named pipe server (#​3941)
Refactors
  • language-service: dependency injection typescript plugin (#​3994)

v2.0.2

Compare Source

Fixes
  • vscode: fix random Cannot access 'i' before initialization errors
  • typescript-plugin: vue-tsp-table.json path is invalid in windows

v2.0.1

Compare Source

Performance
  • tsc: re-introduce global types removal check (#​4245)
Other Changes
  • Upgrade Volar from v2.2.0-alpha.7 to v2.2.0-alpha.8 for a vue-tsc performance issue fixes (#​4238)

v2.0.0

Compare Source

Features
  • Hybrid Mode
    • Takeover Mode has been deprecated. The extension now has the same performance as Takeover Mode by default.
    • TypeScript language support has been moved from Vue language server to TypeScript plugin (#​3788)
    • Integrated all TypeScript editor features
    • Warn when internal TypeScript extension is disabled or "TypeScript Vue Plugin" extension is installed
    • Migrated to named pipe server using TypeScript LanguageService (#​3908, #​3916)
    • typescript.tsdk duplicate registration errors are no longer reported
    • language-service: reimplemented component tag semantic tokens in TypeScript plugin (#​3915)
    • language-service: reimplemented auto-import patching in TypeScript plugin (#​3917)
    • language-service: ensured tsserver readiness when requesting auto insert .value (#​3914)
  • Upgraded to Volar 2.0 and 2.1 (#​3736, #​3906)
    • vscode: extension now compatible with Volar Labs v2
    • vscode: removed volar.format.initialIndent option, replaced with 3 new options:
      • vue.format.template.initialIndent
      • vue.format.script.initialIndent
      • vue.format.style.initialIndent
    • language-server: ignoreTriggerCharacters, reverseConfigFilePriority and fullCompletionList options are no longer supported
  • Supported Component Drag and Drop Import (#​3692)
  • tsc: supported vueCompilerOptions.extensions option (#​3800)
  • language-core: achieved compatibility with Vue 3.4 type changes (#​3860)
Fixes
  • vscode: prevented reading undefined properties in non-VS Code editors (#​3836)
  • vscode: prevented extension activation with TS files
  • vscode: corrected trace server ID
  • language-core: implemented emit codegen for defineModel (#​3895)
  • language-core: addressed transition type incompatibility with Vue 2.7.16 (#​3882)
  • language-core: excluded vue directive syntax injection in Angular bindings (#​3891)
  • component-type-helpers: resolved inference issue for Vue 3.4.20 functional component
Refactors
  • Renamed "Volar Language Features (Volar)" extension to "Vue - Official"
  • "TypeScript Vue Plugin" extension has been deprecated
  • Relocated source scripts from src to lib (#​3913)
  • Replaced typescript/lib/tsserverlibrary imports with typescript
  • language-core: implemented codegen based on Generator (#​3778)
  • language-core: generated global types in a single virtual file (#​3803)
  • language-core: implemented plugin API v2 (#​3918)
  • language-core: ignored nested codeblocks in markdown file (#​3839)
  • language-core: removed experimentalAdditionalLanguageModules and deprecated APIs (#​3907)
  • language-service: made service plugins independent of project context
  • language-server: volar.config.js is no longer supported
  • component-meta: renamed APIs
  • typescript-plugin: renamed package to @vue/typescript-plugin (#​3910)
  • tsc: rewritten based on first-party TS API and no longer relies on TypeScript module (#​3795)
  • tsc: deprecated hooks API (#​3793)

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies label Mar 4, 2024
Copy link

vercel bot commented Mar 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
vue-macros ✅ Ready (Inspect) Visit Preview May 2, 2024 4:00am

Copy link

stackblitz bot commented Mar 4, 2024

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Mar 4, 2024
Copy link

changeset-bot bot commented Mar 4, 2024

⚠️ No Changeset found

Latest commit: 86ea053

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

socket-security bot commented Mar 4, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher

View full report↗︎

Copy link

socket-security bot commented Mar 4, 2024

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@renovate renovate bot force-pushed the renovate/major-volar-related branch from bb8cfcf to 5db7f13 Compare March 4, 2024 06:08
@sxzz sxzz force-pushed the main branch 3 times, most recently from 7fe0ae1 to 2393cad Compare March 4, 2024 16:42
@renovate renovate bot force-pushed the renovate/major-volar-related branch from 5db7f13 to a94fa66 Compare March 5, 2024 17:42
@renovate renovate bot force-pushed the renovate/major-volar-related branch from a94fa66 to d3b1872 Compare March 6, 2024 10:56
@renovate renovate bot force-pushed the renovate/major-volar-related branch from d3b1872 to e29e3c2 Compare March 6, 2024 20:00
@renovate renovate bot force-pushed the renovate/major-volar-related branch from e29e3c2 to 4ef842e Compare March 6, 2024 20:41
@renovate renovate bot force-pushed the renovate/major-volar-related branch from 4ef842e to e9a06a4 Compare March 6, 2024 21:04
@renovate renovate bot force-pushed the renovate/major-volar-related branch from e9a06a4 to f3b7c2a Compare March 7, 2024 06:32
@renovate renovate bot force-pushed the renovate/major-volar-related branch from f3b7c2a to 6ebba23 Compare March 18, 2024 11:54
@renovate renovate bot force-pushed the renovate/major-volar-related branch from 6ebba23 to 2eb24a5 Compare March 20, 2024 11:50
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Apr 13, 2024
Copy link
Contributor Author

renovate bot commented Apr 13, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

Warning: custom changes will be lost.

@zhiyuanzmj
Copy link
Member

Wait the PR to fix vue-tsc type check error.

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels May 2, 2024
@zhiyuanzmj
Copy link
Member

It's done, ready to merge.

@zhiyuanzmj zhiyuanzmj requested a review from sxzz May 2, 2024 03:48
Copy link
Member

@sxzz sxzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job!

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label May 2, 2024
@sxzz sxzz merged commit 11e0519 into main May 2, 2024
8 checks passed
@sxzz sxzz deleted the renovate/major-volar-related branch May 2, 2024 04:09
zhiyuanzmj added a commit that referenced this pull request May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants