unstale

npm / dprint

dprint

What changed in dprint 0.51 to 0.65, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

13 breaking5 security2 deprecations42 new APIs and options10 performance24 behavior and defaults11 tooling55 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

dprint 0.6512 changes

Breaking changes 4

  • Associations and remote negated excludes no longer override the gitignore.

    0.65.0release notes

  • Only package names allowed by npm are accepted.

    0.65.0release notes

  • Overrides for process plugins are restricted.

    0.65.0release notes

  • Process plugins are configured only from trusted configuration.

    0.65.0release notes

Security 2

  • Permissions prevent the editor from downloading from untrusted sources and running process plugins without approval.

    0.65.0release notes

  • Each release now includes a signed packslip that can be used to verify its artifacts.

    0.65.0release notes

New APIs and options 2

  • Checksums are supported on extends, allowing extended configuration sources to be verified.

    0.65.0release notes

  • Plugins can declare whether they support formatting a range.

    0.65.0release notes

Behavior and default changes 1

  • A wasm plugin running out of stack is reported as an error for its file, and wasm plugins receive 8 MiB of stack.

    0.65.0release notes

Tooling 1

  • The command updates npm specifiers in extends.

    0.65.0release notes

Fixes and other changes 2

  • The exclude file is now respected in linked git worktrees and submodules.

    0.65.0release notes

  • A process plugin startup failure now explains when a dynamic loader is missing.

    0.65.0release notes

dprint 0.6413 changes

Breaking changes 1

  • dprint now distrusts compromised eMudhra certificates, changing certificate validation behavior.

    0.64.1release notes

Deprecations 1

  • dprint warns when an npm plugin or config version is deprecated.

    0.64.2release notes

New APIs and options 2

  • Configuration files are now supported in a .config directory.

    0.64.0release notes

  • Initialization now supports plugin options, preferred plugins, and adding plugins above existing plugins.

    0.64.0release notes

Performance 2

  • Upgrading wasmtime to 50 makes call_indirect cheaper in wasm plugins.

    0.64.2release notes

  • Native unwind info is disabled for wasm plugins.

    0.64.2release notes

Behavior and default changes 3

  • dprint warns when a plugin's update URL says it is deprecated.

    0.64.2release notes

  • Download progress is now shown for gzip-compressed responses.

    0.64.0release notes

  • Wasm plugins that use exception handling are now supported.

    0.64.0release notes

Fixes and other changes 4

  • Association globs above the config directory are rebased instead of being dropped.

    0.64.3release notes

  • Plugin associations no longer move the file walk outside the config directory.

    0.64.3release notes

  • Formats in flight no longer hang when a process plugin shuts down.

    0.64.2release notes

  • Process plugins are no longer restarted after shutdown.

    0.64.2release notes

dprint 0.6314 changes

Breaking changes 1

  • Uses a dash as the range separator, for example 10-20.

    0.63.0release notes

New APIs and options 2

  • Adds the dprint install command for installing dprint plugins.

    0.63.0release notes

  • Adds support for --plugins with dprint install.

    0.63.0release notes

Performance 1

  • Reduces allocations when formatting and resolving files.

    0.63.0release notes

Fixes and other changes 10

  • Reports when a plugin was already installed.

    0.63.0release notes

  • The editor service no longer exits when the config fails to resolve on a format request.

    0.63.0release notes

  • The editor service now responds to format requests that it cancels on a config change.

    0.63.0release notes

  • Format ranges are clamped to the text in the editor service.

    0.63.0release notes

  • The editor service exits instead of panicking when its output is closed.

    0.63.0release notes

  • The editor service keeps responding while the config is resolved.

    0.63.0release notes

  • Configuration hashing now includes lengths when hashing configuration for incremental formatting.

    0.63.0release notes

  • A main config with "inherit": true now inherits the ancestor config.

    0.63.0release notes

  • Warns instead of erroring when there is no config file to inherit from.

    0.63.0release notes

  • Plugins receive the file path with the shebang's extension for files matched by a shebang.

    0.63.0release notes

dprint 0.6217 changes

Deprecations 1

  • Warns when using old dprint-plugin-gofumpt versions.

    0.62.0release notes

New APIs and options 2

  • Adds range formatting to dprint fmt through the --lines flag.

    0.62.0release notes

  • Adds --reload[=config|plugins] and checks for newer remote configuration files.

    0.62.0release notes

Performance 5

  • Loads cached wasm plugins in parallel.

    0.62.0release notes

  • Memory maps cached wasm plugins on unix.

    0.62.0release notes

  • Wakes the fs lock keep-alive thread immediately on release.

    0.62.0release notes

  • Reads .npmrc files once per config dir instead of once per npm plugin.

    0.62.0release notes

  • Compiles wasm plugin functions in parallel.

    0.62.0release notes

Behavior and default changes 1

Tooling 3

Fixes and other changes 5

  • Formatting explicit paths outside the --config file's directory uses only its unanchored patterns.

    0.62.0release notes

  • Detects the plugin file shipped by a package when updating an npm plugin.

    0.62.0release notes

  • Accepts npm: specifiers in the plugins CLI flag.

    0.62.0release notes

  • Kills process plugin subprocesses so shutdown cannot hang.

    0.62.0release notes

  • Improves generated shell completions.

    0.62.0release notes

