cargo dprint 0.58.0

4 hours ago

Changes

  • fix(BREAKING): make --config file patterns relative to the config file's directory (#1257)
  • feat(BREAKING): evaluate associations and override files in order where the last match wins (#1258)
  • feat: add plugins with dprint init when a config file already exists (#1241)
  • feat: additive plugins (#1249)
  • feat: always pre-select a json plugin with dprint init (#1252)
  • feat: support neverPreselect in the plugin info file (#1253)
  • fix(development): harden range markers in specs (#1256)

This release features a breaking change for glob patterns in config files specified with --config <file-path>. Previously in this case, the patterns would be relative to the cwd, but this was bad because it would cause things to work in unexpected ways based on what the cwd is (fragile). See #1257 for workarounds and please open an issue if this really breaks you and I'll try to come up with a solution. Remote configs will continue to work like before where the patterns are relative to the cwd.

Install

Run dprint upgrade or see https://dprint.dev/install/

Verification

These artifacts have build provenance attestations.
Verify a download with the GitHub CLI:

gh attestation verify dprint-x86_64-unknown-linux-gnu.zip --repo dprint/dprint

Checksums

Artifact SHA-256 Checksum
dprint-x86_64-apple-darwin.zip 47e0c48127c9ac306bc66c4af0c3146ef41bd008c5eccc956691c09e2661f077
dprint-aarch64-apple-darwin.zip 06a7ea017e4d7da296f8a44fabb2f3d6ffafa91bbd5fddd4830bdc418bacb46d
dprint-x86_64-pc-windows-msvc.zip 6ab827fba525918670ff666edb5fc50917157c803c9abdc463131f75b5df0840
dprint-x86_64-pc-windows-msvc-installer.exe 9ce61595a0c55dfe56dfa6fa9f9dfb7e1bf4fa1953734c2dcda95805a5558157
dprint-aarch64-pc-windows-msvc.zip de86d320f0753f8803ef957baec766be18858e4021ddcf2d0584142a8ace1bae
dprint-x86_64-unknown-linux-gnu.zip 3047dcabe684fe32868d1959f7fad4ccbc2996a393d639bbb6634668fa08dc49
dprint-x86_64-unknown-linux-musl.zip 06c2a239a1214d5f9e76c364cadbd0ffaee710fdb516ca6448b08860364db6e2
dprint-aarch64-unknown-linux-gnu.zip f161161399b5ef62b3b68570ea1df24d16687adfbb88c125c8c4355e5780c407
dprint-aarch64-unknown-linux-musl.zip c74dd4f48dd9b8d6d595acfb238dd32ede67bdf792e8c6e2b8760cdaff9d80fb
dprint-riscv64gc-unknown-linux-gnu.zip 81b2e4138324b1bb78bafc13e72d8073e001c7164a579ede11128534ec41bfe4
dprint-loongarch64-unknown-linux-gnu.zip 3c7771c4026c2769c0d77675caa4a426d025e7403e6c911d51a3f36385c8f1a4
dprint-loongarch64-unknown-linux-musl.zip 76aa022f9722f94222240cb84b44df9e8e64d9b4a4a6acde01f8aa9b7cc4e776
dprint-powerpc64le-unknown-linux-gnu.zip 1cf739e5b89d6a82ea16c42131aca07e767ff086437262680310b905f41bb271
dprint-powerpc64le-unknown-linux-musl.zip b9616bd309b562ab2a263b2c8555e65237c8c9db4ad6936cff1c04b1173b6bef
dprint-aarch64-linux-android.zip b44b7620087d9e9ddeecac0929aa5be19f1ff4a971df15747294f03345647979
dprint-x86_64-linux-android.zip f85b1998119f0d369397828a8c1262160b27d9b9b92ca75ab7952e444c344e8b

Don't miss a new dprint release

NewReleases is sending notifications on new releases.