This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench
.
Released: 2024-06-04
- Update minimum support for Testbench Core v7.43.3+. (v7.43.2...v7.43.3)
- Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()
usage to detectWorkbench\App\Exceptions\Handler
class.
Released: 2024-06-01
- Update minimum support for Testbench Core v7.43.2+. (v7.43.0...v7.43.2)
- Utilise
Orchestra\Testbench\package_path()
function instead ofTESTBENCH_WORKING_PATH
constant.
- Fixes
Orchestra\Testbench\Attributes\RequiresLaravel
attribute usage.
Released: 2024-05-21
- Update minimum support for Testbench Core v7.43.0+. (v7.42.6...v7.43.0)
- Uses
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
. - PHPStan Improvements.
- Backport fixes to routing registration using macro with Workbench.
Released: 2024-04-16
- Update minimum support for Testbench Core v7.42.6+. (v7.42.5...v7.42.6)
- Flush Static Improvements.
- Allows
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
. - Includes
TESTBENCH_PACKAGE_REMOTE=true
when running command usingOrchestra\Testbench\remote
.
Released: 2024-03-25
- Update minimum support for Testbench Core v7.42.5+. (v7.42.4...v7.42.5)
- Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.
Released: 2024-03-19
- Update minimum support for Testbench Core v7.42.4+. (v7.42.0...v7.42.4)
- Run
ResetRefreshDatabaseState
viatearDownTheTestEnvironmentUsingTestCase()
method. - Check against
RefreshDatabaseState::$migrated
andRefreshDatabaseState::$lazilyRefreshed
before loading migration paths to the instance ofmigrator
.
- Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method. - Fixes
RefreshDatabase
usage does not reset the database migrations between tests. - Fixes
class_implements(): Class AllowDynamicProperties does not exist and could not be loaded
error on PHP 8.1 and lower.
Released: 2024-03-13
- Update minimum support for Testbench Core v7.42.0+. (v7.40.1...v7.42.0)
- Added
Orchestra\Testbench\Attributes\RequiresLaravel
attribute. - Added
Orchestra\Testbench\Foundation\Env::has()
method. - Added
Orchestra\Testbench\once()
function. - Added
Orchestra\Testbench\load_migration_paths()
function. - Added
usesRefreshDatabaseTestingConcern()
helper method toOrchestra\Testbench\Concerns\InteractsWithTestCase
trait.
- Validate
MYSQL_*
,MSSQL_*
,SQLITE_*
andPOSTGRES_*
environment variables before trying to override the configuration values. - Allow passing
$command
toOrchestra\Testbench\remote()
function usingarray
instead of juststring
.
- Fixes
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute declaration to onlyAttribute::TARGET_CLASS
.
Released: 2024-01-19
- Update minimum support for Testbench Core v7.40.1+. (v7.40.0...v7.40.1)
- Support nested configuration files.
- Fixes issue with Livewire testing where calling
$router->getRoutes()->refreshActionLookups()
caused tests to fail.
Released: 2024-01-19
- Update minimum support for Testbench Core v7.40.0+. (v7.39.0...v7.40.0)
- Added
Orchestra\Testbench\Attributes\WithImmutableDates
attribute to forceIlluminate\Support\Date
to useCarbon\CarbonImmutable
. - Added following helper functions:
Orchestra\Testbench\default_skeleton_path
Orchestra\Testbench\refresh_router_lookups
Released: 2023-12-28
- Update minimum support for Testbench Core v7.39.0+. (v7.38.0...v7.39.0)
- Added
Orchestra\Testbench\Features\TestingFeature
as replacement toHandlesTestingFeature
trait. - Added support for
LOG_DEPRECATIONS_WHILE_TESTING
(default totrue
) environment variables. - Add following interfaces for Attribute handling:
Orchestra\Testbench\Contracts\Attributes\AfterAll
Orchestra\Testbench\Contracts\Attributes\AfterEach
Orchestra\Testbench\Contracts\Attributes\BeforeAll
Orchestra\Testbench\Contracts\Attributes\BeforeEach
- Refactor
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
.
- Deprecate
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.
Released: 2023-12-19
- Update minimum support for Testbench Core v7.38.0+. (v7.37.0...v7.38.0)
- Added
Orchestra\Testbench\Attributes\RequiresEnv
attribute to force an environment variables to be required for the test. - Added
Orchestra\Testbench\Attributes\WithConfig
attribute add a configuration value for the test. - Added
Orchestra\Testbench\Attributes\WithEnv
attribute add an environment variable value for the test. - Added
set()
andforget()
methods toOrchestra\Testbench\Foundation\Env
.
Released: 2023-12-06
- Update minimum support for Testbench Core v7.37.0+. (v7.36.0...v7.37.0)
- Supports Workbench
discovers.components
configuration.
- Sync
view.paths
configuration when Workbench discover views.
Released: 2023-12-04
- Update minimum support for Testbench Core v7.36.0+. (v7.35.0...v7.36.0)
- Added
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute to force refreshing database before executing the test. - Added
Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariables
bootstrap class and allow database collation to be configurable via environment variables usingMYSQL_COLLATION
,POSTGRES_COLLATION
andMSSQL_COLLATION
.
- Refactor handling attributes:
- Add ability to handle actions directly from the attribute.
- Add ability to set
defer
when usingOrchestra\Testbench\Attributes\DefineDatabase
.
- Deprecate
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.
Released: 2023-10-24
- Update minimum support for Testbench Core v7.35.0+. (v7.34.0...v7.35.0)
- Added new PHPUnit Attribute to run the default
laravel
,cache
,notifications
,queue
andsession
database migrations usingOrchestra\Testbench\Attributes\WithMigration
. - Added
Orchestra\Testbench\defined_environment_variables()
function. - Added
Orchestra\Testbench\laravel_migration_path()
function. - Added
Orchestra\Testbench\remote()
function.
- Mark the following classes as
@api
:Orchestra\Testbench\Foundation\Application
Orchestra\Testbench\Foundation\Config
Orchestra\Testbench\Foundation\Env
- Cache results from
Orchestra\Testbench\PHPUnit\AttributeParser
.
Released: 2023-11-07
- Add support for Workbench 7.0+.
Released: 2023-10-24
- Update minimum support for Testbench Core v7.34.0+. (v7.33.0...v7.34.0)
- Add support for Workbench 1.0+.
- Added
Orchestra\Testbench\Workbench\Workbench
to handle integrations with Workbench. - Added
Orchestra\Testbench\Foundation\Config::getWorkbenchDiscoversAttributes()
method. - Added
Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait. - Added following methods to
Orchestra\Testbench\Foundation\Application
:make()
makeFromConfig()
createFromConfig()
- Added support for PHPUnit Attribute as replacements to Annotations:
@define-env
and@environment-setup
will be replaced withOrchestra\Testbench\Attributes\DefineEnvironment
.@define-db
will be replaced withOrchestra\Testbench\Attributes\DefineDatabase
.@define-route
will be replaced withOrchestra\Testbench\Attributes\DefineRoute
.
- Fixes generating path using
Orchestra\Testbench\package_path()
andOrchestra\Testbench\workbench_path()
.
- Deprecate
Orchestra\Testbench\Concerns\WithFactories
.
- Remove
Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench
, useOrchestra\Testbench\Workbench\Workbench::start()
orOrchestra\Testbench\Workbench\Workbench::startWithProviders()
instead.
Released: 2023-10-09
- Update minimum support for Testbench Core v7.33.0+. (v7.32.0...v7.33.0)
- Add support for Workbench 0.5.0+.
- Code refactors.
- Mark
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
class as@internal
.
Released: 2023-09-25
- Update minimum support for Testbench Core v7.32.0+. (v7.31.0...v7.32.0)
- Update minimum support for Workbench 0.4.0+.
- Added
cachedConfigurationForWorkbench()
toOrchestra\Testbench\Concern\InteractsWithWorkbench
trait. - Add the ability to read
TESTBENCH_WORKING_PATH
from environment variables for Testbench Dusk usage. - Supports Workbench
discovers
configuration. - Add the ability to properly forward Environment Variables.
- Add
usesSqliteInMemoryDatabaseConnection
toOrchestra\Testbench\Concerns\HandlesDatabases
trait.
Released: 2023-09-19
- Update minimum support for Testbench Core v7.31.0+. (v7.30.0...v7.31.0)
- Update minimum support for Workbench 0.3.0+.
- Added methods to
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:assertMigrationFileExists
.assertMigrationFileNotExists
.
- Allow passing wildcard filenames to
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles::$files
property. - Allow using custom directory on
assertMigrationFileContains
andassertMigrationFileNotContains
fromOrchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait. - Rename methods in
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:cleanUpFiles
tocleanUpPublishedFiles
.cleanUpMigrationFiles
tocleanUpPublishedMigrationFiles
.getMigrationFile
tofindFirstPublishedMigrationFile
.
Released: 2023-08-29
- Update minimum support for Testbench Core v7.30.0+. (v7.29.1...v7.30.0)
- Add ability to automatically run default Laravel migrations using
Orchestra\Testbench\Concerns\WithLaravelMigrations
. - Add Console Actions classes:
Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles
Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories
Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
Released: 2023-08-22
- Update minimum support for Testbench Core v7.29.1+. (v7.29.0...v7.29.1)
- Allow using
$model
property override when extendingOrchestra\Testbench\Factories\UserFactory
.
Released: 2023-08-19
- Update minimum support for Testbench Core v7.29.0+. (v7.28.3...v7.29.0)
- Added new
workbench.welcome
configuration option.
- Allow
testbench.yaml
configuration fallback similar to.env
. - Utilise
Illuminate\Support\LazyCollection
. - Skip loading
Orchestra\Workbench\WorkbenchServiceProvider
when applyingOrchestra\Testbench\Concerns\WithWorkbench
.
Released: 2023-08-17
- Update minimum support for Testbench Core v7.28.3+. (v7.28.2...v7.28.3)
- Fixes configuration leak when running some TestCase without
Orchestra\Testbench\Concerns\WithWorkbench
.
Released: 2023-08-17
- Update minimum support for Testbench Core v7.28.2+. (v7.28.0...v7.28.2)
- Readd deprecated
Orchestra\Testbench\Foundation\Console\DevToolCommand
for integration compatibility.
- Disable Composer default timeout when using
serve
command under Composer's script.
Released: 2023-08-15
- Update minimum support for Testbench Core v7.28.0+. (v7.27.0...v7.28.0)
- Added
package:purge-skeleton
command. - Added
Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait. - Added
Orchestra\Testbench\package_path()
function. - Added support for
orchestra/workbench
.
- Rename
Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench
toOrchestra\Testbench\Foundation\Bootstrap\StartWorkbench
.
- Fixes
serve
command usage. - Fixes class namespace.
Released: 2023-08-12
- Update minimum support for Testbench Core v7.27.0+. (v7.26.2...v7.27.0)
- Added following events:
Orchestra\Testbench\Foundation\Events\ServeCommandStarted
Orchestra\Testbench\Foundation\Events\ServeCommandEnded
Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted
Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded
- Change
HandlesRoutes
loading sequence to match common Laravel bootstrap steps. - Refactor
HandlesAnnotations
andInteractsWithPHPUnit
traits. - Workbench integration improvements.
- Update
workbench
configuration schema.
- Fixes
Illuminate\Foundation\Application::runningUnitTests()
detection.
Released: 2023-08-10
- Bump minimum
laravel/framework
to9.52.15
. - Update minimum support for Testbench Core v7.26.2+. (v7.26.1...v7.26.2)
- Fixes
app()->environment()
detection when creating applicationOrchestra\Testbench\Concerns\CreatesApplication
outside ofPHPUnit
. - Fixes error
Undefined array key "autoload-dev"
when executingworkbench:install
command.
Released: 2023-08-09
- Update minimum support for Testbench Core v7.26.1+. (v7.26.0...v7.26.1)
- Add new
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
to handleCreatesApplication
within PHPUnit.
- Fixes
workbench.start
path when accessing the/
route return 404. - Only Configure
TESTBENCH_APP_BASE_PATH
environment variable only when running under tests.
Released: 2023-08-08
- Update minimum support for Testbench Core v7.26.0+. (v7.25.0...v7.26.0)
- Added new Workbench support (experimental feature).
- Register routes under
/_workbench
prefix. - Automatically run configured seeds when executing
migrate:fresh
andmigrate:refresh
- Bind
Orchestra\Testbench\Contracts\Config
to IoC Container and introduce the newOrchestra\Testbench\workbench
andOrchestra\Testbench\workbench_path
helper function. - Add
workbench:install
,workbench:create-sqlite-db
andworkbench:drop-sqlite-db
commands.
- Register routes under
- Add new
Orchestra\Testbench\Concerns\WithWorkbench
to automatically loads configuration fromtestbench.yaml
when running tests.
- Deprecated
package:devtool
,package:create-sqlite-db
andpackage:drop-sqlite-db
commands.
Released: 2023-06-13
- Update minimum support for Testbench Core v7.25.0+. (v7.24.1...v7.25.0)
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
to manage loading.env
file during tests, backport from Testbench Core 8 releases.
- Bump minimum
laravel/framework
to9.52.9
. - Automate registering
tearDownInteractsWithPublishedFiles()
fromsetUpInteractsWithPublishedFiles()
method.
Released: 2023-04-03
- Update minimum support for Testbench Core v7.24.1+. (v7.24.0...v7.24.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 v7.24.0+. (v7.23.0...v7.24.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 v7.23.0+. (v7.22.2...v7.23.0)
- 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.
Released: 2023-03-23
- Update minimum support for Testbench Core v7.22.2+. (v7.22.1...v7.22.2)
- Avoid database connection from eager loaded via
spatie/laravel-ray
.
Released: 2023-02-08
- Update minimum support for Testbench Core v7.22.1+. (v7.22.0...v7.22.1)
Released: 2023-02-08
- Update minimum support for Testbench Core v7.22.0+. (v7.21.0...v7.22.0)
- Improve
package:test --parallel
command usage. - Use
$app->bootstrapPath()
instead of$app->basePath('bootstrap')
whenever possible.
Released: 2023-02-03
- Update minimum support for Testbench Core v7.21.0+. (v7.20.0...v7.21.0)
- Added support for
Illuminate\Foundation\Testing\DatabaseTruncation
.
- Bump minimum
laravel/framework
to9.50.2
.
Released: 2023-02-01
- Update minimum support for Testbench Core v7.20.0+. (v7.19.0...v7.20.0)
- Improves
package:test
commands. - Update skeleton to match v9.5.2.
Released: 2023-01-10
- Update minimum support for Testbench Core v7.19.0+. (v7.18.0...v7.19.0)
- Added
Illuminate\Foundation\Testing\InteractsWithDeprecationHandling
toOrchestra\Testbench\TestCase
.
Released: 2023-01-04
- Update minimum support for Testbench Core v7.18.0+. (v7.17.0...v7.18.0)
- 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.
- Mark
Orchestra\Testbench\Bootstrap\ConfigureRay
class asfinal
. - Refactor
Orchestra\Testbench\Concerns\HandlesAnnotations
trait.
Released: 2022-12-22
- Update minimum support for Testbench Core v7.17.0+. (v7.16.0...v7.17.0)
- Bump minimum
laravel/framework
to9.45.0
. - Update skeleton to match v9.4.1.
Released: 2022-12-17
- Update minimum support for Testbench Core v7.16.0+. (v7.15.0...v7.16.0)
- 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_DEPRECATIONS_CHANNEL=single
.
- Throws
- Bump minimum
laravel/framework
to9.44.0
.
Released: 2022-11-30
- Update minimum support for Testbench Core v7.15.0+. (v7.14.1...v7.15.0)
- Bump minimum
laravel/framework
to9.41.0
.
Released: 2022-11-29
- Update minimum support for Testbench Core v7.14.1+. (v7.14.0...v7.14.1)
- Fixes
serve
command withno-reload
options.
Released: 2022-11-23
- Update minimum support for Testbench Core v7.14.0+. (v7.13.0...v7.14.0)
- Added
Orchestra\Testbench\Exceptions\ApplicationNotAvailableException
exception when trying to access$this->app
outside of booted application. - Added
tests/CreatesApplication.php
to skeleton.
- Update skeleton to match v9.3.11.
Released: 2022-11-14
- Update minimum support for Testbench Core v7.13.0+. (v7.12.1...v7.13.0)
- Added
Orchestra\Testbench\Bootstrap\ConfigureRay
and use it when creating Application.
Released: 2022-11-12
- Update minimum support for Testbench Core v7.12.1+. (v7.12.0...v7.12.1)
- 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.
Released: 2022-11-12
- Update minimum support for Testbench Core v7.12.0+. (v7.11.0...v7.12.0)
- 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.
Released: 2022-10-19
- Update minimum support for Testbench Core v7.11.0+. (v7.10.2...v7.11.0)
- Added
Orchestra\Testbench\Foundation\Application::createVendorSymlink()
method.- The feature uses
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
.
- The feature uses
- Bump minimum
laravel/framework
to9.36.0
- Forget View Component's cache and factory between tests.
Released: 2022-10-14
- Update minimum support for Testbench Core v7.10.2+. (v7.10.1...v7.10.2)
- Don't attempt to discover any packages on vendor symlink event.
Released: 2022-10-11
- Update minimum support for Testbench Core v7.10.1+. (v7.10.0...v7.10.1)
- Remove
bootstrap/cache/packages.php
on vendor symlink event.
Released: 2022-10-11
- Update minimum support for Testbench Core v7.10.0+. (v7.9.0...v7.10.0)
- Added
Orchestra\Testbench\Foundation\Config
to read Yaml file fromtestbench.yaml
.
Released: 2022-10-05
- Update minimum support for Testbench Core v7.9.0+. (v7.8.1...v7.9.0)
- Added draft support for PHP 8.2.
- Bump minimum
laravel/framework
to9.34.0
. - Bump minimum
mockery/mockery
to1.5.1
. - Bump minimum
symfony
dependencies to6.0.9
.
Released: 2022-10-03
- Update minimum support for Testbench Core v7.8.1+. (v7.8.0...v7.8.1)
- Fixes missing
Illuminate\Support\Arr
import onHandlesTestFailures
trait.
Released: 2022-09-28
- Update minimum support for Testbench Core v7.8.0+. (v7.7.1...v7.8.0)
- Bump minimum
laravel/framework
to9.32.0
. - Improves PHPUnit memory leaks.
Released: 2022-09-28
- Update minimum support for Testbench Core v7.7.1+. (v7.7.0...v7.7.1)
- Update skeleton to match v9.3.8.
Released: 2022-08-10
- Update minimum support for Testbench Core v7.7.0+. (v7.6.1...v7.7.0)
- Added
loadLaravelMigrationsWithoutRollback()
andrunLaravelMigrationsWithoutRollback()
helpers.
- Update skeleton to match v9.3.5.
Released: 2022-08-10
- Update minimum support for Testbench Core v7.6.1+. (v7.6.0...v7.6.1)
- Update skeleton to match v9.3.3.
Released: 2022-06-30
- Update minimum support for Testbench Core v7.6.0+. (v7.5.0...v7.6.0)
- Bump minimum
laravel/framework
to9.12.0
. - Update skeleton to match v9.2.0.
Released: 2022-05-11
- Update minimum support for Testbench Core v7.5.0+. (v7.4.0...v7.5.0)
- Bump minimum
laravel/framework
to9.12.0
. - Update skeleton to match v9.1.8.
Released: 2022-04-13
- Update minimum support for Testbench Core v7.4.0+. (v7.3.0...v7.4.0)
- Bump minimum
laravel/framework
to9.7.0
. - Add support for
--drop-databases
onpackage:test
command. - Update skeleton to match v9.1.5.
Released: 2022-03-30
- Update minimum support for Testbench Core v7.3.0+. (v7.2.0...v7.3.0)
- Bump minimum
laravel/framework
to9.6.0
. - Update skeleton to match v9.1.3.
Released: 2022-03-20
- Update minimum support for Testbench Core v7.2.0+. (v7.1.0...v7.2.0)
- Bump minimum
laravel/framework
to9.5.1
. - Update skeleton to match v9.1.1.
Released: 2022-02-22
- Update minimum support for Testbench Core v7.1.0+. (v7.0.2...v7.1.0)
- Bump minimum
laravel/framework
to9.2
. - Remove Laravel 9 beta compatibilities codes.
- Remove
sanctum.php
configuration from skeleton.
Released: 2022-02-14
- Update minimum support for Testbench Core v7.0.2+. (v7.0.1...v7.0.2)
- Update skeleton to match v9.0.1.
Released: 2022-02-14
- Update minimum support for Testbench Core v7.0.1+. (v7.0.0...v7.0.1)
- Add missing
lang/en.json
skeleton file.
Released: 2022-02-08
- Update support for Laravel Framework v9.
- Increase minimum PHP version to 8.0 and above (tested with 8.0 and 8.1).
- Allows customizing default RateLimiter configuration via
resolveApplicationRateLimiting()
method. - Added
Orchestra\Testbench\Http\Middleware\PreventRequestsDuringMaintenance
middleware.
- 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.
- Remove deprecated
Illuminate\Foundation\Testing\Concerns\MocksApplicationServices
trait.