-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency orchestra/testbench to v8.31.0 #257
base: master
Are you sure you want to change the base?
Conversation
56dcc87
to
1defe8b
Compare
4e34673
to
fe54439
Compare
fe54439
to
919934f
Compare
919934f
to
e753b8e
Compare
e753b8e
to
8320bcd
Compare
8320bcd
to
eac8324
Compare
eac8324
to
7ce24fc
Compare
f2e45ff
to
0d3d6c4
Compare
0d3d6c4
to
a045139
Compare
a045139
to
6add115
Compare
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: composer.lock
|
|
This PR contains the following updates:
8.10.2
->8.31.0
Release Notes
orchestral/testbench (orchestra/testbench)
v8.31.0
Compare Source
Changes
Testbench Changes
Added
Changes
Orchestra\Testbench\Workbench\Workbench::flushCachedClassAndNamespaces()
to flush cached namespaces and classes during installation.realpath()
onvendor:publish
output.v8.30.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\transform_realpath_to_relative()
function.vendor:publish
command.Changes
$force
parameter toOrchestra\Testbench\Workbench\Workbench::detectNamespace()
method.v8.29.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Workbench\Workbench::detectNamespace()
method.Orchestra\Testbench\Workbench\Workbench::applicationUserModel()
method.workbench.auth
config totrue
.package:sync-skeleton
command.Changes
Orchestra\Testbench\Bootstrap\LoadConfiguration
andOrchestra\Testbench\Bootstrap\LoadConfigurationWithWorkbench
to allow being extended by Testbench Dusk.Orchestra\Testbench\Console\Commander
.$tty
parameter toOrchestra\Testbench\remote()
function.Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink
class and mark it as@api
.$backupExistingFile
and$resetOnTerminating
parameter to following methods inOrchestra\Testbench\Foundation\Console\Concerns\CopyTestbenchFiles
trait:copyTestbenchConfigurationFile()
copyTestbenchDotEnvFile()
Deprecated
Orchestra\Testbench\Foundation\Console\Concerns\HandleTerminatingConsole
trait, useOrchestra\Testbench\Foundation\Console\TerminatingConsole
class instead.v8.28.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Foundation\Bootstrap\DeleteVendorSymlink
class.Orchestra\Testbench\Concerns\InteractsWithMockery
trait.--database
option topackage:create-sqlite-db
command.--database
and--all
options topackage:drop-sqlite-db
command.Orchestra\Testbench\php_binary()
function.laravel/serializable-closure
2.Changes
resolveApplicationResolvingCallback()
method visibility fromprivate
toprotected
.package:create-sqlite-db
.PHP_CLI_SERVER_WORKERS
via Composer Script.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
.v8.27.2
Compare Source
Changes
Testbench Changes
Fixes
shouldSeed()
exists and returnfalse
.v8.27.1
Compare Source
Changes
Testbench Changes
Changes
SIGHUP
,SIGUSR1
, andSIGUSR2
signals via Testbench CLI.Fixes
serve
command to reset published.env
andtestbench.yaml
.v8.27.0
Compare Source
Changes
Testbench Changes
Added
markTestSkippedWhen()
andmarkTestSkippedUnless()
assertion helper to conditionally handlemarkTestSkipped()
.Orchestra\Testbench\default_migration_path()
helper function.Orchestra\Testbench\laravel_vendor_exists()
helper function.Changes
vendor
symlink directory if it was created while running tests.Fixes
view.paths
configuration not being updated to includeworkbench/resources/views
due to IoC booting sequence.Deprecated
Orchestra\Testbench\laravel_migration_path()
, usedefault_migration_path()
instead.New Contributors
v8.26.0
Compare Source
Changes
Testbench Changes
Added
artisan
binary to Laravel skeleton.Orchestra\Testbench\join_paths()
function.Orchestra\Testbench\Attributes\UsesVendor
attribute class.defineStashRoutes()
method to register adhoc route for test.Changes
Orchestra\Testbench\default_skeleton_path()
,Orchestra\Testbench\package_path()
, andOrchestra\Testbench\workbench_path()
usage based on newOrchestra\Testbench\join_paths()
function.v8.25.0
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile
to remove.gitkeep
file when directory contain one or more files.Fixes
InteractsWithPublishedFiles
should only flush published files withindatabase/migrations
directory.v8.24.0
Compare Source
Changes
Testbench Changes
Added
Orchestra\Testbench\Attributes\ResolvesLaravel
Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
factories
using Workbench to mapWorkbench\App\Models
toWorkbench\Database\Factories
classes.workbench/app/Console/Commands
.Changes
JsonSerializable
toOrchestra\Testbench\Foundation\UndefinedValue
.workbench
as default environment value.Orchestra\Testbench\Attributes\Define
andOrchestra\Testbench\Attributes\DefineEnvironment
to be used on the class level by @danjohnson95Fixes
usesTestingFeature()
attribute registration is loaded before class attributes instead of method attributes.v8.23.2
Compare Source
Changes
Testbench Changes
Fixes
Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler()
usage to detectWorkbench\App\Exceptions\Handler
class.v8.23.1
Compare Source
Changes
Testbench Changes
Changes
Orchestra\Testbench\package_path()
function instead ofTESTBENCH_WORKING_PATH
constant.Fixes
Orchestra\Testbench\Attributes\RequiresLaravel
attribute usage.v8.23.0
Compare Source
Changes
Testbench Changes
Changes
TESTBENCH_WORKING_PATH
from environment variable before fallback togetcwd()
.Fixes
v8.22.3
Compare Source
Changes
Testbench Changes
Fixes
Changes
Orchestra\Testbench\remote
to accept$env
with eitherarray
orstring
.TESTBENCH_PACKAGE_REMOTE=true
when running command usingOrchestra\Testbench\remote
.workbench
environment variable when Testbench CLI is used outside of testing.Fixes
serve
command.runningInUnitTests()
returningtrue
when not running tests via Testbench CLI.v8.22.2
Compare Source
Changes
Testbench Changes
Fixes
RefreshDatabase
to be executed ontearDown()
only limited when ad-hoc migrations was added during test.v8.22.1
Compare Source
Changes
Testbench Changes
Changes
ResetRefreshDatabaseState
viatearDownTheTestEnvironmentUsingTestCase()
method.RefreshDatabaseState::$migrated
andRefreshDatabaseState::$lazilyRefreshed
before loading migration paths to the instance ofmigrator
.Fixes
beforeApplicationDestroyed()
usage onloadLaravelMigrations()
method.RefreshDatabase
usage does not reset the database migrations between tests.class_implements(): Class AllowDynamicProperties does not exist and could not be loaded
error on PHP 8.1 and lower.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
.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.