Bump prettier-plugin-organize-imports from 3.2.4 to 4.0.0
Bumps prettier-plugin-organize-imports from 3.2.4 to 4.0.0.
Release notes
Sourced from prettier-plugin-organize-imports's releases.
4.0.0
Version
4.0.0upgrades/replaces the Volar packages used for Vue support, to use the latestvue-tscpackage that's part of Volar 2. To migrate, you just have to remove@volar/vue-typescriptand if you're using it, also@volar/vue-language-plugin-pug, and replace it withvue-tscand@vue/language-plugin-pugrespectively. There are no breaking changes other than this.Thanks
@johnsoncodehkfor contributing this :tada:
Changelog
Sourced from prettier-plugin-organize-imports's changelog.
Version
4.0.0upgrades/replaces the Volar packages used for Vue support, to use the latestvue-tscpackage that's part of Volar 2. To migrate, you just have to remove@volar/vue-typescriptand if you're using it, also@volar/vue-language-plugin-pug, and replace it withvue-tscand@vue/language-plugin-pugrespectively. There are no breaking changes other than this.Version
3.2.4implements a fix to skip when formatting ranges (i.e. if the plugin is requested to format a range, it doesn't do anything because it would lack the full file context).Version
3.2.3updates the readme with instructions for Prettier 3.Version
3.2.2fixes a performance regression introduced in3.2.0.Version
3.2.1fixes the implementation of the language service host'sgetCurrentDirectorymethod to return the directory containing the tsconfig, rather than usingts.sys.getCurrentDirectory(which returnsprocess.cwd()). This should prevent issues with resolving compiler plugins with Volar (which is used for Vue support).Version
3.2.0adds and fixes support for pug templates in Vue files (via@volar/vue-language-plugin-pug). Please be aware that you'll need to update your version of the@volar/vue-typescriptpeer dependency from0.xto1.x.Version
3.1.0adds an option to skip destructive code actions like removing unused imports.Version
3.0.3fixes a performance regression introduced in3.0.2.Version
3.0.2fixes a regression introduced by adding some file-system related methods to the language service host (to fix a bug), which revealed that another method's implementation was incorrect.Version
3.0.1bumps the@volar/vue-typescriptversion to fix more edge cases, e. g. not removing imports when a component is used via kebab-case naming.@volar/vue-typescriptis now defined as an optional peer dependency and you'll need to install version0.39or later. Furthermore a fix has been added that should help support more module resolution algorithms.Version
3.0.0switches to a different package for Vue support, which fixes some more issues, e. g. support for setup scripts. No breaking changes otherwise.Version
2.3.4fixes an issue with Vue v2 files.Version
2.3.3fixes a bug where default imports were removed erroneously.Version
2.3.1adds debug logs and fixes Vue.js support.Version
2.2.0adds a compiler options cache to improve performance.Version
2.1.0adds support for Vue.js (.vuefiles).Version
2.0.0adds support for the parsersbabel(i. e. JavaScript) andbabel-tswhich are only available since Prettier v2 (and thus the peer dependency has received a major bump).
Commits
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 rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency -
@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)