v0.3.0
Byte/comment preservation becomes its own flag, decoupled from backend
selection.
Added
--preserve/-pflag for byte/comment-preserving reads. It turns on
fidelity mode with the default backend, soyqr -p '.' file.yamlreproduces
the input byte-for-byte — comments, quoting, indentation, and line endings
survive.- A runnable demo showcase under
docs/content/demo/(yqr-demo.shplus sample
deploy.yaml/config.yamlinputs) walking through navigation, iteration,
pipes, raw output, and preserve mode.
Changed
--enginenow selects the backend parser only and no longer implies
preservation. It picks which library performs a--preserveread (default
noyalib); whether to preserve is--preserve's job. Without--preserve,
--enginehas no observable effect.
Breaking
--engine noyalib '.'no longer preserves bytes on its own — use
--preserve(optionally with--engine noyalibto name the backend
explicitly). This decouples backend choice from fidelity mode.