mise (and other TOML managers) fail to parse TOML 1.1 multi-line inline tables — parser pinned to tomlVersion 1.0 #44345
Closed
florianwakam
started this conversation in
Suggest an Idea
Replies: 4 comments 2 replies
|
Sounds good let's wait for maintainers thoughts |
0 replies
|
The |
0 replies
|
+1000, I really want to be able to use this with the |
1 reply
|
Hopefully with the merge of #45231 this will be resolved! Is there any estimation for when Mend Renovate Community Cloud will bump to use this release? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Idea
Support TOML 1.1 in Renovate's TOML parser so that
.mise.toml(and other TOML) config files using TOML 1.1 multi-line inline tables are parsed. These are accepted bymiseitself, but Renovate silently skips them withInvalid TOML, so no update PRs are produced for the tools declared in those files.Affected manager
mise— and more broadly every manager that relies on the sharedlib/util/toml.tsparse()helper.Reproduction
.mise.toml:Renovate logs:
and the file is skipped — no updates are proposed for
just,gh, orlefthook.miseitself parses the same file without error (mise config lsreportslefthook, just, gh).Expected vs. actual
miseaccepts it.Invalid TOMLand skips the file.Root cause
lib/util/toml.tsparses withtoml-eslint-parserpinned to TOML 1.0:TOML 1.0 forbids newlines inside inline tables. TOML 1.1.0 (released 2025-12-18) relaxes this — "Allow newlines and trailing commas in inline tables" (toml-lang/toml#904).
misetargets TOML 1.1, so mise-valid config is rejected by Renovate.Suggested fix
Bump
tomlVersionfrom"1.0"to"1.1"inlib/util/toml.ts. TOML 1.1 is a parsing superset of 1.0, so this only makes Renovate more lenient (no previously-valid file becomes invalid). Verified against the already-bundledtoml-eslint-parser@1.0.3:Versions
All reactions