Skip to content
This repository was archived by the owner on Feb 18, 2019. It is now read-only.

Commit b378c4d

Browse files
committed
Added DomCrawler component.
1 parent 0fc2657 commit b378c4d

25 files changed

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

0 commit comments

Comments
 (0)