Skip to content

Latest commit

 

History

History
619 lines (336 loc) · 15.9 KB

CHANGELOG-8.x.md

File metadata and controls

619 lines (336 loc) · 15.9 KB

Changes for 8.x

This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench-dusk.

8.33.0

Released: 2024-12-16

Added

  • Override Laravel's vendor:publish command.

Changes

8.32.0

Released: 2024-12-01

Added

  • Added Orchestra\Testbench\Dusk\Bootstrap\LoadConfigurationWithWorkbench class based on Orchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench.
  • Added artisan file to the default skeleton.

Changes

  • Update minimum support for Testbench v8.29.0+. (v8.28.0...v8.29.0)
  • Update minimum support for Testbench Core v8.30.0+. (v8.29.0...v8.30.0)
  • Change Orchestra\Testbench\Dusk\Bootstrap\LoadConfiguration class to extends Orchestra\Testbench\Bootstrap\LoadConfiguration.
  • Refactor Orchestra\Testbench\Dusk\Console\Commander based on Testbench Core.
  • Add multiple environment variables to Laravel 10 skeleton's configuration files based on changes made for Laravel 11.

Fixes

  • Fixed bootstrap/app.php to correctly extends Orchestra\Testbench\Dusk\Foundation\Application.

8.31.0

Released: 2024-11-19

Added

  • Added support for laravel/serializable-closure v2.

Changes

8.30.0

Released: 2024-09-25

Changes

  • Update minimum support for Testbench v8.27.0+. (v8.26.0...v8.27.0)
  • Update minimum support for Testbench Core v8.28.1+. (v8.27.0...v8.28.1)
  • Change resolveApplicationResolvingCallback() method visibility from private to protected.
  • Update Orchestra\Testbench\default_skeleton_path() to accept array.

Removed

  • Removed Orchestra\Testbench\Dusk\find_test_directory() function.

8.29.0

Released: 2024-08-26

Added

  • Added Orchestra\Testbench\Dusk\TestCase::$chromeDriverPort property with 9515 port as default.

Changes

  • Update minimum support for Testbench v8.26.0+. (v8.25.0...v8.26.0)
  • Update minimum support for Testbench Core v8.27.0+. (v8.26.0...v8.27.0)
  • Utilise Orchestra\Testbench\join_paths() function.
  • Use Laravel\SerializableClosure\SerializableClosure::unsigned().

8.28.0

Released: 2024-08-14

Changes

8.27.0

Released: 2024-07-30

Added

  • Added Orchestra\Testbench\Dusk\Options::fullscreen() helper method.
  • Added --disable-search-engine-choice-screen as default argument to ChromeOptions.

Changes

  • Bump minimum Dusk Updater versions to support ChromeDriver 127 and above.

8.26.0

Released: 2024-07-13

Added

  • Added Orchestra\Testbench\Dusk\Options::using() method to interacts with Facebook\WebDriver\Chrome\ChromeOptions.

Changes

8.25.1

Released: 2024-06-02

Changes

8.25.0

Released: 2024-05-21

Changes

  • Update minimum support for Testbench v8.23.0+. (v8.22.0...v8.23.0)
  • Uses TESTBENCH_WORKING_PATH from environment variable before fallback to getcwd().
  • PHPStan Improvements.

8.24.1

Released: 2024-04-07

Changes

  • Append APP_ENV, TESTBENCH_PACKAGE_TESTER, TESTBENCH_WORKING_PATH and TESTBENCH_APP_BASE_PATH to package:dusk command.

8.24.0

Released: 2024-03-31

Added

  • Add defineChromeDriver() method by @joshhanley in #94.

8.23.0

Released: 2024-03-13

Added

  • Added support for Laravel Dusk 8.

Changes

8.22.0

Released: 2024-01-26

Added

  • Added support for using IPv6 host.
  • Added new configurable environment variables:
    • DUSK_SERVE_HOST to set the web server host IP.
    • DUSK_SERVE_PORT to set the web server port.
    • DUSK_SERVE_URL to set the web server URL.

Changes

  • Flush web server log and error outputs between tests.

8.21.1

Released: 2024-01-22

Changes

8.21.0

Released: 2024-01-19

Added

  • Added Orchestra\Testbench\Dusk\default_skeleton_path() helper function.

Changes

  • Update minimum support for Testbench v8.21.0+. (v8.20.0...v8.21.0)
  • Increase server timeout to 6000 seconds instead of 60 seconds.
  • Clear $server static method during tearDownAfterClass.

8.20.0

Released: 2024-01-10

Added

  • Added DUSK_SERVE_HOST and DUSK_SERVE_PORT environment variables.

Changes

  • Update minimum support for Testbench v8.20.0+. (v8.19.0...v8.20.0)
  • Ignores beforeServingApplication() when Orchestra\Testbench\Dusk\Options::$providesApplicationServer set to false.

8.19.1

Released: 2024-01-03

Changes

  • Update skeleton to match v10.3.1.

8.19.0

Released: 2023-12-28

Changes

  • Update minimum support for Testbench v8.19.0+. (v8.18.0...v8.19.0)
  • Utilise Illuminate\Filesystem\join_paths() function.

