This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench
.
Released: 2023-04-25
- Support Laravel Framework
10.9
.
Released: 2023-04-18
- Bump minimum
laravel/framework
to10.8.0
. - Update minimum support for Testbench Core v8.5.0+. (v8.4.2...v8.5.0)
- Added
Orchestra\Testbench\after_resolving
helper function.
- Update skeleton to match v10.1.0.
- Bump minimum
laravel/framework
to10.8.0
.
Released: 2023-04-14
- Support PHPUnit
10.1
. - Update minimum support for Testbench Core v8.4.2+. (v8.4.0...v8.4.2)
- Supports PHPUnit 10.1.
- Update skeleton to match v10.0.6.
- Avoid declaring
Orchestra\Testbench\Concerns\Testing::setUpTheTestEnvironmentTraitToBeIgnored()
asabstract
method.
Released: 2023-04-11
- Support Laravel Framework
10.7
.
Released: 2023-04-05
- Update minimum support for Testbench Core v8.4.0+. (v8.3.1...v8.4.0)
- Add
setUpTheTestEnvironmentTraitToBeIgnored()
method to determinesetup<Concern>
andteardown<Concern>
with imported traits that should be used on a given trait. - Bump minimum
laravel/framework
to10.6.1
.
Released: 2023-04-04
- Support Laravel Framework
10.6
.
Released: 2023-04-03
- Update minimum support for Testbench Core v8.3.1+. (v8.3.0...v8.3.1)
- Fixes
Orchestra\Testbench\Foundation\Config::addProviders()
usage. - Fixes
Orchestra\Testbench\transform_relative_path()
logic.
Released: 2023-04-01
- Update minimum support for Testbench Core v8.3.0+. (v8.2.0...v8.3.0)
- 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.
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 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.
Released: 2023-03-27
- Update minimum support for Testbench Core v8.2.0+. (v8.0.5...v8.2.0)
- Add supports for
setup<Concern>
andteardown<Concern>
with imported traits.
- 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.
Released: 2023-03-23
- Avoid database connection from eager loaded via
spatie/laravel-ray
.
Released: 2023-03-18
- Update minimum support for Laravel Framework to
v10.4.1
.
Released: 2023-03-18
- Update minimum support for Laravel Framework to
v10.4.0
. - Support for Testbench Core to
v8.1.0
.
Released: 2023-03-10
- 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
.
Released: 2023-03-09
- 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
.
Released: 2023-03-08
- Support Laravel Framework
10.3
.
Released: 2023-03-02
- Support Laravel Framework
10.2
.
Released: 2023-02-24
- Update minimum support for Laravel Framework to
v10.1.5
.
Released: 2023-02-24
- Update minimum support for Laravel Framework to
v10.1.4
.
Released: 2023-02-21
- Update minimum support for Testbench Core v8.0.2+. (v8.0.1...v8.0.2)
- Support Laravel Framework
10.1
.
- Fixes
app.asset_url
config default value from'/'
tonull
.
Released: 2023-02-17
- Update minimum support for Testbench Core v8.0.1+. (v8.0.0...v8.0.1)
- Bump minimum
laravel/framework
to10.0.3
. - Use available
$_composer_autoload_path
fromcomposer-runtime-api
.
Released: 2023-02-14
- Added support for PHPUnit 10.
- Update support for Laravel Framework v10.
- Increase minimum PHP version to 8.1 and above (tested with 8.1 and 8.2).