- Fix default regex
- Add options to handle wrapped classes to extend the set of use cases #109, thanks [@dikkadev]](https://github.com/dikkadev])
- Fix regex for parsing css classes, #99, thanks @DanikVitek
- Update cargo deps
- Split rustywind into multiple crates, #100, thanks @Rolv-Apneseth, and @bram209
- Switch up std HashMap for faster hasher ahash
- Update rustls to 0.22
- Update cargo deps
- Prevent writing to file if the contents hasn't changed. Fixes: #88
- Show UI difference for files that were/will be changed vs ones that won't be touched
- Upgraded deps
- Add new
--skip-ssl-verification
flag for use withhttps
in dev for--vite-css
#78, thanks @praveenperera
- Add expiremental support for getting CSS order from a vite URL #77, thanks @praveenperera
- Match sorting rules to tailwind prettier plugin #76, thanks @praveenperera
- Updated all dependencies, including
aho-corasick
#73, thanks @dnaka91 - Change regex to work with colors with opacity #72, thanks @dnaka91
- Update cargo.lock file to new version #70
- Fix Regex to only match the characters selected (and work with conditionals), thanks @rubas #66
- Fix npm publishing thanks @adamdicarlo0 #69
- Fix download rate limited by github thanks @adamdicarlo0 #68
- Fixed removing
\n
newline when formatting from STDIN - Updated dependencies
- Add
--config-file
option, thanks @mweiss-carerev #58
- Refactored, using Clap3 derive macros to parse args
-
New
--check-formatted
option, thanks @praveenperera #45
-
Replace
lazy_static
crate withonce_cell
, thanks @praveenperera #46 -
Update
clap
crate to 3.0, thanks @praveenperera #47
- Prevent panic if class name same as variant is used
- Fix not sorting half classes properly
ex: mt-0.5
- Sort all variant classes
- Sorts responsive classes with the same default sorter #28
- Run on multiple files or folders
rustywind --write abc.js efg.js
rustywind --write abc/templates efg/templates
- Report correct version number
- Split classes by all ASCII whitespace characters (will now separate classes by spaces or new lines) - thanks @mklein994
- Support for M1 macs
- New
--stdin
flag sort contents in STDIN and print out sorted contents to STDOUT
- Fixed windows releases not being created
- Changed default sorter to match headwind, now works with Tailwind 2.0 (by @dhrubabasu)
- Changed default sorter to match headwind