Skip to content

Releases: simonhaenisch/prettier-plugin-organize-imports

3.0.2

07 Aug 13:25
Compare
Choose a tag to compare

This version fixes a regression introduced by adding some file-system related methods (fileExists and readFile) to the language service host (to fix #63), which revealed that the implementation of getScriptSnapshot was incorrect.

3.0.1

01 Aug 21:59
Compare
Choose a tag to compare
  • @volar/vue-typescript is now an optional peer dependency and requires version 0.39.0 or later. This should fix a couple of issues, e.g. not removing imports anymore when a component was used in the template via kebab-case.
  • The language service host now implements fileExists and readFile which should fix some issues with NodeNext module resolution.

3.0.0

16 Jun 10:45
Compare
Choose a tag to compare

Switched to a different package for Vue support, so if you're using this plugin with Vue, you'll have to install @volar/vue-typescript as a dev dependency now, and you can remove @vue/compiler-sfc/@vue/component-compiler-utils/vue-template-compiler.

Otherwise, no breaking changes.

2.3.4

22 Sep 13:46
Compare
Choose a tag to compare

Fixed a bug where empty comment lines were inserted into Vue 2 files.

2.3.3

20 Jul 09:04
Compare
Choose a tag to compare
  • Fixed a bug where default imports were erroneously removed.

v2.3.2

19 Jul 20:55
Compare
Choose a tag to compare
  • Try to use @vue/compiler-sfc (Vue 3.x) first before the@vue/component-compiler-utils and vue-template-compiler combo (which -theoretically is for Vue 2.x but probably also works for 3.x).

2.3.1

19 Jul 20:16
Compare
Choose a tag to compare

The version published to npm was missing files which has been fixed now.

2.3.0

19 Jul 13:29
Compare
Choose a tag to compare

Warning: Don't use this version from npm as it was missing files when being published. Please use v2.3.1 instead.

  • Adds logging when the DEBUG env var is set.
  • Fixes Vue.js support.

2.2.0

24 Jun 14:31
Compare
Choose a tag to compare
  • feat: use cache map for compiler options (closes #19)

Thanks @blidblid for helping debug this performance issue.

2.1.0

17 May 20:11
Compare
Choose a tag to compare

Adds support for Vue.js (.vue) files (see #16 and 474bbcb).