Skip to content

chore(deps): update dependency orchestra/testbench to v8

Craig Smith requested to merge renovate/orchestra-testbench-8.x into master

This MR contains the following updates:

Package Type Update Change
orchestra/testbench (source) require-dev major ^4.0|^5.0|^6.0 -> 8.5.10

Release Notes

orchestral/testbench (orchestra/testbench)

v8.5.10

Compare Source

Changes
  • Support Laravel Framework 10.15.

v8.5.9

Compare Source

Changes
  • Bump minimum laravel/framework to 10.14.0.

v8.5.8

Compare Source

Changes
  • Suspense support for Laravel Framework 10.14.

v8.5.7

Compare Source

Changes
  • Bump minimum laravel/framework to 10.13.5.
  • Update minimum support for Testbench Core v8.5.7+. (v8.5.6...v8.5.7)

v8.5.6

Compare Source

Changes
  • Support Laravel Framework 10.14.
  • Bump minimum laravel/framework to 10.10.0.
  • Update minimum support for Testbench Core v8.5.6+. (v8.5.0...v8.5.6)

v8.5.5

Compare Source

Changes
  • Support Laravel Framework 10.13.

v8.5.4

Compare Source

Changes
  • Support Laravel Framework 10.12.

v8.5.3

Compare Source

Changes
  • Support Laravel Framework 10.11.

v8.5.2

Compare Source

Changes
  • Support Laravel Framework 10.10.

v8.5.1

Compare Source

Changes
  • Support Laravel Framework 10.9.

v8.5.0

Compare Source

Changes
  • Bump minimum laravel/framework to 10.8.0.
  • Update minimum support for Testbench Core v8.5.0+. (v8.4.2...v8.5.0)
Testbench Changes
Added
  • Added Orchestra\Testbench\after_resolving helper function.
Changes
  • Update skeleton to match v10.1.0.
  • Bump minimum laravel/framework to 10.8.0.

v8.4.0

Compare Source

Changes
  • Support PHPUnit 10.1.
  • Update minimum support for Testbench Core v8.4.2+. (v8.4.0...v8.4.2)
Testbench Changes
Changes
  • Update skeleton to match v10.0.6.
  • Avoid declaring Orchestra\Testbench\Concerns\Testing::setUpTheTestEnvironmentTraitToBeIgnored() as abstract method.

v8.3.1

Compare Source

Changes
  • Support Laravel Framework 10.7.

v8.3.0

Compare Source

Changes
Testbench Changes
Changes
  • Add setUpTheTestEnvironmentTraitToBeIgnored() method to determine setup<Concern> and teardown<Concern> with imported traits should be use on given trait.
  • Bump minimum laravel/framework to 10.6.1.

v8.2.2

Compare Source

Changes
  • Support Laravel Framework 10.6.

v8.2.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes Orchestra\Testbench\Foundation\Config::addProviders() usage.
  • Fixes Orchestra\Testbench\transform_relative_path() logic.

v8.2.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray class to handle loading migrations from testbench.yaml.
    • You can now disable loading default migrations using either migrations: false in testbench.yaml or adding TESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true) environment variable.
  • Added additional configuration options to testbench.yaml:
    • migrations: <bool|array>
    • bootstrappers: <array>
  • Added Orchestra\Testbench\parse_environment_variables() function.
  • Added Orchestra\Testbench\transform_relative_path() function.
Changes
  • env configuration from testbench.yaml with have higher priority than default_environment_variables().
  • Disable Dotenv\Repository\Adapter\PutenvAdapter when generating environment variable on the fly using Orchestra\Testbench\Foundation\Application.
Fixes
  • Fixes console output when an exception is thrown before application can be bootstrapped.
  • Fixes some configuration value leaks between tests due to the way it set environment values including APP_KEY, APP_DEBUG etc.

v8.1.1

Compare Source

Changes
  • Support Laravel Framework 10.5.

v8.1.0

Compare Source

Changes
Testbench Changes
Added
  • Add supports for setup<Concern> and teardown<Concern> with imported traits.
Changes
  • Move PHPUnit 9 support to legacy:
    • Recommend using PHPUnit 10 whenever possible.
    • Remove deprecation handling support for PHPUnit 9.
    • Only recommend using package:test and --parallel with PHPUnit 10.

Warning: Breaking change is possible if your package contains any traits with setup<TraitClassName> or teardown<TraitClassName>

This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.

v8.0.11

Compare Source

Fixes
  • Avoid database connection from eager loaded via spatie/laravel-ray.

v8.0.10

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.4.1.

