Skip to content

Commit 1ddceac

Browse files
Testclaude
andcommitted
release: v0.1.1 — release the never-throw Dispatcher fix
Moves the [Unreleased] eager-Dispatcher-injection fix to [0.1.1]. The fix resolves the Bus lazily inside report()'s guard so a BindingResolutionException no longer escapes the consumer's exception handler (observed in Laravel 12). emmie (Laravel 12, requires ^0.1.0) currently pulls v0.1.0, which still carries the eager-injection bug — cutting v0.1.1 lets emmie pick the fix up on the next composer update. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KJtjLXkdnv4Bm4HV1f1zor
1 parent ae5e671 commit 1ddceac

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and
66

77
## [Unreleased]
88

9+
## [0.1.1] — 2026-06-29
10+
911
### Fixed
1012

1113
- **Eager `Dispatcher` injection broke the never-throw invariant.** `ErrorTracker` took `Illuminate\Contracts\Bus\Dispatcher` as a constructor dependency, so resolving the service threw a `BindingResolutionException` *before* `report()`'s try/catch whenever the Bus deferred provider was unresolvable. Because `report()` runs inside the consumer's exception handler, that throw escaped the reportable callback and replaced the original error with `Target [Illuminate\Contracts\Bus\Dispatcher] is not instantiable` (observed in a Laravel 12 app). The bus is now resolved lazily from the container inside `report()`'s guard, so the failure is swallowed and the original error is preserved.

0 commit comments

Comments
 (0)