From 1ddceaccfb6e1a6d9f49734b267f4288fae6f2bc Mon Sep 17 00:00:00 2001 From: Test Date: Mon, 29 Jun 2026 14:56:36 +0200 Subject: [PATCH] =?UTF-8?q?release:=20v0.1.1=20=E2=80=94=20release=20the?= =?UTF-8?q?=20never-throw=20Dispatcher=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) Claude-Session: https://claude.ai/code/session_01KJtjLXkdnv4Bm4HV1f1zor --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 92e31a7..150b31a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and ## [Unreleased] +## [0.1.1] — 2026-06-29 + ### Fixed - **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.