Skip to content
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 dev dependencies (major) #117

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 30, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
orchestra/testbench (source) ^6.19 -> ^8.0 age adoption passing confidence
phpunit/phpcov ^8.2 -> ^9.0 age adoption passing confidence
phpunit/phpunit (source) ^9.5 -> ^10.0 age adoption passing confidence

Release Notes

orchestral/testbench (orchestra/testbench)

v8.15.0

Compare Source

Changes
Testbench Changes
Added
  • Added new PHPUnit Attribute to run the default laravel, cache, notifications, queue and session database migrations using Orchestra\Testbench\Attributes\WithMigration.
  • Added Orchestra\Testbench\defined_environment_variables() function.
  • Added Orchestra\Testbench\laravel_migration_path() function.
  • Added Orchestra\Testbench\remote() function.
Changes
  • 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.

v8.14.1

Compare Source

Changes
  • Update minimum support for Testbench Core v8.14.4+. (v8.14.0...v8.14.4)
  • Add support for Workbench 8.0+.

v8.14.0

Compare Source

Changes
  • Update minimum support for Testbench Core v8.14.0+. (v8.13.0...v8.14.0)
  • Add support for Workbench 1.0+.
Testbench Changes
Added
  • 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 with Orchestra\Testbench\Attributes\DefineEnvironment.
    • @define-db will be replaced with Orchestra\Testbench\Attributes\DefineDatabase.
    • @define-route will be replaced with Orchestra\Testbench\Attributes\DefineRoute.
Fixes
  • Fixes generating path using Orchestra\Testbench\package_path() and Orchestra\Testbench\workbench_path().
Deprecated
  • Deprecate Orchestra\Testbench\Concerns\WithFactories.
Removed
  • Remove Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench, use Orchestra\Testbench\Workbench\Workbench::start() or Orchestra\Testbench\Workbench\Workbench::startWithProviders() instead.

v8.13.0

Compare Source

Changes
Testbench Changes
Changes
  • Code refactors.
  • Mark Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables class as @internal.

v8.12.3

Compare Source

Changes
  • Add support for Workbench 0.5.0+.

v8.12.2

Compare Source

Changes
  • Support Laravel Framework 10.26.

v8.12.1

Compare Source

Changes
  • Support Laravel Framework 10.25.

v8.12.0

Compare Source

Changes
  • Update minimum support for Testbench Core v8.12.0+. (v8.11.1...v8.12.0)
  • Update minimum support for Workbench 0.4.0+.
Testbench Changes
Added Added
  • Added cachedConfigurationForWorkbench() to Orchestra\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 to Orchestra\Testbench\Concerns\HandlesDatabases trait.

v8.11.1

Compare Source

Changes
  • Support Laravel Framework 10.24.
  • Update minimum support for Testbench Core v8.11.1+. (v8.11.0...v8.11.1)

v8.11.0

Compare Source

Changes
  • Update minimum support for Laravel Framework 10.23.1.
  • Update minimum support for Testbench Core v8.11.0+. (v8.10.0...v8.11.0)
  • Update minimum support for Workbench 0.3.0+.
Testbench Changes
Added
  • Added methods to Orchestra\Testbench\Concerns\InteractsWithPublishedFiles trait:
    • assertMigrationFileExists.
    • assertMigrationFileNotExists.
Changes
  • Rename methods in Orchestra\Testbench\Concerns\InteractsWithPublishedFiles trait:
    • cleanUpFiles to cleanUpPublishedFiles.
    • cleanUpMigrationFiles to cleanUpPublishedMigrationFiles.
    • getMigrationFile to findFirstPublishedMigrationFile.

v8.10.2

Compare Source

Changes
  • Support Laravel Framework 10.23.

v8.10.1

Compare Source

Changes
  • Support Laravel Framework 10.22.

v8.10.0

Compare Source

Changes
  • Support Laravel Framework 10.21.
  • Update minimum support for Testbench Core v8.10.0+. (v8.9.1...v8.10.0)
Testbench Changes
Added
  • 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

v8.9.1

Compare Source

Changes
  • Support Laravel Framework 10.20.
  • Update minimum support for Testbench Core v8.9.1+. (v8.9.0...v8.9.1)
