github owenlamont/ryl v0.26.0

4 hours ago

Breaking changes

  • ryl format and editor formatting default to indent width 2; set top-level
    indent-width to keep another width. Lint indentation still defaults to consistent.
    (#758)
  • ryl check and 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 = true enables strict lint exit codes, overridable with
    --no-strict; requested by @Winipedia in
    #522.
  • TOML-only anchors.forbid-anchors-and-aliases reports every anchor and alias without
    automatic fixes; requested by @pygarap in
    #515.
  • Content-hash caching speeds repeated check and format runs, 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.

Don't miss a new ryl release

NewReleases is sending notifications on new releases.