Skip to content

Commit 18f2b22

Browse files
committed
[DOCS] Integrate the 8.9.0 changelog into main changelog
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 d856c3a commit 18f2b22

File tree

1 file changed

+54
-38
lines changed

1 file changed

+54
-38
lines changed

CHANGELOG.md

Lines changed: 54 additions & 38 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,8 +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)
12284
- Ensure first rule added with `RuleSet::addRule()` has valid position (#1262)
12385
- Don't render `rgb` colors with percentage values using hex notation (#803)
12486

@@ -129,6 +91,60 @@ Please also have a look at our
12991
@ziegenberg is a new contributor to this release and did a lot of the heavy
13092
lifting. Thanks! :heart:
13193

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

134150
### Added

0 commit comments

Comments
 (0)