Skip to content

Releases: tailwindlabs/prettier-plugin-tailwindcss

v0.7.1

17 Oct 14:50

Choose a tag to compare

Fixed

  • Match against correct name of dynamic attributes when using regexes (#410)

v0.7.0

14 Oct 13:54

Choose a tag to compare

Added

  • Format quotes in @source, @plugin, and @config (#387)
  • Sort in function calls in Twig (#358)
  • Sort in callable template literals (#367)
  • Sort in function calls mixed with property accesses (#367)
  • Support regular expression patterns for attributes (#405)
  • Support regular expression patterns for function names (#405)

Changed

  • Improved monorepo support by loading Tailwind CSS relative to the input file instead of prettier config file (#386)
  • Improved monorepo support by loading v3 configs relative to the input file instead of prettier config file (#386)
  • Fallback to Tailwind CSS v4 instead of v3 by default (#390)
  • Don't augment global Prettier ParserOptions and RequiredOptions types (#354)
  • Drop support for prettier-plugin-import-sort (#385)

Fixed

  • Handle quote escapes in LESS when sorting @apply (#392)
  • Fix whitespace removal inside nested concat and template expressions (#396)

v0.6.14

09 Jul 19:09

Choose a tag to compare

  • Add support for OXC + Hermes Prettier plugins (#376, #380)
  • Sort template literals in Angular expressions (#377)
  • Don't repeatedly add backslashes to escape sequences when formatting (#381)

v0.6.13

19 Jun 17:46

Choose a tag to compare

  • Prevent Svelte files from breaking when there are duplicate classes (#359)
  • Ensure prettier-plugin-multiline-arrays and prettier-plugin-jsdoc work when used together with this plugin (#372)

v0.6.12

30 May 14:01

Choose a tag to compare

  • Add internal (unsupported) option to load Tailwind CSS using a different package name (#366)

v0.6.11

23 Jan 18:05

Choose a tag to compare

  • Support TypeScript configs and plugins when using v4 (#342)

v0.6.10

15 Jan 16:39

Choose a tag to compare

  • Add support for @zackad/prettier-plugin-twig (#327)
  • Drop support for @zackad/prettier-plugin-twig-melody (#327)
  • Update Prettier options types (#325)
  • Don't remove whitespace inside template literals in Svelte (#332)

v0.6.9

19 Nov 15:41

Choose a tag to compare

  • Introduce tailwindStylesheet option to replace tailwindEntryPoint (#330)

v0.6.8

24 Sep 17:32

Choose a tag to compare

v0.6.7

24 Sep 16:10

Choose a tag to compare

  • Improved performance with large Svelte, Liquid, and Angular files (#312)
  • Add support for @plugin and @config in v4 (#316)
  • Add support for Tailwind CSS v4.0.0-alpha.25 (#317)