chore(deps): update dependency orchestra/testbench to v8
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
Changes
- Support Laravel Framework
10.15
.
v8.5.9
Changes
- Bump minimum
laravel/framework
to10.14.0
.
v8.5.8
Changes
- Suspense support for Laravel Framework
10.14
.
v8.5.7
Changes
- Bump minimum
laravel/framework
to10.13.5
. - Update minimum support for Testbench Core v8.5.7+. (v8.5.6...v8.5.7)
v8.5.6
Changes
- Support Laravel Framework
10.14
. - Bump minimum
laravel/framework
to10.10.0
. - Update minimum support for Testbench Core v8.5.6+. (v8.5.0...v8.5.6)
v8.5.5
Changes
- Support Laravel Framework
10.13
.
v8.5.4
Changes
- Support Laravel Framework
10.12
.
v8.5.3
Changes
- Support Laravel Framework
10.11
.
v8.5.2
Changes
- Support Laravel Framework
10.10
.
v8.5.1
Changes
- Support Laravel Framework
10.9
.
v8.5.0
Changes
- Bump minimum
laravel/framework
to10.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
to10.8.0
.
v8.4.0
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()
asabstract
method.
v8.3.1
Changes
- Support Laravel Framework
10.7
.
v8.3.0
Changes
- Update minimum support for Testbench Core v8.4.0+. (v8.3.1...v8.4.0)
Testbench Changes
Changes
- Add
setUpTheTestEnvironmentTraitToBeIgnored()
method to determinesetup<Concern>
andteardown<Concern>
with imported traits should be use on given trait. - Bump minimum
laravel/framework
to10.6.1
.
v8.2.2
Changes
- Support Laravel Framework
10.6
.
v8.2.1
Changes
- Update minimum support for Testbench Core v8.3.1+. (v8.3.0...v8.3.1)
Testbench Changes
Fixes
- Fixes
Orchestra\Testbench\Foundation\Config::addProviders()
usage. - Fixes
Orchestra\Testbench\transform_relative_path()
logic.
v8.2.0
Changes
- Update minimum support for Testbench Core v8.3.0+. (v8.2.0...v8.3.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray
class to handle loading migrations fromtestbench.yaml
.- You can now disable loading default migrations using either
migrations: false
intestbench.yaml
or addingTESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true)
environment variable.
- You can now disable loading default migrations using either
- 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 fromtestbench.yaml
with have higher priority thandefault_environment_variables()
. - Disable
Dotenv\Repository\Adapter\PutenvAdapter
when generating environment variable on the fly usingOrchestra\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
Changes
- Support Laravel Framework
10.5
.
v8.1.0
Changes
- Update minimum support for Testbench Core v8.2.0+. (v8.0.5...v8.2.0)
Testbench Changes
Added
- Add supports for
setup<Concern>
andteardown<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>
orteardown<TraitClassName>
This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.
v8.0.11
Fixes
- Avoid database connection from eager loaded via
spatie/laravel-ray
.
v8.0.10
Changes
- Update minimum support for Laravel Framework to
v10.4.1
.
v8.0.9
Changes
- Update minimum support for Laravel Framework to
v10.4.0
. - Support for Testbench Core to
v8.1.0
.
v8.0.8
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
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
Changes
- Support Laravel Framework
10.3
.
v8.0.5
Changes
- Support Laravel Framework
10.2
.
v8.0.4
Changes
- Update minimum support for Laravel Framework to v10.1.5.
v8.0.3
Changes
- Update minimum support for Laravel Framework to v10.1.4.
v8.0.2
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'/'
tonull
.
v8.0.1
Changes
- Update minimum support for Testbench Core v8.0.1+. (v8.0.0...v8.0.1)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to10.0.3
. - Use available
$_composer_autoload_path
fromcomposer-runtime-api
.
v8.0.0
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
Changes
- Update minimum support for Testbench Core v7.25.0+. (v7.24.1...v7.25.0)
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
to9.52.9
. - Automate registering
tearDownInteractsWithPublishedFiles()
fromsetUpInteractsWithPublishedFiles()
method.
v7.24.1
Changes
- Update minimum support for Testbench Core v7.24.1+. (v7.24.0...v7.24.1)
Testbench Changes
Fixes
- Fixes
Orchestra\Testbench\Foundation\Config::addProviders()
usage. - Fixes
Orchestra\Testbench\transform_relative_path()
logic.
v7.24.0
Changes
- Update minimum support for Testbench Core v7.24.0+. (v7.23.0...v7.24.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray
class to handle loading migrations fromtestbench.yaml
.- You can now disable loading default migrations using either
migrations: false
intestbench.yaml
or addingTESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true)
environment variable.
- You can now disable loading default migrations using either
- 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 fromtestbench.yaml
with have higher priority thandefault_environment_variables()
. - Disable
Dotenv\Repository\Adapter\PutenvAdapter
when generating environment variable on the fly usingOrchestra\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
Changes
- Update minimum support for Testbench Core v7.23.0+. (v7.22.2...v7.23.0)
Testbench Changes
Added
- Add supports for
setup<Concern>
andteardown<Concern>
with imported traits.
Warning: Breaking change is possible if your package contains any traits with
setup<TraitClassName>
orteardown<TraitClassName>
This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.
v7.22.2
Changes
- Update minimum support for Testbench Core v7.22.2+. (v7.22.1...v7.22.2)
Testbench Changes
Fixes
- Avoid database connection from eager loaded via
spatie/laravel-ray
.
v7.22.1
Changes
- Update minimum support for Testbench Core v7.22.1+. (v7.22.0...v7.22.1)
v7.22.0
Changes
- Update minimum support for Testbench Core v7.22.0+. (v7.21.0...v7.22.0)
Testbench Changes
Changes
- Improve
package:test --parallel
command usage. - Use
$app->bootstrapPath()
instead of$app->basePath('bootstrap')
whenever possible.
v7.21.0
Changes
- Update minimum support for Testbench Core v7.21.0+. (v7.20.0...v7.21.0)
Testbench Changes
Added
- Added support for
Illuminate\Foundation\Testing\DatabaseTruncation
.
Changes
- Bump minimum
laravel/framework
to9.50.2
.
v7.20.0
Changes
- Update minimum support for Testbench Core v7.20.0+. (v7.19.0...v7.20.0)
Testbench Changes
Changes
- Improves
package:test
commands. - Update skeleton to match v9.5.2.
v7.19.0
Changes
- Update minimum support for Testbench Core v7.19.0+. (v7.18.0...v7.19.0)
Testbench Changes
Added
- Added
Illuminate\Foundation\Testing\InteractsWithDeprecationHandling
toOrchestra\Testbench\TestCase
.
v7.18.0
Changes
- Update minimum support for Testbench Core v7.18.0+. (v7.17.0...v7.18.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\laravel_version_compare
function as alias toversion_compare
specifically for Laravel Framework. - Added
Orchestra\Testbench\phpunit_version_compare
function as alias toversion_compare
specifically for PHPUnit. - Added
Orchestra\Testbench\Exceptions\PHPUnitErrorException
class.
Changes
- Mark
Orchestra\Testbench\Bootstrap\ConfigureRay
class asfinal
. - Refactor
Orchestra\Testbench\Concerns\HandlesAnnotations
trait.
v7.17.0
Changes
- Update minimum support for Testbench Core v7.17.0+. (v7.16.0...v7.17.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.45.0
. - Update skeleton to match v9.4.1.
v7.16.0
Changes
- Update minimum support for Testbench Core v7.16.0+. (v7.15.0...v7.16.0)
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
totrue
. - Set deprecations log file to
storage/logs/deprecations.log
whenLOG_DEMRECATIONS_CHANNEL=single
.
- Throws
Changes
- Bump minimum
laravel/framework
to9.44.0
.
v7.15.0
Changes
- Update minimum support for Testbench Core v7.15.0+. (v7.14.1...v7.15.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.41.0
.
v7.14.1
Changes
- Update minimum support for Testbench Core v7.14.1+. (v7.14.0...v7.14.1)
Testbench Changes
Fixes
- Fixes
serve
command withno-reload
options.
v7.14.0
Changes
- Update minimum support for Testbench Core v7.14.0+. (v7.13.0...v7.14.0)
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
Changes
- Update minimum support for Testbench Core v7.13.0+. (v7.12.1...v7.13.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Bootstrap\ConfigureRay
and use it when creating Application.
v7.12.1
Changes
- Update minimum support for Testbench Core v7.12.1+. (v7.12.0...v7.12.1)
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 totesting
database connection for the state.
v7.12.0
Changes
- Update minimum support for Testbench Core v7.12.0+. (v7.11.0...v7.12.0)
Testbench Changes
Added
- Added support for
about
artisan command. - Added
package:devtool
to generate.env
,testbench.yaml
anddatabase.sqlite
file. - Added
package:create-sqlite-db
andpackage:drop-sqlite-db
command. - Improves support for
serve
command.
v7.11.0
Changes
- Update minimum support for Testbench Core v7.11.0+. (v7.10.2...v7.11.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Foundation\Application::createVendorSymlink()
method.- The feature uses
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
.
- The feature uses
Changes
- Bump minimum
laravel/framework
to9.36.0
- Forget View Component's cache and factory between tests.
v7.10.2
Changes
- Update minimum support for Testbench Core v7.10.2+. (v7.10.1...v7.10.2)
Testbench Changes
Fixes
- Don't attempt to discover any packages on vendor symlink event.
v7.10.1
Changes
- Update minimum support for Testbench Core v7.10.1+. (v7.10.0...v7.10.1)
Testbench Changes
Fixes
- Remove
bootstrap/cache/packages.php
on vendor symlink event.
v7.10.0
Changes
- Update minimum support for Testbench Core v7.10.0+. (v7.9.0...v7.10.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Foundation\Config
to read Yaml file fromtestbench.yaml
.
v7.9.0
Changes
- Update minimum support for Testbench Core v7.9.0+. (v7.8.1...v7.9.0)
Testbench Changes
Added
- Added draft support for PHP 8.2.
Changes
- Bump minimum
laravel/framework
to9.34.0
. - Bump minimum
mockery/mockery
to1.5.1
. - Bump minimum
symfony
dependencies to6.0.9
.
v7.8.1
Changes
- Update minimum support for Testbench Core v7.8.1+. (v7.8.0...v7.8.1)
Testbench Changes
Fixes
- Fixes missing
Illuminate\Support\Arr
import onHandlesTestFailures
trait.
v7.8.0
Changes
- Update minimum support for Testbench Core v7.8.0+. (v7.7.1...v7.8.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.32.0
. - Improves PHPUnit memory leaks.
v7.7.1
Changes
- Update minimum support for Testbench Core v7.7.1+. (v7.7.0...v7.7.1)
Testbench Changes
Changes
- Update skeleton to match v9.3.8.
v7.7.0
Changes
- Update minimum support for Testbench Core v7.7.0+. (v7.6.1...v7.7.0)
Testbench Changes
Added
- Added
loadLaravelMigrationsWithoutRollback()
andrunLaravelMigrationsWithoutRollback()
helpers.
Changes
- Update skeleton to match v9.3.5.
v7.6.1
Changes
- Update minimum support for Testbench Core v7.6.1+. (v7.6.0...v7.6.1)
Testbench Changes
Changes
- Update skeleton to match v9.3.3.
v7.6.0
Changes
- Update minimum support for Testbench Core v7.6.0+. (v7.5.0...v7.6.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.12.0
. - Update skeleton to match v9.2.0.
v7.5.0
Changes
- Update minimum support for Testbench Core v7.5.0+. (v7.4.0...v7.5.0)
Testbench Changes
- Bump minimum
laravel/framework
to9.12.0
. - Update skeleton to match v9.1.8.
v7.4.0
Changes
- Update minimum support for Testbench Core v7.4.0+. (v7.3.0...v7.4.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.7.0
. - Add support for
--drop-databases
onpackage:test
command. - Update skeleton to match v9.1.5.
v7.3.0
Changes
- Update minimum support for Testbench Core v7.3.0+. (v7.2.0...v7.3.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.6.0
. - Update skeleton to match v9.1.3.
v7.2.0
Changes
- Update minimum support for Testbench Core v7.2.0+. (v7.1.0...v7.2.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.5.1
. - Update skeleton to match v9.1.1.
v7.1.0
Changes
- Update minimum support for Testbench Core v7.1.0+. (v7.0.2...v7.1.0)
Testbench Changes
Changes
- Bump minimum
laravel/framework
to9.2
. - Remove Laravel 9 beta compatibilities codes.
Removed
- Remove
sanctum.php
configuration from skeleton.
v7.0.2
Changes
- Update minimum support for Testbench Core v7.0.2+. (v7.0.1...v7.0.2)
Testbench Changes
Changes
- Update skeleton to match v9.0.1.
v7.0.1
Changes
- Update minimum support for Testbench Core v7.0.1+. (v7.0.0...v7.0.1)
Testbench Changes
Changes
- Add missing
lang/en.json
skeleton file.
v7.0.0
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 totrue
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 tolang
directory.
Removed
- Remove deprecated
Illuminate\Foundation\Testing\Concerns\MocksApplicationServices
trait.
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.