All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
v0.1.2 - 2023-01-29
- Included
.formatter.exs
in the published package to enableimport_deps: [:ex_union]
v0.1.1 - 2022-11-16
- #2: Resolve dialyzer warnings (@alexocode)
v0.1.0 - 2022-10-16
- Implement the core
ExUnion.defunion
macro and generate a struct for each union case - Accept for type annotations of union case fields and use them to generate
@type
and@spec
annotations - Generate shortcut functions for each union case
- Generate a guard whose name is inferred from the top-level module