Skip to content

0.15.0

Choose a tag to compare

@github-actions github-actions released this 13 Jun 00:43
· 646 commits to main since this release

Changes

  • #362 - Support plugins specifying to format certain files (ex. plugins can now say they only format Cargo.toml) - Thanks @TiceCosmos for contributing this.
  • The projectType configuration option was removed.
  • The CLI was updated to handle a new schema version in https://plugins.dprint.dev/info.json (for dprint init)

Install

Linux/Mac/WSL:

curl -fsSL https://dprint.dev/install.sh | sh

Windows (use Powershell or installer below):

iwr https://dprint.dev/install.ps1 -useb | iex

Homebrew (Mac):

brew install dprint

Cargo (builds and installs the cargo package from source):

cargo install dprint

npm:

npm install dprint
npx dprint help

# or install globally
npm install -g dprint
dprint help

bvm (Experimental):

bvm install https://bvm.land/dprint/0.15.0.json

# or install via the registry
bvm registry add https://bvm.land/dprint/registry.json
bvm install dprint

Or project specific in bvm.json:

{
  "dependencies": [
    "https://bvm.land/dprint/0.15.0.json@57adf9279df26810ce21b8446f5a8ae73a265ad5182226f71381a41d30f962cd"
  ]
}

Checksums

Artifact SHA-256 Checksum
Linux Zip 3ab70ddb0d1218eec1facfcabacf2d9732e070b04f324f837eed8463ea10703d
Mac Zip 18f43b2a861b5a9e3d27f4ff911449c15cfbf518f2a43e51b8d61d36fa787f7a
Windows Zip 60e900f82de60940baaeb010cc571f2ec24929a61bc29be65c81e64a7818ac19
Windows Installer 589d854363484100019d8bed394e858d69f8cc046a8c0dc494d188cf0a755351