CMDx 2.0.1 released — fault causes, telemetry, and tighter callback semantics
CMDx 2.0.1 lands a handful of focused improvements to the service-object runtime, mostly around fault handling, callback semantics, and observability.
What’s new:
-
Fault#causeis now linked — raised faults preserve the underlying exception, so error trackers and stack traces point at the real origin instead of dead-ending at the framework. -
Context lookup perf —
Context#method_missingresolution order was simplified, trimming allocations on a very hot path. -
I18n for
full_messages— validation errorfull_messagesnow attempt translation, with a clean fallback when no key exists. -
New
:task_rolled_backtelemetry event — workflows emit a dedicated event on rollback, making it easy to alert/dashboard on compensating actions. -
Cleaner callback ordering —
around_executionnow wraps onlyTask#work(and any#rollback).before_validationruns before the around-block;after_executionruns after it. Previously both were nested inside the around-block, which muddied timing/logging.
Knowledge base:
Post a comment