Skip to content

v10.12.0

Choose a tag to compare

@crynobone crynobone released this 24 Sep 07:24
· 33 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.
  • Removed no longer relevants method_exists() and class_exists() usage.
  • Overrides ServeCommand::trap() method to use TerminatingConsole.
  • Add TESTBENCH_USER_MODEL environment variable when running serve command.
  • Utilise Orchestra\Testbench\Foundation\Console\TerminatingConsole when running serve.
Fixes
  • Fix Orchestra\Testbench\Attributes\WithConfig shouldn't defer setting up framework configuration.
  • Fix missing --without-cache option when using package:test command with nunomaduro/collision version 8.9.4+.