Repository navigation
ArazzoKitYAML now reads and writes YAML with swift-yaml 0.1.0, a pure-Swift YAML 1.2 library, instead of Yams and its C core (libyaml). Arazzo.Document(yaml:), yamlString(sortKeys:) and ArazzoYAML.decode/encode keep their signatures, and the YAML trait still makes the dependency optional.
Breaking:
- Swift 6.2 or later, and OS 26 on Apple platforms (macOS, iOS, tvOS, watchOS, visionOS 26), because swift-yaml uses
SpanandInlineArray. Linux has no floor.Package@swift-6.0.swiftis gone. 0.1.x stays on Yams for older toolchains and OSes. - YAML errors are swift-yaml's
YAMLError(orDecodingError), not Yams'YamlError. - Plain scalars follow the YAML 1.2 core schema, so
yes,no,onandoffare strings, not booleans.
Kept from Yams: a flow collection whose lines sit at their parent's indentation (a closing ] under its key) still decodes, through swift-yaml's lenientFlowIndentation.
What's Changed
Full Changelog: 0.1.3...0.2.0