v0.11.0
·
51 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
⚠️ Breaking changes (0.10.2 → 0.11.0)
This release is not purely additive. Before upgrading:
- TOML
yaml-filesis rejected — use[files].yamlinstead. A
ryl.toml/.ryl.toml/[tool.ryl]that setsyaml-files = [...]now
fails with exit 2 (yaml-files is not valid in TOML; use [files] with yaml = [...]).
YAML (.yamllint) configs are unaffected, andryl --migrate-configs
converts it for you. - A file matching no source kind is now an error (exit 2), not a silent skip.
This applies both to files passed explicitly (e.g.ryl README.md,
ryl $(git diff --name-only)) and toryl - --stdin-filename <non-YAML-path>.
Plainryl -and thetypes: [yaml]pre-commit hook are unaffected. - Multibyte column fix —
commas/colons/braces/bracketsnow
report character-based columns. No diagnostics are added or removed, but the
reportedcolcan shift on lines containing multibyte characters. - Inline disable directives are now strictly yamllint-conformant. Malformed
# yamllint disable…comments (extra spaces after#, a missingrule:
prefix, or trailing tokens) are treated as plain comments and no longer
suppress diagnostics, matching yamllint exactly.
New, opt-in and non-breaking: YAML-in-Markdown linting ([files].markdown or
the --markdown flag) and a preferred # ryl … spelling for inline directives
(# yamllint … still works as a compatibility alias).
What's Changed
- Lint YAML embedded in Markdown; add
[files]source-kind config (closes #222) by @owenlamont in #237 - Property tests for rule checkers + char-column fix (closes #239) by @owenlamont in #240
- Markdown embedding follow-ups:
--fixwrite-back + stdin +--markdown(closes #236) by @owenlamont in #241 - Support inline rule-disable directives globally (closes #242) by @owenlamont in #243
Full Changelog: v0.10.2...v0.11.0