chore(deps): update dependency prettier-plugin-toml to v4 #42
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/major-all"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
2.0.6→4.1.0Release Notes
un-ts/prettier (prettier-plugin-toml)
v4.1.0Compare Source
Minor Changes
#535
4ad8ffeThanks @JounQin! - feat(prettier-plugin-toml): load tombi throughtombittombitwraps the sametombi-libcrate and keeps configuration discovery andmerging in Rust, so the plugin no longer ships
smol-tomlor a JavaScriptdiscovery/caching layer. Prettier's resolved options — including its defaults —
are passed as
overrideConfig; tombi discovers the project's owntombi.toml(or
[tool.tombi]inpyproject.toml) and the user/system configurations.Precedence change: Prettier's core options (
printWidth,tabWidth,useTabs,singleQuote,bracketSpacing) always take precedence over a discoveredtombi.toml. The plugin's own options no longer declare Prettier defaults, sowhen they are not set the discovered configuration (or Tombi's default)
decides; explicitly set options still override it. The discovered
configuration's
[[overrides]]are applied by Tombi last.toml-versionfollows the same rule because it decides how the source is parsed. Formatting a string without a
filepathnow works: configuration discovery starts from the current directory.
Diagnostics now carry a
range, so syntax errors keep rendering their codeframe.
v4.0.0Compare Source
Major Changes
#530
85af9a9Thanks @JounQin! - feat(prettier-plugin-toml)!: migrate from@tombi-toml/wasm-libto@tombi-toml/libTombi is now loaded through its prebuilt native Node.js binding instead of the
WebAssembly build. The WASM loading shim is gone, so the plugin no longer has to
resolve and read the ~6.6 MB
tombi_wasm_bg.wasmfile on first format, and the@dual-bundle/import-meta-resolvedependency is dropped.@tombi-toml/libships platform specific binaries (Linux, macOS and Windowson
x64/arm64, including musl) as optional dependencies.v20.0.0or later is required, matching the engine range declared by@tombi-toml/lib.The exposed options, the configuration discovery and the formatting behaviour
itself are unchanged.
v3.0.2Compare Source
Patch Changes
a5ed072Thanks @JounQin! - fix: enablenpmPublishProvenance: truefor changesets v3v3.0.1Compare Source
Patch Changes
3a41234Thanks @JounQin! - fix: republish with provenance due to changesets v3 changesv3.0.0Compare Source
Major Changes
#519
e2e5c97Thanks @JounQin! - feat(prettier-plugin-toml)!: replace the unmaintainedtaplowithtombiThe parser/printer is now powered by
@tombi-toml/wasm-lib, which supports TOMLv1.0.0andv1.1.0and fixes the crashes reported in#487.
printWidth→line-width,tabWidth→indent-width,useTabs→indent-style,singleQuote→string-quote-styleandbracketSpacing→inline-table-brace-space-width.endOfLinekeeps being handled by Prettier.taplooptions (alignEntries,alignComments,arrayAutoExpand,arrayAutoCollapse,compactArrays,compactInlineTables,compactEntries,indentTables,indentEntries,reorderKeysandallowedBlankLines) are replaced by tombi's own options..tombi.toml,tombi.toml,.config/tombi.tomland
[tool.tombi]inpyproject.toml) is picked up followingTombi's search priority.
The discovered
[format.rules]override Prettier's defaults, while explicitlyset Prettier options override the discovered config.
v18.0.0or later is required.Tombi's schema lookup is always disabled, and discovered configuration files are
watched so edits to them are picked up without restarting the process.
See the
prettier-plugin-tomlREADME for the full list of supported options.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.
📋 Changelog
📦 Version Information
0.2.10.2.1Unreleased (c9351f3..c9351f3)
Package updates
All changes
Miscellaneous Chores
Generated by cocogitto
8468b74f53a9ff016c35a9ff016c35e89dd8cee2e89dd8cee2245776aa77245776aa770328b07f9bchore(deps): update dependency prettier-plugin-toml to v3to chore(deps): update dependency prettier-plugin-toml to v40328b07f9bc9351f3d67