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

chore(deps-dev): Bump vue-tsc from 2.0.21 to 2.0.28 #2784

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2024

Bumps vue-tsc from 2.0.21 to 2.0.28.

Release notes

Sourced from vue-tsc's releases.

v2.0.28

Features

  • vscode: focus mode Insiders (volarjs/insiders#24)
  • language-core: Plugin API 2.1
    • Added plugin hooks: getLanguageId, isValidFile, parseSFC2
    • Improve backward compatibility (#4585) - Thanks @​zhiyuanzmj
  • language-core: support default prop when using __typeProps (#4602) - Thanks @​zhiyuanzmj
  • language-core: improve nested plugins (#4581) - Thanks @​zhiyuanzmj
  • language-service: remove v-bind code action (#4601)
  • vscode: add empty pattern to codeblock attributes scope (#4590) - Thanks @​KermanX

Fixes

  • tsc: errors should be thrown instead of being console.log printed
  • language-server: observe named pipes changes when server startup (#4292)
  • language-core: infer define model type from options type (#4545) - Thanks @​davidmatter
  • language-core: type-checking not working with hyphen in slot name with JS (#4478) - Thanks @​KermanX
  • language-core: add type check for v-model without argument (#4598) - Thanks @​zhiyuanzmj
  • language-service: filter special tags (#4596) - Thanks @​so1ve
  • typescript-plugin: improve named pipes reliability (#4603)
  • language-core property access is incorrectly identified as compound expression (#4600)
  • language-core fix compatibility of generic component virtual code with TS 5.5 (#4577)
  • tsc TS4082 not reported for functional component (#4569)

Other Changes

  • Upgraded Volar from v2.4.0-alpha.15 to v2.4.0-alpha.18:
    • Fix VS Code IntelliSense will be lost in new created files (#4424)
    • Add workspace symbols support in Hybrid Mode (#4595)
    • Add workspace addMissingImports action support in Hybrid Mode (#4586)
  • Fix yarn 4 compatibility (#4587)
  • Add vue vine to hybrid mode compatible list (#4543) - Thanks @​so1ve
  • Add global components prop validation test (#4542) - Thanks @​davidmatter

Please refer to CHANGELOG.md for details.

Sponsors

... (truncated)

Changelog

Sourced from vue-tsc's changelog.

2.0.28 official, 2.0.29 insiders (2024-07-22)

Features

  • vscode: focus mode Insiders (volarjs/insiders#24)
  • language-core: Plugin API 2.1
    • Added plugin hooks: getLanguageId, isValidFile, parseSFC2
    • Improve backward compatibility (#4585) - Thanks @​zhiyuanzmj
  • language-core: support default prop when using __typeProps (#4602) - Thanks @​zhiyuanzmj
  • language-core: improve nested plugins (#4581) - Thanks @​zhiyuanzmj
  • language-service: remove v-bind code action (#4601)
  • vscode: add empty pattern to codeblock attributes scope (#4590) - Thanks @​KermanX

Fixes

  • tsc: errors should be thrown instead of being console.log printed
  • language-server: observe named pipes changes when server startup (#4292)
  • language-core: infer define model type from options type (#4545) - Thanks @​davidmatter
  • language-core: type-checking not working with hyphen in slot name with JS (#4478) - Thanks @​KermanX
  • language-core: add type check for v-model without argument (#4598) - Thanks @​zhiyuanzmj
  • language-service: filter special tags (#4596) - Thanks @​so1ve
  • typescript-plugin: improve named pipes reliability (#4603)
  • language-core property access is incorrectly identified as compound expression (#4600)
  • language-core fix compatibility of generic component virtual code with TS 5.5 (#4577)
  • tsc TS4082 not reported for functional component (#4569)

Other Changes

  • Upgraded Volar from v2.4.0-alpha.15 to v2.4.0-alpha.18:
    • Fix VS Code IntelliSense will be lost in new created files (#4424)
    • Add workspace symbols support in Hybrid Mode (#4595)
    • Add workspace addMissingImports action support in Hybrid Mode (#4586)
  • Fix yarn 4 compatibility (#4587)
  • Add vue vine to hybrid mode compatible list (#4543) - Thanks @​so1ve
  • Add global components prop validation test (#4542) - Thanks @​davidmatter

2.0.26 official, 2.0.27 insiders (2024-07-04)

Features

  • language-service: Support auto-complete for more preprocessing languages.
  • language-core: Improve type compatibility with Vue 3.5. (#4474) - Thanks, @​zhiyuanzmj.

Bug Fixes

  • vscode: Fix insider version display condition. Insiders
  • language-service: Fix vue-twoslash-queries not working in LSP mode.
  • language-service: Add null handling for script tag completion items. (#4520)
  • language-core: Fix any in templates if the first checked file was not root. (#4526) - Thanks, @​daniluk4000.

... (truncated)

Commits
  • 0cdbd70 v2.0.28
  • b4a8178 chore: bump volar
  • bc8521e fix(tsc): TS4082 not reported for functional component
  • c0ec60a fix(language-core): fix compatibility of generic component virtual code with ...
  • 5b53aea chore: bump volar
  • 67c2bf0 chore(tsc): use throw instead of console.error
  • ce61a0d fix(language-core): preserve backward compatibility
  • e753366 refactor(language-core): add getAllExtensions function
  • 519e916 fix(language-core): getProjectVersion param has no effect
  • 47924f6 v2.0.26
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc) from 2.0.21 to 2.0.28.
- [Release notes](https://github.com/vuejs/language-tools/releases)
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/language-tools/commits/v2.0.28/packages/tsc)

---
updated-dependencies:
- dependency-name: vue-tsc
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner July 22, 2024 22:59
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 22, 2024
@dependabot dependabot bot requested review from johncowen and removed request for a team July 22, 2024 22:59
Copy link

netlify bot commented Jul 22, 2024

Deploy Preview for kuma-gui ready!

Name Link
🔨 Latest commit 7e81fc5
🔍 Latest deploy log https://app.netlify.com/sites/kuma-gui/deploys/669ee43b071bb50008ab086e
😎 Deploy Preview https://deploy-preview-2784--kuma-gui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 29, 2024

Superseded by #2805.

@dependabot dependabot bot closed this Jul 29, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/vue-tsc-2.0.28 branch July 29, 2024 22:15
johncowen added a commit that referenced this pull request Jul 30, 2024
…nts (#2795)

Somewhere around vue language tools `2.0.18 - 2.0.21` all of the types for our `slots` suddenly stopped working.

As this seemed to be a pretty big regression, I've been waiting to see if this would be addresses upstream seeing as various other type related bugs have also been fixed since `2.0.18`.

I've waited for quite a while now, and I decided to take look to see if I could figure out exactly what the issue was, which led me to a fix/upgrade from our end.

1. At the beginning it was very much "anything further than 2.0.18 breaks our types (not knowing exactly why), hold off on upgrading for a bit and see what happens"
2. A few weeks back I'd realized that it seemed to be related to objects that DataSource was emitting via slots. DataSource also uses generic properties and some non-simple typescripting.
3. This morning I noticed that types were broken for the majority of our components, not just DataSource.
4. After trying some things out, I realised that if I imported DataSource instead of registering it globally, the types suddenly started to come back 🎉 , which led me to looking at how we register our global components.
5. After a bit of interweb sleuthing, it looks like we should no longer register global components on `@vue/runtime-core` but instead on `vue`.

This PR contains the above change in point 5, plus another slight TS correction that was also causing errors in newer versions of `vue-tsc`.

I've also tried this fix on ~#2784, #2805 and it will let us approve and merge that PR 🎉 

Signed-off-by: John Cowen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants