# Changelog

## 0.1.0

First release. Reads and writes ASDF standard 1.5.0 (file format 1.0.z).

### Added

- `mix asdf.inspect PATH` prints the file-format version, the standard-version comment, top-level keys, and block sizes. It does not decode payloads. The last line is a compact map with no Gnosis dependency.
- Mutation tests over a real block file. A yamerl `:function_clause` on a damaged flow scalar is now `reason: :yaml_syntax`, and the input is kept in `test/fixtures/regressions/`.
- `mix tutorials.check` checks closed fences and relative links. Tutorials 1 and 9 and `tutorials/series-introduction.md` are drafts. `docs/release-checklist.md` records what a tag would still refuse to claim.
- Project baseline: Mix, formatter, Credo, ExUnit, StreamData, ExDoc, Dialyzer (optional), Benchee harness, CI for Linux x86_64 and macOS arm64.
- `ASDF.write/3` writes a 1.0.0 file: YAML 1.1, explicit core tags, block headers, checksums, and a block index. Unknown tags and ndarray byte order are preserved. External paths are written only under a caller-supplied root, and `..` is rejected.
- Python asdf 6.0.0 is the pinned oracle in `test/support/python_asdf.exs`. It was not installed on 2026-11-30, so that comparison was not run. `test/fixtures/written_tree.asdf` is the in-repo file `mix test` reads instead.
- `ASDF.validate/1` checks vendored core schemas from asdf-standard 1.5.0 (`daff9d5`, manifest `core-1.5.0`) with the JSON Schema draft-04 vocabulary. `$ref` stays inside that set. Unit, time, FITS, and WCS schemas are not vendored.
- `ASDF.Registry.register/2` installs a handler for one tag. Unregistered tags stay `%ASDF.Tagged{}`. The tag string is not turned into a module.
- `ASDF.open/2` scans block headers after the tree and leaves payloads unread. `ASDF.blocks/1` returns `%ASDF.Block{}` headers. `info.blocks_scanned` is true and `block_count` is the number of headers.
- `ASDF.read/2` and `ASDF.stream/2` address ndarray 1.0.0 and 1.1.0 nodes. Block bytes are `pread` from a computed range. zlib inflate is capped at `data_size`. `bzp2` is `reason: :unsupported_compression`.
- `float32` and `float16` stay bit containers unless `ASDF.Array.to_list/2` is called with `widen: true`. External ndarray URIs are preserved and not opened.
- A block index that does not match the forward scan is an error in `:strict` mode and a warning in `:permissive` mode. Checksum failures are errors in both modes, and they are reported when the payload is read.
- `ASDF.open/2`, `ASDF.info/1`, `ASDF.tree/1`, and `ASDF.metadata/1` read the header and the YAML 1.1 tree. The tree search stops at the document end marker and does not keep the following payload.
- Unknown tags are `%ASDF.Tagged{}`. Mapping keys are limited to booleans, integers, and strings. Alias count, depth, and scalar size are capped.
- `ASDF.Header.parse/1` for the `#ASDF 1.0.z` file-format line, following comment lines, and the optional `#ASDF_STANDARD` comment.
- `ASDF.Limits` bounds for later parsers. Crossing a limit is an error.
- Specification notes, a coverage table, and a compatibility matrix.
