Skip to content

Releases: ony3000/prettier-plugin-classnames

v0.7.3

22 Sep 02:01
Compare
Choose a tag to compare

What's Changed

  • Excludes tagged templates starting with css from line wrapping by @ony3000 in #75

Full Changelog: v0.7.2...v0.7.3

v0.7.2

12 Aug 12:31
Compare
Choose a tag to compare

What's Changed

  • Add new option experimentalOptimization by @ony3000 in #71

Full Changelog: v0.7.1...v0.7.2

v0.7.1

21 Jul 12:01
Compare
Choose a tag to compare

What's Changed

  • Prevents strings written to values of an object from being treated like strings written to properties of an object by @ony3000 in #70

Full Changelog: v0.7.0...v0.7.1

v0.7.0

08 Jun 13:40
Compare
Choose a tag to compare

ℹ️ Because this version includes a lot of changes, I've grouped them into similar categories rather than simply listing PRs.

What's Changed

Bug Fixes

  • Fix an issue where the tabWidth value is not reflected when useTabs: true by @ony3000 in #59
  • Fix bug related to delimiter conversion by @ony3000 in #60
  • Fix a bug where class names enclosed with supported function names are not wrapped in expressions in vue and astro by @ony3000 in #63
  • Fix a bug where class names are not wrapped in script tag in astro by @ony3000 in #64
  • Fix a bug where line wrapping were not proper when the script opening tag was formatted as multiple lines in vue by @ony3000 in #65

New Features

Enhancements

  • Reinforce testing (Part 1) by @ony3000 in #53
  • Makes class name nodes flexible by @ony3000 in #57
  • Reinforce testing (Part 2) by @ony3000 in #58
  • Determine the formatting policy by @ony3000 in #61
  • Includes class and className in default supported attributes regardless of language by @ony3000 in #66

Full Changelog: v0.6.6...v0.7.0

v0.6.6

28 Apr 09:01
Compare
Choose a tag to compare

What's Changed

  • Correctly applies the jsxSingleQuote option to formatting results by @ony3000 in #55
  • Support tagged template by @ony3000 in #56

Full Changelog: v0.6.5...v0.6.6

v0.6.5

05 Apr 15:00
Compare
Choose a tag to compare

What's Changed

  • Ensures that class names written after non-ASCII characters in Astro code do not leave placeholder fragments by @ony3000 in #51

Full Changelog: v0.6.4...v0.6.5

v0.6.4

01 Apr 14:51
Compare
Choose a tag to compare

What's Changed

  • Correctly extract name of compound component by @ony3000 in #49

Full Changelog: v0.6.3...v0.6.4

v0.6.3

17 Mar 14:41
Compare
Choose a tag to compare

What's Changed

  • Close the testing-prettier-v2 branch by @ony3000 in #44
  • Close the testing-prettier-v3 branch by @ony3000 in #45
  • Makes output consistent for attribute type class names by @ony3000 in #46

Full Changelog: v0.6.2...v0.6.3

v0.6.2

08 Mar 14:41
Compare
Choose a tag to compare

What's Changed

  • Improves formatting of nested expressions by @ony3000 in #40

Full Changelog: v0.6.1...v0.6.2

v0.6.1

17 Feb 04:43
Compare
Choose a tag to compare

What's Changed

  • Fix delimiter for certain types of short enough class names written in vue expressions by @ony3000 in #38

Full Changelog: v0.6.0...v0.6.1