Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 1.25 KB

CHANGELOG.md

File metadata and controls

35 lines (25 loc) · 1.25 KB

Changelog

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.

Added

Changed

Removed

v0.1.2 - 2023-01-29

Changed

  • Included .formatter.exs in the published package to enable import_deps: [:ex_union]

v0.1.1 - 2022-11-16

Changed

v0.1.0 - 2022-10-16

Added

  • 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