Skip to content

Commit 9aef254

Browse files
authored
[DOCS] Integrate the 8.9.0 changelog into main changelog (#1329)
This way, the upcoming 9.0.0 release won't have changes in the changelog that already are part of the 8.9.0 changelog.
1 parent 6a7d412 commit 9aef254

File tree

1 file changed

+54
-39
lines changed

1 file changed

+54
-39
lines changed

CHANGELOG.md

Lines changed: 54 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,6 @@ Please also have a look at our
1111
### Added
1212

1313
- Interface `RuleContainer` for `RuleSet` `Rule` manipulation methods (#1256)
14-
- `RuleSet::removeMatchingRules()` method
15-
(for the implementing classes `AtRuleSet` and `DeclarationBlock`) (#1249)
16-
- `RuleSet::removeAllRules()` method
17-
(for the implementing classes `AtRuleSet` and `DeclarationBlock`) (#1249)
18-
- Add Interface `CSSElement` (#1231)
19-
- Methods `getLineNumber` and `getColumnNumber` which return a nullable `int`
20-
for the following classes:
21-
`Comment`, `CSSList`, `SourceException`, `Charset`, `CSSNamespace`, `Import`,
22-
`Rule`, `DeclarationBlock`, `RuleSet`, `CSSFunction`, `Value` (#1225, #1263)
23-
- `Positionable` interface for CSS items that may have a position
24-
(line and perhaps column number) in the parsed CSS (#1221)
2514
- Partial support for CSS Color Module Level 4:
2615
- `rgb` and `rgba`, and `hsl` and `hsla` are now aliases (#797}
2716
- Parse color functions that use the "modern" syntax (#800)
@@ -41,12 +30,6 @@ Please also have a look at our
4130
- `RuleSet::getRules()` and `getRulesAssoc()` now only allow `string` or `null`
4231
as the parameter (implementing classes are `AtRuleSet` and `DeclarationBlock`)
4332
(#1253)
44-
- Parameters for `getAllValues()` are deconflated, so it now takes three (all
45-
optional), allowing `$element` and `$ruleSearchPattern` to be specified
46-
separately (#1241)
47-
- Implement `Positionable` in the following CSS item classes:
48-
`Comment`, `CSSList`, `SourceException`, `Charset`, `CSSNamespace`, `Import`,
49-
`Rule`, `DeclarationBlock`, `RuleSet`, `CSSFunction`, `Value` (#1225)
5033
- Initialize `KeyFrame` properties to sensible defaults (#1146)
5134
- Make `OutputFormat` `final` (#1128)
5235
- Make `Selector` a `Renderable` (#1017)
@@ -60,25 +43,6 @@ Please also have a look at our
6043

6144
### Deprecated
6245

63-
- Passing a `string` or `null` to `RuleSet::removeRule()` is deprecated
64-
(implementing classes are `AtRuleSet` and `DeclarationBlock`);
65-
use `removeMatchingRules()` or `removeAllRules()` instead (#1249)
66-
- Passing a `Rule` to `RuleSet::getRules()` or `getRulesAssoc()` is deprecated,
67-
affecting the implementing classes `AtRuleSet` and `DeclarationBlock`
68-
(call e.g. `getRules($rule->getRule())` instead) (#1248)
69-
- Passing a string as the first argument to `getAllValues()` is deprecated;
70-
the search pattern should now be passed as the second argument (#1241)
71-
- Passing a Boolean as the second argument to `getAllValues()` is deprecated;
72-
the flag for searching in function arguments should now be passed as the third
73-
argument (#1241)
74-
- `getLineNo()` is deprecated in these classes (use `getLineNumber()` instead):
75-
`Comment`, `CSSList`, `SourceException`, `Charset`, `CSSNamespace`, `Import`,
76-
`Rule`, `DeclarationBlock`, `RuleSet`, `CSSFunction`, `Value` (#1225, #1233)
77-
- `Rule::getColNo()` is deprecated (use `getColumnNumber()` instead)
78-
(#1225, #1233)
79-
- Providing zero as the line number argument to `Rule::setPosition()` is
80-
deprecated (pass `null` instead if there is no line number) (#1225, #1233)
81-
8246
### Removed
8347

8448
- Remove `getLineNo()` from these classes (use `getLineNumber()` instead):
@@ -117,9 +81,6 @@ Please also have a look at our
11781
(in `RuleSet::addRule()`) (#1270)
11882
- Ensure `RuleSet::addRule()` sets non-negative column number when sibling
11983
provided (#1268)
120-
- Set line number when `RuleSet::addRule()` called with only column number set
121-
(#1265)
122-
- Ensure first rule added with `RuleSet::addRule()` has valid position (#1262)
12384
- Don't render `rgb` colors with percentage values using hex notation (#803)
12485

12586
### Documentation
@@ -129,6 +90,60 @@ Please also have a look at our
12990
@ziegenberg is a new contributor to this release and did a lot of the heavy
13091
lifting. Thanks! :heart:
13192

93+
## 8.9.0: New features, bug fixes and deprecations
94+
95+
### Added
96+
97+
- `RuleSet::removeMatchingRules()` method
98+
(for the implementing classes `AtRuleSet` and `DeclarationBlock`) (#1249)
99+
- `RuleSet::removeAllRules()` method
100+
(for the implementing classes `AtRuleSet` and `DeclarationBlock`) (#1249)
101+
- Add Interface `CSSElement` (#1231)
102+
- Methods `getLineNumber` and `getColumnNumber` which return a nullable `int`
103+
for the following classes:
104+
`Comment`, `CSSList`, `SourceException`, `Charset`, `CSSNamespace`, `Import`,
105+
`Rule`, `DeclarationBlock`, `RuleSet`, `CSSFunction`, `Value` (#1225, #1263)
106+
- `Positionable` interface for CSS items that may have a position
107+
(line and perhaps column number) in the parsed CSS (#1221)
108+
109+
### Changed
110+
111+
- Parameters for `getAllValues()` are deconflated, so it now takes three (all
112+
optional), allowing `$element` and `$ruleSearchPattern` to be specified
113+
separately (#1241)
114+
- Implement `Positionable` in the following CSS item classes:
115+
`Comment`, `CSSList`, `SourceException`, `Charset`, `CSSNamespace`, `Import`,
116+
`Rule`, `DeclarationBlock`, `RuleSet`, `CSSFunction`, `Value` (#1225)
117+
118+
### Deprecated
119+
120+
- Support for PHP < 7.2 is deprecated; version 9.0 will require PHP 7.2 or later
121+
(#1264)
122+
- Passing a `string` or `null` to `RuleSet::removeRule()` is deprecated
123+
(implementing classes are `AtRuleSet` and `DeclarationBlock`);
124+
use `removeMatchingRules()` or `removeAllRules()` instead (#1249)
125+
- Passing a `Rule` to `RuleSet::getRules()` or `getRulesAssoc()` is deprecated,
126+
affecting the implementing classes `AtRuleSet` and `DeclarationBlock`
127+
(call e.g. `getRules($rule->getRule())` instead) (#1248)
128+
- Passing a string as the first argument to `getAllValues()` is deprecated;
129+
the search pattern should now be passed as the second argument (#1241)
130+
- Passing a Boolean as the second argument to `getAllValues()` is deprecated;
131+
the flag for searching in function arguments should now be passed as the third
132+
argument (#1241)
133+
- `getLineNo()` is deprecated in these classes (use `getLineNumber()` instead):
134+
`Comment`, `CSSList`, `SourceException`, `Charset`, `CSSNamespace`, `Import`,
135+
`Rule`, `DeclarationBlock`, `RuleSet`, `CSSFunction`, `Value` (#1225, #1233)
136+
- `Rule::getColNo()` is deprecated (use `getColumnNumber()` instead)
137+
(#1225, #1233)
138+
- Providing zero as the line number argument to `Rule::setPosition()` is
139+
deprecated (pass `null` instead if there is no line number) (#1225, #1233)
140+
141+
### Fixed
142+
143+
- Set line number when `RuleSet::addRule()` called with only column number set
144+
(#1265)
145+
- Ensure first rule added with `RuleSet::addRule()` has valid position (#1262)
146+
132147
## 8.8.0: Bug fixes and deprecations
133148

134149
### Added

0 commit comments

Comments
 (0)