Skip to content

Releases: roach-php/core

v3.2.0

04 Apr 09:00
Compare
Choose a tag to compare

3.2.0 (2024-04-04)

Features

  • add http error middleware (f937d89)
  • enable http error middleware by default in BasicSpider (450ed50)

v3.1.0

22 Mar 21:19
Compare
Choose a tag to compare

3.1.0 (2024-03-22)

Features

Miscellaneous Chores

  • bump php version to 8.3 in pipeline (8094704)
  • deps-dev: bump ergebnis/composer-normalize from 2.39.0 to 2.41.1 (0754a57)
  • deps-dev: bump ergebnis/php-cs-fixer-config from 6.11.0 to 6.20.0 (d448bb2)
  • deps-dev: bump phpunit/phpunit from 10.4.2 to 10.5.9 (97ec170)
  • deps-dev: bump spatie/browsershot from 3.60.0 to 3.61.0 (6f0c73e)
  • deps-dev: bump vimeo/psalm from 5.16.0 to 5.20.0 (f71d19a)
  • deps: bump guzzlehttp/guzzle from 7.8.0 to 7.8.1 (bd2b7bb)
  • deps: bump symfony/css-selector from 6.3.2 to 6.4.0 (695119c)
  • deps: bump symfony/event-dispatcher from 6.3.2 to 6.4.2 (b381b7e)
  • deps: bump symfony/options-resolver from 6.3.0 to 6.4.0 (4a74369)
  • drop php 8.1 support (ca85ab5)
  • fix psalm errors (653347a)

v3.0.1

25 Jan 08:39
Compare
Choose a tag to compare

3.0.1 (2024-01-25)

Bug Fixes

  • fix psalm errors on latest release (2aec066)
  • fix race condition in SystemClock (c9d7d46)

v3.0.0

05 Jan 07:12
Compare
Choose a tag to compare

3.0.0 (2024-01-05)

⚠ BREAKING CHANGES

  • add namespace to run and scheduler (#105)

Features

  • add namespace to run and scheduler (#105) (167e824)
  • add request proxy middleware (913b349)
  • add ResponseReceiving and ResponseReceived events (96c9332)
  • allow request middleware to set a response to bypass downloader (#106) (d8ae43e)
  • php 8.3 support (02772af)

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)
  • apply cs fixes (1c628d0)
  • 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 ergebnis/php-cs-fixer-config from 5.3.3 to 5.4.0 (#113) (cfaae68)
  • deps-dev: bump ergebnis/php-cs-fixer-config from 5.4.0 to 5.7.0 (#127) (61b2d2a)
  • 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 phpunit/phpunit from 10.0.18 to 10.2.0 (#130) (355a1e6)
  • deps-dev: bump phpunit/phpunit from 10.2.0 to 10.3.2 (9aded43)
  • deps-dev: bump vimeo/psalm from 5.6.0 to 5.8.0 (b60588a)
  • deps-dev: bump vimeo/psalm from 5.8.0 to 5.9.0 (#110) (0ef0d78)
  • deps-dev: bump vimeo/psalm from 5.9.0 to 5.15.0 (4835458)
  • deps: bump guzzlehttp/guzzle from 7.5.0 to 7.8.0 (0c4e817)
  • deps: bump guzzlehttp/psr7 from 2.4.3 to 2.5.0 (#120) (7572aae)
  • deps: bump psy/psysh from 0.11.12 to 0.11.13 (4542cbf)
  • deps: bump psy/psysh from 0.11.13 to 0.11.18 (#128) (8e940ef)
  • deps: bump psy/psysh from 0.11.22 to 0.12.0 (03da7a3)
  • deps: bump symfony/console from 6.2.7 to 6.2.8 (#111) (c24018c)
  • deps: bump symfony/css-selector from 6.2.7 to 6.3.2 (34e38b9)
  • deps: bump symfony/dom-crawler from 6.2.7 to 6.2.8 (#109) (8302a9a)
  • deps: bump symfony/dom-crawler from 6.2.8 to 6.2.9 (#118) (1099794)
  • deps: bump symfony/dom-crawler from 6.2.9 to 6.4.0 (40794f8)
  • deps: bump symfony/event-dispatcher from 6.2.5 to 6.2.7 (3a19510)
  • deps: bump symfony/event-dispatcher from 6.2.8 to 6.3.2 (fdfa495)
  • deps: bump symfony/options-resolver from 6.2.5 to 6.2.7 (#89) (fe24ee3)
  • deps: bump tj-actions/branch-names in /.github/workflows (cd125d2)
  • set up dependabot (29fb85e)
  • set up release please action (5a7df32)
  • update changelog (06f7e3d)
  • update changelog (e896c1a)
  • update copyright year (321626f)
  • upgrade to phpunit 10 (fd83095)

2.0.1

17 Feb 09:36
61f3f5d
Compare
Choose a tag to compare

Fixed

  • Fixed version incompatibility with sebastian/version dependency

Full Changelog: 2.0.0...2.0.1

1.1.2

17 Feb 09:37
1af969a
Compare
Choose a tag to compare

Fixed

  • Fixed version incompatibility with sebastian/version dependency

Full Changelog: 1.1.1...1.1.2

2.0.0

06 Feb 05:57
Compare
Choose a tag to compare

What's Changed

  • Adds option for setDelay on ExecuteJavascriptMiddleware by @ricardobarantini in #72
  • Adds the possibility to configure the user agent on Spatie\Browsershot for ExecuteJavascriptMiddleware by @corbeil in #82
  • Drops PHP 8.0 support

New Contributors

Full Changelog: 1.1.1...2.0.0

1.1.1

09 Sep 17:24
Compare
Choose a tag to compare

What's Changed

  • make browsershot wait until network idle on ExecuteJavascriptMiddleware by @chrismcintosh in #56

New Contributors

Full Changelog: 1.1.0...1.1.1

1.1.0

22 Jun 08:01
27c948f
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.0...1.1.0

1.0.0

19 Apr 19:47
59dfc00
Compare
Choose a tag to compare

🎉 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::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
  • 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 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