Skip to content

0.8.0

Choose a tag to compare

@github-actions github-actions released this 09 Aug 03:41

Changes

Note: All previous plugins are incompatible—the interface for communication has changed to support #280.

  • #286 - Editor formatting now uses a long running background process.
    • Formatting in the editor using a language like C# should now be almost instant on subsequent saves (previously >1s, now <100ms).
  • #281 - Add actual std-fmt.
  • #280 - Ability for plugins to format other plugins with a specific configuration (will improve markdown code block formatting).
  • #282 - Remove openssl system dependency requirement

Upgrade path

  1. Install the latest CLI.

  2. Update your plugins to at least the specified versions:

    "plugins": [
      "https://plugins.dprint.dev/typescript-0.27.0.wasm",
      "https://plugins.dprint.dev/markdown-0.4.0.wasm",
      "https://plugins.dprint.dev/json-0.7.0.wasm",
      "https://plugins.dprint.dev/rustfmt-0.3.0.wasm",
      "https://plugins.dprint.dev/roslyn-0.1.0.exe-plugin@1186052a3a30c1ee179a2162177e907acdceca01ebf95ba374146c8c1779528f",
      "https://plugins.dprint.dev/prettier-0.1.0.exe-plugin@1c335dffb7e75f6268f0c8c0bc2a61a60548b3896d9deb498cecb76939ae8262"
    ]
  3. Update your dprint vscode formatting extension.

Note: The previous two Roslyn and Prettier extensions have been removed and their versions reset to 0.1.0.

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 tap dprint/dprint
brew install dprint

Checksums

Artifact SHA-256 Checksum
Linux Binary c6c00e04543542a5be5d12f7591fcb79e0796fe44ac5c706fa1dc82f6888f74e
Mac Binary ba9d665ab76d1d975aa9ee5bb34c2727ab14a164beaf64181a90932dcc785b23
Windows Binary fa3535574a2f7eaf03febde03743fc45044fcd75ed2467075757e021d2c26743
Windows Installer b118ebfccb1996db1b696559398982479a689e5866a2a5e60d48e68bb924744e