TOML Versions
TOML v1.1.0
TOML v1.1.0 has not been officially released yet, but Tombi supports v1.1.0-preview.
Tombi's formatter shows its true power with v1.1.0.
While many existing systems use v1.0.0 (Cargo.toml, pyproject.toml, etc...).
🗒️Note
To use v1.1.0-preview, you need to specify the configuration in tombi.toml.
🗒️Note
tombi.toml supports v1.1.0-preview as the default version.
TOML Version Control
Tombi determines the TOML version for the target file in the following order of priority.
- The comment directive
#:tombi toml-version = "v1.0.0"in the TOML document. toml-versionspecified in[[schemas]]in the Tombi config.x-tombi-toml-versionin the root object of JSON Schema.toml-versionspecified in the Tombi config.- The default TOML version (Currently
v1.0.0).