@@ -4,46 +4,46 @@ CHANGELOG
4
4
4.4.0
5
5
-----
6
6
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.
12
12
13
13
4.3.0
14
14
-----
15
15
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.
22
22
23
23
4.2.0
24
24
-----
25
25
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.
30
30
31
31
3.1.0
32
32
-----
33
33
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).
38
38
39
39
2.5.0
40
40
-----
41
41
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.
47
47
48
48
2.4.0
49
49
-----
0 commit comments