Testbench Changes
Changes
  • Allow using $model property override when extending Orchestra\Testbench\Factories\UserFactory.

v8.9.0

Compare Source

Changes
Testbench Changes
Added
  • Added new workbench.welcome configuration option.
Changes
  • Allow testbench.yaml configuration fallback similar to .env.
  • Utilise Illuminate\Support\LazyCollection.
  • Skip loading Orchestra\Workbench\WorkbenchServiceProvider when applying Orchestra\Testbench\Concerns\WithWorkbench.

v8.8.3

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes configuration leak when running some TestCase without Orchestra\Testbench\Concerns\WithWorkbench.

v8.8.2

Compare Source

Changes
Testbench Changes
Added
  • Readd deprecated Orchestra\Testbench\Foundation\Console\DevToolCommand for integration compatibility.
Changes
  • Disable Composer default timeout when using serve command under Composer's script.
Removed
  • Remove Orchestra\Testbench\Workbench classes and functionality is now provided from orchestra/workbench.

v8.8.1

Compare Source

Changes
  • Support Laravel Framework 10.19.

v8.8.0

Compare Source

Changes
Testbench Changes
Added
  • Added package:purge-skeleton command.
  • Added Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile trait.
  • Added Orchestra\Testbench\package_path() function.
  • Added support for orchestra/workbench.
Changes
  • Rename Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench to Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench.
Fixes
  • Fixes serve command usage.
  • Fixes class namespace.

v8.7.0

Compare Source

Changes
Testbench Changes
Added
  • Added following events:
    • Orchestra\Testbench\Foundation\Events\ServeCommandStarted
    • Orchestra\Testbench\Foundation\Events\ServeCommandEnded
    • Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted
    • Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded
Changes
  • Change HandlesRoutes loading sequence to match common Laravel bootstrap steps.
  • Refactor HandlesAnnotations and InteractsWithPHPUnit traits.
  • Workbench integration improvements.
  • Update workbench configuration schema.
Fixes
  • Fixes Illuminate\Foundation\Application::runningUnitTests() detection.

v8.6.3

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes app()->environment() detection when creating application Orchestra\Testbench\Concerns\CreatesApplication outside of PHPUnit.
  • Fixes error Undefined array key "autoload-dev" when executing workbench:install command.

v8.6.2

Compare Source

Changes
Testbench Changes
Added
  • Add new Orchestra\Testbench\Concerns\InteractsWithPHPUnit to handle CreatesApplication within PHPUnit.
Fixes
  • Fixes workbench.start path when accessing the / route return 404.
  • Only Configure TESTBENCH_APP_BASE_PATH environment variable only when running under tests.

v8.6.1

Compare Source

Changes
  • Support Laravel Framework 10.18.

v8.6.0

Compare Source

Changes
Testbench Changes
Added
  • Added new Workbench support (experimental feature).
    • Register routes under /_workbench prefix.
    • Automatically run configured seeds when executing migrate:fresh and migrate:refresh
    • Bind Orchestra\Testbench\Contracts\Config to IoC Container and introduce the new Orchestra\Testbench\workbench and Orchestra\Testbench\workbench_path helper function.
    • Add workbench:install, workbench:create-sqlite-db and workbench:drop-sqlite-db commands.
  • Add new Orchestra\Testbench\Concerns\WithWorkbench to automatically loads configuration from testbench.yaml when running tests.
Changes
  • Bump minimum laravel/framework to 10.17.0.
Deprecated
  • Deprecated package:devtool, package:create-sqlite-db and package:drop-sqlite-db commands.

v8.5.12

Compare Source

Changes
  • Support Laravel Framework 10.17.

v8.5.11

Compare Source

Changes
  • Support Laravel Framework 10.16.

v8.5.10

Compare Source

Changes
  • Support Laravel Framework 10.15.

v8.5.9

Compare Source

Changes
  • Bump minimum laravel/framework to 10.14.0.

v8.5.8

Compare Source

Changes
  • Suspense support for Laravel Framework 10.14.

v8.5.7

Compare Source

Changes
  • Bump minimum laravel/framework to 10.13.5.
  • Update minimum support for Testbench Core v8.5.7+. (v8.5.6...v8.5.7)

