Skip to content

Releases: servo-php/fluidxml

v2.0

08 Nov 13:44
Compare
Choose a tag to compare
(release) v2

PHP 8.1 is the new minimum required version.

[~] Changed:
* PHP 8.1 is the minimum required version.

Thanks to @nicekiwi for his awesome PR.

1.21

31 Jan 01:06
Compare
Choose a tag to compare
Introduces the '->map()' method and the CSS 'any namespace' (*|tag) s…

…elector.

* [+] ->map() is part of the family.
* [+] *|tag is a recognized CSS selector.

Thanks to @alepeino for his great PR.

1.20.3

12 Jul 02:35
Compare
Choose a tag to compare
1.20.3: (2016-07-12)

fixes wrong handling of null/empty node value.

  [#] Fixed:
  * fixes #13.

1.20.2

04 Mar 21:55
Compare
Choose a tag to compare
Fixes some leaked PHP notices.

1.20.1

21 Feb 16:38
Compare
Choose a tag to compare
Internal cleanup.

  [@] Internal:
  * refactoring.

1.20

21 Feb 04:58
Compare
Choose a tag to compare
This is a major step forward breaking compatibility with the past.

Under the hood there is a general reorganization to be PSR-0/4 compliant,
a general cleanup of the API for being consistent and allowing future clean APIs
growth, some notable additions like the ->filter() method to programmatically
filter the query results and ->html() to output the document as valid HTML 5 string.
Just because awesomenesses are never enough, ->query() supports CSS Selectors.

  [+] New:
  * ->html()                is part of the family.
  * ->filter()              is part of the family.
  * ->comment()             is part of the family.
  * ->setComment()          is part of the family.
  * ->addComment()          is part of the family.
  * ->size()                is an alias of ->length().
  * ->__invoke()            is an alias of ->query().
  * ->__toString()          is an alias of ->xml().
  * ->array()               replaces ->asArray().
  * ->addChild()            replaces ->appendChild().
  * ->addText()             replaces ->appendText().
  * ->addCdata()            replaces ->appendCdata().

  [~] Changed:
  * ->query()               supports CSS Selectors.
  * fluidxml()              has gained the super powers of fluidify().
  * FluidXml->__construct() has gained the super powers of FluidXml::load().
  * ->attr()                can set attributes without value.
  * ->setAttribute()        can set attributes without value.
  * ::load()/fluidify()     can be ONLY used to load an XML file.

  [-] Removed:
  * ->asArray()             has been removed superseded by ->array().
  * ->appendText()          has been removed superseded by ->addText().
  * ->appendCdata()         has been removed superseded by ->addCdata().
  * ->appendChild()         has been removed superseded by ->addChild().
  * ->insertSiblingBefore() has been removed superseded by ->prependSibling().
  * ->insertSiblingAfter()  has been removed superseded by ->appendSibling().

  [@] Internal:
  * PSR-0/4 compliance.
  * FluidXml.php is still there for people not using Composer/PSR-0/4 loaders.
  * refactoring.

1.13

24 Jan 01:24
Compare
Choose a tag to compare
Introduces the '->save()' method.

* [+] ->save() is part of the family.

1.12.4

23 Jan 16:40
Compare
Choose a tag to compare
Internal cleanup.

* [@] cleanup.

1.12.3

18 Jan 05:12
Compare
Choose a tag to compare
Optimizations.

* [@] Internal refactoring and optimizations.

1.12.2

18 Jan 05:12
Compare
Choose a tag to compare
Internal refactoring and performance regression fix.

* [@] internal refactoring. Performances are normal.