Skip to content

Latest commit

 

History

History
120 lines (77 loc) · 6.57 KB

File metadata and controls

120 lines (77 loc) · 6.57 KB

Changelog

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)

⚠ BREAKING CHANGES

  • add namespace to run and scheduler (#105)

Features

  • 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)

Bug Fixes

  • rename integration tests so they actually get run (33eb25e)

Miscellaneous Chores

  • (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)

[2.0.1] – 2023-02-17

Fixed

  • Fixed version incompatibility with sebastian/version depenency

2.0.0 – 2023-02-06

Added

  • Added userAgent option to ExecuteJavascriptMiddleware (#82)
  • Added delay option to ExecuteJavascriptMiddleware (#72)

Changed

  • Dropped PHP 8.0 support
  • Updated various dependencies

1.1.1 — 2022-09-09

Changed

  • ExecuteJavascriptMiddleware now uses waitUntilNetworkIdle before returning the response body (#56)

1.1.0 — 2022-06-22

Added

  • Added a way to define custom item classes as well as item processors which only process certain types of items (#47)

Changed

  • Fixed deprecation warning in console commands for symfony/console:^6.1 (#44)

1.0.0 — 2022-04-19

Added

  • Added Roach::collectSpider method to start a spider run and return all scraped items.
  • Added array $context parameter to Roach::startSpider and Roach::collectSpider to 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

Changed

  • Requests dropped by downloader middleware are no longer affected by requestDelay (fixes #27)
  • Move spatie/browsershot from a require to suggest as it's only necessary if the ExecuteJavascriptMiddleware is used. Remove ext-exif as a dependency for the same reason.

Removed

  • 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

  • Added ExecuteJavascriptMiddleware to retrieve a page’s body after executing Javascript (#7)

[0.1.0] - 2021-12-27

Added

  • Initial release