# Changelog

## v0.1.0 (2026-12-02)

**The first release: presentation, every number, time and measure as text, on macaw_units and macaw_base** (dco-tek/macaw/macaw#478). The modules come from macaw_data under new names; macaw#478's Renames table lists each.

- macaw_units (`~> 0.1.0`) and macaw_base (`~> 0.1.1`) come from Hex; CI fetches nothing with the job's token (#5). Base 0.1.1 words an improper list instead of raising, which format's property over any term found in base 0.1.0 (dco-tek/macaw/macaw_base#5).

- Four tests that went with macaw_data's copy, ported (#4, #3, dco-tek/macaw/macaw_data#469): `$` and `¥` name their choices, every atom's symbol reads back through `Alias.parse/1`, metresis's symbols read by it, and each list of a valid option, locale field or name made improper in turn answers a value. The never-raise property now generates improper lists too.
- **Presentation, moved here from macaw_data** (#2, #1, dco-tek/macaw/macaw#478 step 5): `Macaw.Format` with `Locale`, `Number`, `Measure` and `Time` (was macaw_data's format modules), `Macaw.Format.Alias` (was macaw_data's unit aliases, made public, with the unit's `parse_alias/1` as `Alias.parse/1` and its alias refusals worded by `Alias.format_error/1`), and `Macaw.Format.Quantity` (was macaw_data's quantity `family/2,3`, `systems/0` and `label/1`, with the facts' families and conventions in a table keyed by macaw_units' quantity names), with the same answers. Units are read through macaw_units only.
- Two inputs that raised now answer a value, as spec/00 §3 asks: `Locale.new/1` answers `{[], {:type, :keyword}}` for fields that are no list and no map, and `for_measure/2` answers `{[:measure], {:unknown_currency, nil}}` for a `:currency` with no code, where it raised a `MatchError`.
- `Macaw.Format.Error`, what every `!` twin raises: the value twin's reason as its term, worded by macaw_base's `Macaw.Base.Fault.sentence/2` with a caller's `words:` first, then format's (`Macaw.Format.words/1`), then base's.
- spec/01 moves macaw_data spec/05 whole, and spec/02 its spec/03 §3, §11, §12, §13 and §14, their anchors and test hints kept.
- The package skeleton: the Mix project depending on macaw_units and macaw_base, the family's CI scripts vendored with their manifest, and the project's own `ci/vendored.exs`, `ci/spelling.exs` and `ci/callbacks.exs`.
