Skip to content

v7.58.0

Choose a tag to compare

@crynobone crynobone released this 24 Sep 07:22
· 805 commits to 11.x since this release
Immutable release. Only release title and notes can be modified.

Changes

Testbench Changes

Added
  • Add Orchestra\Testbench\Foundation\Env::flushState() method and revert class deprecation.
  • Add Orchestra\Testbench\php_version_compare() function.
  • Allow --pretend options on relevant commands.
Changes
  • Loads Orchestra\Testbench\Attributes\WithConfig after application has been booted to allow merging configuration via Service Provider by default. Use defer: false parameter to disable this.
  • Add TESTBENCH_USER_MODEL environment variable when running serve command.
  • Utilise Orchestra\Testbench\Foundation\Console\TerminatingConsole when running serve.
  • Run seeder when testbench.yaml configured with seeders: true.
Fixes
  • Fix Orchestra\Testbench\Attributes\WithConfig shouldn't defer setting up framework configuration.
  • Fix --parallel compatibility with WithFixtures trait.
  • Fix #[UsesVendor] attribute fails due to unbooted application, causing BindingResolutionException to be thrown.