- Adds support for tab indentation (thanks to @solidflows).
- Better handling of trailing/leading zeroes & hex colour case transformations (thanks to @vansosnin).
- Now parses values rather than applying regular expressions to values, using postcss-value-parser.
- Resolves an issue where fractions were being incorrectly transformed.
- Resolves an issue where parentheses inside string literals were being erroneously transformed.
- Resolves an issue where base64 content was being incorrectly transformed to lower case.
- Add options to handle zeroes - trim leading/trailing zeroes, and removing units from zero lengths (thanks to @vansosnin).
- Add options to format hex colours (thanks to @vansosnin).
- Replaced internal vendor prefixes list with the vendors module.
- Uses Babel's object assign.
- Ensures that the expanded format is used when the option is set to undefined.
- Fixes an issue where extra space was being added to commas inside strings, mangling base64 URLs (thanks to @Mottie, @silverwind, @denji).
- Fixes an integration issue with PostCSS 5.0.6.
- Fixes a plugin integration issue where
undefined
was appearing in the output.
- Adds scss syntax support.
- Better formatting of functions;
rgb(0,0,0)
becomesrgba(0, 0, 0)
(thanks to @yisibl).
- Upgrade to PostCSS 5.x.
- Fixed an issue where perfectionist would add an extra space in between
at rules with no child nodes (for example,
@import
).
- Added an option to disable the visual cascade of properties.
- Fixed an issue where at-rules were not getting an appropriate amount of newlines following the rule.
- Fixed an issue where comments in values were being removed.
- Where possible, perfectionist will condense multi-line selectors into a single line.
- perfectionist will now not remove comments within selector strings.
- Better formatting of comments inside rules.
- Better formatting of selectors inside at-rules.
- Added an option to configure the indent size.
- Fixes a crash when a comment ended the file.
- Fixes an issue where comments were being removed from inside nodes.
- Adds support for configurable wrapping of property values over multiple lines.
- Adds support for configurable wrapping of at-rule parameters.
- Adds support for newlines around block comments in both
expanded
andcompact
formats.
- Fixes a crash on comments inside rules.
- Fixes a behaviour where the module was trying to add negative space to a property when re-aligning.
- Initial release.