Skip to content

Releases

0.66.1

Choose a tag to compare

@github-actions github-actions released this 01 Dec 17:52
Immutable release. Only release title and notes can be modified.

Changes

  • fix: add DPRINT_NODE_MODULES_CACHE env var to not store incremental cache in node_modules (#1507)

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

The zips are also described by a signed packslip (packslip.sigstore.json):

packslip verify packslip.sigstore.json --artifact dprint-x86_64-unknown-linux-gnu.zip

Checksums

Artifact SHA-256 Checksum
dprint-x86_64-apple-darwin.zip 94084918b1b311458cc2b414409bead9969a90aff83926ca664cf88b81bd30db
dprint-aarch64-apple-darwin.zip 7e63bdaab0aca2e806351301a838e7207b45f7466588aa0568ddd3609c6f4564
dprint-x86_64-pc-windows-msvc.zip 366bfe1bf8f85c75ca91c5cb20e13394e0b4be8cbb87999258b3aa49f0ce7545
dprint-x86_64-pc-windows-msvc-installer.exe e06d771dd8fbaec2b796a38087742a1e69b8f53685cd9a62783e2c499939719e
dprint-aarch64-pc-windows-msvc.zip c79cd2d8a9e4585af27d02bc3e8c5ef12346ba6b0af7ddc1cf9750fedf31d9fb
dprint-x86_64-unknown-linux-gnu.zip 6cdca80d5a49a2782c08200a74bdb95579140365fef24dd7c48242d31c3d2991
dprint-x86_64-unknown-linux-musl.zip ef4015037160f1137120eb2e10f89350803bbf55dd055e3922a64762efb10d39
dprint-aarch64-unknown-linux-gnu.zip eebbf3192819e8b35c1930ac0ce38f807960e25506984334a154fd5a3dfdcd99
dprint-aarch64-unknown-linux-musl.zip 2f1178a8448b605736a105fabd7025421f6ddebe7096643502bf3fddaa7e2c8e
dprint-riscv64gc-unknown-linux-gnu.zip fb6784920149262a6e432a4ce95f05f94f0954b44bc9d064657952956469fe9f
dprint-riscv64gc-unknown-linux-musl.zip feacefc224f614db4e510f0ce4c21de46bc45982701245bec9690aba288d4ad1
dprint-s390x-unknown-linux-gnu.zip 440e4f89151ff8900aad15067226b862c3342381815a7195ae0d4a4eb96dfd90
dprint-loongarch64-unknown-linux-gnu.zip 66f002cebfb500fb70e86bf84d1bd8bbb271b76a5d72b4d57f1e46d6c3b22b92
dprint-loongarch64-unknown-linux-musl.zip 26ae07290b6341d3583eb740b4e056247200a3edfa743216adbe9f3e2858e345
dprint-powerpc64le-unknown-linux-gnu.zip c4be8f005ab28831f2011ecb2776878f853114b1231ae41c64a226168e3fa56d
dprint-powerpc64le-unknown-linux-musl.zip eb91de4755e4e27d3b757ffe7c4c8f68a2107969430aa4e32a1ddc8dbca0ec2c
dprint-aarch64-linux-android.zip c2fffb9d86b3d47a797a276229aa42cf8bd28cb7b79d141046f8a97c0091547b
dprint-x86_64-linux-android.zip 0d6e7f4266ad2ab3642dc95e80e4ecd3ea91424e12972365005654bcd8cb1e96
dprint-x86_64-unknown-freebsd.zip 9e37f395654d05e62a86cceed6dde7f652dff028b56470efd0561e07c28c5db9
dprint-aarch64-unknown-freebsd.zip 05abf8d776f2b2296b52a63bcf6dfc301b3d5aa65d9b72bf9258a54bfec91b42

0.66.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 03:04
Immutable release. Only release title and notes can be modified.

dprint is a pluggable and configurable code formatting platform that unifies all your formatters.

Version 0.66 is faster. It also adds ways to lock down what dprint downloads and installs, makes dprint upgrade safer, and improves the incremental cache.

Performance

Most of this release went into reducing dprint's own overhead:

  • Plugins read, format, and handle files in batches on their own threads, instead of going through a single thread several times per file.
  • Large files are formatted first, so that one isn't left running alone at the end.
  • Gitignores are applied while reading directories in parallel, and files that can't match are skipped earlier.
  • File paths provided as arguments are resolved by listing directories instead of looking up each path.
  • Compiled plugins are memory mapped on Windows.
  • Files that haven't changed aren't opened on macOS when using the incremental cache.

Median times of 0.65.0 → 0.66:

Windows Linux macOS
Warm incremental cache, 5,000 files 69 → 33 ms 27 → 8 ms 66 → 18 ms
500 file paths as arguments 66 → 22 ms 53 → 7 ms 53 → 16 ms
Globbing 128 → 27 ms 25 → 12 ms 34 → 26 ms
Many small files 112 → 32 ms 40 → 12 ms 102 → 49 ms
Files with embedded code 55 → 25 ms 25 → 9 ms 56 → 29 ms
fmt where every file changes 49 → 41 ms 19 → 19 ms 63 → 63 ms

These use plugins that do little work in order to measure dprint itself, so expect smaller gains where most of the time is spent formatting. Large files and the first run of a plugin take about the same time as before.

Incremental cache

The incremental file is now stored in node_modules/.cache/dprint when there's a node_modules folder, and otherwise in dprint's cache directory like before. It's also now a binary file instead of JSON for better performance.

Use incremental in the configuration file or --incremental=<value> to choose how changed files are detected:

  • content - Opens every file and compares its content.
  • metadata - Doesn't open files whose metadata hasn't changed. On Windows, this needs Windows 11 24H2 or Windows Server 2025, and otherwise the content is used.
  • true - Metadata on macOS when not on a CI, and otherwise content.

Locking down downloads

Two new environment variables limit what dprint does without you asking:

  • DPRINT_ALLOWED_HOSTS - Comma-separated list of the only hosts dprint may connect to, over https (ex. registry.npmjs.org). This includes redirects and proxies.
  • DPRINT_AUTO_INSTALL - What dprint installs automatically. Set it to 0 for nothing, or to a comma separate list of what's allowed (wasm for Wasm plugins and config for remote configuration files). Install the rest explicitly with dprint install.

See Hardening dprint for how to use these together.

Safer upgrades

dprint upgrade now downloads from npm instead of GitHub, using the registry in your own ~/.npmrc.

  • Only installs versions published with provenance from the dprint repository, and verifies the integrity of the download.
  • Respects min-release-age in your ~/.npmrc. Use --minimum-dependency-age to override it.
  • Respects DPRINT_ALLOWED_HOSTS, always requires https, and refuses to run when DPRINT_IGNORE_CERTS is set.
  • Only replaces the current executable once the new one is known to run.
  • Use dprint upgrade <version> to change to a specific version. Without a version, it never downgrades.

This applies when upgrading from 0.66 onwards. Upgrading to 0.66 uses your current version's implementation.

Plugin development

Plugins can now set skipStableFormat in the plugin info JSON when formatting their output again never changes it. dprint then skips formatting changed files an extra time to check that the output is stable.

This should only be done for plugins that actually achieve this.

Breaking change

The editor.trustedDomains setting is now editor.autoDownloadDomains. The old name still works, but with either name, each domain now only matches that exact host. Use *.example.com to match its subdomains. Editors ask before downloading from a domain that no longer matches.

Changes

  • feat: let plugins skip formatting until the output is stable (#1469)
  • feat: ability to specify "content" or "metadata" for incremental (#1493)
  • feat: add DPRINT_AUTO_INSTALL env var (#1466, #1495)
  • feat: add DPRINT_ALLOWED_HOSTS env var for limiting the hosts to connect to (#1497)
  • feat(BREAKING): rename editor.trustedDomains to editor.autoDownloadDomains and require *. for subdomains (#1498)
  • feat: dprint upgrade downloads from npm (#1502)
  • feat: dprint upgrade requires npm provenance (#1505)
  • feat: support upgrading to a specific version with dprint upgrade (#1506)
  • feat: store incremental file in node_modules and use a binary format (#1473)
  • perf: only check for raw mode when logging to a terminal (#1471)
  • perf: handle files formatting didn't change on the runtime thread (#1472)
  • perf: apply gitignores on the threads reading directories when globbing (#1474)
  • perf: read, format and handle a file on the Wasm plugin's thread (#1475)
  • perf: format files in batches on the Wasm plugin's threads (#1476)
  • perf: do not check every CLI path for each directory of a file path (#1482)
  • perf: skip matching globs for files whose name cannot match when globbing (#1484)
  • perf: list directories instead of looking up each CLI path (#1483)
  • perf: format small embedded text on the thread of the plugin (#1485)
  • perf: do not create paths for files whose name cannot match when globbing (#1486)
  • perf: start the threads reading directories as they are needed (#1487)
  • perf(macos): run fewer batches when most of the time is spent reading files (#1488)
  • perf(windows): memory map compiled plugins (#1489)
  • perf: format large files first (#1490)
  • perf(macos): do not open files that have not changed when using the incremental cache (#1491)
  • fix: do not panic when the output pipe is closed (#1479)
  • fix: handle more ways the output can be closed (#1480)
  • fix: do not hang using all of a core when the terminal is closed while prompting (#1481)
  • fix: resolve executable of process plugin in node_modules from node_modules (#1494)

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

The zips are also described by a signed packslip (packslip.sigstore.json):

packslip verify packslip.sigstore.json --artifact dprint-x86_64-unknown-linux-gnu.zip

Checksums

Artifact SHA-256 Checksum
dprint-x86_64-apple-darwin.zip 23d2d405acd328ebcb3c2e4264a6115f51d71819b3fa1b1fb7fa3a8b5308a173
dprint-aarch64-apple-darwin.zip 458ea1e73b12c040ce3faee82bf5ddc8bfd8e0db66754a5dc355b7e50b9aa79e
dprint-x86_64-pc-windows-msvc.zip c81420613382e0a850600bd43a113b12c9f7981d7f4658049ea25a832be74e46
dprint-x86_64-pc-windows-msvc-installer.exe 1529f503ec324d405267e62cdfe6430bb1740ea15928641d47b5e1863ca88bba
dprint-aarch64-pc-windows-msvc.zip 02189d20f9ca258bea28e9f2c116210cb33e1eed7df281090868912ba341bc83
dprint-x86_64-unknown-linux-gnu.zip 38096e06f17f197a9ac7d17cee7cd1c9cfb09d40803eda7b586f975724b770f4
dprint-x86_64-unknown-linux-musl.zip 861b8d774f48274fa2adc4d6e36dcfa1754b0c908694c27cecc0e1b4826d536c
dprint-aarch64-unknown-linux-gnu.zip 25944f675cb060ce32286c3aab3a8ba388d96ca37b2724dcb0f5ffb5abf0610b
dprint-aarch64-unknown-linux-musl.zip 67262750eed60b3cc1d42ad2328ab4dcc89609b94ae99e69b45088687606bfae
dprint-riscv64gc-unknown-linux-gnu.zip 779f3336470087e6a1105af56971162060206c67a2722cb7adafe1a4b3d88278
dprint-riscv64gc-unknown-linux-musl.zip 235b75eb6784732b695dad34dce657448cf3c48e0180fd60a5011c8c066d450f
dprint-s390x-unknown-linux-gnu.zip 6173fea999f94a8b9b07f6cbb6ca6d9bd7bace845de2f28b969f62151b3cd102
dprint-loongarch64-unknown-linux-gnu.zip dfcdc0f959092c030d201ea3ba10ad0e92cc4d9fbb3d0e84acf15edc39d910e4
dprint-loongarch64-unknown-linux-musl.zip 834b8911874f61b9f4f2e5265e5aa95280f86cf9a86b0fc58783ecf86a1b4041
dprint-powerpc64le-unknown-linux-gnu.zip 41972d6e179ac9101c73576d9a48bff4e0dc4e752697efcbd4c439b5b507e4ce
dprint-powerpc64le-unknown-linux-musl.zip 94f1aa895ea21b6e6d211b6086d390a46b4a16c681f01dada06b2347391e0154
dprint-aarch64-linux-android.zip 46af43028c224fa683032171c4d2ddc17e38b5cad7add2258df3cfa0a76e27d4
dprint-x86_64-linux-android.zip d543954abc0c5b0b7d3eade91dd7e553ca9a94ca1f36ab5aff47a2c0b1bf2f71
dprint-x86_64-unknown-freebsd.zip 1a351b503496f04b91ec30cf3fb7e159f0f9030a40045472a2f2d612101d2b7e
dprint-aarch64-unknown-freebsd.zip e2a0b7cdf408ea1965ebc29df844f3aab7228c3e56f8720c71baa09ea02b3a3c

0.65.0

Choose a tag to compare

@github-actions github-actions released this 16 Nov 23:03
Immutable release. Only release title and notes can be modified.

Changes

  • feat(BREAKING): support checksums on extends and only configure process plugins from trusted configuration (#1396)
  • fix(BREAKING): don't let associations or remote negated excludes override the gitignore (#1393)
  • feat: update npm specifiers in extends with dprint config update (#1464)
  • feat: let plugins say whether they format a range (#1422)
  • feat: add permissions to dprint lsp to prevent editor from downloading from untrusted sources and to prevent running process plugins without approval (#1408)
  • feat: publish a signed packslip with each release (#1407)
  • feat(BREAKING): restrict process plugins override config (#1397, #1457)
  • fix: only allow npm package names that npm allows (#1402)
  • fix: explain a missing dynamic loader when a process plugin fails to start (#1403)
  • fix: report a wasm plugin running out of stack as an error for the file, and give wasm 8 MiB of stack (#1463)
  • fix: respect .git/info/exclude in a linked git worktree and a submodule (#1462)

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

The zips are also described by a signed packslip (packslip.sigstore.json):

packslip verify packslip.sigstore.json --artifact dprint-x86_64-unknown-linux-gnu.zip

Checksums

Artifact SHA-256 Checksum
dprint-x86_64-apple-darwin.zip b94e2ede59904f34f8047ee9f069767acf19df389b3983f4b97a4fd64f5fcf15
dprint-aarch64-apple-darwin.zip 5e57a5e75f5d29d1f9dcc10255fccb9815031f4720fe6759643d0ee12cf201f2
dprint-x86_64-pc-windows-msvc.zip 83bc6c5df42d6001062a71ac475ceb5be119472af6afb3fce52ff13ed042db77
dprint-x86_64-pc-windows-msvc-installer.exe afd9750f7fcce375f8e26618a9ec7aff8bbcb6206f934763ea957510d355f2de
dprint-aarch64-pc-windows-msvc.zip 350e2e9c021f5f034796de9330a665346d50b72de892d04bb85db0d073b39112
dprint-x86_64-unknown-linux-gnu.zip d1aaf0c6d015931b860804eda5bf7fac9d29e2253351b7d6b0177e6b03a8776d
dprint-x86_64-unknown-linux-musl.zip 61707303f4305891fecffec1f92ec8243b07e9d3ba8a7e81f7543fc77fb0002d
dprint-aarch64-unknown-linux-gnu.zip 804535e54f431674f5481725ba5d4718de0a7398d6abd33b899fd734f6d98062
dprint-aarch64-unknown-linux-musl.zip a427ef844b300d896b3f836706bb77d8df6b77f8f2627103c4a34ded94cf6ae1
dprint-riscv64gc-unknown-linux-gnu.zip d01a42eee2853c0dc9f82ac4a0936caf1697df7ff110ac293150590af37765c3
dprint-riscv64gc-unknown-linux-musl.zip bf9c8bb9d8e645f02730569b227fc29b78b289c3b141321ed1d5f0842d2adccc
dprint-s390x-unknown-linux-gnu.zip b8a2a4e9682b5c50e578ae728d475ff975b22b347f90840cb9f7029c204a8b51
dprint-loongarch64-unknown-linux-gnu.zip 549ad89d5047f5dba1f2697f6e64523055ca970faa1251ad794d185140892f70
dprint-loongarch64-unknown-linux-musl.zip 4aa4207d7739d17870959279652e9c16c2bdadb089bc073343065a7d492afd76
dprint-powerpc64le-unknown-linux-gnu.zip 66de75206b1b5605a9c9f22d5e74a6ae140d78e6886977d1402d3243c43160b6
dprint-powerpc64le-unknown-linux-musl.zip 3bcaec88382d72d40c774f8e610371d3842b72497d179723fcbe1dfed09040e1
dprint-aarch64-linux-android.zip 42145b20fe651bad58ce8a01473bbf6bf7c50447012311c329642c409927e1f6
dprint-x86_64-linux-android.zip fc801196d0a437284d62047d586d74c53b42aa1f2fcd6e4139612eddff554564
dprint-x86_64-unknown-freebsd.zip ea508181562fcabaee8f684b006344f6213b1cbe0659cfd5f5584c55f703ddf6
dprint-aarch64-unknown-freebsd.zip 843a286b93db221e70d94f7f991f5a053f02222391de9eb15ab755f6c1be2b5b

0.64.3

Choose a tag to compare

@github-actions github-actions released this 23 Oct 01:32
Immutable release. Only release title and notes can be modified.

Changes

  • fix: rebase association globs above the config directory instead of dropping them
  • fix: don't let plugin associations move the file walk outside the config directory

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 b868e1e87d2ed23217e5ea9521989c167ce8392090088bf0e1fb43be727ea752
dprint-aarch64-apple-darwin.zip 94b48820945602fb113a34343db0a9e653a8346c60966f790556dc9ce4084a92
dprint-x86_64-pc-windows-msvc.zip 3beb87a2582f1e43a301efd0840565518484e53f8c7b0ad27b857eee08e0745f
dprint-x86_64-pc-windows-msvc-installer.exe b9786b2a4ed1344040e8761f6eddd06124e19bbe6b4531b72cfaf7643dc08cbe
dprint-aarch64-pc-windows-msvc.zip a6bfe3d9146634d73fbc43d827c8793a1e09fff4e7c4ce4992048f31767499b1
dprint-x86_64-unknown-linux-gnu.zip f71cb7e22d6776439eba168d5cb296092d6413fea7148fe4d70684a2702a4fee
dprint-x86_64-unknown-linux-musl.zip f105dbc2b0bc0d83c644fcabc3e7bd8779469c0d9faeda48365c58b389d5a443
dprint-aarch64-unknown-linux-gnu.zip c820bfc67b0cd6f5f0fa4d00ecdcb056944c86030859f5e50151c88d9164b30d
dprint-aarch64-unknown-linux-musl.zip 61c8936368ff4030a615ce43853adc5a0707ff77973743d0a691aee2cbf64723
dprint-riscv64gc-unknown-linux-gnu.zip 2a91437a5d61d6a47f0f58669238dcb35e765a36cdba71997eff179802c5090b
dprint-riscv64gc-unknown-linux-musl.zip a4b109fed988b73b4416221b698e08444333b97d2b0de673e15e5cc9331063bf
dprint-s390x-unknown-linux-gnu.zip 2d491ad3d9004e4cfdf6d90aaa6e1c7b3b92a8a5557f5ff0bc5df79e39f5ca4c
dprint-loongarch64-unknown-linux-gnu.zip 04a3a540ce665acc3ed7b7304f10259f3c14007211cab9479cb88abbaa29dd39
dprint-loongarch64-unknown-linux-musl.zip 848ff9e36d3a16d6f6f660cb8b4df543214d6fd5bd4a6ff1791d3e4719405cf3
dprint-powerpc64le-unknown-linux-gnu.zip d20524979cf322248610f79cec29f4d9c419b84dc49f919960a54edfad03107e
dprint-powerpc64le-unknown-linux-musl.zip b69e7564558b51eb8be1b1f5fb4cc2a7eb87f4e1ac63ec53f58497c4d56d7002
dprint-aarch64-linux-android.zip 9b9ca3e0465f3f17c818bb411fa315c12b88199459579d328db398073cfa5911
dprint-x86_64-linux-android.zip f741d595cd68c339b2ee1e6a5ca1448d1208315ba96a961704468f719b6388c8
dprint-x86_64-unknown-freebsd.zip 29d39e2a2dd1907b545c34920a9649b0a779d4cf0d993b25d3d79bad5c248012
dprint-aarch64-unknown-freebsd.zip 5760d57bd8d883d044177f3e721d2787854656560c3c5ae1d2da50a0bfff82b0

0.64.2

Choose a tag to compare

@github-actions github-actions released this 23 Oct 00:04
Immutable release. Only release title and notes can be modified.

Changes

  • fix: don't restart process plugins after shutdown (#1377)
  • fix: don't hang formats in flight when a process plugin shuts down (#1385)
  • feat: warn when an npm plugin or config version is deprecated (#1380)
  • feat: warn when a plugin's update url says it's deprecated (#1383)
  • perf: upgrade wasmtime to 50 and make call_indirect cheaper in wasm plugins (#1389)
  • perf: disable native unwind info for wasm plugins (#1388, #1391)

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 5aeb70679f1918f59cc10cf0a460b4cb1b2b4bcbf9fc2c2206d7b5d9b09baeb0
dprint-aarch64-apple-darwin.zip ff6a7964762554433a17239225415efc216cf4e716313d2a84f34a75e3ed8920
dprint-x86_64-pc-windows-msvc.zip 1aea21bee5829abd6faf46f01f2b11a001526bf3e8bc2d9011a262b79bbbd018
dprint-x86_64-pc-windows-msvc-installer.exe 2e05df2454e5f33dc1b7ab0e03794472c285c9b21ef3b836861329f9f8a4ddf5
dprint-aarch64-pc-windows-msvc.zip 59da5c4d8a11d6efe1be7f0fe663eaeb909cf8eb2905c796158a1b0da74cc962
dprint-x86_64-unknown-linux-gnu.zip 0e1f5fb1a47e5b8fc9eedfed0a5549f79a6352aeb6eeebd0205f0c6dae1531f3
dprint-x86_64-unknown-linux-musl.zip d00d42d5aa390d82ad405aea60d186e47b37baabe2e304d0c142cb1d40ef731a
dprint-aarch64-unknown-linux-gnu.zip 5408f1b4f0355a7f5d48fc29e0fe84330539647892c90bd9f201af9f7dcc4242
dprint-aarch64-unknown-linux-musl.zip 30c812f7fa41b32fc40b3f1cdbab07ceb010186ea0aaa285f47bf4266fdb209f
dprint-riscv64gc-unknown-linux-gnu.zip 318abbb4c9139766e6d51228c2d0f9df9a074f4e56eb4201e331bc2f6a0ad687
dprint-riscv64gc-unknown-linux-musl.zip 56133dbf9be4ea31e26d61a25b06b44b0e091eda5e6ebbc567731f65ce688c6b
dprint-s390x-unknown-linux-gnu.zip 35dfa23267751f859a752e08a91278ae292edcbafbdb2499ff14248342dbfff5
dprint-loongarch64-unknown-linux-gnu.zip f091ab13fac328e2419fe642766388600c311ee4f17b937caeb808e8fc446494
dprint-loongarch64-unknown-linux-musl.zip b2e7972d74e5b703b362a4616c62da76f5c15addd6bd6029ad5ddd6c7dfde13b
dprint-powerpc64le-unknown-linux-gnu.zip acf6d426688b9629039728ca5ac79cd939555538165a0bc0c705722c6265e8f2
dprint-powerpc64le-unknown-linux-musl.zip d1dc885193aed19ffd235d4371386fe26406994ca3ae5c9c3864857fb2c4c151
dprint-aarch64-linux-android.zip 71fedf68ee95c3289690425654f5fd3643c691e444f515f82372c2dda7cc1945
dprint-x86_64-linux-android.zip 698a2615f99f322075276a0218745ebb7060a28ce5b62834c17a45c16255bfee
dprint-x86_64-unknown-freebsd.zip b8b62a01a752b558d66dcc5dc77a85fc3b29a02f7c2bec7b2b58f0555ec4d9c4
dprint-aarch64-unknown-freebsd.zip 580ff1990257e5bd33b42465370ca14e39b9fe222b681ece43b504929403ce18

0.64.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 19:39
Immutable release. Only release title and notes can be modified.

Changes

  • fix: update webpki crates to distrust compromised eMudhra certs (#1374)

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 8a6f9d9e75e0379fb1b7fbc4a4528d33f72e050075bba7b20445be975a6d3273
dprint-aarch64-apple-darwin.zip d2a6e67e6aa308ed13d09627e8a8e8fe2cd3f62aeb406fe653d59bcec2c25c47
dprint-x86_64-pc-windows-msvc.zip 52f59def557bdab65744d2b0cd23585843b8158d2427f7a671c35bdd080b38d0
dprint-x86_64-pc-windows-msvc-installer.exe c33aa49fb5beda929c7129caf83f7c29302376e65845f03da9eec504210846e5
dprint-aarch64-pc-windows-msvc.zip 9ac56dff1efd7aee00604bfbc19c979a600d7387365ed2013dafee33e8081c4f
dprint-x86_64-unknown-linux-gnu.zip 9c2e00cd256dfa2c03a7f568ff08d8277abc5788c7f39fcd9ef325c4642cb4b4
dprint-x86_64-unknown-linux-musl.zip aad2ee102014c563112dcdad65e131dbcfe123355ef948ae91d806e833cdbf40
dprint-aarch64-unknown-linux-gnu.zip 5d83774c7546bd7a223f243a17e7851a75b8315899d2a42268e40ebbae66c69b
dprint-aarch64-unknown-linux-musl.zip c8826c0b72fc0e1655404bf91fc29f821c01436e53152788e417df13a40d0671
dprint-riscv64gc-unknown-linux-gnu.zip 4ad47f90731653e801dfacdc8a71054b8ca5ca7714fe6ac280b46d3c7e1d2ad6
dprint-riscv64gc-unknown-linux-musl.zip fb94e027362db09f5c257714446ef1b62bb1ecda851c8137616dc75ffd75bc01
dprint-s390x-unknown-linux-gnu.zip 6c7f10fe58311f4a7ee3e754c1259b8ed694738df32ec25757290af1804ed169
dprint-loongarch64-unknown-linux-gnu.zip 8a0c9a1a8558db8d99749533f35a6560196765ce6f0b02003ca7797067668f5b
dprint-loongarch64-unknown-linux-musl.zip cc5a9b124b9305cdbba14ebd32e45dcf76d213f4ded7ee73a87f5bfae176bcc7
dprint-powerpc64le-unknown-linux-gnu.zip f6196308d7566f22a03211e102779ae1d7fcf4ea4e8ab33030262cd23d29afce
dprint-powerpc64le-unknown-linux-musl.zip bd6217389e91b580517183b2b7ebdf15ffe4f779b353f1714c5cb6b0d444cf30
dprint-aarch64-linux-android.zip 045b30c63e9372eaa0411e98a2b708bf2109bbb9502e74f0c3b13745d871d3d3
dprint-x86_64-linux-android.zip ee92b821461a07cdd79d7a82c634eca7396b92a8b156d973035a1c50f4e98db4
dprint-x86_64-unknown-freebsd.zip 1cf2828d9c2644442393e5766e12bb24bfffcd739a33c65f1baeb568ffb49b0a
dprint-aarch64-unknown-freebsd.zip ff6f28b3a0609e4b56b2c0a266e63cafa7d657d9dab9ce4edc0ed59d87f0bce4

0.64.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 21:08
Immutable release. Only release title and notes can be modified.

Changes

  • feat: support config file in a .config directory (#1369)
  • feat(init): plugin options, preferred plugins, and adding above existing plugins (#1356)
  • feat: support Wasm plugins that use exception handling (#1371)
  • fix: show download progress for gzip compressed responses (#1358)

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 c5eb2a8b07e12d32818ee9f3c19c708d88be2c974eedaab7c4a31e902e30f429
dprint-aarch64-apple-darwin.zip 791560cf48299933a9fff2aea93b7e42b39e62d8a109634619d01c4f2c1aa68a
dprint-x86_64-pc-windows-msvc.zip 2d0be3f0aa8d3c55e4ae19de324353d2179dade2a05b0eda5bd80bc1b94579cc
dprint-x86_64-pc-windows-msvc-installer.exe 1b826f7205f02d356f4a3072369626aec33d873fe6bd33246488cc8906563094
dprint-aarch64-pc-windows-msvc.zip 55a758b94fbe009acae7aefa7638c4820709e19b0bfaf268405c11af54f56f2b
dprint-x86_64-unknown-linux-gnu.zip 5102aa940a060e48c33a5ceefce1273c701c6618503b7514323caada3b3649bb
dprint-x86_64-unknown-linux-musl.zip 21ac931303bb420bbdf3e0589506e5c32611c9fcff4ed2eb9802db657c499e9a
dprint-aarch64-unknown-linux-gnu.zip f9308f92d90ad8c5487730b5d8f90757e0e51070f075113d0e654f97f5d72a45
dprint-aarch64-unknown-linux-musl.zip 6366cda97e81de1bbc54d91d461e857afa595feb568bd1bec94ab2122e13d969
dprint-riscv64gc-unknown-linux-gnu.zip ff5d6b45c9fb1f49934af33ae20bec0c0655ccfdbce0a9a417ee706bc4171d6d
dprint-riscv64gc-unknown-linux-musl.zip 6bd2ff7cde6e90dd48a743980e35258f9cc92a10b6544311c9b23db9baa7bec6
dprint-s390x-unknown-linux-gnu.zip 22ec65610872c48f1ddc0dfa2acfa11e18d2cb88ef1630b6f0606f9fc8597290
dprint-loongarch64-unknown-linux-gnu.zip 016a52d84f20c82b074d9dfbd0d802193fc2f3b97a86ff4c06a50f6a1a1c91c1
dprint-loongarch64-unknown-linux-musl.zip 359ed8678d9660b8e5016fe4bef111f23b7fcff890abd3deab02f8720b61d482
dprint-powerpc64le-unknown-linux-gnu.zip 19f6ae54f02301e30fc6b4c6075a80b86b32e8429b4266ca2c7aa710327bcc62
dprint-powerpc64le-unknown-linux-musl.zip 89fb5f4876e5db8fc8d369934e491c4856ebdef047e516f2b4e0f2cee53d3ef4
dprint-aarch64-linux-android.zip 17ddb34b9e452bb1ef79168ffb85c5780b58612ffc666c5620257ca3ce6d4b8f
dprint-x86_64-linux-android.zip 7dc159e4752207195574f8c32f08ad1e02f44a2bdf3ca5fd0c78393910ecebc2
dprint-x86_64-unknown-freebsd.zip 77c2a28f20a0dc1cc9a4ab559c47b4247d3a806a901dacc81c4252917f8daa28
dprint-aarch64-unknown-freebsd.zip 29e8eaf42650316993a119277e2031dbc6765e18fa463d9e1670f4397f5014e9

0.63.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 23:58
Immutable release. Only release title and notes can be modified.

Changes

  • feat: add dprint install command (#1339)
  • fix(BREAKING): use a dash as the range separator in --lines (ex. 10-20) (#1341)
  • perf: reduce allocations when formatting and resolving files (#1354)
  • fix: inherit the ancestor config in a main config with "inherit": true (#1340)
  • fix: do not exit the editor service when the config fails to resolve on a format request (#1342)
  • fix: include lengths when hashing configuration for incremental formatting (#1343)
  • fix: respond to format requests the editor service cancels on a config change (#1344)
  • fix: clamp the format range to the text in the editor service (#1345)
  • fix: exit the editor service instead of panicking when its output is closed (#1346)
  • fix: keep the editor service responding while the config is resolved (#1347)
  • fix: provide plugins the file path with the shebang's extension for files matched by a shebang (#1349)
  • fix: say when a plugin was already installed in dprint install (#1350)
  • fix: support --plugins with dprint install (#1351)
  • fix: warn instead of erroring when there is no config file to inherit from (#1353)

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 17081627eea67c016ba665379d8e721fd8aeaf13348f8757a605d0a9aad66260
dprint-aarch64-apple-darwin.zip 5c0a4a695f9a17754eec0039f28435aedb61e1e1a6b5f448eb098a64e039c857
dprint-x86_64-pc-windows-msvc.zip a9f6d1146bd2a01585f845086df248297d0e958ede700557c13a5b49ec11f552
dprint-x86_64-pc-windows-msvc-installer.exe 6c0e33e01296348fbe8a466b9a0c8589b903dd3979efa53baf9669d4bb14781f
dprint-aarch64-pc-windows-msvc.zip 913ceec8446d297d33f74c37dbddec0e5292b9a9da99bc7328bdd0c3144c7b9e
dprint-x86_64-unknown-linux-gnu.zip f58b5d7c13ccd613cfa264f1ae82d4e5db1373f8fe20462bc1126051d111b0ce
dprint-x86_64-unknown-linux-musl.zip 8914a940bdf4b9ba438de9ccfb4317105a8501eaf9d5593784c9f41387243475
dprint-aarch64-unknown-linux-gnu.zip 8dfbf17fc4be97020e51bd47e1370acdb019301295ed539840016671cab33e89
dprint-aarch64-unknown-linux-musl.zip 26df4a1534db02bb1c1f614e91f02fcee786357de80094a1fd5dcce27dec803e
dprint-riscv64gc-unknown-linux-gnu.zip 269538ef77dcbfe1f07d780063484f002d9656d8fb1e8d9a33aae6e4b77b6d75
dprint-riscv64gc-unknown-linux-musl.zip 716667cd8668436bf6d797eedd33bc38ef65db049e62a6c1ddfc5d05e7505528
dprint-s390x-unknown-linux-gnu.zip a477aad936498eec8b7298084137eed8a21274b16c804454e89b4b30c210adf1
dprint-loongarch64-unknown-linux-gnu.zip 9af469e2b6e0af97944675c611b4d6b23902d8ee2000049f920fa928fb230d16
dprint-loongarch64-unknown-linux-musl.zip 7ff2c5c9fcbf0b7abf189557bd8538c487083eb304ab16f444c439ee6b307a83
dprint-powerpc64le-unknown-linux-gnu.zip 7d554abef4e360e53eb15ea2815ef3d3158359bfc1e6975247fd54584bc57af9
dprint-powerpc64le-unknown-linux-musl.zip e8489402c3b2d381e3689d95a35f44b2ebe278827ee8f6bf51ea0ea6f0d60445
dprint-aarch64-linux-android.zip 7456d5a47718cfaf73b155e6987235ad11e740a1169820ec5d46a6b851bea7d8
dprint-x86_64-linux-android.zip 8a41f13225dd7b5286f9c2c9804cdfcbf0d3a871e59fbbde5481e8218eadda3c
dprint-x86_64-unknown-freebsd.zip 012af96871bcd97bc9b64a6149a03ef6d1b5fd08983f361d206143836ad7561f
dprint-aarch64-unknown-freebsd.zip 1e7d14a60b8031a2cd917dc5d6f314ed0c259cfb2a0f36edc43eb6db6714146c

0.62.0

Choose a tag to compare

@github-actions github-actions released this 11 Oct 00:27
Immutable release. Only release title and notes can be modified.

Changes

  • feat: add --lines flag to dprint fmt for range formatting (#1329)
  • feat: check for newer remote configuration files and add --reload[=config|plugins] flag (#1328)
  • feat: support npm specifiers in extends (#1332)
  • feat: add riscv64gc-unknown-linux-musl builds (#1323)
  • feat: add s390x-unknown-linux-gnu builds (#1324)
  • feat: add FreeBSD x86_64 and aarch64 builds (#1325)
  • perf: compile wasm plugin functions in parallel (#1315)
  • perf: load cached wasm plugins in parallel (#1316)
  • perf: wake the fs lock keep-alive thread immediately on release (#1317)
  • perf: memory map cached wasm plugins on unix (#1318)
  • perf: read the .npmrc files once per config dir instead of per npm plugin (#1320)
  • fix: format explicit paths outside the --config file's directory with only its unanchored patterns (#1314)
  • fix: accept npm: specifiers in the --plugins CLI flag (#1319)
  • fix: kill process plugin subprocesses so shutdown cannot hang (#1311)
  • fix: improve generated shell completions (#1331)
  • fix: detect the plugin file a package ships when updating an npm plugin (#1334)
  • fix: warn when using old dprint-plugin-gofumpt versions (#1310)

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 3cf624098a1d49b978b4e87355f087fe4bf8426ea1e1e6ff9b2859138a41eea0
dprint-aarch64-apple-darwin.zip b0d4b4c9c2ea68f86caa044f139b898d2cd0c4080cdc8bf70be9454a8acfe0af
dprint-x86_64-pc-windows-msvc.zip 322e47e188bba6ff3784ef1be0c5f569fc270467eeac4dd10015030599d9466d
dprint-x86_64-pc-windows-msvc-installer.exe 3cc11dd917e52a77e4771e5539c3c53707029faa945778a489cc4f00047cc1d6
dprint-aarch64-pc-windows-msvc.zip 39c70a48172840d7b40f1133ff4f944b2b5775e5b58cecd170fdcd43884ac415
dprint-x86_64-unknown-linux-gnu.zip 9d2de0313bbfc26ed80148a38a430c037a216a905cdf317f6271f8a10311933a
dprint-x86_64-unknown-linux-musl.zip e8d4a78fc6aa1b1a3f007d947a3c9a1ae1b0c240868107c496eb2992cc1630be
dprint-aarch64-unknown-linux-gnu.zip 79025432b0fcfaa09fa1324a97a2cf4ec5d972175830fb496dc4be4f6a89340e
dprint-aarch64-unknown-linux-musl.zip c423c7ee51187129db67f0bab4584cf7ff6fdeb29faf04d1521fa79a5c12c520
dprint-riscv64gc-unknown-linux-gnu.zip 20bc8c48affd664cef4bdf1123bf4aa4dfff419ee692b3ec52b94d89a7a84096
dprint-riscv64gc-unknown-linux-musl.zip ef9e8a5cccedfc9d2e5c077cec1a65a3da0989d7019f1f56b62520bf6ef81fc3
dprint-s390x-unknown-linux-gnu.zip dab1e69ac6398cf39fec9511337321dea14ff25d3bdcdf85e35d60a267b6f277
dprint-loongarch64-unknown-linux-gnu.zip 8e84daaa12f331cceb51bcf45965c4a012ad038b780ccaff5f99b58c131f30e0
dprint-loongarch64-unknown-linux-musl.zip 0dc2f45f9ab2de05f55fad978bda72e2f4b6befda7ada60f52998a0ba002ecbd
dprint-powerpc64le-unknown-linux-gnu.zip bbb1e4430d0f9bf7613dfdd979c415f835053b6240453112f97260e0f4592b08
dprint-powerpc64le-unknown-linux-musl.zip eb43af95467f0f955392c5cc390deaf2f85e5b172150f3ca13ed91ff8769a940
dprint-aarch64-linux-android.zip 7afdf81eeb9adfff6e0ba49d7c53fb8bb5abde7fabdd8e37021fb774485c5ade
dprint-x86_64-linux-android.zip 103783549df6a052be70b68567c210b95aee7f55366e680053c5b3249c1c23ea
dprint-x86_64-unknown-freebsd.zip f56a4b605885b26dd6625d6bf6f3f67868e393ab553f1d4097683e7a1375ce77
dprint-aarch64-unknown-freebsd.zip caec9fb7b04e0dc4d0be6c294ab6eb52c2d2d7e6652a9f8088a09ea4b0a874ee

0.61.1

Choose a tag to compare

@github-actions github-actions released this 07 Oct 21:04
Immutable release. Only release title and notes can be modified.

Changes

  • fix: do not initialize old dprint-plugin-gofumpt versions twice (#1308)
  • test: start up all known plugins on the CI (#1309)

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 9b38610df23417c5cce6daa7d9fb43d9960a5f859fa91cbe7c12f11198074900
dprint-aarch64-apple-darwin.zip 3fbf19db032dea2e8eb6e52eebbc8c328954a46d52ffd97d99a95b9c9b81414f
dprint-x86_64-pc-windows-msvc.zip f259df6beed31a7242a613cf1ff948637ca17d1b385f8effa2cfbf6a056ff84c
dprint-x86_64-pc-windows-msvc-installer.exe ebc76aace124258db76ac3501bcbcaa182cd615956e5c7311b54b6059a80f9eb
dprint-aarch64-pc-windows-msvc.zip 061f0c0790de5e6758c73c0d2639f698b9802c1bb5c6c70124c5ebb112b1afce
dprint-x86_64-unknown-linux-gnu.zip c33d901d2f5b81af680bce50902e7193e6c169f4f2dd6e1d41d3c5a96d70ecb4
dprint-x86_64-unknown-linux-musl.zip b85ad46a2e8e686b4ff1ff1dc1f0a0f947e766df5afb08ce367cb0d152dff616
dprint-aarch64-unknown-linux-gnu.zip 6585c1a475e995cbd3729e039579c6fef9f28202c3b94bf252ab04f8f4177876
dprint-aarch64-unknown-linux-musl.zip d0658fcc2887fe8ba396f6ef0fec28c97a6d59558835b7b82e573ea923c53b25
dprint-riscv64gc-unknown-linux-gnu.zip c5af6a12fbecd25c858af69910dc0f4791552c913b8b73293d44ab00d6a1b71b
dprint-loongarch64-unknown-linux-gnu.zip fc015e872f00d89675d90ed950c6e91de9c712580dab5077be6f41b0caf5a96f
dprint-loongarch64-unknown-linux-musl.zip cf7af7c011e29477569523a8c3ea17167a844c3e536c134319ec30d818eb8d73
dprint-powerpc64le-unknown-linux-gnu.zip 1fc906a3eced9e7ad00df1a1af8b24106fe781cac6cdd2930423ad9e2bdbe966
dprint-powerpc64le-unknown-linux-musl.zip fe50ed9e90fc35e1b5bd37f1cd85cefebddc8a37a909d8d52ef4adb05c6de365
dprint-aarch64-linux-android.zip c37766a554e366c428b6ed20655f0e0bc8308b59e6bc817d235da4ef4623e043
dprint-x86_64-linux-android.zip 7340aae74956c5e8da20904d8582e0ca4f51df305acd745add0fd7041e41d0de