Skip to content

YAML.sh v1.9.0 — repository-grade YAML surgery

Choose a tag to compare

@azohra azohra released this 02 Aug 22:02
v1.9.0
9f75f8f

YAML.sh v1.9 makes dependency-free YAML editing safe at repository scale while preserving the premise: one readable POSIX shell + AWK file.

Highlights:

  • transactional multi-file -i: preflight every input, then commit all or roll back
  • writable YAML tags, anchors, and aliases with graph-safety checks
  • literal and folded scalar styles, collection style reset, indentation control, and scalar wrapping control
  • --explain=json value-free JSON Lines audit records released only after a successful transaction
  • duplicate-path and symlink rejection for in-place writes
  • 94 behavioral tests and a 22-case YAML metadata differential family
  • 2,620/2,620 categorized and 8/8 cross-file comparisons against yq v4.53.3
  • 282/282 YAML outcomes, 91/91 invalid rejections, 12,000 generated properties, and 400 presentation cases

The deliberate boundary remains explicit: head/foot comments and key-node presentation are outside the graph; codecs, file loading, dynamic evaluation, date/time, and system execution remain non-goals.