Skip to content

PSR-7 Interoperability

Choose a tag to compare

@g105b g105b released this 15 Aug 09:45
· 101 commits to master since this release
4df60cd

The PSR-7 StreamInterface has been implemented on the Document/HTMLDocument classes to improve interoperability when used within other frameworks. There is no new functionality due to this, so only a minor version increment is necessary.

Along with the interface implementation, a couple of bugfixes are released here too:

  • Rewind HTMLCollection iterators before use, to avoid throwing a RunetimeException when used outside of a foreach.
  • Don't format the HTML output at document render. There will be some efficiency gains here on large document trees.