cmdx v2 is a major rewrite of the Ruby framework for building maintainable business processes. The v1 state-machine and Zeitwerk architecture is replaced by a signal-based runtime, immutable frozen Results, fiber-local chains, and a slimmer registry surface. Key additions include a new CMDx::Runtime orchestrating the full task lifecycle, CMDx::Telemetry pub/sub for lifecycle events, CMDx::Input/Output replacing the old Attribute system, saga-style pipeline rollback, parallel task execution with configurable executors and mergers, correlation IDs, i18n support via I18nProxy, and multiple new retry jitter strategies. Several breaking changes require renaming `def call` to `def work`, updating result access patterns, and migrating from removed classes like Parallelizer, Attribute, and various Utils modules.

20m read timeFrom github.com
Post cover image
Table of contents
[2.x.x] - UNRELEASED[2.0.1] - 2026-05-09[2.0.0] - 2026-05-05[1.21.0] - 2026-04-09[1.20.0] - 2026-03-12[1.19.0] - 2026-03-09[1.18.0] - 2026-03-09[1.17.0] - 2026-02-23[1.16.0] - 2026-02-06[1.15.0] - 2026-01-21[1.14.0] - 2026-01-09[1.13.0] - 2025-12-23[1.12.0] - 2025-12-18[1.11.0] - 2025-11-08[1.10.1] - 2025-11-06[1.10.0] - 2025-10-26[1.9.1] - 2025-10-22[1.9.0] - 2025-10-21[1.8.0] - 2025-09-22[1.7.5] - 2025-09-10[1.7.4] - 2025-09-03[1.7.3] - 2025-09-03[1.7.2] - 2025-09-03[1.7.1] - 2025-08-26[1.7.0] - 2025-08-25[1.6.2] - 2025-08-24[1.6.1] - 2025-08-23[1.6.0] - 2025-08-22[1.5.2] - 2025-08-22[1.5.1] - 2025-08-21[1.5.0] - 2025-08-21[1.1.2] - 2025-07-20[0.1.0] - 2025-03-07
406 Impressions