From 2b6082d43a9d5f2584e77e69cd145c87ad6103be Mon Sep 17 00:00:00 2001 From: Jonathan Neal Date: Sun, 21 Aug 2016 19:11:06 -0400 Subject: [PATCH] Update semver strategy (#615) --- CHANGELOG.md | 5 +++-- CONTRIBUTING.md | 11 ++++++++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6facc60..32c6da2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,8 +7,9 @@ * Move unsorted rules into their respective sections. * Update the `summary` style in all browsers. * Remove `::placeholder` styles due to a bug in Edge. -* More explicitly define font resets on form controls -* Remove the `optgroup` normalization needed by the previous font reset +* More explicitly define font resets on form controls. +* Remove the `optgroup` normalization needed by the previous font reset. +* Update the semver strategy. ### 4.2.0 (June 30, 2016) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 49eadd8..5f5f1e4 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -196,7 +196,12 @@ cutting new releases. version numbers are incremented in a project. Versions are written as MAJOR.MINOR.PATCH. -Changes limited to fallback declarations for browsers which do not support -newer features produce a PATCH release. +Any change to CSS rules whatsoever is considered backwards-breaking and will +result in a new **major** release. Others changes with no impact on rendering +are considered backwards-compatible and will result in a new **patch** release. -Changes limited to normalizations for older browsers produce a MINOR release. +No changes to CSS rules can add functionality in a backwards-compatible manner, +therefore no changes are considered **minor**. For instance, a normalization on +an element selector may override a user style on a universal selector, a +change to `opacity` might cause [inputs to disappear](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3901363/), +or a change to `background-color` might cause [backgrounds to shrink](https://github.com/jonathantneal/sanitize.css/issues/42).