Packages

Make Ecto.Multi flow like water 🌊. A DSL and Builder pattern wrapper for Ecto.Multi that makes database transactions elegant, readable, and maintainable.

Current section

Files

Jump to
multi_flow CHANGELOG.md
Raw

CHANGELOG.md

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.0.0] - 2025-10-21
### Added
- πŸŽ‰ Initial release of MultiFlow
- 🌊 DSL for declarative transaction definitions
- πŸ”§ Builder pattern for functional transaction composition
- πŸ“ Comprehensive documentation and guides
- πŸ§ͺ Full test coverage
- 🎯 Real-world examples (sales order, user registration, inventory)
- πŸ›‘οΈ Type specs for Dialyzer support
- πŸ“– Getting Started guide
- πŸ“– DSL guide
- πŸ“– Builder guide
- πŸ“– Real-world examples guide
### Features
#### DSL Style
```elixir
use MultiFlow
transaction do
step :order, insert(order_changeset)
step :items, &create_items/1
step :delivery, &create_delivery/1
end
```
#### Builder Style
```elixir
MultiFlow.new()
|> add_step(:order, insert: order_changeset)
|> add_step(:items, &create_items/1)
|> execute()
```
### Key Benefits
- 🌊 **Flow naturally** - Write transactions that read like prose
- 🎯 **DSL & Builder** - Choose your preferred style
- πŸ”— **Dependency tracking** - Automatic step dependency management
- πŸ›‘οΈ **Type safe** - Full Dialyzer support
- πŸ“ **Readable** - Self-documenting code
- πŸ§ͺ **Testable** - Easy to test individual steps
- πŸš€ **Zero overhead** - Compiles to raw Ecto.Multi
---
**"Make Ecto.Multi flow like water"** 🌊