Releases: projectwallace/format-css
Releases · projectwallace/format-css
1.5.2
What's Changed
- fix:
::highlight(Name)
formatted without Name by @bartveneman in #113
Full Changelog: v1.5.1...v1.5.2
1.5.1
What's Changed
- update deps + audit fix by @bartveneman in #107
- fix: also render
!important
by @bartveneman in #111
Full Changelog: v1.5.0...v1.5.1
1.5.0
What's Changed
- upgrade codspeed runner to v3 by @bartveneman in #104
- loop over AST directly instead of wrapping in function call by @bartveneman in #105
- Preserve comments by @bartveneman in #106
Full Changelog: v1.4.4...v1.5.0
1.4.4
What's Changed
- add benchmarks for minification by @bartveneman in #95
- avoid calling
String.repeat()
unnecessarily in minify mode by @bartveneman in #94 - ditch
substr_raw()
by @bartveneman in #98 - small jsdoc tweaks by @bartveneman in #97
- remove unknown print for rule prelude by @bartveneman in #99
- lowercase type selectors by @bartveneman in #101
- Add missing package.json fields by @bartveneman in #103
Full Changelog: v1.4.3...v1.4.4
1.4.3
What's Changed
- upgrade csstree to v3 by @bartveneman in #91
- add additional tests by @bartveneman in #92
- improve atrule prelude formatting a bunch by @bartveneman in #93
Full Changelog: v1.4.2...v1.4.3
1.4.2
What's Changed
- add quotes around contents of
url()
by @bartveneman in #88
Full Changelog: v1.4.1...v1.4.2
1.4.1
What's Changed
- perf: inline single-use functions by @bartveneman in #82
- format attribute selectors by @bartveneman in #86
Full Changelog: v1.4.0...v1.4.1
1.4.0
TL;DR;
- Added performance regression tests
- Added Codecov for test coverage reporting
- Improved existing tests and added new tests
- Improve architecture to rely less on globals that get modified while function is running
What's Changed
- Add codecov Vite plugin and c8 coverage report by @bartveneman in #59
- use
--reporter=lcov
for c8 by @bartveneman in #60 - Add tests and implementation for uncovered lines by @bartveneman in #61
- Build in CI with CODECOV_TOKEN so it analyzes bundle size by @bartveneman in #62
- improve tests for comments by @bartveneman in #63
- replace
substring()
withslice()
by @bartveneman in #64 - call
toLowerCase()
less often by @bartveneman in #65 - rm obsolete comment, tweak bits by @bartveneman in #66
- add test cases for @media+calc(), space toggles and relative colors by @bartveneman in #70
- Add benchmarks and integrate CodSpeed by @bartveneman in #71
- run
bench.warmup()
by @bartveneman in #72 - Move print functions inside main fn to avoid weird globals by @bartveneman in #73
- move indent-level to upper scope by @bartveneman in #74
- install and run prettier by @bartveneman in #75
- inline
is_uppercase
for perf by @bartveneman in #77 - convert parentheses to consts by @bartveneman in #79
- avoid unnecessary intermediate variables by @bartveneman in #80
- update dependencies (july 2024) by @bartveneman in #81
Full Changelog: v1.3.6...v1.4.0
1.3.6
What's Changed
- fix operator spacing when inside parenthesis by @bartveneman in #58
Full Changelog: v1.3.5...v1.3.6
1.3.5
What's Changed
- Fix spacing after closing ) and following text by @bartveneman in #56
Full Changelog: v1.3.4...v1.3.5