@@ -4,46 +4,46 @@ CHANGELOG
444.4.0
55-----
66
7- * Added ` Form::getName() ` method.
8- * Added ` Crawler::matches() ` method.
9- * Added ` Crawler::closest() ` method.
10- * Added ` Crawler::outerHtml() ` method.
11- * Added an argument to the ` Crawler::text() ` method to opt-in normalizing whitespaces.
7+ * Added ` Form::getName() ` method.
8+ * Added ` Crawler::matches() ` method.
9+ * Added ` Crawler::closest() ` method.
10+ * Added ` Crawler::outerHtml() ` method.
11+ * Added an argument to the ` Crawler::text() ` method to opt-in normalizing whitespaces.
1212
13134.3.0
1414-----
1515
16- * Added PHPUnit constraints: ` CrawlerSelectorAttributeValueSame ` , ` CrawlerSelectorExists ` , ` CrawlerSelectorTextContains `
17- and ` CrawlerSelectorTextSame `
18- * Added return of element name (` _name ` ) in ` extract() ` method.
19- * Added ability to return a default value in ` text() ` and ` html() ` instead of throwing an exception when node is empty.
20- * When available, the [ html5-php library] ( https://github.com/Masterminds/html5-php ) is used to
21- parse HTML added to a Crawler for better support of HTML5 tags.
16+ * Added PHPUnit constraints: ` CrawlerSelectorAttributeValueSame ` , ` CrawlerSelectorExists ` , ` CrawlerSelectorTextContains `
17+ and ` CrawlerSelectorTextSame `
18+ * Added return of element name (` _name ` ) in ` extract() ` method.
19+ * Added ability to return a default value in ` text() ` and ` html() ` instead of throwing an exception when node is empty.
20+ * When available, the [ html5-php library] ( https://github.com/Masterminds/html5-php ) is used to
21+ parse HTML added to a Crawler for better support of HTML5 tags.
2222
23234.2.0
2424-----
2525
26- * The ` $currentUri ` constructor argument of the ` AbstractUriElement ` , ` Link ` and
27- ` Image ` classes is now optional.
28- * The ` Crawler::children() ` method will have a new ` $selector ` argument in version 5.0,
29- not defining it is deprecated.
26+ * The ` $currentUri ` constructor argument of the ` AbstractUriElement ` , ` Link ` and
27+ ` Image ` classes is now optional.
28+ * The ` Crawler::children() ` method will have a new ` $selector ` argument in version 5.0,
29+ not defining it is deprecated.
3030
31313.1.0
3232-----
3333
34- * All the URI parsing logic have been abstracted in the ` AbstractUriElement ` class.
35- The ` Link ` class is now a child of ` AbstractUriElement ` .
36- * Added an ` Image ` class to crawl images and parse their ` src ` attribute,
37- and ` selectImage ` , ` image ` , ` images ` methods in the ` Crawler ` (the image version of the equivalent ` link ` methods).
34+ * All the URI parsing logic have been abstracted in the ` AbstractUriElement ` class.
35+ The ` Link ` class is now a child of ` AbstractUriElement ` .
36+ * Added an ` Image ` class to crawl images and parse their ` src ` attribute,
37+ and ` selectImage ` , ` image ` , ` images ` methods in the ` Crawler ` (the image version of the equivalent ` link ` methods).
3838
39392.5.0
4040-----
4141
42- * [ BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
43- from '1' to 'on' to match the HTML specification.
44- * [ BC BREAK] The typehints on the ` Link ` , ` Form ` and ` FormField ` classes have been changed from
45- ` \DOMNode ` to ` DOMElement ` . Using any other type of ` DOMNode ` was triggering fatal errors in previous
46- versions. Code extending these classes will need to update the typehints when overwriting these methods.
42+ * [ BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
43+ from '1' to 'on' to match the HTML specification.
44+ * [ BC BREAK] The typehints on the ` Link ` , ` Form ` and ` FormField ` classes have been changed from
45+ ` \DOMNode ` to ` DOMElement ` . Using any other type of ` DOMNode ` was triggering fatal errors in previous
46+ versions. Code extending these classes will need to update the typehints when overwriting these methods.
4747
48482.4.0
4949-----
0 commit comments