- We follow Semantic Versioning conventions for numbering releases
- Don't include changes that are purely internal. The CHANGELOG should be a useful summary for people upgrading their application, not a replication of the commit log.
This release upgrades to Stylelint 16 and removes rules deprecated in Stylelint 15
The minimum Node.js version is now v18.12.0 but note the following changes for Stylelint API users:
- Supports ES module plugins, custom syntaxes and formatters
- Updates rules, formatters and utilities to return Promises
- Deprecates the CommonJS Node.js API
- Requires Node.js v18.12.0+
Read about breaking changes in the Stylelint Migrating to v16.0.0 guide.
This release includes:
This release includes:
- pull request #53: Update Stylelint minimum version to
stylelint@15.11.0
- pull request #57: Update bundled Sass config to
stylelint-config-standard-scss@11.1.0
This release upgrades to Stylelint 15 and now includes:
- Checks for media query syntax, rules and values
- Checks for number precision inside CSS functions
- Fixes for duplicate rules with intentionally different units
Read about breaking changes in the Stylelint Migrating to v15.0.0 guide.
We have removed all stylistic rules (such as tabs/spaces, indentation, etc) as they're no longer included in Stylelint common configurations as part of their deprecation in Stylelint 15.
As per Stylelint's own documentation, we recommend that projects adopt Prettier for formatting instead.
If this is not possible for your project, you can configure your projects' Stylelint configuration to use the stylelint-stylistic
or stylelint-codeguide
plugins to restore the deprecated rules instead.
This change was made in pull request #44: Remove deprecated stylistic rules.
We removed the rule selector-pseudo-element-colon-notation
preventing double-colon ::before
and ::after
pseudo elements.
Internet Explorer 8, 9 and 10 require single-colon :before
and :after
pseudo elements, but supporting these old browsers has not been a requirement for services since June 2018. If you wish to keep support you can configure your Stylelint to re-enable it.
This change was made in pull request #36: Remove selector-pseudo-element-colon-notation
.
This release updates all bundled configs to the maximum version supported by Stylelint 14. This work is in preparation for Stylelint 15 deprecating all stylistic rules with a recommendation to use Prettier for formatting.
Updates to bundled configs include new rule changes to maintain compatibility:
- New rule
selector-not-notation
(added instylelint@14.7.0
) configured with simple:not()
notation from CSS Selectors Level 3, maintaining support for older browsers - New rule
annotation-no-unknown
(added instylelint@14.10.0
) configured to maintain support for Sass flags such as!default
and!global
- Utilise stylelint-config-standard-scss as base rules for SCSS
- Upgrade to Stylelint 14
- Initial release