Skip to content

Latest commit

 

History

History
81 lines (47 loc) · 4.28 KB

CHANGELOG.md

File metadata and controls

81 lines (47 loc) · 4.28 KB

Changelog

  • 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.

2.0.0

This release upgrades to Stylelint 16 and removes rules deprecated in Stylelint 15

Breaking change: Requires Node.js v18.12.0+

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.

1.1.1

This release includes:

1.1.0

This release includes:

1.0.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.

Breaking change: Removal of stylistic rules

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.

Removal of rule enforcing single-colon pseudo elements

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.

0.3.0

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 in stylelint@14.7.0) configured with simple :not() notation from CSS Selectors Level 3, maintaining support for older browsers
  • New rule annotation-no-unknown (added in stylelint@14.10.0) configured to maintain support for Sass flags such as !default and !global

0.2.0

  • Utilise stylelint-config-standard-scss as base rules for SCSS
  • Upgrade to Stylelint 14

0.1.0

  • Initial release