unstale

npm / prettier-plugin-tailwindcss

prettier-plugin-tailwindcss

What changed in prettier-plugin-tailwindcss 0.7 to 0.8, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-19.

3 breaking1 new APIs and options7 performance2 behavior and defaults8 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

prettier-plugin-tailwindcss 0.815 changes

Breaking changes 2

New APIs and options 1

Performance 6

  • Improves config resolution caching with a directory-based cache.

    0.8.0release notes

  • Optimizes dynamic JS attribute handling.

    0.8.0release notes

  • Improves load-time performance.

    0.8.0release notes

  • Uses the plugin that has already been imported rather than dynamically importing it again.

    0.8.0release notes

  • Loads v3/v4 modules only when needed.

    0.8.0release notes

  • Optimizes whitespace-only class detection.

    0.8.0release notes

Behavior and default changes 1

  • Loads compatible plugins on demand and tightens plugin detection.

    0.8.0release notes

Fixes and other changes 5

  • Class sorting no longer removes escape sequences, preventing invalid code in Vue attribute expressions.

    0.8.1release notes

  • Class sorting is restored in Svelte markup and dynamic class expressions when using prettier-plugin-svelte v4.

    0.8.1release notes

  • Skips visiting non-node children.

    0.8.0release notes

  • Improves canCollapseWhitespaceIn handling when tailwindPreserveWhitespace is true.

    0.8.0release notes

  • Fixes v3 config loading with Jiti re-exports.

    0.8.0release notes

prettier-plugin-tailwindcss 0.76 changes

Breaking changes 1

Performance 1

Behavior and default changes 1

Fixes and other changes 3

  • Compatible plugins are loaded sequentially to work around race conditions in Node.js.

    0.7.2release notes

  • Fixes compatibility with prettier-plugin-svelte when using Prettier v3.7+.

    0.7.2release notes

  • Regexes now match against the correct name of dynamic attributes.

    0.7.1release notes