dprint 0.612 changes

Security 1

  • Provides Wasm plugins a sandboxed subset of WASI, enabling dprint-plugin-roslyn to run as a Wasm plugin.

    0.61.0release notes

Fixes and other changes 1

  • Older versions of dprint-plugin-gofumpt are no longer initialized twice.

    0.61.1release notes

dprint 0.607 changes

New APIs and options 1

  • Commands for managing global configuration were added.

    0.60.0release notes

Behavior and default changes 3

  • File patterns now support brace expansions that span directories.

    0.60.0release notes

  • A negated exclude can now un-exclude a node_modules directory.

    0.60.0release notes

  • npm plugins use npm's proxy settings for downloads.

    0.60.0release notes

Fixes and other changes 3

  • Plugin prompts now show plugin display names and dim file extensions.

    0.60.1release notes

  • Plugin configuration in an extended config no longer errors when there is no matching plugin.

    0.60.0release notes

  • Download errors now say when the proxy is what could not be connected to.

    0.60.0release notes

dprint 0.5917 changes

New APIs and options 2

Behavior and default changes 2

Fixes and other changes 13

  • The LSP registers completion and hover only for config files.

    0.59.0release notes

  • Config completion edits are corrected when input is incomplete.

    0.59.0release notes

  • The document version is stored when a change is applied.

    0.59.0release notes

  • The LSP process exits after receiving the exit notification.

    0.59.0release notes

  • Formatting failures are logged to the client.

    0.59.0release notes

  • Formatting with other configs continues after a config changes.

    0.59.0release notes

  • The LSP picks up gitignore changes without requiring a config change.

    0.59.0release notes

  • Files outside the current working directory are formatted with the global config.

    0.59.0release notes

  • The line index is rebuilt when a change ends in changed lines.

    0.59.0release notes

  • Nested config files now apply inherit: true.

    0.59.0release notes

  • The LSP no longer panics on positions that are out of range.

    0.59.0release notes

  • The editor service and LSP canonicalize paths that do not exist.

    0.59.0release notes

  • Failed plugin schema downloads are retried, and the wait on them is limited.

    0.59.0release notes

dprint 0.586 changes

Breaking changes 1

  • Glob patterns in config files specified with --config are now relative to the config file's directory instead of the current working directory.

    0.58.0release notes

New APIs and options 2

Behavior and default changes 3

  • Associations and override files are evaluated in order, with the last match winning.

    0.58.0release notes

  • The command adds plugins when a config file already exists.

    0.58.0release notes

  • The command always pre-selects a JSON plugin.

    0.58.0release notes

dprint 0.5714 changes

Security 1

  • Release artifacts have build provenance attestations that can be verified with the GitHub CLI.

    0.57.1release notes

New APIs and options 5

  • Adds --diff-format unified to dprint check.

    0.57.0release notes

  • Adds a JSON output flag to dprint check.

    0.57.0release notes

  • Adds --diff-format unified to dprint fmt --diff.

    0.57.0release notes

  • Adds --minimum-dependency-age for npm dependencies.

    0.57.0release notes

  • Adds a shebangs config for routing extensionless scripts to a plugin.

    0.57.0release notes

Performance 2

Behavior and default changes 1

  • The incremental file is rewritten only when new file hashes were seen.

    0.57.3release notes

Fixes and other changes 5

  • The plugin cache key now includes wasmtime's precompile compatibility hash, preventing cache reuse across incompatible precompilation configurations.

    0.57.4release notes

  • Output paths are now relative to the current working directory when using dprint incremental-state.

    0.57.2release notes

  • Scans hidden directories during initialization.

    0.57.1release notes

  • Recommends --minimum-dependency-age=0 when an older version is selected.

    0.57.1release notes

  • Accepts --minimum-release-age as an alias for --minimum-dependency-age.

    0.57.1release notes

dprint 0.5610 changes

Security 1

  • Literal file and directory arguments are resolved without directory traversal.

    0.56.0release notes

Behavior and default changes 3

  • Explicit paths outside the working directory can be formatted.

    0.56.0release notes

  • Directory arguments can be formatted.

    0.56.0release notes

  • Plugins on the npm registry are preferred.

    0.56.0release notes

Tooling 1

Fixes and other changes 5

  • Fixes formatting zero files when --stdin-files is empty.

    0.56.1release notes

  • Deduplicating plugin sources retains a duplicate plugin's checksum.

    0.56.0release notes

  • A plugin specified in both a config and its extended config is no longer duplicated.

    0.56.0release notes

  • An overflow panic in progress bars is handled.

    0.56.0release notes

  • Implicit node_modules excludes and unanchored patterns are applied in rebased scopes.

    0.56.0release notes

dprint 0.5528 changes

