All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Nothing yet!
0.6.9 - 2024-11-19
- Introduce
tailwindStylesheet
option to replacetailwindEntryPoint
(#330)
0.6.8 - 2024-09-24
- Fix crash (#320)
0.6.7 - 2024-09-24
- 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)
0.6.6 - 2024-08-09
- Add support for
prettier-plugin-multiline-arrays
(#299) - Add resolution cache for known plugins (#301)
- Support Tailwind CSS
v4.0.0-alpha.19
(#310)
0.6.5 - 2024-06-17
- Only re-apply string escaping when necessary (#295)
0.6.4 - 2024-06-12
- Export
PluginOptions
type (#292)
0.6.3 - 2024-06-11
- Improve detection of string concatenation (#288)
0.6.2 - 2024-06-07
- Only remove duplicate Tailwind classes (#277)
- Make sure escapes in classes are preserved in string literals (#286)
0.6.1 - 2024-05-31
- Add new
tailwindPreserveDuplicates
option to disable removal of duplicate classes (#276)
- Improve handling of whitespace removal when concatenating strings (#276)
- Fix a bug where Angular expressions may produce invalid code after sorting (#276)
- Disabled whitespace and duplicate class removal for Liquid and Svelte (#276)
0.6.0 - 2024-05-30
0.5.14 - 2024-04-15
- Fix detection of v4 projects on Windows (#265)
0.5.13 - 2024-03-27
- Add support for
@zackad/prettier-plugin-twig-melody
(#255)
0.5.12 - 2024-03-06
0.5.11 - 2024-01-05
- Bumped bundled version of Tailwind CSS to v3.4.1 (#240)
0.5.10 - 2023-12-28
- Bumped bundled version of Tailwind CSS to v3.4 (#235)
0.5.9 - 2023-12-05
- Fixed location of embedded preflight CSS file (#231)
0.5.8 - 2023-12-05
- Re-enable support for
prettier-plugin-marko
(#229)
0.5.7 - 2023-11-08
- Fix sorting inside dynamic custom attributes (#225)
0.5.6 - 2023-10-12
- Fix sorting inside
{{ … }}
expressions when using@shopify/prettier-plugin-liquid
v1.3+ (#222)
0.5.5 - 2023-10-03
0.5.4 - 2023-08-31
- Type
tailwindFunctions
andtailwindAttributes
as optional (#206) - Don’t break
@apply … #{'!important'}
sorting in SCSS (#212)
0.5.3 - 2023-08-15
- Fix CJS
__dirname
interop on Windows (#204)
0.5.2 - 2023-08-11
- Fix intertop with bundled CJS dependencies (#199)
0.5.1 - 2023-08-10
- Updated Prettier peer dependency (#197)
0.5.0 - 2023-08-10
- Sort expressions in Astro's
class:list
attribute (#192) - Re-enabled support for plugins when using Prettier v3+ (#195)
0.4.1 - 2023-07-14
- Don't move partial classes inside Twig attributes (#184)
0.4.0 - 2023-07-11
- Don't move partial classes inside Liquid script attributes (#164)
- Do not split classes by non-ASCII whitespace (#166)
- Match tagged template literals with tag expressions (#169)
0.3.0 - 2023-05-15
- Added support for
prettier-plugin-marko
(#151) - Allow sorting of custom attributes, functions, and tagged template literals (#155)
0.2.8 - 2023-04-28
- Remove support for
@prettier/plugin-php
(#152)
0.2.7 - 2023-04-05
- Don't break liquid tags inside attributes when sorting classes (#143)
0.2.6 - 2023-03-29
- Support ESM and TS config files (#137)
- Load
tailwindcss
modules from nearest instance only (#139)
0.2.5 - 2023-03-17
- Fix class sorting in
capture
liquid tag (#131)
0.2.4 - 2023-03-02
- Sort
class
attribute on components and custom elements in Astro (#129)
0.2.3 - 2023-02-15
- Don't sort classes in Glimmer
concat
helper (#119) - Add support for
@ianvs/prettier-plugin-sort-imports
(#122)
0.2.2 - 2023-01-24
0.2.1 - 2022-12-08
- Fix support for latest Shopify Liquid plugin (#109)
0.2.0 - 2022-11-25
- Don't bundle
prettier-plugin-svelte
(#101)
0.1.13 - 2022-07-25
- Fix error when using Angular pipes (#86)
0.1.12 - 2022-07-07
- Add support for Glimmer / Handlebars (#83)
0.1.11 - 2022-05-16
- Update
prettier-plugin-svelte
tov2.7.0
(#77)
- Fix sorting in Svelte
:else
blocks (#79)
0.1.10 - 2022-04-20
0.1.9 - 2022-04-19
0.1.8 - 2022-02-24
- Use Tailwind's
getClassOrder
API when available (#57)
- Fix Tailwind config file resolution when Prettier config file is not present (#62)
0.1.7 - 2022-02-09
- Fix single quotes being converted to double quotes (#51)
0.1.6 - 2022-02-08
- Fix error when no Prettier options provided (#46)
0.1.5 - 2022-02-04
- Add support for MDX (#30)
- Fix error when formatting Svelte files that contain
let:class
attributes (#24)
0.1.4 - 2022-01-25
0.1.3 - 2022-01-24
- Ignore
!important
when sorting@apply
classes (#4)
0.1.2 - 2022-01-24
- Fix error when using nullish coalescing operator in Vue/Angular (#2)