Chris@0
|
1 CHANGELOG
|
Chris@0
|
2 =========
|
Chris@0
|
3
|
Chris@0
|
4 3.1.0
|
Chris@0
|
5 -----
|
Chris@0
|
6
|
Chris@0
|
7 * All the URI parsing logic have been abstracted in the `AbstractUriElement` class.
|
Chris@0
|
8 The `Link` class is now a child of `AbstractUriElement`.
|
Chris@0
|
9 * Added an `Image` class to crawl images and parse their `src` attribute,
|
Chris@0
|
10 and `selectImage`, `image`, `images` methods in the `Crawler` (the image version of the equivalent `link` methods).
|
Chris@0
|
11
|
Chris@0
|
12 2.5.0
|
Chris@0
|
13 -----
|
Chris@0
|
14
|
Chris@0
|
15 * [BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
|
Chris@0
|
16 from '1' to 'on' to match the HTML specification.
|
Chris@0
|
17 * [BC BREAK] The typehints on the `Link`, `Form` and `FormField` classes have been changed from
|
Chris@0
|
18 `\DOMNode` to `DOMElement`. Using any other type of `DOMNode` was triggering fatal errors in previous
|
Chris@0
|
19 versions. Code extending these classes will need to update the typehints when overwriting these methods.
|
Chris@0
|
20
|
Chris@0
|
21 2.4.0
|
Chris@0
|
22 -----
|
Chris@0
|
23
|
Chris@0
|
24 * `Crawler::addXmlContent()` removes the default document namespace again if it's an only namespace.
|
Chris@0
|
25 * added support for automatic discovery and explicit registration of document
|
Chris@0
|
26 namespaces for `Crawler::filterXPath()` and `Crawler::filter()`
|
Chris@0
|
27 * improved content type guessing in `Crawler::addContent()`
|
Chris@0
|
28 * [BC BREAK] `Crawler::addXmlContent()` no longer removes the default document
|
Chris@0
|
29 namespace
|
Chris@0
|
30
|
Chris@0
|
31 2.3.0
|
Chris@0
|
32 -----
|
Chris@0
|
33
|
Chris@0
|
34 * added Crawler::html()
|
Chris@0
|
35 * [BC BREAK] Crawler::each() and Crawler::reduce() now return Crawler instances instead of DomElement instances
|
Chris@0
|
36 * added schema relative URL support to links
|
Chris@0
|
37 * added support for HTML5 'form' attribute
|
Chris@0
|
38
|
Chris@0
|
39 2.2.0
|
Chris@0
|
40 -----
|
Chris@0
|
41
|
Chris@0
|
42 * added a way to set raw path to the file in FileFormField - necessary for
|
Chris@0
|
43 simulating HTTP requests
|
Chris@0
|
44
|
Chris@0
|
45 2.1.0
|
Chris@0
|
46 -----
|
Chris@0
|
47
|
Chris@0
|
48 * added support for the HTTP PATCH method
|
Chris@0
|
49 * refactored the Form class internals to support multi-dimensional fields
|
Chris@0
|
50 (the public API is backward compatible)
|
Chris@0
|
51 * added a way to get parsing errors for Crawler::addHtmlContent() and
|
Chris@0
|
52 Crawler::addXmlContent() via libxml functions
|
Chris@0
|
53 * added support for submitting a form without a submit button
|