# Changelog

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

- **Fixed:** `Macaw.Base.Fault.sentence/2` raised `FunctionClauseError` on an improper list whose items look like faults (`[{[], false} | false]`), and `format/2` and `format_path/2` raised on a path that is no proper list (`[:a | :b]`) (#6, #5). An improper list is now a bare reason, and such a path is shown as its term, so nothing raises on input, as spec/00 §3 says. Found by macaw_format's property over any term; base's own properties now generate improper lists too (`Macaw.Base.Test.Terms`).

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

**The first release: what every Macaw package shares, in one package with no dependency of its own** (dco-tek/macaw/macaw#478). The modules come from macaw_layers and macaw_data under new names; macaw#478's Renames table lists each.

- **What every Macaw package shares, moved here** (#3, #2, #1, dco-tek/macaw/macaw#478 step 3): `Macaw.Base.Names`, `Vocabulary`, `Version` and `Callback` from macaw_layers unchanged but for their names; `Macaw.Base.Digest` (was `Macaw.Layers.Digest`) and `Macaw.Base.Encoding`, the canonical encoding and digest that were `Macaw.Layers.Document`'s, byte for byte the same (`encoding_version/0` is `Encoding.version/0`); and `Macaw.Base.Fault`, the general part of `Macaw.Layers.Fault` with `Macaw.Data.Fault`'s sentence merged in. A fault's words come from the caller's `words:` first (a function or a list, each answering `nil` for a reason it doesn't word), then base's general words (`general/1`), then the reason's term; `type_words/2` words a compound type with a package's own leaf types; a module in a path reads as Elixir writes it.
- The package skeleton: the Mix project with no runtime dependency, the family's CI scripts vendored with their manifest, and the project's own `ci/vendored.exs`, `ci/spelling.exs` and `ci/callbacks.exs`.
