Packages
amplified_nested
0.1.0
Utilities for hierarchical data structures with parent/child relationships
Current section
Files
Jump to
Current section
Files
amplified_nested
CHANGELOG.md
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.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.1.0] - 2026-03-18
### Added
- `nest/1,4` for converting flat lists into parent-child hierarchies, with `{:ok, list}` / `{:error, _}` tuple support.
- `flatten/1,2` for depth-first flattening of nested trees back into lists.
- `descendant_ancestry/1,3` for walking each node with its full ancestry path.
- `ancestors/2,5` for finding the full ancestor chain from root to a given entity.
- `descendants/2,5` for collecting all descendants of a given entity.
- `filter/2,5` for filtering nested trees while preserving ancestor chains, with deduplication.
- `use Amplified.Nested` macro for generating delegating functions with configurable `:id`, `:parent`, and `:child` field names.