This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench-core
.
Released: 2024-04-24
- Add support for PHPUnit 11.1.
Released: 2024-04-21
- Fixes routing registration using macro with Workbench.
Released: 2024-04-16
- Fixes
serve
command.
Released: 2024-04-13
- Allows
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
. - Includes
TESTBENCH_PACKAGE_REMOTE=true
when running command usingOrchestra\Testbench\remote
.
- Fixes
runningInUnitTests()
returningtrue
when not running tests via Testbench CLI.
Released: 2024-04-08
- Flush Static Improvements.
- Revert setting
workbench
environment variable when Testbench CLI is used outside of testing.
Released: 2024-04-05
- Fixes
runningInUnitTests()
returningtrue
when not running tests via Testbench CLI.
Released: 2024-03-27
- Force reset
RefreshDatabaseState
when usingLazilyRefreshDatabase
with SQLite:in-memory:
database connections.
Released: 2024-03-26
- Add support for
HASH_VERIFY
environment variables.
Released: 2024-03-25
- Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.
Released: 2024-03-19
- Run
ResetRefreshDatabaseState
viatearDownTheTestEnvironmentUsingTestCase()
method.
- Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method.
Released: 2024-03-19
- Fixes
RefreshDatabase
usage does not reset the database migrations between tests.
Released: 2024-03-18
- Check against
RefreshDatabaseState::$migrated
andRefreshDatabaseState::$lazilyRefreshed
before loading migration paths to the instance ofmigrator
. - Update skeleton to match v11.0.3.
- Fixes
class_implements()
should only be executed if the Attribute class exists.
Released: 2024-03-14
- Revert default skeleton database collations to
utf8mb4_unicode_ci
.
Released: 2024-03-14
- Testbench CLI should prioritize application kernels defined via
bootstrap/app.php
when configured using a custom skeleton.
Released: 2024-03-13
- Added
usesRefreshDatabaseTestingConcern()
helper method toOrchestra\Testbench\Concerns\InteractsWithTestCase
trait.
- Bump minimum
laravel/framework
to11.0.3
.
Released: 2024-03-12
- Added support for PHPUnit 11.
- Added new
Orchestra\Testbench\Concerns\WithLaravelBootstrapFile
trait. - Added
Orchestra\Testbench\Attributes\RequiresLaravel
attribute. - Added
Orchestra\Testbench\load_migration_paths()
function.
- Update support for Laravel Framework v11.
- Increase minimum PHP version to 8.2 and above (tested with 8.2 and 8.3).
- Validate
MYSQL_*
,MSSQL_*
,SQLITE_*
andPOSTGRES_*
environment variables before trying to override the configuration values.
- Deprecate
Orchestra\Testbench\Concerns\HandlesAnnotations
in line with PHPUnit removal support for meta-comment support using annotation.
- Remove deprecated
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait. - Removed deprecated
create-sqlite-db
anddrop-sqlite-db
standalone commands.