Skip to content

v8.16.0

Choose a tag to compare

@crynobone crynobone released this 04 Dec 11:11
· 961 commits to develop since this release

Added

  • Added the following attributes:
    • Orchestra\Testbench\Dusk\Attributes\BeforeServing
    • Orchestra\Testbench\Dusk\Attributes\RestartServer
  • Backport startServing() and reloadServing() to Orchestra\Testbench\Dusk\CanServeSite trait.
  • Add createServingApplicationForDuskServer method to Orchestra\Testbench\Dusk\CanServeSite trait.
  • Added new PHPUnit Attribute to run the default laravel, cache, notifications, queue and session database migrations using Orchestra\Testbench\Attributes\WithMigration.

Changes

  • Update minimum support for Testbench v8.16.0+. (v8.15.0...v8.16.0)
  • Allow passing method name to Orchestra\Testbench\Dusk\CanServeSite::beforeServingApplication() method.
  • Add #[Override] attribute to relevant methods, this require symfony/polyfill-php83 as backward compatibility for PHP 8.1 and 8.2.

Deprecated

  • Deprecate getFreshApplicationToServe method on Orchestra\Testbench\Dusk\CanServeSite trait, use createServingApplicationForDuskServer instead.