Skip to content

Latest commit

 

History

History
executable file
·
93 lines (72 loc) · 2.6 KB

CHANGELOG.md

File metadata and controls

executable file
·
93 lines (72 loc) · 2.6 KB

Development

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

3.1.1

Changed

  • Fixed issue with numbers in comments.
  • Updated minimume php version to correct version.
  • Comment tags are now self-closing when cleanup input is set to false.

3.1.0

Changed

  • Updated to include Tidelift subscription option.
  • Removed php-coverall.
  • Removed Guzzle 6 Adapter.
  • Added support for Guzzle 7.

3.0.1

Changed

  • Updated all DTOs to make them immutable.
  • Updated documentation.

3.0.0

Added

  • Support for PSR7 HTTP clients and requests for URL calls has been added.
  • PHAN support and fixed all issues from PHAN has been added.
  • PHP-CS-Fixer added.
  • Support for html5 charset detection.
  • Added the ability to match both parent and children.
  • Added character set conversion in load.

Changed

  • Fixed issue with \ causing an infite loop.
  • CDATA should not be altered when cleanupInput is false.
  • Added tag attribute DTO.
  • Cleaned up the selector logic.
  • Fixed issue with greedy regex for charset detection.
  • Fixed bug causing infinite loops in some cases.
  • Refactored the way we handle options. Removed the magical option array.

Removed

  • Curl interface and curl implementation has been removed.
  • Removed support for the depth first search option.
  • findById() method removed from Dom object.
  • Removed load() method in Dom object.
  • Removed support for php 7.1.

2.2.1

Added

  • Added php_cs.
  • Added support for PSR7 requests.
  • Added the attribute type dto.

2.2.0

Added

  • Added support for php 7.4.
  • Added custom header support for curl request.
  • Added gzip detection and decoding.
  • Added additional type checking.

Changed

  • Fixed bug with multiple selectors query.
  • Updated documentation.
  • Fixed issue with Dom object.

2.1.0

Added

  • New removeSmartyScripts configuration setting. Defaults to true.
  • Added declare(strict_types=1) to all source files.
  • Added new option depthFirstSearch.
  • Deprecated option depthFirstSearch and marked for removal in 3.0.0.
  • Added multi class selections support.
  • Added case insensitive attribute matching.
  • Added new option htmlSpecialCharsDecode.

Changed

  • Started using a changelog.
  • Fixed bug that caused an infinite loop when no content found in tags.
  • Moved the Mock object to the tests directory, where it belongs.
  • Changes from PSR-0 to PSR-4 autoloading.
  • Updated CONTRIBUTING.md contents.
  • Updated docblocks.