Breaking changes 5

  • Linux GNU binaries are built against glibc 2.17, changing their glibc compatibility baseline.

    0.55.2release notes

  • Replaces the output-file-paths subcommand name.

    0.55.0release notes

  • Replaces the output-format-times subcommand name.

    0.55.0release notes

  • File pattern matching for includes and excludes globs is now case-sensitive.

    0.55.0release notes

  • Replaces the output-resolved-config subcommand name.

    0.55.0release notes

New APIs and options 13

  • Adds a checksum flag to dprint add.

    0.55.0release notes

  • Previews config updates without writing.

    0.55.0release notes

  • Formats files with uncommitted git changes, including staged, unstaged, and untracked files, but not gitignored files.

    0.55.0release notes

  • Set to 1 to opt in to respecting git's global excludes file (core.excludesFile).

    0.55.0release notes

  • Prints the exact signal dprint uses to decide cache reuse, so it can be diffed between revisions.

    0.55.0release notes

  • Skips the prompt and accepts the detected defaults; the prompt is also skipped automatically when there is no interactive terminal.

    0.55.0release notes

  • Can scaffold plugin configuration from info.json defaultConfig and configItems.

    0.55.0release notes

  • Shows only the plugins that would format the specified file.

    0.55.0release notes

  • Nested configuration files can opt in to inheriting ancestor plugins and configuration; ancestor includes are not inherited.

    0.55.0release notes

  • Supported for controlling colored output.

    0.55.0release notes

  • Plugins can be referenced with npm specifiers; pinned versions lock an exact version, while unversioned specifiers resolve through node_modules.

    0.55.0release notes

  • Plugin configuration can vary for files matching override patterns; overrides change configuration but do not include or exclude files.

    0.55.0release notes

  • Reads a newline-separated list of file paths from stdin for fmt, check, file-paths, and format-times.

    0.55.0release notes

Behavior and default changes 3

  • Positive association globs add files while default matches remain; negated globs can cancel default extensions, file names, or paths.

    0.55.0release notes

  • Resolves the latest version and writes a pinned npm specifier, unless the package is in a nearby package.json under devDependencies, in which case it writes the unversioned form.

    0.55.0release notes

  • Scans the current directory and pre-selects plugins whose files it finds; the picker supports scrolling and type-to-filter.

    0.55.0release notes

Tooling 5

  • dprint now runs on Android / Termux.

    0.55.0release notes

  • Provides autocompletion and hover documentation when editing dprint.json or dprint.jsonc.

    0.55.0release notes

  • dprint can now run plugins on LoongArch.

    0.55.0release notes

  • dprint now runs on ppc64le.

    0.55.0release notes

  • dprint now runs natively on Windows ARM.

    0.55.0release notes

Fixes and other changes 2

  • Fixes npm resolving node_modules from the config directory.

    0.55.1release notes

  • LSP-formatted line endings are normalized to match the editor document.

    0.55.0release notes

dprint 0.542 changes

New APIs and options 1

Fixes and other changes 1

dprint 0.534 changes

New APIs and options 1

  • Adds dprint add as an alias for dprint config add.

    0.53.0release notes

Tooling 1

  • The command supports adding multiple plugins at once.

    0.53.0release notes

Fixes and other changes 2

  • Uses the original URL for plugin type detection after a redirect, helping dprint identify the plugin type correctly.

    0.53.2release notes

  • Relative URLs in process plugins and configs are resolved against the redirected URL.

    0.53.1release notes

dprint 0.524 changes

New APIs and options 1

  • Adds a flag to dprint fmt that fails when formatting changes are made.

    0.52.0release notes

Behavior and default changes 1

  • GitHub releases can no longer be changed after publication.

    0.52.0release notes

Fixes and other changes 2

  • dprint no longer warns about a failing update when a plugin does not export check_config_updates.

    0.52.0release notes

  • Incremental formatting is disabled when this flag is used.

    0.52.0release notes

dprint 0.5112 changes

Breaking changes 1

  • The command updates only the configuration file in the current directory by default instead of updating descendant configuration files.

    0.51.0release notes

New APIs and options 8

  • Stop checking files and exit on the first file that isn't formatted. With --log-level=silent, this option is enabled by default.

    0.51.0release notes

  • Customize the location of the global configuration directory with this environment variable.

    0.51.0release notes

  • Use this option, or -r, to update configuration files recursively.

    0.51.0release notes

  • Format files using only the global configuration and ignore local configuration files.

    0.51.0release notes

  • A Mago (PHP) plugin is now available for dprint.

    0.51.0release notes

  • An Oxc (JS/TS) plugin is now available for dprint.

    0.51.0release notes

  • The command output now includes updateUrl.

    0.51.0release notes

  • dprint can use a global configuration when not in a project, with commands to initialize, edit, add plugins to, and update it.

    0.51.0release notes

Behavior and default changes 3

  • On macOS, dprint now prefers this location for the global config, but continues using the Application Support config directory if a config file exists there.

    0.51.1release notes

  • When files are not formatted, the command suggests running dprint fmt to fix them.

    0.51.0release notes

  • When global configuration is used outside a dprint project, formatting prompts for confirmation; specifying the directory bypasses the prompt.

    0.51.0release notes