2012-04-26 21:02:35 +01:00
|
|
|
CHANGELOG
|
|
|
|
=========
|
|
|
|
|
2018-07-23 12:39:46 +01:00
|
|
|
4.2.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* The `$currentUri` constructor argument of the `AbstractUriElement`, `Link` and
|
|
|
|
`Image` classes is now optional.
|
2018-08-29 10:05:16 +01:00
|
|
|
* The `Crawler::children()` method will have a new `$selector` argument in version 5.0,
|
2018-09-11 17:18:00 +01:00
|
|
|
not defining it is deprecated.
|
2018-07-23 12:39:46 +01:00
|
|
|
|
2015-02-07 16:25:03 +00:00
|
|
|
3.1.0
|
|
|
|
-----
|
|
|
|
|
2016-02-04 08:54:52 +00:00
|
|
|
* All the URI parsing logic have been abstracted in the `AbstractUriElement` class.
|
|
|
|
The `Link` class is now a child of `AbstractUriElement`.
|
|
|
|
* Added an `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).
|
2015-02-07 16:25:03 +00:00
|
|
|
|
2014-05-17 14:22:00 +01:00
|
|
|
2.5.0
|
|
|
|
-----
|
|
|
|
|
2014-05-17 21:04:22 +01:00
|
|
|
* [BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
|
|
|
|
from '1' to 'on' to match the HTML specification.
|
2014-05-17 14:22:00 +01:00
|
|
|
* [BC BREAK] The typehints on the `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.
|
|
|
|
|
2013-09-17 18:24:50 +01:00
|
|
|
2.4.0
|
|
|
|
-----
|
2013-12-17 13:01:50 +00:00
|
|
|
|
2013-12-14 14:13:38 +00:00
|
|
|
* `Crawler::addXmlContent()` removes the default document namespace again if it's an only namespace.
|
2013-09-22 23:29:38 +01:00
|
|
|
* added support for automatic discovery and explicit registration of document
|
|
|
|
namespaces for `Crawler::filterXPath()` and `Crawler::filter()`
|
2013-09-17 18:24:50 +01:00
|
|
|
* improved content type guessing in `Crawler::addContent()`
|
2013-09-22 23:29:38 +01:00
|
|
|
* [BC BREAK] `Crawler::addXmlContent()` no longer removes the default document
|
|
|
|
namespace
|
2013-09-17 18:24:50 +01:00
|
|
|
|
2013-03-23 07:35:36 +00:00
|
|
|
2.3.0
|
|
|
|
-----
|
|
|
|
|
2013-04-22 06:03:23 +01:00
|
|
|
* added Crawler::html()
|
2013-04-22 05:49:51 +01:00
|
|
|
* [BC BREAK] Crawler::each() and Crawler::reduce() now return Crawler instances instead of DomElement instances
|
2013-03-23 07:35:36 +00:00
|
|
|
* added schema relative URL support to links
|
2013-03-27 22:52:06 +00:00
|
|
|
* added support for HTML5 'form' attribute
|
2013-03-23 07:35:36 +00:00
|
|
|
|
2012-08-31 14:38:13 +01:00
|
|
|
2.2.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added a way to set raw path to the file in FileFormField - necessary for
|
|
|
|
simulating HTTP requests
|
|
|
|
|
2012-04-26 21:02:35 +01:00
|
|
|
2.1.0
|
|
|
|
-----
|
|
|
|
|
|
|
|
* added support for the HTTP PATCH method
|
|
|
|
* refactored the Form class internals to support multi-dimensional fields
|
|
|
|
(the public API is backward compatible)
|
|
|
|
* added a way to get parsing errors for Crawler::addHtmlContent() and
|
|
|
|
Crawler::addXmlContent() via libxml functions
|
|
|
|
* added support for submitting a form without a submit button
|