PureYAML/CHANGELOG.md

2.3 KiB

Changelog

All notable changes to PureYAML are documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • Bootstrap PureYAML as a root Swift package with no external dependencies.
  • Add the first pure-Swift YAML model, parser, and dumper milestone.
  • Add tests for block mappings, block sequences, common scalars, comments, and dump/parse round trips.
  • Add path-aware YAML validation with duplicate-key checks, custom rules, and warning collection.
  • Add the internal parse event model with marks, scalar styles, collection styles, alias events, anchor/tag metadata, and golden event tests for current parser behavior.
  • Add the internal UTF-8 reader and scanner token layer with tests for comments, indentation, block entries, mapping indicators, flow delimiters, quoted scalars, block scalar headers, anchors, aliases, tags, and source marks.
  • Add the internal scanner-token event parser for block collections, flow collections, aliases, anchors, tags, and line/column parser failures.
  • Add the internal event composer and wire public parsing through scanner-token events into PureYAML.Model.Value, including flow collections, block scalars, anchors, aliases, and duplicate-key validation coverage.
  • Add YAML directive and document-marker scanning, tag-handle expansion, and explicit built-in scalar tag composition for strings, integers, floats, booleans, and nulls.
  • Expand tests into focused parsing, dumping, model, validation, and parse-error suites.
  • Add macOS, Linux, and WASM verification gates and CI jobs, plus a local Linux check that can run through Claw Mini's Lima VM.
  • Add a single full local verification script and wire pre-push through the macOS, Claw Mini Linux, and WASM gate sequence.
  • Harden the changelog gate so local verification also sees unstaged source edits, not only committed or staged changes.
  • Add emitter options with a selectable scalar policy for quoted strings or conservative plain-string output.
  • Add Yams and CYaml attribution without copying their implementation into Sources/.

Changed

  • Lower the package tools version to Swift 6.1 for hosted macOS CI compatibility and install Linux Swift toolchain prerequisites for the WASM CI job.