Breaking changes
ryl formatand editor formatting default to indent width 2; set top-level
indent-widthto keep another width. Lint indentation still defaults toconsistent.
(#758)ryl checkand LSP diagnostics reject spec-invalid indentation; formatting and lint
fixes can repair indentation only when strict parsing and event preservation succeed,
with a repair notice. (#635)
Added
--disable <RULES>subtracts lint rules after selection, and--exclude <GLOBS>
overrides file exclusions; requested by @entorb in
#766.- TOML
[lint] strict = trueenables strict lint exit codes, overridable with
--no-strict; requested by @Winipedia in
#522. - TOML-only
anchors.forbid-anchors-and-aliasesreports every anchor and alias without
automatic fixes; requested by @pygarap in
#515. - Content-hash caching speeds repeated
checkandformatruns, with CLI, environment
and TOML controls. (#750)
Changed
- Linting, formatting and safe fixes reuse parse and scalar analysis, skip unchanged
work and process file contents in parallel while keeping writes and diffs in input
order. (#748,
#750,
#758) - Parsing accepts explicit
?keys at EOF, quoted continuations one column past block
indentation and tabs separating explicit keys, and corrects block-scalar EOF values
and span positions.
Fixed
- Formatter and lint fix/diff notices follow input order, including symlink skips, parse
skips and read errors. (#754) - Rule references and agent guidance now describe strict overrides, rule/file selection,
formatting defaults, guarded repair and encoded diff exit codes accurately.