v8.5.6

Compare Source

Changes
  • Support Laravel Framework 10.14.
  • Bump minimum laravel/framework to 10.10.0.
  • Update minimum support for Testbench Core v8.5.6+. (v8.5.0...v8.5.6)

v8.5.5

Compare Source

Changes
  • Support Laravel Framework 10.13.

v8.5.4

Compare Source

Changes
  • Support Laravel Framework 10.12.

v8.5.3

Compare Source

Changes
  • Support Laravel Framework 10.11.

v8.5.2

Compare Source

Changes
  • Support Laravel Framework 10.10.

v8.5.1

Compare Source

Changes
  • Support Laravel Framework 10.9.

v8.5.0

Compare Source

Changes
  • Bump minimum laravel/framework to 10.8.0.
  • Update minimum support for Testbench Core v8.5.0+. (v8.4.2...v8.5.0)
Testbench Changes
Added
  • Added Orchestra\Testbench\after_resolving helper function.
Changes
  • Update skeleton to match v10.1.0.
  • Bump minimum laravel/framework to 10.8.0.

v8.4.0

Compare Source

Changes
  • Support PHPUnit 10.1.
  • Update minimum support for Testbench Core v8.4.2+. (v8.4.0...v8.4.2)
Testbench Changes
Changes
  • Update skeleton to match v10.0.6.
  • Avoid declaring Orchestra\Testbench\Concerns\Testing::setUpTheTestEnvironmentTraitToBeIgnored() as abstract method.

v8.3.1

Compare Source

Changes
  • Support Laravel Framework 10.7.

v8.3.0

Compare Source

Changes
Testbench Changes
Changes
  • Add setUpTheTestEnvironmentTraitToBeIgnored() method to determine setup<Concern> and teardown<Concern> with imported traits should be use on given trait.
  • Bump minimum laravel/framework to 10.6.1.

v8.2.2

Compare Source

Changes
  • Support Laravel Framework 10.6.

v8.2.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes Orchestra\Testbench\Foundation\Config::addProviders() usage.
  • Fixes Orchestra\Testbench\transform_relative_path() logic.

v8.2.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray class to handle loading migrations from testbench.yaml.
    • You can now disable loading default migrations using either migrations: false in testbench.yaml or adding TESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true) environment variable.
  • 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.
Changes
  • env configuration from testbench.yaml with have higher priority than default_environment_variables().
  • Disable Dotenv\Repository\Adapter\PutenvAdapter when generating environment variable on the fly using Orchestra\Testbench\Foundation\Application.
Fixes
  • 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.

v8.1.1

Compare Source

Changes
  • Support Laravel Framework 10.5.

v8.1.0

Compare Source

Changes
Testbench Changes
Added
  • Add supports for setup<Concern> and teardown<Concern> with imported traits.
Changes
  • Move PHPUnit 9 support to legacy:
    • Recommend using PHPUnit 10 whenever possible.
    • Remove deprecation handling support for PHPUnit 9.
    • Only recommend using package:test and --parallel with PHPUnit 10.

Warning: Breaking change is possible if your package contains any traits with setup<TraitClassName> or teardown<TraitClassName>

This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.

v8.0.11

Compare Source

Fixes
  • Avoid database connection from eager loaded via spatie/laravel-ray.

v8.0.10

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.4.1.

v8.0.9

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.4.0.
  • Support for Testbench Core to v8.1.0.

v8.0.8

Compare Source

Changes
  • Update minimum support for Testbench Core v8.0.5+. (v8.0.4...v8.0.5)
  • Update minimum support for Laravel Framework to v10.3.3.

v8.0.7

Compare Source

Changes
  • Update minimum support for Testbench Core v8.0.4+. (v8.0.2...v8.0.4)
  • Update minimum support for Laravel Framework to v10.3.1.

v8.0.6

Compare Source

Changes
  • Support Laravel Framework 10.3.

v8.0.5

Compare Source

Changes
  • Support Laravel Framework 10.2.

v8.0.4

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.1.5.

v8.0.3

Compare Source

Changes
  • Update minimum support for Laravel Framework to v10.1.4.

