<commit_before>CHANGELOG
=========

5.1.0
-----

* Added an internal cache layer on top of the CssSelectorConverter
* Added `UriResolver` to resolve an URI according to a base URI

5.0.0
-----

* Added argument `$selector` to ``Crawler::children()`
* Added argument `$default` to ``Crawler::text()` and `html()`

4.4.0
-----

* Added `Form::getName()` method.
* Added `Crawler::matches()` method.
* Added `Crawler::closest()` method.
* Added `Crawler::outerHtml()` method.
* Added an argument to the `Crawler::text()` method to opt-in normalizing whitespaces.

4.3.0
-----

* Added PHPUnit constraints: `CrawlerSelectorAttributeValueSame`, `CrawlerSelectorExists`, `CrawlerSelectorTextContains`
  and `CrawlerSelectorTextSame`
* Added return of element name (`_name`) in `extract()` method.
* Added ability to return a default value in `text()` and `html()` instead of throwing an exception when node is empty.
* When available, the [html5-php library](https://github.com/Masterminds/html5-php) is used to
  parse HTML added to a Crawler for better support of HTML5 tags.

4.2.0
-----

* The `$currentUri` constructor argument of the `AbstractUriElement`, `Link` and
  `Image` classes is now optional.
* The `Crawler::children()` method will have a new `$selector` argument in version 5.0,
  not defining it is deprecated.

3.1.0<commit_msg>Fix small typos<commit_after>CHANGELOG
=========

5.1.0
-----

* Added an internal cache layer on top of the CssSelectorConverter
* Added `UriResolver` to resolve an URI according to a base URI

5.0.0
-----

* Added argument `$selector` to `Crawler::children()`
* Added argument `$default` to `Crawler::text()` and `html()`

4.4.0
-----

* Added `Form::getName()` method.
* Added `Crawler::matches()` method.
* Added `Crawler::closest()` method.
* Added `Crawler::outerHtml()` method.
* Added an argument to the `Crawler::text()` method to opt-in normalizing whitespaces.

4.3.0
-----

* Added PHPUnit constraints: `CrawlerSelectorAttributeValueSame`, `CrawlerSelectorExists`, `CrawlerSelectorTextContains`
  and `CrawlerSelectorTextSame`
* Added return of element name (`_name`) in `extract()` method.
* Added ability to return a default value in `text()` and `html()` instead of throwing an exception when node is empty.
* When available, the [html5-php library](https://github.com/Masterminds/html5-php) is used to
  parse HTML added to a Crawler for better support of HTML5 tags.

4.2.0
-----

* The `$currentUri` constructor argument of the `AbstractUriElement`, `Link` and
  `Image` classes is now optional.
* The `Crawler::children()` method will have a new `$selector` argument in version 5.0,
  not defining it is deprecated.

3.1.0
{'fraction_non_alphanumeric': 0.1424310216256525, 'fraction_numerical': 0.01715137956748695, 'mean_word_length': 4.42020202020202, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7478207', 'n_tokens_mistral': 874, 'n_tokens_neox': 821, 'n_words': 303}