Skip to content

Releases: MyIntervals/PHP-CSS-Parser

8.2.0: The “calc(this + that)” release

22 Feb 07:46
Compare
Choose a tag to compare

8.2.0 (2018-07-13)

  • Support parsing calc(), thanks to @raxbg.
  • Support parsing grid-lines, again thanks to @raxbg.
  • Support parsing legacy IE filters (progid:) in lenient mode, thanks to @FMCorz
  • Performance improvements parsing large files, again thanks to @FMCorz
  • No backwards-incompatible changes
  • No deprecations

8.1.0: The “hacky IE, half-assed media query support and r/o comments” release

19 Jul 19:15
Compare
Choose a tag to compare

8.1.0 (2016-07-19)

  • Comments are no longer silently ignored but stored with the object with which they appear (no render support, though). Thanks to @FMCorz.
  • The IE hacks using \0 and \9 can now be parsed (and rendered) in lenient mode. Thanks (again) to @FMCorz.
  • Media queries with or without spaces before the query are parsed. Still no real parsing support, though. Sorry…
  • PHPUnit is now listed as a dev-dependency in composer.json.
  • No backwards-incompatible changes
  • No deprecations

8.0.0: The “so you’d like to know your origins” release

30 Jun 15:24
Compare
Choose a tag to compare

8.0.0 (2016-06-30)

  • Store source CSS line numbers in tokens and parsing exceptions.
  • No deprecations

Backwards-incompatible changes

  • Unrecoverable parser errors throw an exception of type Sabberworm\CSS\Parsing\SourceException instead of \Exception.

7.0.3: The “empty CSS are valid CSS, too” release

26 Apr 20:32
Compare
Choose a tag to compare

7.0.3 (2016-04-27)

  • Fixed parsing empty CSS when multibyte is off
  • No backwards-incompatible changes
  • No deprecations

7.0.2: The “OMG is this fast” release

11 Feb 11:24
Compare
Choose a tag to compare

7.0.2 (2016-02-11)

  • 150 time performance boost thanks to @ossinkine
  • No backwards-incompatible changes
  • No deprecations

7.0.1: The silence silent errors release

25 Dec 18:25
Compare
Choose a tag to compare

7.0.1 (2015-12-25)

  • No more suppressed E_NOTICE
  • No backwards-incompatible changes
  • No deprecations

7.0.0: The “R U already on PHP 7?” release

24 Aug 09:09
Compare
Choose a tag to compare

7.0.0 (2015-08-24)

  • Compatibility with PHP 7. Well timed, eh?

Deprecations

  • The Sabberworm\CSS\Value\String class has been renamed to Sabberworm\CSS\Value\CSSString.

6.0.1: The “R U still on PHP 5.3?” release

24 Aug 08:53
Compare
Choose a tag to compare

6.0.1 (2015-08-24)

  • Remove some declarations in interfaces incompatible with PHP 5.3 (< 5.3.9)
  • No deprecations

6.0.0: The output formatting release

04 Jul 10:01
Compare
Choose a tag to compare

6.0.0 (2014-07-03)

  • Format output using Sabberworm\CSS\OutputFormat
  • No backwards-incompatible changes

Deprecations

  • The parse() method replaces __toString with an optional argument (instance of the OutputFormat class)

5.2.0: The selector removal release

04 Jul 10:01
Compare
Choose a tag to compare

5.2.0 (2014-06-30)

  • Support removing a selector from a declaration block using $oBlock->removeSelector($mSelector)
  • Introduce a specialized exception (Sabberworm\CSS\Parsing\OuputException) for exceptions during output rendering
  • No deprecations

Backwards-incompatible changes

  • Outputting a declaration block that has no selectors throws an OuputException instead of outputting an invalid {…} into the CSS document.