v8.0.2

Compare Source

Changes
  • Update minimum support for Testbench Core v8.0.2+. (v8.0.1...v8.0.2)
  • Support Laravel Framework 10.1.
Testbench Changes
Fixes
  • Fixes app.asset_url config default value from '/' to null.

v8.0.1

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 10.0.3.
  • Use available $_composer_autoload_path from composer-runtime-api.

v8.0.0

Compare Source

8.0.0

Released: 2023-02-14

Added
  • Added support for PHPUnit 10.
Changes
  • Update support for Laravel Framework v10.
  • Increase minimum PHP version to 8.1 and above (tested with 8.1 and 8.2).

v7.35.0

Compare Source

Changes
Testbench Changes
Added
  • Added new PHPUnit Attribute to run the default laravel, cache, notifications, queue and session database migrations using Orchestra\Testbench\Attributes\WithMigration.
  • Added Orchestra\Testbench\defined_environment_variables() function.
  • Added Orchestra\Testbench\laravel_migration_path() function.
  • Added Orchestra\Testbench\remote() function.
Changes
  • 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.

v7.34.1

Compare Source

Changes
  • Add support for Workbench 7.0+.

v7.34.0

Compare Source

Changes
  • Update minimum support for Testbench Core v7.34.0+. (v7.33.0...v7.34.0)
  • Add support for Workbench 1.0+.
Testbench Changes
Added
  • 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 with Orchestra\Testbench\Attributes\DefineEnvironment.
    • @define-db will be replaced with Orchestra\Testbench\Attributes\DefineDatabase.
    • @define-route will be replaced with Orchestra\Testbench\Attributes\DefineRoute.
Fixes
  • Fixes generating path using Orchestra\Testbench\package_path() and Orchestra\Testbench\workbench_path().
Deprecated
  • Deprecate Orchestra\Testbench\Concerns\WithFactories.
Removed
  • Remove Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench, use Orchestra\Testbench\Workbench\Workbench::start() or Orchestra\Testbench\Workbench\Workbench::startWithProviders() instead.

v7.33.0

Compare Source

Changes
  • Update minimum support for Testbench Core v7.33.0+. (v7.32.0...v7.33.0)
  • Add support for Workbench 0.5.0+.
Testbench Changes
Changes
  • Code refactors.
  • Mark Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables class as @internal.

v7.32.0

Compare Source

Changes
  • Update minimum support for Testbench Core v7.32.0+. (v7.31.0...v7.32.0)
  • Update minimum support for Workbench 0.4.0+.
Testbench Changes
Added Added
  • Added cachedConfigurationForWorkbench() to Orchestra\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 to Orchestra\Testbench\Concerns\HandlesDatabases trait.

v7.31.0

Compare Source

Changes
  • Update minimum support for Testbench Core v7.31.0+. (v7.30.0...v7.31.0)
  • Update minimum support for Workbench 0.3.0+.
Testbench Changes
Added
  • Added methods to Orchestra\Testbench\Concerns\InteractsWithPublishedFiles trait:
    • assertMigrationFileExists.
    • assertMigrationFileNotExists.
Changes
  • Allow passing wildcard filenames to Orchestra\Testbench\Concerns\InteractsWithPublishedFiles::$files property.
  • Allow using custom directory on assertMigrationFileContains and assertMigrationFileNotContains from Orchestra\Testbench\Concerns\InteractsWithPublishedFiles trait.
  • Rename methods in Orchestra\Testbench\Concerns\InteractsWithPublishedFiles trait:
    • cleanUpFiles to cleanUpPublishedFiles.
    • cleanUpMigrationFiles to cleanUpPublishedMigrationFiles.
    • getMigrationFile to findFirstPublishedMigrationFile.

v7.30.0

Compare Source

Changes
Testbench Changes
Added
  • 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

v7.29.1

Compare Source

Changes
Testbench Changes
Changes
  • Allow using $model property override when extending Orchestra\Testbench\Factories\UserFactory.

v7.29.0

Compare Source

Changes
Testbench Changes
Added
  • Added new workbench.welcome configuration option.
