Upgrade
First stable release.
Added
- Global middleware:
prependGlobalMiddleware,appendGlobalMiddleware,flushGlobalMiddleware ActionMiddlewarecontract implemented by built-in middlewaredispatchIf/dispatchUnlessand overridablenewAction()make:actionArtisan generatorallowExecution/disallowExecutionoverloads for per-class execution under a fake- Recording without faking (
enableRecording/ assertions) - Topic-based documentation under
docs/for bradietilley.dev LICENSE,CHANGELOG, and contributor composer scripts
Changed
- Requires PHP 8.3+ and Laravel 13
- Tooling: Pest 4, PHPStan 2, Testbench 11
Durationformatting corrected; package-owned duration (no php-timer)- Assertion messages refer to actions, not jobs
- Faked non-
IsFakeableactions are recorded when skipped
Removed
- Laravel 11 support
- Bare
allow()/disallow()(useallowExecution/disallowExecution) - Unused
DatabaseManagerinjection and package views declaration
Migration from 0.x
- Upgrade to PHP 8.3+ and Laravel 13
- Replace
Action::fake()->allow(Foo::class)withallowExecution(Foo::class)(same fordisallow→disallowExecution) - Use
BradieTilley\Actions\DurationonActionDispatched(not SebastianBergmann Timer) - Call
Action::replace([...])with an array map (not two string arguments)