Skip to content

0.19.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 22:49
· 517 commits to main since this release

Changes

This release adds the ability to associate file pattern(s) with a certain plugin so files matching those file pattern(s) get formatted with that plugin. This also enables formatting the same file with multiple plugins. Read more here.

  • feat: add plugin pattern associations (#435)
  • feat: ability to format the same file with multiple plugins via associations (#439)
  • fix: improve configuration diagnostic to always say the property name

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.19.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.19.0.json@9b275033829d0e623a278eecc94390bc63ad3b3e7daeb32682fc660e326cf462"
  ]
}

Checksums

Artifact SHA-256 Checksum
Linux Zip 6f3ddfc5eaec246e225c1fd7f6644e537936296673da4699a314af0738108f3d
Mac Zip 1614ccb04fccf391d57e6fe33bfa5aa390f611b1e41a4a1e03755753d5823777
Windows Zip 8d89467672d75b2ca54564c0491ccd1fc3ec0961a10312dd15c00898b0e4350e
Windows Installer 91ac7ca6e829a651fb32544995c28b17d4c43fc0829b2a7841bb4f11c71532ba