Changes
  • Allow testbench.yaml configuration fallback similar to .env.
  • Utilise Illuminate\Support\LazyCollection.
  • Skip loading Orchestra\Workbench\WorkbenchServiceProvider when applying Orchestra\Testbench\Concerns\WithWorkbench.

v7.28.2

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes configuration leak when running some TestCase without Orchestra\Testbench\Concerns\WithWorkbench.

v7.28.1

Compare Source

Changes
Testbench Changes
Added
  • Readd deprecated Orchestra\Testbench\Foundation\Console\DevToolCommand for integration compatibility.
Changes
  • Disable Composer default timeout when using serve command under Composer's script.

v7.28.0

Compare Source

Changes
Testbench Changes
Added
  • Added package:purge-skeleton command.
  • Added Orchestra\Testbench\Concerns\Database\InteractsWithSqliteDatabaseFile trait.
  • Added Orchestra\Testbench\package_path() function.
  • Added support for orchestra/workbench.
Changes
  • Rename Orchestra\Testbench\Workbench\Bootstrap\StartWorkbench to Orchestra\Testbench\Foundation\Bootstrap\StartWorkbench.
Fixes
  • Fixes serve command usage.
  • Fixes class namespace.

v7.27.0

Compare Source

Changes
Testbench Changes
Added
  • Added following events:
    • Orchestra\Testbench\Foundation\Events\ServeCommandStarted
    • Orchestra\Testbench\Foundation\Events\ServeCommandEnded
    • Orchestra\Testbench\Workbench\Events\WorkbenchInstallStarted
    • Orchestra\Testbench\Workbench\Events\WorkbenchInstallEnded
Changes
  • Change HandlesRoutes loading sequence to match common Laravel bootstrap steps.
  • Refactor HandlesAnnotations and InteractsWithPHPUnit traits.
  • Workbench integration improvements.
  • Update workbench configuration schema.
Fixes
  • Fixes Illuminate\Foundation\Application::runningUnitTests() detection.

v7.26.2

Compare Source

Changes
  • Bump minimum laravel/framework to 9.52.15.
  • Update minimum support for Testbench Core v7.26.2+. (v7.26.1...v7.26.2)
Testbench Changes
Fixes
  • Fixes app()->environment() detection when creating application Orchestra\Testbench\Concerns\CreatesApplication outside of PHPUnit.
  • Fixes error Undefined array key "autoload-dev" when executing workbench:install command.

v7.26.1

Compare Source

Changes
Testbench Changes
Added
  • Add new Orchestra\Testbench\Concerns\InteractsWithPHPUnit to handle CreatesApplication within PHPUnit.
Fixes
  • Fixes workbench.start path when accessing the / route return 404.
  • Only Configure TESTBENCH_APP_BASE_PATH environment variable only when running under tests.

v7.26.0

Compare Source

Changes
Testbench Changes
Added
  • Added new Workbench support (experimental feature).
    • Register routes under /_workbench prefix.
    • Automatically run configured seeds when executing migrate:fresh and migrate:refresh
    • Bind Orchestra\Testbench\Contracts\Config to IoC Container and introduce the new Orchestra\Testbench\workbench and Orchestra\Testbench\workbench_path helper function.
    • Add workbench:install, workbench:create-sqlite-db and workbench:drop-sqlite-db commands.
  • Add new Orchestra\Testbench\Concerns\WithWorkbench to automatically loads configuration from testbench.yaml when running tests.
Deprecated
  • Deprecated package:devtool, package:create-sqlite-db and package:drop-sqlite-db commands.

v7.25.0

Compare Source

Changes
Testbench Changes
Added
  • Orchestra\Testbench\Bootstrap\LoadEnvironmentVariables to manage loading .env file during tests, backport from Testbench Core 8 releases.
Changes
  • Bump minimum laravel/framework to 9.52.9.
  • Automate registering tearDownInteractsWithPublishedFiles() from setUpInteractsWithPublishedFiles() method.

v7.24.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes Orchestra\Testbench\Foundation\Config::addProviders() usage.
  • Fixes Orchestra\Testbench\transform_relative_path() logic.

