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.
2.0.0 (2023-04-04)
- add namespace to run and scheduler (#105)
- add namespace to run and scheduler (#105) (167e824)
- add ResponseReceiving and ResponseReceived events (96c9332)
- allow request middleware to set a response to bypass downloader (#106) (d8ae43e)
- rename integration tests so they actually get run (33eb25e)
- (deps): bump symfony/console from 6.2.5 to 6.2.7 (#93) (4f535da)
- (deps): bump symfony/css-selector from 6.2.5 to 6.2.7 (20fc15b)
- (deps): bump symfony/dom-crawler from 6.2.5 to 6.2.7 (#92) (25e4831)
- add code of conduct (ed80fbe)
- add CODEOWNERS file (9efec92)
- add commitlint step to pipeline (64e785a)
- add contribution guide (bdb57e0)
- add issue templates (5c4fd81)
- deps-dev: bump ergebnis/composer-normalize from 2.29.0 to 2.30.2 (980b920)
- deps-dev: bump ergebnis/php-cs-fixer-config from 5.3.1 to 5.3.2 (44d81c9)
- deps-dev: bump ergebnis/php-cs-fixer-config from 5.3.2 to 5.3.3 (7b6f59f)
- deps-dev: bump phpunit/phpunit from 10.0.15 to 10.0.16 (57b4d03)
- deps-dev: bump phpunit/phpunit from 10.0.16 to 10.0.18 (a5fe27a)
- deps-dev: bump vimeo/psalm from 5.6.0 to 5.8.0 (b60588a)
- deps: bump psy/psysh from 0.11.12 to 0.11.13 (4542cbf)
- deps: bump symfony/event-dispatcher from 6.2.5 to 6.2.7 (3a19510)
- deps: bump symfony/options-resolver from 6.2.5 to 6.2.7 (#89) (fe24ee3)
- set up dependabot (29fb85e)
- set up release please action (5a7df32)
- upgrade to phpunit 10 (fd83095)
- Fixed version incompatibility with
sebastian/versiondepenency
2.0.0 – 2023-02-06
- Added
userAgentoption toExecuteJavascriptMiddleware(#82) - Added
delayoption toExecuteJavascriptMiddleware(#72)
- Dropped PHP 8.0 support
- Updated various dependencies
1.1.1 — 2022-09-09
ExecuteJavascriptMiddlewarenow useswaitUntilNetworkIdlebefore returning the response body (#56)
1.1.0 — 2022-06-22
- Added a way to define custom item classes as well as item processors which only process certain types of items (#47)
- Fixed deprecation warning in console commands for
symfony/console:^6.1(#44)
1.0.0 — 2022-04-19
- Added
Roach::collectSpidermethod to start a spider run and return all scraped items. - Added
array $contextparameter toRoach::startSpiderandRoach::collectSpiderto pass arbitrary context data to a spider when starting a run. - Added
roach:run <spider>command to start a spider through the CLI. - Added
Roach::fake()method to test that a run for a given spider was started
- Requests dropped by downloader middleware are no longer affected by
requestDelay(fixes #27) - Move
spatie/browsershotfrom arequiretosuggestas it's only necessary if theExecuteJavascriptMiddlewareis used. Removeext-exifas a dependency for the same reason.
- Removed default command from CLI. To start the REPL, you now need to explicitly invoke the
roach:shell <url>command, instead.
0.2.0 - 2021-12-28
- Added
ExecuteJavascriptMiddlewareto retrieve a page’s body after executing Javascript (#7)
- Initial release