Skip to content

0.18.2

Choose a tag to compare

@github-actions github-actions released this 01 Nov 02:52
· 529 commits to main since this release

Changes

fix: plugin file name and extension matching should match when case isn't all lowercase
fix: ensure "formatted x files" message is singular when the number of files is 1
fix: force zip extraction to be enclosed to the directory being extracted to
fix: remove period on end of url in download errors
feat: add dprint fmt --diff flag for outputting a check-like diff of every formatted file (I guess this should have been a minor release... doesn't really matter)

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.18.2.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.18.2.json@6edaf365d7bd62d33ca9dc463c3cd62cd57af56842a0b3bd859cd5f4f3381802"
  ]
}

Checksums

Artifact SHA-256 Checksum
Linux Zip aa7ec5bec46142c8d851845ee50032c2f2928960669712cb3b45bfc0d000a3c8
Mac Zip 34a84bc9f40b5325df5bd797b4bcee7da8485b995117bb46d0dce08b855f1e64
Windows Zip be21c2365600701f240f7bb65a363d5313900ee19f3bc90d4f1b4b8f3ec4e395
Windows Installer bfbe9ca1b1864a9b71d463057e15bdcf3cc98b9062f0c2485db78d2a57ec4253