v7.24.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Bootstrap\LoadMigrationsFromArray class to handle loading migrations from testbench.yaml.
    • You can now disable loading default migrations using either migrations: false in testbench.yaml or adding TESTBENCH_WITHOUT_DEFAULT_MIGRATIONS=(true) environment variable.
  • 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.
Changes
  • env configuration from testbench.yaml with have higher priority than default_environment_variables().
  • Disable Dotenv\Repository\Adapter\PutenvAdapter when generating environment variable on the fly using Orchestra\Testbench\Foundation\Application.
Fixes
  • 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.

v7.23.0

Compare Source

Changes
Testbench Changes
Added
  • Add supports for setup<Concern> and teardown<Concern> with imported traits.

Warning: Breaking change is possible if your package contains any traits with setup<TraitClassName> or teardown<TraitClassName>

This version now will automatically run those methods during application bootstrap and terminate to be consistent with Laravel Framework implementations.

v7.22.2

Compare Source

Changes
Testbench Changes
Fixes
  • Avoid database connection from eager loaded via spatie/laravel-ray.

v7.22.1

Compare Source

Changes

v7.22.0

Compare Source

Changes
Testbench Changes
Changes
  • Improve package:test --parallel command usage.
  • Use $app->bootstrapPath() instead of $app->basePath('bootstrap') whenever possible.

v7.21.0

Compare Source

Changes
Testbench Changes
Added
  • Added support for Illuminate\Foundation\Testing\DatabaseTruncation.
Changes
  • Bump minimum laravel/framework to 9.50.2.

v7.20.0

Compare Source

Changes
Testbench Changes
Changes
  • Improves package:test commands.
  • Update skeleton to match v9.5.2.

v7.19.0

Compare Source

Changes
Testbench Changes
Added
  • Added Illuminate\Foundation\Testing\InteractsWithDeprecationHandling to Orchestra\Testbench\TestCase.

v7.18.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\laravel_version_compare function as alias to version_compare specifically for Laravel Framework.
  • Added Orchestra\Testbench\phpunit_version_compare function as alias to version_compare specifically for PHPUnit.
  • Added Orchestra\Testbench\Exceptions\PHPUnitErrorException class.
Changes
  • Mark Orchestra\Testbench\Bootstrap\ConfigureRay class as final.
  • Refactor Orchestra\Testbench\Concerns\HandlesAnnotations trait.

v7.17.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.45.0.
  • Update skeleton to match v9.4.1.

v7.16.0

Compare Source

Changes
Testbench Changes
Added
  • 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 to true.
    • Set deprecations log file to storage/logs/deprecations.log when LOG_DEPRECATIONS_CHANNEL=single.
Changes
  • Bump minimum laravel/framework to 9.44.0.

v7.15.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.41.0.

v7.14.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes serve command with no-reload options.

v7.14.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Exceptions\ApplicationNotAvailableException exception when trying to access $this->app outside of booted application.
  • Added tests/CreatesApplication.php to skeleton.
Changes
  • Update skeleton to match v9.3.11.

v7.13.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Bootstrap\ConfigureRay and use it when creating Application.

v7.12.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes where the default database connection as sqlite causes an exception when the database file isn't available. The loaded application should revert to testing database connection for the state.

v7.12.0

Compare Source

Changes
Testbench Changes
Added
  • Added support for about artisan command.
  • Added package:devtool to generate .env, testbench.yaml and database.sqlite file.
  • Added package:create-sqlite-db and package:drop-sqlite-db command.
  • Improves support for serve command.

v7.11.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Application::createVendorSymlink() method.
    • The feature uses Orchestra\Testbench\Foundation\Bootstrap\CreateVendorSymlink.
Changes
  • Bump minimum laravel/framework to 9.36.0
    • Forget View Component's cache and factory between tests.

v7.10.2

Compare Source

Changes
Testbench Changes
Fixes
  • Don't attempt to discover any packages on vendor symlink event.

v7.10.1

Compare Source

Changes
Testbench Changes
Fixes
  • Remove bootstrap/cache/packages.php on vendor symlink event.

v7.10.0

Compare Source

Changes
Testbench Changes
Added
  • Added Orchestra\Testbench\Foundation\Config to read Yaml file from testbench.yaml.

v7.9.0

Compare Source

