cargo dprint 0.63.0

2 hours ago

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

Don't miss a new dprint release

NewReleases is sending notifications on new releases.