@@ -16,46 +16,46 @@ CHANGELOG
16
16
4.4.0
17
17
-----
18
18
19
- * Added ` Form::getName() ` method.
20
- * Added ` Crawler::matches() ` method.
21
- * Added ` Crawler::closest() ` method.
22
- * Added ` Crawler::outerHtml() ` method.
23
- * Added an argument to the ` Crawler::text() ` method to opt-in normalizing whitespaces.
19
+ * Added ` Form::getName() ` method.
20
+ * Added ` Crawler::matches() ` method.
21
+ * Added ` Crawler::closest() ` method.
22
+ * Added ` Crawler::outerHtml() ` method.
23
+ * Added an argument to the ` Crawler::text() ` method to opt-in normalizing whitespaces.
24
24
25
25
4.3.0
26
26
-----
27
27
28
- * Added PHPUnit constraints: ` CrawlerSelectorAttributeValueSame ` , ` CrawlerSelectorExists ` , ` CrawlerSelectorTextContains `
29
- and ` CrawlerSelectorTextSame `
30
- * Added return of element name (` _name ` ) in ` extract() ` method.
31
- * Added ability to return a default value in ` text() ` and ` html() ` instead of throwing an exception when node is empty.
32
- * When available, the [ html5-php library] ( https://github.com/Masterminds/html5-php ) is used to
33
- parse HTML added to a Crawler for better support of HTML5 tags.
28
+ * Added PHPUnit constraints: ` CrawlerSelectorAttributeValueSame ` , ` CrawlerSelectorExists ` , ` CrawlerSelectorTextContains `
29
+ and ` CrawlerSelectorTextSame `
30
+ * Added return of element name (` _name ` ) in ` extract() ` method.
31
+ * Added ability to return a default value in ` text() ` and ` html() ` instead of throwing an exception when node is empty.
32
+ * When available, the [ html5-php library] ( https://github.com/Masterminds/html5-php ) is used to
33
+ parse HTML added to a Crawler for better support of HTML5 tags.
34
34
35
35
4.2.0
36
36
-----
37
37
38
- * The ` $currentUri ` constructor argument of the ` AbstractUriElement ` , ` Link ` and
39
- ` Image ` classes is now optional.
40
- * The ` Crawler::children() ` method will have a new ` $selector ` argument in version 5.0,
41
- not defining it is deprecated.
38
+ * The ` $currentUri ` constructor argument of the ` AbstractUriElement ` , ` Link ` and
39
+ ` Image ` classes is now optional.
40
+ * The ` Crawler::children() ` method will have a new ` $selector ` argument in version 5.0,
41
+ not defining it is deprecated.
42
42
43
43
3.1.0
44
44
-----
45
45
46
- * All the URI parsing logic have been abstracted in the ` AbstractUriElement ` class.
47
- The ` Link ` class is now a child of ` AbstractUriElement ` .
48
- * Added an ` Image ` class to crawl images and parse their ` src ` attribute,
49
- and ` selectImage ` , ` image ` , ` images ` methods in the ` Crawler ` (the image version of the equivalent ` link ` methods).
46
+ * All the URI parsing logic have been abstracted in the ` AbstractUriElement ` class.
47
+ The ` Link ` class is now a child of ` AbstractUriElement ` .
48
+ * Added an ` Image ` class to crawl images and parse their ` src ` attribute,
49
+ and ` selectImage ` , ` image ` , ` images ` methods in the ` Crawler ` (the image version of the equivalent ` link ` methods).
50
50
51
51
2.5.0
52
52
-----
53
53
54
- * [ BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
55
- from '1' to 'on' to match the HTML specification.
56
- * [ BC BREAK] The typehints on the ` Link ` , ` Form ` and ` FormField ` classes have been changed from
57
- ` \DOMNode ` to ` DOMElement ` . Using any other type of ` DOMNode ` was triggering fatal errors in previous
58
- versions. Code extending these classes will need to update the typehints when overwriting these methods.
54
+ * [ BC BREAK] The default value for checkbox and radio inputs without a value attribute have changed
55
+ from '1' to 'on' to match the HTML specification.
56
+ * [ BC BREAK] The typehints on the ` Link ` , ` Form ` and ` FormField ` classes have been changed from
57
+ ` \DOMNode ` to ` DOMElement ` . Using any other type of ` DOMNode ` was triggering fatal errors in previous
58
+ versions. Code extending these classes will need to update the typehints when overwriting these methods.
59
59
60
60
2.4.0
61
61
-----
0 commit comments