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.
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