Releases: roach-php/core
Releases · roach-php/core
1.0.0
🎉 Partaaay 🎉
This release contains a few breaking changes. Please check out the upgrade guide on how to upgrade your application.
What's Changed
- 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. - Add Configurable::withOptions method by @inxilpro in #32
- Make InteractsWithRequestsAndResponses available for testing by @Daanra in #34
New Contributors
Full Changelog: 0.3.0...1.0.0
0.3.0
What's Changed
- Add option to override spider configuration when starting a run by @ksassnowski in #11
- bump psysh version to 0.11.1 by @bangnokia in #17
New Contributors
- @bangnokia made their first contribution in #17
Full Changelog: 0.2.0...0.3.0
0.2.0
What's Changed
- Add middleware to execute Javascript by @ksassnowski in #7
New Contributors
- @ksassnowski made their first contribution in #7
Full Changelog: 0.1.0...0.2.0
0.1.0
Initial release