|
9 | 9 |
|
10 | 10 | #### Backwards-incompatible changes
|
11 | 11 |
|
12 |
| -* Unrecoverable parser errors throw an exception of type `Mehdirma10\CSS\Parsing\SourceException` instead of `\Exception`. |
| 12 | +* Unrecoverable parser errors throw an exception of type `Sabberworm\CSS\Parsing\SourceException` instead of `\Exception`. |
13 | 13 |
|
14 | 14 | ### 8.1.0 (2016-07-19)
|
15 | 15 |
|
|
29 | 29 |
|
30 | 30 | #### Backwards-incompatible changes
|
31 | 31 |
|
32 |
| -* The `Mehdirma10\CSS\Value\String` class has been renamed to `Mehdirma10\CSS\Value\CSSString`. |
| 32 | +* The `Sabberworm\CSS\Value\String` class has been renamed to `Sabberworm\CSS\Value\CSSString`. |
33 | 33 |
|
34 | 34 | ### 7.0.1 (2015-12-25)
|
35 | 35 |
|
|
53 | 53 |
|
54 | 54 | ### 6.0.0 (2014-07-03)
|
55 | 55 |
|
56 |
| -* Format output using Mehdirma10\CSS\OutputFormat |
| 56 | +* Format output using Sabberworm\CSS\OutputFormat |
57 | 57 | * *No backwards-incompatible changes*
|
58 | 58 |
|
59 | 59 | #### Deprecations
|
|
76 | 76 |
|
77 | 77 | #### Backwards-incompatible changes
|
78 | 78 |
|
79 |
| -* `Mehdirma10\CSS\Value\Color`’s `__toString` method overrides `CSSList`’s to maybe return something other than `type(value, …)` (see above). |
| 79 | +* `Sabberworm\CSS\Value\Color`’s `__toString` method overrides `CSSList`’s to maybe return something other than `type(value, …)` (see above). |
80 | 80 |
|
81 | 81 | ### 5.0.1 (2013-03-20)
|
82 | 82 |
|
|
150 | 150 | ### 5.2.0 (2014-06-30)
|
151 | 151 |
|
152 | 152 | * Support removing a selector from a declaration block using `$oBlock->removeSelector($mSelector)`
|
153 |
| -* Introduce a specialized exception (Mehdirma10\CSS\Parsing\OuputException) for exceptions during output rendering |
| 153 | +* Introduce a specialized exception (Sabberworm\CSS\Parsing\OuputException) for exceptions during output rendering |
154 | 154 |
|
155 | 155 | * *No deprecations*
|
156 | 156 |
|
|
163 | 163 | ### 4.0.0 (2013-03-19)
|
164 | 164 |
|
165 | 165 | * Support for more @-rules
|
166 |
| -* Generic interface `Mehdirma10\CSS\Property\AtRule`, implemented by all @-rule classes |
| 166 | +* Generic interface `Sabberworm\CSS\Property\AtRule`, implemented by all @-rule classes |
167 | 167 | * *No deprecations*
|
168 | 168 |
|
169 | 169 | #### Backwards-incompatible changes
|
170 | 170 |
|
171 |
| -* `Mehdirma10\CSS\RuleSet\AtRule` renamed to `Mehdirma10\CSS\RuleSet\AtRuleSet` |
172 |
| -* `Mehdirma10\CSS\CSSList\MediaQuery` renamed to `Mehdirma10\CSS\RuleSet\CSSList\AtRuleBlockList` with differing semantics and API (which also works for other block-list-based @-rules like `@supports`). |
| 171 | +* `Sabberworm\CSS\RuleSet\AtRule` renamed to `Sabberworm\CSS\RuleSet\AtRuleSet` |
| 172 | +* `Sabberworm\CSS\CSSList\MediaQuery` renamed to `Sabberworm\CSS\RuleSet\CSSList\AtRuleBlockList` with differing semantics and API (which also works for other block-list-based @-rules like `@supports`). |
173 | 173 |
|
174 | 174 | ## 3.0
|
175 | 175 |
|
|
180 | 180 |
|
181 | 181 | #### Backwards-incompatible changes
|
182 | 182 |
|
183 |
| -* All properties (like whether or not to use `mb_`-functions, which default charset to use and – new – whether or not to be forgiving when parsing) are now encapsulated in an instance of `Mehdirma10\CSS\Settings` which can be passed as the second argument to `Mehdirma10\CSS\Parser->__construct()`. |
184 |
| -* Specifying a charset as the second argument to `Mehdirma10\CSS\Parser->__construct()` is no longer supported. Use `Mehdirma10\CSS\Settings::create()->withDefaultCharset('some-charset')` instead. |
185 |
| -* Setting `Mehdirma10\CSS\Parser->bUseMbFunctions` has no effect. Use `Mehdirma10\CSS\Settings::create()->withMultibyteSupport(true/false)` instead. |
186 |
| -* `Mehdirma10\CSS\Parser->parse()` may throw a `Mehdirma10\CSS\Parsing\UnexpectedTokenException` when in strict parsing mode. |
| 183 | +* All properties (like whether or not to use `mb_`-functions, which default charset to use and – new – whether or not to be forgiving when parsing) are now encapsulated in an instance of `Sabberworm\CSS\Settings` which can be passed as the second argument to `Sabberworm\CSS\Parser->__construct()`. |
| 184 | +* Specifying a charset as the second argument to `Sabberworm\CSS\Parser->__construct()` is no longer supported. Use `Sabberworm\CSS\Settings::create()->withDefaultCharset('some-charset')` instead. |
| 185 | +* Setting `Sabberworm\CSS\Parser->bUseMbFunctions` has no effect. Use `Sabberworm\CSS\Settings::create()->withMultibyteSupport(true/false)` instead. |
| 186 | +* `Sabberworm\CSS\Parser->parse()` may throw a `Sabberworm\CSS\Parsing\UnexpectedTokenException` when in strict parsing mode. |
187 | 187 |
|
188 | 188 | ## 2.0
|
189 | 189 |
|
|
193 | 193 |
|
194 | 194 | #### Backwards-incompatible changes
|
195 | 195 |
|
196 |
| -* `Mehdirma10\CSS\RuleSet->getRules()` returns an index-based array instead of an associative array. Use `Mehdirma10\CSS\RuleSet->getRulesAssoc()` (which eliminates duplicate rules and lets the later rule of the same name win). |
197 |
| -* `Mehdirma10\CSS\RuleSet->removeRule()` works as it did before except when passed an instance of `Mehdirma10\CSS\Rule\Rule`, in which case it would only remove the exact rule given instead of all the rules of the same type. To get the old behaviour, use `Mehdirma10\CSS\RuleSet->removeRule($oRule->getRule()`; |
| 196 | +* `Sabberworm\CSS\RuleSet->getRules()` returns an index-based array instead of an associative array. Use `Sabberworm\CSS\RuleSet->getRulesAssoc()` (which eliminates duplicate rules and lets the later rule of the same name win). |
| 197 | +* `Sabberworm\CSS\RuleSet->removeRule()` works as it did before except when passed an instance of `Sabberworm\CSS\Rule\Rule`, in which case it would only remove the exact rule given instead of all the rules of the same type. To get the old behaviour, use `Sabberworm\CSS\RuleSet->removeRule($oRule->getRule()`; |
198 | 198 |
|
199 | 199 | ## 1.0
|
200 | 200 |
|
|
0 commit comments