8.18.0

Released: 2023-12-19

Changes

8.17.0

Released: 2023-12-06

Changes

8.16.1

Released: 2023-12-06

Changes

  • Update skeleton to match v10.2.10.

8.16.0

Released: 2023-12-04

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.

8.15.0

Released: 2023-11-10

Changes

  • Update minimum support for Testbench v8.15.0+. (v8.14.0...v8.15.0)
  • Refactor Orchetra\Testbench\Dusk\DuskServer.

8.14.2

Released: 2023-11-02

Changes

  • Update skeleton to match v10.2.8.

8.14.1

Released: 2023-11-02

Changes

  • Update skeleton to match v10.2.7.

8.14.0

Released: 2023-10-09

Changes

8.13.0

Released: 2023-10-09

Changes

8.12.2

Released: 2023-09-30

Fixes

  • Fixes forwarding environment variables using Env::forward().

8.12.1

Released: 2023-09-27

Changes

  • Code refactors.

8.12.0

Released: 2023-09-26

Changes

  • Update minimum support for Testbench v8.12.0+. (v8.11.0...v8.12.0)
  • Improves integration with Orchestra\Testbench\Concerns\WithWorkbench trait.
  • Use Orchestra\Testbench\Foundation\Env::forward() to handle sending environment variables via Symfony Process.

8.11.0

Released: 2023-08-29

Changes

8.10.0

Released: 2023-08-29

Changes

8.9.2

Released: 2023-08-23

Fixes

  • Fixes usage with Orchestra\Testbench\Concerns\WithWorkbench.

8.9.1

Released: 2023-08-22

Added

  • Added Orchestra\Testbench\Dusk\Concerns\InteractsWithWebDriverOptions.

Changes

  • Update minimum support for Testbench v8.9.1+. (v8.9.0...v8.9.1)
  • Utilise setUpTheTestEnvironmentTraitToBeIgnored() method.

8.9.0

Released: 2023-08-19

Changes

8.8.0

Released: 2023-08-15

Changes

  • Update minimum support for Testbench v8.8.0+. (v8.6.3...v8.8.0)
  • Update laravel/bootstrap/app.php to match orchestra/testbench-core.

8.7.2

Released: 2023-08-10

Changes

8.7.1

Released: 2023-08-10

Changes

8.7.0

Released: 2023-08-08

Changes

  • Update minimum support for Testbench v8.6.0+. (v8.5.7...v8.6.0)
  • Update minimum support for Laravel Dusk v7.9.0+. (v7.8.0...v7.9.0)
  • Autoload Laravel\Dusk\DuskServiceProvider service provider.

8.6.7

Released: 2023-07-25

Fixes

  • Fixes running DuskServer on certain environment where PHP executable path need to be wrapped using quote.

8.6.6

Released: 2023-07-22

Changes

  • Update orchestra/dusk-updater to support ChromeDriver 115+.

8.6.5

Released: 2023-07-12

Changes

  • Update minimum support for Laravel Dusk v7.8.0+. (v7.7.1...v7.8.0)
  • Update skeleton to match v10.2.5.

8.6.4

Released: 2023-06-13

Changes

8.6.3

Released: 2023-05-26

Changes

  • Update skeleton to match v10.2.2.

8.6.2

Released: 2023-05-17

Changes

  • Update skeleton to match v10.2.1.

8.6.1

Released: 2023-05-09

Changes

  • Update skeleton to match v10.2.0.
  • Update minimum support for Laravel Dusk v7.7.1+. (v7.7.0...v7.7.1)

8.6.0

Released: 2023-04-18

Changes

8.5.0

Released: 2023-04-14

Changes

  • Update minimum support for Testbench v8.4.0+. (v8.3.0...v8.4.0)
  • Supports PHPUnit 10.1.

8.4.1

Released: 2023-04-12

Changes

  • Update skeleton to match v10.0.6.

8.4.0

Released: 2023-04-05

Changes

  • Update minimum support for Testbench v8.3.0+. (v8.2.1...v8.3.0)
  • Add setUpTheTestEnvironmentTraitToBeIgnored() method to determine setup<Concern> and teardown<Concern> with imported traits that should be used on a given trait.

8.3.1

Released: 2023-04-03

Changes

8.3.0

Released: 2023-04-01

Changes

8.2.0

Released: 2023-03-27

Changes

8.1.3

Released: 2023-03-10

Changes

8.1.2

Released: 2023-03-09

Changes

8.1.1

Released: 2023-03-03

Changes

  • Allow using environment variable DUSK_HEADLESS_MODE value (when available).

8.1.0

Released: 2023-03-02

Added

  • Allow using --headless=new available from Chrome v109.

Changes

8.0.3

Released: 2023-02-24

Changes

8.0.2

Released: 2023-02-17

Changes

8.0.1

Released: 2023-02-16

Fixes

  • Fixes generating phpunit.dusk.xml when executing package:dusk command on PHPUnit 10.

8.0.0

Released: 2023-02-14

Changes

  • Update support for Laravel Framework v10.
  • Increase minimum PHP version to 8.1 and above (tested with 8.1 and 8.2).