Form::getName() method.Crawler::matches() method.Crawler::closest() method.Crawler::outerHtml() method.Crawler::text() method to opt-in normalizing whitespaces.CrawlerSelectorAttributeValueSame, CrawlerSelectorExists, CrawlerSelectorTextContains
and CrawlerSelectorTextSame_name) in extract() method.text() and html() instead of throwing an exception when node is empty.$currentUri constructor argument of the AbstractUriElement, Link and
Image classes is now optional.Crawler::children() method will have a new $selector argument in version 5.0,
not defining it is deprecated.AbstractUriElement class.
The Link class is now a child of AbstractUriElement.Image class to crawl images and parse their src attribute,
and selectImage, image, images methods in the Crawler (the image version of the equivalent link methods).Link, Form and FormField classes have been changed from
\DOMNode to DOMElement. Using any other type of DOMNode was triggering fatal errors in previous
versions. Code extending these classes will need to update the typehints when overwriting these methods.Crawler::addXmlContent() removes the default document namespace again if it's an only namespace.Crawler::filterXPath() and Crawler::filter()Crawler::addContent()Crawler::addXmlContent() no longer removes the default document
namespace