Skip to main content

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).

## [0.4.0] - 2025-01-18

### Changed
- `peek/2` function now passes the full data structure to the callback function instead of just the payload
- `peek/2` function now safely handles exceptions using `safe/1` wrapper

## [0.3.1] - 2025-08-15

### Changed
- Remove Monaditto header from moduledoc

## [0.3.0] - 2025-08-15

### Changed
- Add typespecs for all public functions

## [0.2.0] - 2025-08-15

### Changed
- Made `do_traverse/2` function private (internal implementation detail)

## [0.1.0] - 2025-08-15

### Added
- Initial release of Monaditto
- Core monad functions: `map/2`, `map_error/2`, `flat_map/2`
- Utility functions: `bimap/3`, `peek/2`, `unwrap/2`, `unwrap!/1`
- List operations: `traverse/2`, `sequence/2`
- Safety functions: `safe/2`
- Validation helpers: `any_error?/1`, `all_ok?/1`
- Comprehensive test suite with 140 tests
- Documentation with examples

[0.2.0]: https://github.com/bardoor/monaditto/releases/tag/v0.2.0
[0.1.0]: https://github.com/bardoor/monaditto/releases/tag/v0.1.0