Changes
Testbench Changes
Added
  • Added draft support for PHP 8.2.
Changes
  • Bump minimum laravel/framework to 9.34.0.
  • Bump minimum mockery/mockery to 1.5.1.
  • Bump minimum symfony dependencies to 6.0.9.

v7.8.1

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes missing Illuminate\Support\Arr import on HandlesTestFailures trait.

v7.8.0

Compare Source

Changes
Testbench Changes
Changes
  • Bump minimum laravel/framework to 9.32.0.
  • Improves PHPUnit memory leaks.

v7.7.1

Compare Source

Changes
Testbench Changes
Changes
  • Update skeleton to match v9.3.8.

v7.7.0

Compare Source

Changes
Testbench Changes
Added
  • Added loadLaravelMigrationsWithoutRollback() and runLaravelMigrationsWithoutRollback() helpers.
Changes
  • Update skeleton to match v9.3.5.

v7.6.1

Compare Source

Changes
Testbench Changes
Changes
  • Update skeleton to match v9.3.3.

v7.6.0

Compare Source

Changes
  • Update minimum support for Testbench Core v7.6.0+. ([v7.5.0...v7.6.0](https://togit

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link
Contributor Author

renovate bot commented Nov 30, 2023

⚠ Artifact update problem

Renovate 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:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: composer.lock
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/37bd2e/e51bf8/repos/github/RobBrazier/Laravel_Piwik":"/tmp/worker/37bd2e/e51bf8/repos/github/RobBrazier/Laravel_Piwik" -v "/tmp/worker/37bd2e/e51bf8/cache":"/tmp/worker/37bd2e/e51bf8/cache" -e COMPOSER_CACHE_DIR -e COMPOSER_AUTH -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/37bd2e/e51bf8/repos/github/RobBrazier/Laravel_Piwik" ghcr.io/containerbase/sidecar:9.24.0 bash -l -c "install-tool php 8.2.13 && install-tool composer 2.6.5 && composer update orchestra/testbench:8.15.0 phpunit/phpcov:9.0.2 phpunit/phpunit:10.4.2 --with-dependencies --ignore-platform-req='ext-*' --ignore-platform-req='lib-*' --no-ansi --no-interaction --no-scripts --no-autoloader --no-plugins"
Loading composer repositories with package information
Dependency laravel/framework is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/console) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/support) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/contracts) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/database) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/queue) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Dependency laravel/framework (via replace of illuminate/filesystem) is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires orchestra/testbench ^8.0 -> satisfiable by orchestra/testbench[v8.15.0].
    - orchestra/testbench v8.15.0 requires laravel/framework ^10.23.1 -> found laravel/framework[v10.23.1, ..., v10.34.2] but the package is fixed to v8.83.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
  Problem 2
    - Root composer.json requires phpunit/phpunit ^10.0 -> satisfiable by phpunit/phpunit[10.4.2].
    - phpunit/phpunit 10.4.2 requires sebastian/comparator ^5.0 -> found sebastian/comparator[5.0.0, 5.0.1] but these were not loaded, likely because it conflicts with another require.
  Problem 3
    - phpspec/prophecy is locked to version v1.15.0 and an update of this package was not requested.
    - phpspec/prophecy v1.15.0 requires php ^7.2 || ~8.0, <8.2 -> your php version (8.2.13) does not satisfy that requirement.
  Problem 4
    - phpunit/phpunit 10.4.2 requires sebastian/comparator ^5.0 -> found sebastian/comparator[5.0.0, 5.0.1] but these were not loaded, likely because it conflicts with another require.
    - phpunit/phpcov 9.0.2 requires phpunit/phpunit ^10.0 -> satisfiable by phpunit/phpunit[10.4.2].
    - Root composer.json requires phpunit/phpcov ^9.0 -> satisfiable by phpunit/phpcov[9.0.2].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

@renovate renovate bot force-pushed the renovate/major-dev-dependencies branch from fab9506 to 348e2c8 Compare November 30, 2023 12:28
@RobBrazier RobBrazier closed this Nov 30, 2023
@RobBrazier RobBrazier deleted the renovate/major-dev-dependencies branch November 30, 2023 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant