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 dependency orchestra/testbench to v9 #295

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 13, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
orchestra/testbench (source) ^8.21 -> ^9.0 age adoption passing confidence

Release Notes

orchestral/testbench (orchestra/testbench)

v9.4.0

Compare Source

Changes
Testbench Changes
Added
  • Added artisan binary to Laravel skeleton.
  • Added Orchestra\Testbench\join_paths() function.
  • Added Orchestra\Testbench\Attributes\UsesVendor attribute class.
  • Added defineStashRoutes() method to register adhoc route for test.
Changes
  • Improvements to Orchestra\Testbench\default_skeleton_path(), Orchestra\Testbench\package_path(), and Orchestra\Testbench\workbench_path() usage based on new Orchestra\Testbench\join_paths() function.

v9.3.0

Compare Source

Changes
Testbench Changes
Changes
  • Update Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile to remove .gitkeep file when directory contain one or more files.
  • Code Improvements.
Fixes
  • Fixes InteractsWithPublishedFiles should only flush published files within database/migrations directory.

v9.2.0

Compare Source

Changes
Testbench Changes
Added
  • Added new attributes:
    • Orchestra\Testbench\Attributes\ResolvesLaravel
    • Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
  • Allows to discover factories using Workbench to map Workbench\App\Models to Workbench\Database\Factories classes.
  • Allows to auto discover console command classes from workbench/app/Console/Commands.
Changes
  • Bump minimum support to Laravel Framework v11.11.
  • Implements JsonSerializable to Orchestra\Testbench\Foundation\UndefinedValue.
  • Update skeleton to use workbench as default environment value.
  • Allow Orchestra\Testbench\Attributes\Define and Orchestra\Testbench\Attributes\DefineEnvironment to be used on the class level by @​danjohnson95
Fixes
  • Ensure usesTestingFeature() attribute registration is loaded before class attributes instead of method attributes.

v9.1.2

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler() usage to detect Workbench\App\Exceptions\Handler class.
  • Fixes Orchestra\Testbench\Console\Kernel and Orchestra\Testbench\Foundation\Console\Kernel unable to discover commands.

v9.1.1

Compare Source

Changes
Testbench Changes
Changes
  • Utilise Orchestra\Testbench\package_path() function instead of TESTBENCH_WORKING_PATH constant.
  • Update configuration to match Laravel Framework v11.8.0.
Fixes
  • Fixes Orchestra\Testbench\Attributes\RequiresLaravel attribute usage.

v9.1.0

Compare Source

Changes
Testbench Changes
Changes
  • Uses TESTBENCH_WORKING_PATH from environment variable before fallback to getcwd().
  • PHPStan Improvements.
  • Add support for PHPUnit 11.1.
  • Update skeleton to match v11.0.7.
Fixes
  • Fixes routing registration using macro with Workbench.

v9.0.4

Compare Source

Changes
Testbench Changes
Changes
  • Allows Orchestra\Testbench\remote to accept $env with either array or string.
  • Includes TESTBENCH_PACKAGE_REMOTE=true when running command using Orchestra\Testbench\remote.
  • Flush Static Improvements.
  • Revert setting workbench environment variable when Testbench CLI is used outside of testing.
Fixes
  • Fixes serve command.
  • Fixes runningInUnitTests() returning true when not running tests via Testbench CLI.

v9.0.3

Compare Source

Changes
  • Update minimum support for Testbench Core v9.0.9+. (v9.0.7...v9.0.9)
  • Update minimum support for Laravel Framework 11.1.0.
Testbench Changes
Changes
  • Add support for HASH_VERIFY environment variables.
Fixes
  • Force reset RefreshDatabaseState when using LazilyRefreshDatabase with SQLite :in-memory: database connections.

v9.0.2

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes RefreshDatabase to be executed on tearDown() only limited when ad-hoc migrations was added during test.

v9.0.1

Compare Source

Changes
Testbench Changes
Changes
  • Run ResetRefreshDatabaseState via tearDownTheTestEnvironmentUsingTestCase() method.
  • Check against RefreshDatabaseState::$migrated and RefreshDatabaseState::$lazilyRefreshed before loading migration paths to the instance of migrator.
  • Update skeleton to match v11.0.3.
  • Revert default skeleton database collations to utf8mb4_unicode_ci.
Fixes
  • Fixes beforeApplicationDestroyed() usage on loadLaravelMigrations() method.
  • Fixes RefreshDatabase usage does not reset the database migrations between tests.
  • Fixes class_implements() should only be executed if the Attribute class exists.
  • Testbench CLI should prioritize application kernels defined via bootstrap/app.php when configured using a custom skeleton.

v9.0.0

Compare Source

Added
  • Added support for PHPUnit 11.
Changes
  • Update support for Laravel Framework v11.
  • Increase minimum PHP version to 8.2 and above (tested with 8.2 and 8.3).
Deprecated
  • Deprecate Orchestra\Testbench\Concerns\HandlesAnnotations in line with PHPUnit removal support for meta-comment support using annotation.
Removed
  • Remove deprecated Orchestra\Testbench\Concerns\Database\HandlesConnections trait.
  • Removed deprecated create-sqlite-db and drop-sqlite-db standalone commands.

v8.26.0

Compare Source

Changes
Testbench Changes
Added
  • Added artisan binary to Laravel skeleton.
  • Added Orchestra\Testbench\join_paths() function.
  • Added Orchestra\Testbench\Attributes\UsesVendor attribute class.
  • Added defineStashRoutes() method to register adhoc route for test.
Changes
  • Improvements to Orchestra\Testbench\default_skeleton_path(), Orchestra\Testbench\package_path(), and Orchestra\Testbench\workbench_path() usage based on new Orchestra\Testbench\join_paths() function.

v8.25.0

Compare Source

Changes
Testbench Changes
Changes
  • Update Orchestra\Testbench\Foundation\Console\Actions\GeneratesFile to remove .gitkeep file when directory contain one or more files.
  • Code Improvements.
Fixes
  • Fixes InteractsWithPublishedFiles should only flush published files within database/migrations directory.

v8.24.0

Compare Source

Changes
Testbench Changes
Added
  • Added new attributes:
    • Orchestra\Testbench\Attributes\ResolvesLaravel
    • Orchestra\Testbench\Attributes\UsesFrameworkConfiguration
  • Allows to discover factories using Workbench to map Workbench\App\Models to Workbench\Database\Factories classes.
  • Allows to auto discover console command classes from workbench/app/Console/Commands.
Changes
  • Implements JsonSerializable to Orchestra\Testbench\Foundation\UndefinedValue.
  • Update skeleton to use workbench as default environment value.
  • Allow Orchestra\Testbench\Attributes\Define and Orchestra\Testbench\Attributes\DefineEnvironment to be used on the class level by @​danjohnson95
Fixes
  • Ensure usesTestingFeature() attribute registration is loaded before class attributes instead of method attributes.

v8.23.2

Compare Source

Changes
Testbench Changes
Fixes
  • Fixes Orchestra\Testbench\Workench\Workbench::applicationExceptionHandler() usage to detect Workbench\App\Exceptions\Handler class.

v8.23.1

Compare Source

Changes
Testbench Changes
Changes
  • Utilise Orchestra\Testbench\package_path() function instead of TESTBENCH_WORKING_PATH constant.
Fixes
  • Fixes Orchestra\Testbench\Attributes\RequiresLaravel attribute usage.

v8.23.0

Compare Source

Changes
Testbench Changes
Changes
  • Uses TESTBENCH_WORKING_PATH from environment variable before fallback to getcwd().
  • PHPStan Improvements.
Fixes
  • Backport fixes to routing registration using macro with Workbench.

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.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Mar 13, 2024

⚠ 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: composer update orchestra/testbench:9.0.4 --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 phpunit/phpunit 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 phpstan/phpstan 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 ^9.0 -> satisfiable by orchestra/testbench[v9.0.4].
    - orchestra/testbench v9.0.4 requires laravel/framework ^11.1 -> found laravel/framework[v11.1.0, ..., v11.6.0] but it conflicts with your root composer.json require (^v10.46).

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

@renovate renovate bot enabled auto-merge (rebase) March 13, 2024 09:03
@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch 11 times, most recently from 01b15b9 to 67b3b71 Compare March 20, 2024 04:49
@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch 17 times, most recently from eb92891 to 4a2ab43 Compare March 27, 2024 13:38
@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch 9 times, most recently from c663515 to b5026f2 Compare April 10, 2024 16:53
@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch 3 times, most recently from e9189e4 to ca67e18 Compare April 14, 2024 16:43
Copy link

coderabbitai bot commented Apr 14, 2024

Important

Auto Review Skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch 7 times, most recently from 3b3dea5 to 104a8e6 Compare April 19, 2024 19:02
@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch 7 times, most recently from b7159a0 to 4b208a1 Compare April 29, 2024 04:27
@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch from 4b208a1 to e7fd934 Compare April 29, 2024 15:02
@renovate renovate bot force-pushed the renovate/orchestra-testbench-9.x branch from e7fd934 to d8148c2 Compare April 30, 2024 18:59
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.

0 participants