chore(deps): update dependency orchestra/testbench to v9 - autoclosed #197
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^8.5
->^9.0
Release Notes
orchestral/testbench (orchestra/testbench)
v9.0.0
Compare Source
Added
Changes
Deprecated
Orchestra\Testbench\Concerns\HandlesAnnotations
in line with PHPUnit removal support for meta-comment support using annotation.Removed
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.create-sqlite-db
anddrop-sqlite-db
standalone commands.v8.22.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresLaravel
attribute.Orchestra\Testbench\Foundation\Env::has()
method.Orchestra\Testbench\load_migration_paths()
function.Orchestra\Testbench\once()
function.usesRefreshDatabaseTestingConcern()
helper method toOrchestra\Testbench\Concerns\InteractsWithTestCase
trait.Changes
MYSQL_*
,MSSQL_*
,SQLITE_*
andPOSTGRES_*
environment variables before trying to override the configuration values.$command
toOrchestra\Testbench\remote()
function usingarray
instead of juststring
.Orchestra\Testbench\default_skeleton_path()
Orchestra\Testbench\package_path()
Orchestra\Testbench\workbench_path()
Fixes
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute declaration to onlyAttribute::TARGET_CLASS
.v8.21.1
Compare Source
Changes
Testbench Changes
Changes
Fixes
$router->getRoutes()->refreshActionLookups()
caused tests to fail.v8.21.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\WithImmutableDates
attribute to forceIlluminate\Support\Date
to useCarbon\CarbonImmutable
.Orchestra\Testbench\default_skeleton_path
Orchestra\Testbench\refresh_router_lookups
v8.20.0
Compare Source
Changes
laravel/framework
to10.40.0
.Testbench Changes
Added
Orchestra\Testbench\Bootstrap\HandleExceptions::forgetApp()
for PHPUnit 10.Changes
route:cache
usingOrchestra\Testbench\remote
function.setUpTheTestEnvironmentTraitToBeIgnored
method:Orchestra\Testbench\Concerns\InteractsWithPest
Orchestra\Testbench\Concerns\InteractsWithTestCase
v8.19.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Features\TestingFeature
as replacement toHandlesTestingFeature
trait.LOG_DEPRECATIONS_WHILE_TESTING
(default totrue
) environment variables.Orchestra\Testbench\Contracts\Attributes\AfterAll
Orchestra\Testbench\Contracts\Attributes\AfterEach
Orchestra\Testbench\Contracts\Attributes\BeforeAll
Orchestra\Testbench\Contracts\Attributes\BeforeEach
Changes
laravel/framework
to10.39.0
.Orchestra\Testbench\Concerns\InteractsWithPHPUnit
.Illuminate\Filesystem\join_paths
function.Deprecated
Orchestra\Testbench\Concerns\HandlesTestingFeature
trait.v8.18.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\RequiresEnv
attribute to force an environment variables to be required for the test.Orchestra\Testbench\Attributes\WithConfig
attribute add a configuration value for the test.Orchestra\Testbench\Attributes\WithEnv
attribute add an environment variable value for the test.set()
andforget()
methods toOrchestra\Testbench\Foundation\Env
.orchestra/pest-plugin-testbench
.v8.17.0
Compare Source
Changes
Testbench Changes
Added
discovers.components
configuration.Changes
view.paths
configuration when Workbench discover views.v8.16.0
Compare Source
Changes
Added
Orchestra\Testbench\Attributes\ResetRefreshDatabaseState
attribute to force refreshing database before executing the test.Orchestra\Testbench\Foundation\Bootstrap\SyncDatabaseEnvironmentVariables
bootstrap class and allow database collation to be configurable via environment variables usingMYSQL_COLLATION
,POSTGRES_COLLATION
andMSSQL_COLLATION
.encode()
method toOrchestra\Testbench\Foundation\Env
class.Changes
defer
when usingOrchestra\Testbench\Attributes\DefineDatabase
.#[Override]
attribute to relevant methods, this requiresymfony/polyfill-php83
as backward compatibility for PHP 8.1 and 8.2.$setupHasRun
property toOrchestra\Testbench\Concerns\ApplicationTestingHooks
.Fixes
Deprecated
Orchestra\Testbench\Concerns\Database\HandlesConnections
trait.v8.15.0
Compare Source
Changes
Testbench Changes
Added
laravel
,cache
,notifications
,queue
andsession
database migrations usingOrchestra\Testbench\Attributes\WithMigration
.Orchestra\Testbench\defined_environment_variables()
function.Orchestra\Testbench\laravel_migration_path()
function.Orchestra\Testbench\remote()
function.Changes
@api
:Orchestra\Testbench\Foundation\Application
Orchestra\Testbench\Foundation\Config
Orchestra\Testbench\Foundation\Env
Orchestra\Testbench\PHPUnit\AttributeParser
.v8.14.1
Compare Source
Changes
v8.14.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench
to handle integrations with Workbench.Orchestra\Testbench\Foundation\Config::getWorkbenchDiscoversAttributes()
method.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait.Orchestra\Testbench\Foundation\Application
:make()
makeFromConfig()
createFromConfig()
@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
Orchestra\Testbench\package_path()
andOrchestra\Testbench\workbench_path()
.Deprecated
Orchestra\Testbench\Concerns\WithFactories
.Removed
Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench
, useOrchestra\Testbench\Workbench\Workbench::start()
orOrchestra\Testbench\Workbench\Workbench::startWithProviders()
instead.v8.13.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables
class as@internal
.v8.12.3
Compare Source
Changes
v8.12.2
Compare Source
Changes
10.26
.v8.12.1
Compare Source
Changes
10.25
.v8.12.0
Compare Source
Changes
Testbench Changes
Added Added
cachedConfigurationForWorkbench()
toOrchestra\Testbench\Concern\InteractsWithWorkbench
trait.TESTBENCH_WORKING_PATH
from environment variables for Testbench Dusk usage.discovers
configuration.usesSqliteInMemoryDatabaseConnection
toOrchestra\Testbench\Concerns\HandlesDatabases
trait.v8.11.1
Compare Source
Changes
10.24
.v8.11.0
Compare Source
Changes
10.23.1
.Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:assertMigrationFileExists
.assertMigrationFileNotExists
.Changes
Orchestra\Testbench\Concerns\InteractsWithPublishedFiles
trait:cleanUpFiles
tocleanUpPublishedFiles
.cleanUpMigrationFiles
tocleanUpPublishedMigrationFiles
.getMigrationFile
tofindFirstPublishedMigrationFile
.v8.10.2
Compare Source
Changes
10.23
.v8.10.1
Compare Source
Changes
10.22
.v8.10.0
Compare Source
Changes
10.21
.Testbench Changes
Added
Orchestra\Testbench\Concerns\WithLaravelMigrations
.Orchestra\Testbench\Foundation\Console\Actions\DeleteFiles
Orchestra\Testbench\Foundation\Console\Actions\DeleteDirectories
Orchestra\Testbench\Foundation\Console\Actions\EnsureDirectoryExists
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
v8.9.1
Compare Source
Changes
10.20
.Testbench Changes
Changes
$model
property override when extendingOrchestra\Testbench\Factories\UserFactory
.v8.9.0
Compare Source
Changes
Testbench Changes
Added
workbench.welcome
configuration option.Changes
testbench.yaml
configuration fallback similar to.env
.Illuminate\Support\LazyCollection
.Orchestra\Workbench\WorkbenchServiceProvider
when applyingOrchestra\Testbench\Concerns\WithWorkbench
.v8.8.3
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Concerns\WithWorkbench
.v8.8.2
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Console\DevToolCommand
for integration compatibility.Changes
serve
command under Composer's script.Removed
Orchestra\Testbench\Workbench
classes and functionality is now provided fromorchestra/workbench
.v8.8.1
Compare Source
Changes
10.19
.v8.8.0
Compare Source
Changes
Testbench Changes
Added
package:purge-skeleton
command.Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile
trait.Orchestra\Testbench\package_path()
function.orchestra/workbench
.Changes
Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench
toOrchestra\Testbench\Foundation\Bootstrap\StartWorkbench
.Fixes
serve
command usage.v8.7.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Events\ServeCommandStarted
Orchestra\Testbench\Foundation\Events\ServeCommandEnded
Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted
Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded
Changes
HandlesRoutes
loading sequence to match common Laravel bootstrap steps.HandlesAnnotations
andInteractsWithPHPUnit
traits.workbench
configuration schema.Fixes
Illuminate\Foundation\Application::runningUnitTests()
detection.v8.6.3
Compare Source
Changes
Testbench Changes
Fixes
app()->environment()
detection when creating applicationOrchestra\Testbench\Concerns\CreatesApplication
outside ofPHPUnit
.Undefined array key "autoload-dev"
when executingworkbench:install
command.v8.6.2
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Concerns\InteractsWithPHPUnit
to handleCreatesApplication
within PHPUnit.Fixes
workbench.start
path when accessing the/
route return 404.TESTBENCH_APP_BASE_PATH
environment variable only when running under tests.v8.6.1
Compare Source
Changes
10.18
.v8.6.0
Compare Source
Changes
Testbench Changes
Added
/_workbench
prefix.migrate:fresh
andmigrate:refresh
Orchestra\Testbench\Contracts\Config
to IoC Container and introduce the newOrchestra\Testbench\workbench
andOrchestra\Testbench\workbench_path
helper function.workbench:install
,workbench:create-sqlite-db
andworkbench:drop-sqlite-db
commands.Orchestra\Testbench\Concerns\WithWorkbench
to automatically loads configuration fromtestbench.yaml
when running tests.Changes
laravel/framework
to10.17.0
.Deprecated
package:devtool
,package:create-sqlite-db
andpackage:drop-sqlite-db
commands.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.