Skip to content

0.16.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 21:06
· 594 commits to main since this release

Changes

  • feat: output-resolved-config now outputs valid JSON
  • feat: filter by cwd when in sub directory (#387)
  • feat: ignore excess property diagnostics when providing a --plugins CLI argument.
  • fix: #389: --verbose logs to stderr (#390)
  • fix: fix v0.json schema to have correct id
  • perf: dprint fmt --stdin now matches the file path against the globs instead of walking the directory tree
  • perf: check file against glob directly instead of walking directories (#386)
  • perf: improve editor service to only get the config file once per format
  • perf: skip globbing if all patterns are negated (#379)

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.16.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.16.0.json@04dfffd941f59adb49afd209b6ff6920ac0f6629633a9718f938195e50551cf2"
  ]
}

Checksums

Artifact SHA-256 Checksum
Linux Zip 65b8580d046a92cffa2f3b6a39d16e470a8af61caf45953d80fdd257c13995fa
Mac Zip 965cad05a308765009cec2489d60f53f981923a3ff6504f81667dba408de20c2
Windows Zip 52a7cb13346cb85a9c47cc96a27033c97eb124920d24f2a93a52d875a297c09b
Windows Installer f80a045af397ac3adcd2bcdc5ac2c3c9dc580fdb5f3e5bd0a31ce174cad482a4