
Distributed Sagas, Locking, and Zero-Config Documentation in NodeJS
We are thrilled to announce the release of HazelJS v0.4.0 , a major update focused on building resilient, distributed systems with ease. This release introduces two powerhouse packages— @hazeljs/saga and @hazeljs/distributed-lock —along with significant observability and developer productivity enhancements across our entire ecosystem. As the HazelJS ecosystem continues to grow with 45+ specialized packages , we remain committed to our mission: providing a modular, AI-native framework that scales from local experiments to production-grade distributed architectures. What's New in v0.4.0? 1. Distributed Sagas (@hazeljs/saga) 🔄 Managing data consistency in microservices shouldn't require complex, manual state machine code. @hazeljs/saga brings declarative distributed transactions to HazelJS with both Orchestration and Choreography patterns. Key Features: Dual Pattern Support : Choose between centralized orchestration or decentralized event-driven choreography Decorator-Based API : Clean, i
Continue reading on Dev.to
Opens in a new tab


