Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.79 KB

CHANGELOG-10.x.md

File metadata and controls

59 lines (39 loc) · 1.79 KB

Changes for 10.x

This changelog references the relevant changes (bug and security fixes) done to orchestra/testbench.

10.1.0

Released: 2025-03-06

Changes

Testbench Changes

Added
  • Added resolvePhpUnitTestClassName() and resolvePhpUnitTestMethodName() to Orchestra\Testbench\Concerns\InteractsWithPHPUnit trait.
Changes
  • Allows usesTestingFeature() to register attribute directly on test method.
  • Improves vendor detection on the default skeleton.
  • Utilise Orchestra\Sidekick\is_symlink() function instead of is_link() to improves support on Windows.
  • Use ::class instead of get_class().
  • Delete vendor symlink via package:purge-skeleton command.
Fixes
  • Fix static variable via Orchestra\Testbench\Attributes\UsesVendor::beforeEach() method.
Deprecate
  • Deprecate following PHPUnit annotations:
    • @environment-setup
    • @define-env
    • @define-database
    • @define-route

10.0.0

Released: 2025-02-24

Changes

  • Update support for Laravel Framework v12.
  • Update Orchestra\Testbench\TestCase to use Illuminate\Foundation\Testing\Concerns\InteractsWithViews trait.

Removed

  • Remove deprecated functions:
    • Orchestra\Testbench\once()
    • Orchestra\Testbench\transform_relative_path()
  • Remove deprecated methods in Orchestra\Testbench\Concerns\CreatesApplication trait:
    • getBasePath()
    • getDefaultApplicationBootstrapFile()
  • Remove deprecated methods in Orchestra\Testbench\Concerns\InteractsWithMigrations trait:
    • loadMigrationsWithoutRollbackFrom()
    • loadLaravelMigrationsWithoutRollback()
    • runLaravelMigrationsWithoutRollback()