All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and follows Semantic Versioning.
7.2.0 - 2024-03-25
- New properties related to: offset, transition and text wrapping.
- Gap properties
column-gap
androw-gap
moving unsafely.
7.1.1 - 2023-10-01
- Regression with TypeScript types resolution for CommonJS.
7.1.0 - 2023-09-23
- New font and math related properties.
- Keep unknown properties in the same position to prevent overrides.
7.0.3 - 2023-07-27
- TypeScript types resolution for Node.js 16 and up, thanks to @amiller-gh and @privatenumber!
7.0.2 - 2023-07-08
- Missing bubble sort code in npm package.
7.0.0 - 2023-05-29
- Border properties
border-end
andborder-start
radius moving unsafely.
- Node.js 12 support.
6.4.1 - 2023-07-08
- Backport: Missing bubble sort code in npm package.
6.4.0 - 2023-03-23
- New container, overflow and font related properties.
- Order of shorthand properties between overrides that are already changing position with
keepOverrides
.
6.3.1 - 2022-09-02
- Logical border properties moving with
keepOverrides
.
6.3.0 - 2022-06-09
- New properties:
content-visibility
andimage-orientation
.
- Logical properties like
padding-block
moved unsafely withkeepOverrides
.
6.2.2 - 2022-03-27
- Types export for CommonJS.
- Expected plugin type, now using PostCSS
PluginCreator
type.
6.2.1 - 2022-03-26
- Include types in npm package files.
6.2.0 - 2022-03-26
- TypesScript types, special thanks to @peterblazejewicz.
- Named exports.
- New properties regarding font hyphens, print color and scrollbar gutter.
- Dynamic imports in CommonJS output.
- No more dependencies, smaller ESM package.
6.1.4 - 2022-01-08
- Crash on missing paired comment node from invalid SCSS parsing.
6.1.3 - 2021-09-06
- Crash on missing node raws before content.
6.1.2 - 2021-09-06
- Crash on two comments in the same line.
6.1.1 - 2021-07-24
- Usage of built-in orders with CommonJS.
6.1.0 - 2021-07-24
- Internal code to load built-in orders using dynamic import instead of using Node.js
fs
. Enables usage in other environments such as the browser.
- New properties regarding mask border, forced color adjustment & font styling overrides.
6.0.3 - 2021-05-11
- Sorting padding and border shorthands with
keepOverrides
enabled. - Property reset with
all
, the property is moved to the top.
- Add back Node.js 10 support.
6.0.2 - 2020-11-04
- Loading built-in order using a relative path.
6.0.1 - 2020-10-26
- ES module export type, both CommonJS and ES module importing are supported.
- Newer font and grid CSS properties like
row-gap
andfont-display
.
- Scraping of CSS properties now comes from MDN browser compatibility package.
- PostCSS upgraded to version eight which changes PostCSS to a peer dependency.
- Order declarations to be ordered in the precendece of their shorthand counterparts. Special thanks to @DiemenDesign.
- Node.js 10 support.
5.1.2 - 2020-02-21
- Experimental Node.js warning from showing up on some versions.
5.1.1 - 2020-02-07
- Handling vendor prefixed declarations such as
-moz-animation
when sorting withkeepOverrides
enabled.
5.1.0 - 2020-02-06
- Sorting of unknown properties when sorting alphabetically now works the same as the other orders. Instead of sorting all properties only known properties will be sorted and unknown properties will retain their respective order.
5.0.0 - 2019-12-16
- Option
keepOverrides
to keep overrides in place, useful for legacy CSS where shorthand declarations override longhand declarations.
- Default sorting order renamed to
alphabetical
. - Custom sorting order as a JSON file replaced in favor of the option to pass a custom sorting function.
- Node.js 6 and 8 support.
4.0.1 - 2018-07-30
- Invalid package engines node version range.
4.0.0 - 2018-07-24
- New flex box shorthand properties which can conflict with existing flex box properties.
- New ruby, transform and text related properties.
- Node.js 4 support.
- Deprecated grid properties.
3.0.1 - 2018-01-11
- Keep at-rules at the same position.
3.0.0 - 2017-12-14
- Flexbox justify self properties.
- SMACSS order so it is more in line with Stylelint.
- Command line interface in favor of postcss-cli.
2.1.0 - 2017-08-25
- New text style and interaction related properties.
2.0.1 - 2017-06-19
- Prevent comments outside CSS selectors from being moved.
2.0.0 - 2017-03-16
- Put declarations before nested declarations.