Skip to content

Releases: ony3000/prettier-plugin-classnames

v0.8.6

07 Dec 08:41

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.5...v0.8.6

v0.8.5

22 Oct 15:02

Choose a tag to compare

What's Changed

  • Support formatting even when empty script tags are included, and independently adjusts line positions of nodes located after script tag by @ony3000 in #124
  • Fix line wrapping inside callback function by @ony3000 in #125

Full Changelog: v0.8.4...v0.8.5

v0.8.4

30 Sep 11:28

Choose a tag to compare

What's Changed

  • Correctly calculates the line positions of expressions when there are two or more line breaks inside a script tag by @ony3000 in #120

Full Changelog: v0.8.3...v0.8.4

v0.8.3

09 Sep 15:00

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.8.2...v0.8.3

v0.8.2

27 Jul 02:42

Choose a tag to compare

What's Changed

Full Changelog: v0.8.1...v0.8.2

v0.8.1

04 Jul 16:26

Choose a tag to compare

What's Changed

  • Fix line wrapping inside JSX tags assigned to variables by @ony3000 in #106
  • Fix line wrapping in class names passed as function arguments by @ony3000 in #107
  • Fix line wrapping inside 'if' blocks by @ony3000 in #108
  • Fix line wrapping in JSX mapped from object references that include optional chaining by @ony3000 in #109
  • Excludes tagged templates starting with String.raw from line wrapping by @ony3000 in #110

Full Changelog: v0.8.0...v0.8.1

v0.8.0

27 Jun 14:26

Choose a tag to compare

ℹ️ This version contains some breaking changes.

What's Changed

  • Drop support for Prettier v2 by @ony3000 in #97
  • Enable experimentalOptimization option by default, remove it from options, and increase the minimum required Node.js version to 18 by @ony3000 in #98
  • The absolute-with-indent option has been removed from the choices for the endingPosition option, and the default has been changed from relative to absolute by @ony3000 in #99
  • Readopt polyrepo as repository structure by @ony3000 in #100
  • Replace ESLint with Biome by @ony3000 in #103

Full Changelog: v0.7.9...v0.8.0

v0.7.9

15 Jun 10:01

Choose a tag to compare

What's Changed

  • Treats space at both ends of a class name written as an expression as a single space by @ony3000 in #102

Full Changelog: v0.7.8...v0.7.9

v0.7.8

28 Apr 14:01

Choose a tag to compare

What's Changed

  • Implements formatting for attributes that contain expressions by @ony3000 in #94
  • Performs line wrapping even when including TypeScript syntax inside script tags by @ony3000 in #95

Full Changelog: v0.7.7...v0.7.8

v0.7.7

09 Mar 14:32

Choose a tag to compare

What's Changed

  • Fix line wrapping inside empty JSX tags by @ony3000 in #91
  • Add new option syntaxTransformation by @ony3000 in #92

Full Changelog: v0.7.6...v0.7.7