v8.0.9

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.4.0.
  • Support for Testbench Core to v8.1.0.

v8.0.8

Compare Source

Changes
  • Update minimum support for Testbench Core v8.0.5+. (v8.0.4...v8.0.5)
  • Update minimum support for Laravel Framework to v10.3.3.

v8.0.7

Compare Source

Changes
  • Update minimum support for Testbench Core v8.0.4+. (v8.0.2...v8.0.4)
  • Update minimum support for Laravel Framework to v10.3.1.

v8.0.6

Compare Source

Changes
  • Support Laravel Framework 10.3.

v8.0.5

Compare Source

Changes
  • Support Laravel Framework 10.2.

v8.0.4

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.1.5.

v8.0.3

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.1.4.

v8.0.2

Compare Source

Changes
  • Update minimum support for Testbench Core v8.0.2+. (v8.0.1...v8.0.2)
  • Support Laravel Framework 10.1.
Testbench Changes
Fixes
  • Fixes app.asset_url config default value from '/' to null.

v8.0.1

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 10.0.3.
  • Use available $_composer_autoload_path from composer-runtime-api.

v8.0.0

Compare Source

8.0.0

Released: 2023-02-14

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

v7.25.0

Compare Source

Changes
Testbench Changes
Added
  • Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables to manage loading .env file during tests, backport from Testbench Core 8 releases.
Changes
  • Bump minimum laravel/framework to 9.52.9.
  • Automate registering tearDownInteractsWithPublishedFiles() from setUpInteractsWithPublishedFiles() method.

v7.24.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes Orchestra\Testbench\Foundation\Config::addProviders() usage.
  • Fixes Orchestra\Testbench\transform_relative_path() logic.

v7.24.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray class to handle loading migrations from testbench.yaml.
    • You can now disable loading default migrations using either migrations: false in testbench.yaml or adding TESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true) environment variable.
  • Added additional configuration options to testbench.yaml:
    • migrations: <bool|array>
    • bootstrappers: <array>
  • Added Orchestra\Testbench\parse_environment_variables() function.
  • Added Orchestra\Testbench\transform_relative_path() function.
Changes
  • env configuration from testbench.yaml with have higher priority than default_environment_variables().
  • Disable Dotenv\Repository\Adapter\PutenvAdapter when generating environment variable on the fly using Orchestra\Testbench\Foundation\Application.
Fixes
  • Fixes console output when an exception is thrown before application can be bootstrapped.
  • Fixes some configuration value leaks between tests due to the way it set environment values including APP_KEY, APP_DEBUG etc.

v7.23.0

Compare Source

Changes
Testbench Changes
Added
  • Add supports for setup<Concern> and teardown<Concern> with imported traits.

Warning: Breaking change is possible if your package contains any traits with setup<TraitClassName> or teardown<TraitClassName>

This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.

v7.22.2

Compare Source

Changes
Testbench Changes
Fixes
  • Avoid database connection from eager loaded via spatie/laravel-ray.

v7.22.1

Compare Source

Changes

v7.22.0

Compare Source

Changes
Testbench Changes
Changes
  • Improve package:test --parallel command usage.
  • Use $app->bootstrapPath() instead of $app->basePath('bootstrap') whenever possible.

v7.21.0

Compare Source

Changes
Testbench Changes
Added
  • Added support for Illuminate\Foundation\Testing\DatabaseTruncation.
Changes
  • Bump minimum laravel/framework to 9.50.2.

v7.20.0

Compare Source

Changes
Testbench Changes
Changes
  • Improves package:test commands.
  • Update skeleton to match v9.5.2.

v7.19.0

Compare Source

Changes
Testbench Changes
Added
  • Added Illuminate\Foundation\Testing\InteractsWithDeprecationHandling to Orchestra\Testbench\TestCase.

v7.18.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\laravel_version_compare function as alias to version_compare specifically for Laravel Framework.
  • Added Orchestra\Testbench\phpunit_version_compare function as alias to version_compare specifically for PHPUnit.
  • Added Orchestra\Testbench\Exceptions\PHPUnitErrorException class.
Changes
  • Mark Orchestra\Testbench\Bootstrap\ConfigureRay class as final.
  • Refactor Orchestra\Testbench\Concerns\HandlesAnnotations trait.

v7.17.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.45.0.
  • Update skeleton to match v9.4.1.

v7.16.0

Compare Source

