Releases: csskit/csskit
Canary
This release is automatically built and generated on every commit to main that passes tests.
And is currently published to npm:
npm i csskit@canaryv0.0.18
Headline Changes
This release improves performance, and minifier robustness, while also supporting color-mix, gap-rule-list, and has better minifier support for colors.
What's Changed
- chore(deps): update rust crate toml to v1 by @renovate[bot] in #875
- chromashift: Update to support wide-gamut color spaces, out of gamut colors by @keithamus in #877
- chromashift: Implement css-color-4 raytrace gamut mapping by @keithamus in #879
- release-automation: release on npm using latest dist tag by @keithamus in #880
- css_ast: Implement gap rule list by @cijiugechu in #878
- chore(deps): update dependency apexcharts to v5.4.0 by @renovate[bot] in #885
- chore(deps): update dependencies (minor) by @renovate[bot] in #884
- chore(deps): update dependencies (patch) by @renovate[bot] in #882
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #881
- update css-tokenizer-tests by @keithamus in #887
- csskit_transform: introduce css-minify-tests by @keithamus in #886
- css_parse: Add BumpBox type and blanket trait impls for Box types by @keithamus in #888
- css_ast: Implement ColorMix by @keithamus in #889
- css_ast: Boxup more types by @keithamus in #890
- css_lexer: Introduce UnicodeRange token kind. by @keithamus in #891
- css_lexer: Add "Bad" tokens. by @keithamus in #892
- csskit_transform: snapshot css-minify-tests failures instead of asserting count by @keithamus in #893
- css_lexer: Re-encode escapes in strings if they're invalid for unescaping by @keithamus in #894
- chore(deps): update dawidd6/action-download-artifact action to v15 by @renovate[bot] in #895
- css_lexer: Re-encode escapes in idents if they're invalid for unescaping by @keithamus in #896
- chromashift: Increase precision of display-p3 to sRGB conversion by @keithamus in #897
- Implement ColorFunctionColor::to_chromashift() and extract shortest_color helper by @keithamus in #898
- chore(deps): update dependency apexcharts to v5.6.0 by @renovate[bot] in #903
- chore(deps): update dependencies to v1.49.0 (minor) by @renovate[bot] in #901
- chore(deps): update dependencies (patch) by @renovate[bot] in #900
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #899
- chore(deps): update dawidd6/action-download-artifact action to v16 by @renovate[bot] in #904
- chore(deps): update actions/upload-artifact action to v7 by @renovate[bot] in #906
- chore(deps): update actions/download-artifact action to v8 by @renovate[bot] in #905
- css_lexer: Rewrite to use Bytes, memchr by @keithamus in #907
- css_parse: flush trailing semicolons in CursorCompactWriteSink on drop by @keithamus in #908
- css_ast: Remove StringOrUrl type by @keithamus in #909
- csskit_transform: reduce Urls to Strings where possible by @keithamus in #910
- Release v0.0.18 by @keithamus in #876
Full Changelog: v0.0.17...v0.0.18
v0.0.17
Headline Changes
This release comes with much better support for @container queries, including style() and scroll-state() (thanks @cijiugechu!). Also improved support for the flex, font-feature-settings, font-variation-settings declarations, as well as preliminary support for the recently specified column-rule-visibility-items, row-rule-visibility-items, rule-visibility-items declarations.
What's Changed
- website: fix colors in dark mode by @keithamus in #848
- chore(deps): update dawidd6/action-download-artifact action to v13 by @renovate[bot] in #849
- chore(deps): update dawidd6/action-download-artifact action to v14 by @renovate[bot] in #850
- chore(deps): update dependencies (patch) by @renovate[bot] in #852
- chore(deps): update dependency node to v25.5.0 by @renovate[bot] in #853
- chore(deps): update dependency oxlint to v1.42.0 - autoclosed by @renovate[bot] in #855
- chore(deps): update dependency wasm-pack to ^0.14.0 by @renovate[bot] in #857
- chore(deps): update dependency rust to v1.93.0 by @renovate[bot] in #856
- css_ast: Uncomment FlexStyleValue by @keithamus in #860
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #851
- css_ast: Add NormalOr<> generic. by @keithamus in #861
- css_ast: Enable FontFeatureSettingsStyleValue, FontVariationSettingsStyleValue by @keithamus in #862
- chore(deps): update dependencies (patch) by @renovate[bot] in #864
- chore(deps): update dependency node to v25.6.0 by @renovate[bot] in #866
- chore(deps): update dependency oxlint to v1.43.0 by @renovate[bot] in #867
- chore(deps): update dependency @types/vscode to v1.109.0 by @renovate[bot] in #865
- css_ast: Fixup container queries by @keithamus in #874
- css_ast: Support custom scroll state queries by @cijiugechu in #873
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #863
- Release v0.0.17 by @keithamus in #858
New Contributors
- @cijiugechu made their first contribution in #873
Full Changelog: v0.0.16...v0.0.17
v0.0.16
Headline Changes
This release adds the super duper secret csskit expand feature, which works like the opposite of min, generating chunky and unreadable (to humans) CSS that's still fully valid.
What's Changed
- css_lexer: Compact String & URL tokens by @keithamus in #843
- feat: supports the format feature in the playground by @yisibl in #841
- csskit/css_lexer/css_parse: Add super secret hidden
expandcommand by @keithamus in #846 - Release v0.0.16 by @keithamus in #844
New Contributors
Full Changelog: v0.0.15...v0.0.16
v0.0.15
Headline Changes
Some small updates to how minification works (+ signs are now removed intelligently).
What's Changed
- css_ast/csskit_derives: Add derive(NodeWithMetadata) by @keithamus in #824
- css_ast/csskit_derive/csskit_proc_macro: Add "constrainable" generics. by @keithamus in #825
- csskit_transform/css_lexer: Check compacted lengths to determine if replacement is shorter. by @keithamus in #827
- css_ast/css_lexer: Preserve sign in an+b, otherwise compact by @keithamus in #828
- css_ast: Don't preserve sign for integer An+B selectors. by @keithamus in #829
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #830
- chore(deps): update dependencies (patch) by @renovate[bot] in #831
- chore(deps): update dependency lightningcss-cli to v1.31.1 by @renovate[bot] in #832
- chore(deps): update dependency node to v25.4.0 by @renovate[bot] in #833
- chore(deps): update dependency oxlint to v1.40.0 by @renovate[bot] in #834
- css_lexer: De-duplicate escape sequence consumption by @keithamus in #835
- releases cargo publish last by @keithamus in #837
- Release v0.0.15 by @keithamus in #826
Full Changelog: v0.0.14...v0.0.15
v0.0.14
Headline features
This release adds new systems for minifying, which allows for a whole bunch of minification improvements, including compressing numbers, lengths and colors.
What's Changed
- css_lexer/css_parse: Add SourceCursor compacting, ensure CursorCompactWriteSink compacts cursors before write by @keithamus in #782
- chromashift: Fix lossy alpha conversions by @keithamus in #784
- website: Add docs around check/fmt by @keithamus in #785
- website: Add discord link by @keithamus in #786
- Post release info to discord by @keithamus in #787
- csskit_ast: Add benchmarks for linting with example cks files by @keithamus in #788
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #789
- chore(deps): update dependencies (patch) by @renovate[bot] in #790
- chore(deps): update dependency oxlint to v1.36.0 by @renovate[bot] in #791
- generate-all-values: Re-order changelog generation step by @keithamus in #794
- css_ast: Fixup MediaQueryList & ContainerConditionList to use CommaSeparated by @keithamus in #795
- coverage: Add
:unknowncoverage testing to all popular CSS libraries by @keithamus in #796 - css_ast: Add support for parsing
@importrules by @keithamus in #797 - csskit-acceptance: Adds the ability to update snapshots with --update by @maraisr in #798
- css_ast: enables
<display>by @maraisr in #799 - css_ast/csskit_proc_macro: Provide system for easily renaming auto-generated types by @keithamus in #800
- chore(deps): update dependency @types/vscode to v1.108.1 by @renovate[bot] in #803
- chore(deps): update dependency oxlint to v1.38.0 by @renovate[bot] in #805
- chore(deps): update dependencies (patch) by @renovate[bot] in #802
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #801
- chore(deps): update dependency postcss-preset-env to v11 by @renovate[bot] in #806
- website: fix pages deploy by @keithamus in #807
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #808
- fix(deps): update dependencies (patch) by @renovate[bot] in #809
- chore(deps): update dependency node to v25.3.0 by @renovate[bot] in #810
- chore(deps): update dependency oxlint to v1.39.0 by @renovate[bot] in #811
- chore(deps): update dependency postcss-preset-env to v11.1.1 by @renovate[bot] in #812
- chore(deps): update jdx/mise-action action to v3.6.0 by @renovate[bot] in #814
- chore(deps): update dependency prettier to v3.8.0 by @renovate[bot] in #813
- csskit/csskit_transform/css_parse: Improve transform architecture. Minify lengths by @keithamus in #815
- csskit_transform: Add Reduce colors by @keithamus in #816
- csskit_wasm: Use minifier transform architecture by @keithamus in #817
- csskit_transform: Reduce more color types by @keithamus in #818
- csskit_transform: Add ReduceTimeUnits transform by @keithamus in #819
- css_ast/css_transform: Only reduce lengths to unitless zero when applicable by @keithamus in #821
- csskit_spec_generator/css_ast: Generate many more values by @keithamus in #823
- Release v0.0.14 by @keithamus in #783
Full Changelog: v0.0.13...v0.0.14
v0.0.13
What's Changed
- csskit_ast: Fix up feature flag issues by @keithamus in #780
- Release v0.0.13 by @keithamus in #781
Full Changelog: v0.0.12...v0.0.13
v0.0.12
Headline features
This fixes an issue where npx csskit@latest would fail (due to not finding the right binary dependencies).
What's Changed
- csskit: Resolve platform binary using a directory walk, fixing
npx. by @keithamus in #771 - csskit: Tidy up bash script by @keithamus in #772
- Release v0.0.12 by @keithamus in #773
Full Changelog: v0.0.11...v0.0.12
v0.0.11
Headline features
This introduces the revamped csskit check command which checks CSS against a "csskit rule sheet" definition file.
What's Changed
- Regenerate css_ast/src/values from csswg drafts by @keithamus in #760
- chore(deps): update dependency postcss-preset-env to v10.6.0 by @renovate[bot] in #764
- fix(deps): update dependencies (patch) by @renovate[bot] in #761
- chore(deps): update dependency oxlint to v1.35.0 by @renovate[bot] in #762
- ensure release PRs are always force-built by @keithamus in #767
- csskit_highlight/csskit/chromashift: Support owo-colors by @keithamus in #766
- release-automation: Ensure pushes use PAT by @keithamus in #768
- csskit_ast/csskit: Implement Rule sheets,
csskit checkcommand by @keithamus in #769 - Release v0.0.11 by @keithamus in #763
Full Changelog: v0.0.10...v0.0.11
v0.0.10
Headline Features
Fixes a release issue with v0.0.9
What's Changed
- csskit_ast: Ensure build script is isolated by @keithamus in #758
- Release v0.0.10 by @keithamus in #759
Full Changelog: v0.0.9...v0.0.10