Repository navigation
Update dependency aqua:owenlamont/ryl to v0.27.0 - #396
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Contributor
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
| datasource | package | from | to | | ----------- | -------------- | ------ | ------ | | github-tags | owenlamont/ryl | 0.21.0 | 0.27.0 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
Bot
force-pushed
the
renovate/aqua-owenlamont-ryl-0.x
branch
from
October 30, 2026 20:14
8786f18 to
7eee795
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.21.0→0.27.0Release Notes
owenlamont/ryl (aqua:owenlamont/ryl)
v0.27.0Compare Source
Added
Actions, pinned per release as
owenlamont/ryl-action@v0.27.0.Changed
ryl serverreports open files only by default, as ruff, rumdl and biome do. The newdiagnosticModesetting, named after ty's, restores the workspace-wideworkspace/diagnosticscan with"workspace". A mistyped server setting is nowreported through
window/showMessageinstead of silently ignored.(#407)
ryl format --checkreports each file that would change as oneunformattedfindingat its first change, with the diff under it, as ruff does, instead of one finding per
rule and line.
--checkand--diffend with a summary such as1 file would be reformatted.(#843)
ryl formatparses each file, or each YAML block in Markdown, once, including under--checkand--diff, unless it reports a repair or anot fixednotice. Debugbuilds no longer re-check formatter output.
(#843)
#!jinja|yaml,#!yaml_jinja) is a template that ryl neither lints nor formats: a directory scanskips it, and naming it or piping it to stdin exits
2.(#781)
cargo install ryldoes, needs Rust 1.99.1.(#876)
Fixed
# ryl disable-fileno longer prints a syntaxor encoding skip notice under
check --fix/--difforryl format.ryl formatno longer panics on a document whose re-indentation is refused while ahyphen-spacing edit applies.
sequence-style = 'flow'converts a sequence whose items end in trailing whitespace,where the whole file was previously left unformatted.
change no longer prevents another collection in the document from being converted.
indentation no longer changes which collections fit.
without a line break.
(#838)
ryl formatjoins a one-column mapping onto its sequence dash in one run when thefile contains a byte order mark.
indentation cannot be changed safely.
line that starts with
#when the file has no final line break.#@directives and their inline spacinginstead of converting them into ordinary comments, and the
commentsrule nolonger reports them.
Block collection style leaves a flow collection with a trailing directive as
written, and the
key-orderingfix skips a mapping holding an own-line one.Contributed by @samirhvbr in
#877, fixing
#780.
v0.26.1Compare Source
Added
ryl-yaml-parsercrate.(#816)
Changed
ryl formatis faster than yamlfmt, dprint and Prettier at every benchmarked sizeand file count from 4 KiB, tying yamlfmt on a single 1 KiB file. (#787)
ryl checkstreams its output and writes formatted files as it goes, so memory nolonger grows with the number of files (218 MB to 22 MB at 20,000 files).
(#831)
ryl formatparses each file once: it no longer parses its output again to comparevalues or plans it again to confirm convergence, which rule order now guarantees.
(#842)
Fixed
ryl formatmoves a blank-only block scalar body with its collection, so its valueno longer changes when the collection shifts, and formats such scalars with an
explicit indentation indicator instead of leaving the file unchanged.
(#849)
comments-indentationrule, and the formatter, no longer read a trailing commenton a multi-line scalar's last line, or an empty block scalar's header line, as other
than content, matching yamllint; a folded scalar no longer moves the comments after it
on a second format.
ryl formatsettles in one run, where it took two, for'---' : x(now---: x), thespaces-only lines of a blank keep-chomped body under
- key:, and a dash it moves ontoits own line after an explicit
:or in a file with a byte order mark.ryl formatno longer aligns a comment with a---or...line, which it may add,so a comment after a block scalar keeps its column when
document-end = 'add'adds amarker below it.
ryl formatre-indents a document whose only tab follows an indicator that it respaces,and no longer reports one it did re-indent where folding starts a line with
-and atab.
ryl check --fixkeeps an indentation repair whenkey-orderingalso reorders thefile, instead of leaving the file unchanged and reporting the indentation as a syntax
error.
ryl formatre-indents a block sequence holding a bare-item, such as a sequenceflush with its key whose first item is empty, instead of refusing the document.
(#836)
indentationrule no longer reports a sequence item after a nested sequenceending in a bare
-as wrongly indented, under everyindent-sequencessetting.(#836)
ryl formatkeeps a keep-chomped block scalar's final spaces-only line whenre-indenting empties that line, as at indent width 1, so the scalar keeps its final
empty line.
quotes in formatting and lint fixes.
(#806)
legacy project YAML configs;
--migrate-configsalso converts TOMLyaml-filesto[files].yaml. (#789)v0.26.0Compare Source
Breaking changes
ryl formatand editor formatting default to indent width 2; set top-levelindent-widthto keep another width. Lint indentation still defaults toconsistent.(#758)
ryl checkand LSP diagnostics reject spec-invalid indentation; formatting and lintfixes 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.
[lint] strict = trueenables strict lint exit codes, overridable with--no-strict; requested by @Winipedia in#522.
anchors.forbid-anchors-and-aliasesreports every anchor and alias withoutautomatic fixes; requested by @pygarap in
#515.
checkandformatruns, with CLI, environmentand TOML controls. (#750)
Changed
work and process file contents in parallel while keeping writes and diffs in input
order. (#748,
#750,
#758)
?keys at EOF, quoted continuations one column past blockindentation and tabs separating explicit keys, and corrects block-scalar EOF values
and span positions.
Fixed
skips and read errors. (#754)
formatting defaults, guarded repair and encoded diff exit codes accurately.
v0.25.1Compare Source
Changed
declares 3.15, and releases smoke-test 3.15 and free-threaded 3.15t wheels.
(#726)
ryl-checkandryl-formathooksand running a hook with
--verboseto see config deprecation warnings.(#730,
#729)
ryl-checkandryl-formatpre-commit hooks.ryl --helpdescribes ryl as a YAML linter and formatter.Fixed
formatvalues, which SchemaStore's validator rejects.
(#725)
--enable, inline TOML via-dand copying a presetinto
.ryl.tomlinstead of the deprecated YAMLextends: default, and marks YAMLconfig deprecated where it remains.
(#731)
directory,
ryl --migrate-configs --migrate-write --migrate-root <config>, insteadof the preview-only command. Where migration cannot rewrite it (
pyproject.toml,a symlink, inline
-d, a custom-named file), the warning says what to do instead.(#727)
--migrate-configsor--migrate-user-configpreview that lists configs nowends with a hint naming
--migrate-stdoutto see the migrated content and--migrate-writeto apply it.(#728)
v0.25.0Compare Source
Added
ryl formatformats YAML in place, checks or previews changes, and formats YAMLembedded in Markdown with
--markdown.(#519,
#520,
#538,
#605)
[format]controls indentation, line endings, quotes, collections, comments,blank lines, folding and document markers. Unset indentation detects the file's
existing width;
line-ending = "auto"keeps its prevailing line ending.(#550,
#606)
--output-formatselects output forcheckandformat --check; onlycheckalso accepts
-f/--format. (#605)ryl format, including for embedded YAML in Markdown.(#583)
line-lengthandindent-widthprovide shared defaults for lintand format. (#521)
check --fixcan repaircolonsandhyphensspacing.(#524)
fold-long-linescan wrap plain, quoted and folded block scalars.(#523,
#541,
#536)
sequence-styleandmapping-stylecan convert collections between flow andblock forms;
indent-widthreindents block collections.(#544,
#551,
#545)
comment spacing and blank-line limits.
(#539,
#540,
#546)
Changed
them, unchanged by formatting and safe fixes apart from key ordering; both commands
name the file, line and reason on stderr.
formatnames the refusal and
--check/--difffail; a fence-boundary refusal is also named.(#713)
indent-widthas a TOML key and pointYAML-configured users to config migration.
(#713)
formatandcheck --fixcontinue after a file write fails, report the file,and exit
2after processing the remaining inputs.(#714)
check --fixandryl formatfinish unterminated block scalars with a newlineand, when configured, a document end marker, following the YAML 1.2 reference parser.
Adding a marker removes value-neutral indentation spaces on a final blank
block-scalar line, but leaves a root explicit-indent marker unfixed when its
final spaces carry value and no preserving marker append is available.
(#712,
#715)
[lint]and[format]. Runryl --migrate-configsto preview existing configs, then add
--migrate-writeto update them.(#508)
ignoreandignore-from-fileare deprecated. Replace them withexcludeandexclude-from-file, or use--migrate-configs --migrate-write.(#608)
ryl --migrate-configs --migrate-writeand user-global config withryl --migrate-user-config --migrate-write; a later release will remove YAMLconfig loading. (#562)
-daccepts inline TOML; legacy YAML preset names still work with a warning.(#562)
formatpreserves document-start markers by default, including files migratedfrom yamllint's
defaultpreset.(#584)
(#615)
quoted-stringsandformatkeep quotes needed by YAML 1.1 readers, while adeclared
%YAML 1.1follows the lint policy for redundant quotes.(#535,
#560,
#604)
on repeated
--checkand--diffpasses.(#561,
#616)
Fixed
comments-indentationnow reports, and--fixmoves, a comment indented to thecontinuation of a multi-line quoted scalar, matching yamllint.
#cloud-configstays before an inserted document marker.(#531)
check --fixandformatadd requested start and end markers to each documentin a stream. (#566,
#587)
(#588)
quoted-strings --fixkeeps quotes on flow keys whose colon follows whitespaceor a comment, preserving the key's meaning.
(#555)
comments; editor disable-line actions work inside blank-only scalars.
(#542,
#543,
#563,
#573)
on dash lines. (#559,
#569)
quote. (#571)
BOMs and explicit keys. (#591,
#626,
#664)
prevent conversion. (#662)
check --diffinput countspending fixes. (#617,
#620)
format --checkwrites empty reports when no files or changes are selected.(#614)
(#631)
(#632)
paths without guessing an ambiguous user-global ignore file.
(#556,
#557)
with
git apply -p0. (#653,#655)
normalizing safe whitespace. (#633,
#654,
#661,
#669)
Migrating from yamllint
The new formatter has no yamllint counterpart. For
check, the existing deliberatedifferences are listed below so a migration can account for each one; see the
examples and rationale.
--enable ALLor a TOML preset.# ryl; keep# yamllintstandalone.:in names; ryl follows YAML grammar.\rline breaks%YAMLdirectivescommentsdiagnostics.per-line-ignoresallow-any-open-indentin TOML.dash-on-own-linein TOML.max-spaces-from-contentin TOML.ryl --migrate-user-config --migrate-write.YAMLLINT_CONFIG_FILErejects TOML-c.v0.24.0Compare Source
Added
--enable ALLenables every rule;key-orderingaccepts custom key orders andsorts attached comments during
--fix.(#490,
#494,
#492)
commentsacceptsmax-spaces-from-content;truthy --fixcan recase booleanspellings. (#489,
#493)
# ryldirectives work beside other inline comments.(#488)
Fixed
subdirectory. (#483,
#473)
--fixchanges per rule and printed TOML parse errors on one line.(#498,
#497)
v0.23.0Compare Source
Changed
ryl <paths>now warns; useryl check <paths>.(#461)
Fixed
--fixrepeats until stable and reports a pipeline that cannot converge.(#465,
#467)
ignorematching for absolute paths andper-file-ignoresmatching forresolved paths. (#459,
#460)
(#441)
v0.22.0Compare Source
Fixed
workspace/diagnosticrequests open for changes.(#424)
Configuration
📅 Schedule: (in timezone America/Los_Angeles)
* 0-3 * * 1)🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.