Releases: orchestral/testbench
Releases · orchestral/testbench
v9.7.0
Changes
- Update minimum support for Testbench Core v9.7.0+. (v9.6.2...v9.7.0)
Testbench Changes
Added
- Added ability to detect Workbench namespace via
Orchestra\Testbench\Workbench\Workbench::detectNamespace()
method. - Added ability to detect the default user model via
Orchestra\Testbench\Workbench\Workbench::applicationUserModel()
method. - Added support for authentication routes within Workbench by configurating
workbench.auth
config totrue
. - Added new
package:sync-skeleton
command.
Changes
- Testbench Dusk integration improvements:
- Refactor
Orchestra\Testbench\Bootstrap\LoadConfiguration
andOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench
to allow being extended by Testbench Dusk. - Refactor
Orchestra\Testbench\Console\Commander
.
- Refactor
- Add
$tty
parameter toOrchestra\Testbench\remote()
function. - Refactor
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
class and mark it as@api
. - Add
$backupExistingFile
and$resetOnTerminating
parameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles
trait:copyTestbenchConfigurationFile()
copyTestbenchDotEnvFile()
- Supports
laravel/serializable-closure
v2.
Deprecated
- Deprecate
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole
trait, useOrchestra\Testbench\Foundation\Console\TerminatingConsole
class instead.
v8.29.0
Changes
- Update minimum support for Testbench Core v8.30.0+. (v8.29.0...v8.30.0)
Testbench Changes
Added
- Added ability to detect Workbench namespace via
Orchestra\Testbench\Workbench\Workbench::detectNamespace()
method. - Added ability to detect the default user model via
Orchestra\Testbench\Workbench\Workbench::applicationUserModel()
method. - Added support for authentication routes within Workbench by configurating
workbench.auth
config totrue
. - Added new
package:sync-skeleton
command.
Changes
- Testbench Dusk integration improvements:
- Refactor
Orchestra\Testbench\Bootstrap\LoadConfiguration
andOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench
to allow being extended by Testbench Dusk. - Refactor
Orchestra\Testbench\Console\Commander
.
- Refactor
- Add multiple environment variables to Laravel 10 skeleton's configuration files based on changes made for Laravel 11.
- Add
$tty
parameter toOrchestra\Testbench\remote()
function. - Refactor
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
class and mark it as@api
. - Add
$backupExistingFile
and$resetOnTerminating
parameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles
trait:copyTestbenchConfigurationFile()
copyTestbenchDotEnvFile()
Deprecated
- Deprecate
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole
trait, useOrchestra\Testbench\Foundation\Console\TerminatingConsole
class instead.
v7.48.0
Changes
- Update minimum support for Testbench Core v7.49.0+. (v7.48.0...v7.49.0)
Testbench Changes
Added
- Added ability to detect Workbench namespace via
Orchestra\Testbench\Workbench\Workbench::detectNamespace()
method. - Added ability to detect the default user model via
Orchestra\Testbench\Workbench\Workbench::applicationUserModel()
method. - Added support for authentication routes within Workbench by configurating
workbench.auth
config totrue
. - Added new
package:sync-skeleton
command.
Changes
- Testbench Dusk integration improvements:
- Refactor
Orchestra\Testbench\Bootstrap\LoadConfiguration
andOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench
to allow being extended by Testbench Dusk. - Refactor
Orchestra\Testbench\Console\Commander
.
- Refactor
- Add multiple environment variables to Laravel 9 skeleton's configuration files based on changes made for Laravel 11.
- Add
$tty
parameter toOrchestra\Testbench\remote()
function. - Refactor
Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
class and mark it as@api
. - Add
$backupExistingFile
and$resetOnTerminating
parameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles
trait:copyTestbenchConfigurationFile()
copyTestbenchDotEnvFile()
Deprecated
- Deprecate
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole
trait, useOrchestra\Testbench\Foundation\Console\TerminatingConsole
class instead.
v9.6.1
Changes
- Update minimum support for Testbench Core v9.6.2+. (v9.6.0...v9.6.2)
Testbench Changes
Fixes
- Fixes
route:cache
whenhealth: true
configured usingtestbench.yaml
. - Fixes compatibility with Laravel Framework v11.33.0.
v9.6.0
Changes
- Update minimum support for Testbench Core v9.6.0+. (v9.5.3...v9.6.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink
class. - Added
Orchestra\Testbench\Concerns\InteractsWithMockery
trait. - Added
--database
option topackage:create-sqlite-db
command. - Added
--database
and--all
options topackage:drop-sqlite-db
command. - Added
Orchestra\Testbench\php_binary()
function. - Allows
laravel/serializable-closure
2. - Added draft support for PHP 8.4.
Changes
- Ensure database directory exists when running
package:create-sqlite-db
. - Allow configuring
PHP_CLI_SERVER_WORKERS
via Composer Script. - Improves
CTRL+C
andCTRL+BREAK
supports on Windows withoutpcntl
extension. Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
should be able to handle$from
and$to
when given asfalse
ornull
.
Fixed
- Fixed
#[WithMigration('queue')]
should load the default migrations.
v8.28.0
Changes
- Update minimum support for Testbench Core v8.29.0+. (v8.28.3...v8.29.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink
class. - Added
Orchestra\Testbench\Concerns\InteractsWithMockery
trait. - Added
--database
option topackage:create-sqlite-db
command. - Added
--database
and--all
options topackage:drop-sqlite-db
command. - Added
Orchestra\Testbench\php_binary()
function. - Allows
laravel/serializable-closure
2.
Changes
- Change
resolveApplicationResolvingCallback()
method visibility fromprivate
toprotected
. - Ensure database directory exists when running
package:create-sqlite-db
. - Allow configuring
PHP_CLI_SERVER_WORKERS
via Composer Script. - Improves
CTRL+C
andCTRL+BREAK
supports on Windows withoutpcntl
extension. Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
should be able to handle$from
and$to
when given asfalse
ornull
.
v7.47.0
Changes
- Update minimum support for Testbench Core v7.48.0+. (v7.47.2...v7.48.0)
Testbench Changes
Added
- Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink
class. - Added
Orchestra\Testbench\Concerns\InteractsWithMockery
trait. - Added
--database
option topackage:create-sqlite-db
command. - Added
--database
and--all
options topackage:drop-sqlite-db
command. - Added
Orchestra\Testbench\php_binary()
function. - Added support for PHP 8.3.
Changes
- Change
resolveApplicationResolvingCallback()
method visibility fromprivate
toprotected
. - Ensure database directory exists when running
package:create-sqlite-db
. - Allow configuring
PHP_CLI_SERVER_WORKERS
via Composer Script. - Improves
CTRL+C
andCTRL+BREAK
supports on Windows withoutpcntl
extension. Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
should be able to handle$from
and$to
when given asfalse
ornull
.
v9.5.2
Changes
- Update minimum support for Testbench Core v9.5.3+. (v9.5.2...v9.5.3)
Testbench Changes
Fixes
- Prevent seeder from being executed when
shouldSeed()
exists and returnfalse
.
v8.27.2
Changes
- Update minimum support for Testbench Core v8.28.3+. (v8.28.2...v8.28.3)
Testbench Changes
Fixes
- Prevent seeder from being executed when
shouldSeed()
exists and returnfalse
.
v7.46.2
Changes
- Update minimum support for Testbench Core v7.47.2+. (v7.47.1...v7.47.2)
Testbench Changes
Fixes
- Prevent seeder from being executed when
shouldSeed()
exists and returnfalse
.