Changes
Testbench Changes
Added
  • Added resolveApplicationEnvironmentVariables() method.
  • Added Orchestra\Testbench\Bootstrap\HandleExceptions bootstrap to allow catching deprecation errors during tests.
    • Throws Orchestra\Testbench\Exceptions\DeprecatedException exception when deprecation occured.
    • Set logging.deprecations.trace to true.
    • Set deprecations log file to storage/logs/deprecations.log when LOG_DEMRECATIONS_CHANNEL=single.
Changes
  • Bump minimum laravel/framework to 9.44.0.

v7.15.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.41.0.

v7.14.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes serve command with no-reload options.

v7.14.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Exceptions\ApplicationNotAvailableException exception when trying to access $this->app outside of booted application.
  • Added tests/CreatesApplication.php to skeleton.
Changes
  • Update skeleton to match v9.3.11.

v7.13.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Bootstrap\ConfigureRay and use it when creating Application.

v7.12.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes where the default database connection as sqlite causes an exception when the database file isn't available. The loaded application should revert to testing database connection for the state.

v7.12.0

Compare Source

Changes
Testbench Changes
Added
  • Added support for about artisan command.
  • Added package:devtool to generate .env, testbench.yaml and database.sqlite file.
  • Added package:create-sqlite-db and package:drop-sqlite-db command.
  • Improves support for serve command.

v7.11.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Application::createVendorSymlink() method.
    • The feature uses Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink.
Changes
  • Bump minimum laravel/framework to 9.36.0
    • Forget View Component's cache and factory between tests.

v7.10.2

Compare Source

Changes
Testbench Changes
Fixes
  • Don't attempt to discover any packages on vendor symlink event.

v7.10.1

Compare Source

Changes
Testbench Changes
Fixes
  • Remove bootstrap/cache/packages.php on vendor symlink event.

v7.10.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Config to read Yaml file from testbench.yaml.

v7.9.0

Compare Source

Changes
Testbench Changes
Added
  • Added draft support for PHP 8.2.
Changes
  • Bump minimum laravel/framework to 9.34.0.
  • Bump minimum mockery/mockery to 1.5.1.
  • Bump minimum symfony dependencies to 6.0.9.

v7.8.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes missing Illuminate\Support\Arr import on HandlesTestFailures trait.

v7.8.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.32.0.
  • Improves PHPUnit memory leaks.

v7.7.1

Compare Source

Changes
Testbench Changes
Changes
  • Update skeleton to match v9.3.8.

v7.7.0

Compare Source

Changes
Testbench Changes
Added
  • Added loadLaravelMigrationsWithoutRollback() and runLaravelMigrationsWithoutRollback() helpers.
Changes
  • Update skeleton to match v9.3.5.

v7.6.1

Compare Source

Changes
Testbench Changes
Changes
  • Update skeleton to match v9.3.3.

v7.6.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.12.0.
  • Update skeleton to match v9.2.0.

v7.5.0

Compare Source

Changes
Testbench Changes
  • Bump minimum laravel/framework to 9.12.0.
  • Update skeleton to match v9.1.8.

v7.4.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.7.0.
  • Add support for --drop-databases on package:test command.
  • Update skeleton to match v9.1.5.

v7.3.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.6.0.
  • Update skeleton to match v9.1.3.

v7.2.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.5.1.
  • Update skeleton to match v9.1.1.

v7.1.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.2.
  • Remove Laravel 9 beta compatibilities codes.
Removed
  • Remove sanctum.php configuration from skeleton.

v7.0.2

Compare Source

Changes
Testbench Changes
Changes
  • Update skeleton to match v9.0.1.

v7.0.1

Compare Source

Changes
Testbench Changes
Changes
  • Add missing lang/en.json skeleton file.

v7.0.0

Compare Source

Changes
  • Update support for Laravel Framework v9.
  • Increase minimum PHP version to 8.0 and above (tested with 8.0 and 8.1).
Testbench Changes
Added
  • Allows customizing default RateLimiter configuration via resolveApplicationRateLimiting() method.
  • Added Orchestra\Testbench\Http\Middleware\PreventRequestsDuringMaintenance middleware.
Changes
  • Update support for Laravel Framework v9.
  • Increase minimum PHP version to 8.0 and above (tested with 8.0 and 8.1).
  • $loadEnvironmentVariables property is now set to true by default.
  • Following internal classes has been marked as final:
    • Orchestra\Testbench\Bootstrap\LoadConfiguration
    • Orchestra\Testbench\Console\Kernel
    • Orchestra\Testbench\Http\Kernel
  • Moved resources/lang skeleton files to lang directory.
Removed
  • Remove deprecated Illuminate\Foundation\Testing\Concerns\MocksApplicationServices trait.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Edited by Craig Smith

Merge request reports