Skip to content

Commit

Permalink
Update semver strategy (necolas#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathantneal authored Aug 21, 2016
1 parent 5d728b8 commit 2b6082d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
13 changes: 9 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Changes limited to normalizations for older browsers produce a MINOR 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.

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

0 comments on commit 2b6082d

Please sign in to comment.