Releases: servo-php/fluidxml
Releases · servo-php/fluidxml
v2.0
1.21
Introduces the '->map()' method and the CSS 'any namespace' (*|tag) s…
1.20.3
1.20.3: (2016-07-12) fixes wrong handling of null/empty node value. [#] Fixed: * fixes #13.
1.20.2
Fixes some leaked PHP notices.
1.20.1
Internal cleanup. [@] Internal: * refactoring.
1.20
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
Introduces the '->save()' method. * [+] ->save() is part of the family.
1.12.4
Internal cleanup. * [@] cleanup.
1.12.3
Optimizations. * [@] Internal refactoring and optimizations.
1.12.2
Internal refactoring and performance regression fix. * [@] internal refactoring. Performances are normal.