Skip to content

Commit 2b6082d

Browse files
Update semver strategy (necolas#615)
1 parent 5d728b8 commit 2b6082d

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
* Move unsorted rules into their respective sections.
88
* Update the `summary` style in all browsers.
99
* Remove `::placeholder` styles due to a bug in Edge.
10-
* More explicitly define font resets on form controls
11-
* Remove the `optgroup` normalization needed by the previous font reset
10+
* More explicitly define font resets on form controls.
11+
* Remove the `optgroup` normalization needed by the previous font reset.
12+
* Update the semver strategy.
1213

1314
### 4.2.0 (June 30, 2016)
1415

CONTRIBUTING.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,12 @@ cutting new releases.
196196
version numbers are incremented in a project. Versions are written as
197197
MAJOR.MINOR.PATCH.
198198

199-
Changes limited to fallback declarations for browsers which do not support
200-
newer features produce a PATCH release.
201-
202-
Changes limited to normalizations for older browsers produce a MINOR release.
199+
Any change to CSS rules whatsoever is considered backwards-breaking and will
200+
result in a new **major** release. Others changes with no impact on rendering
201+
are considered backwards-compatible and will result in a new **patch** release.
202+
203+
No changes to CSS rules can add functionality in a backwards-compatible manner,
204+
therefore no changes are considered **minor**. For instance, a normalization on
205+
an element selector may override a user style on a universal selector, a
206+
change to `opacity` might cause [inputs to disappear](https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/3901363/),
207+
or a change to `background-color` might cause [backgrounds to shrink](https://github.com/jonathantneal/sanitize.css/issues/42).

0 commit comments

Comments
 (0)