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 initdprint 0.6512 changes
Breaking changes 4
Associations and remote negated excludes no longer override the gitignore.
Only package names allowed by npm are accepted.
Overrides for process plugins are restricted.
Process plugins are configured only from trusted configuration.
Security 2
Permissions prevent the editor from downloading from untrusted sources and running process plugins without approval.
Each release now includes a signed packslip that can be used to verify its artifacts.
New APIs and options 2
Checksums are supported on extends, allowing extended configuration sources to be verified.
Plugins can declare whether they support formatting a range.
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.
Tooling 1
The command updates npm specifiers in extends.
Fixes and other changes 2
The exclude file is now respected in linked git worktrees and submodules.
A process plugin startup failure now explains when a dynamic loader is missing.
dprint 0.6413 changes
Breaking changes 1
dprint now distrusts compromised eMudhra certificates, changing certificate validation behavior.
Deprecations 1
dprint warns when an npm plugin or config version is deprecated.
New APIs and options 2
Configuration files are now supported in a .config directory.
Initialization now supports plugin options, preferred plugins, and adding plugins above existing plugins.
Performance 2
Upgrading wasmtime to 50 makes call_indirect cheaper in wasm plugins.
Native unwind info is disabled for wasm plugins.
Behavior and default changes 3
dprint warns when a plugin's update URL says it is deprecated.
Download progress is now shown for gzip-compressed responses.
Wasm plugins that use exception handling are now supported.
Fixes and other changes 4
Association globs above the config directory are rebased instead of being dropped.
Plugin associations no longer move the file walk outside the config directory.
Formats in flight no longer hang when a process plugin shuts down.
Process plugins are no longer restarted after shutdown.
dprint 0.6314 changes
Breaking changes 1
Uses a dash as the range separator, for example 10-20.
New APIs and options 2
Adds the dprint install command for installing dprint plugins.
Adds support for --plugins with dprint install.
Performance 1
Reduces allocations when formatting and resolving files.
Fixes and other changes 10
Reports when a plugin was already installed.
The editor service no longer exits when the config fails to resolve on a format request.
The editor service now responds to format requests that it cancels on a config change.
Format ranges are clamped to the text in the editor service.
The editor service exits instead of panicking when its output is closed.
The editor service keeps responding while the config is resolved.
Configuration hashing now includes lengths when hashing configuration for incremental formatting.
A main config with "inherit": true now inherits the ancestor config.
Warns instead of erroring when there is no config file to inherit from.
Plugins receive the file path with the shebang's extension for files matched by a shebang.
dprint 0.6217 changes
Deprecations 1
Warns when using old dprint-plugin-gofumpt versions.
New APIs and options 2
Adds range formatting to dprint fmt through the --lines flag.
Adds --reload[=config|plugins] and checks for newer remote configuration files.
Performance 5
Loads cached wasm plugins in parallel.
Memory maps cached wasm plugins on unix.
Wakes the fs lock keep-alive thread immediately on release.
Reads .npmrc files once per config dir instead of once per npm plugin.
Compiles wasm plugin functions in parallel.
Behavior and default changes 1
Supports npm specifiers in extends.
Tooling 3
Adds builds for FreeBSD on x86_64 and aarch64.
Adds builds for riscv64gc-unknown-linux-musl.
Adds builds for s390x-unknown-linux-gnu.
Fixes and other changes 5
Formatting explicit paths outside the --config file's directory uses only its unanchored patterns.
Detects the plugin file shipped by a package when updating an npm plugin.
Accepts npm: specifiers in the plugins CLI flag.
Kills process plugin subprocesses so shutdown cannot hang.
Improves generated shell completions.
dprint 0.612 changes
Security 1
Provides Wasm plugins a sandboxed subset of WASI, enabling dprint-plugin-roslyn to run as a Wasm plugin.
Fixes and other changes 1
Older versions of dprint-plugin-gofumpt are no longer initialized twice.
dprint 0.607 changes
New APIs and options 1
Commands for managing global configuration were added.
Behavior and default changes 3
File patterns now support brace expansions that span directories.
A negated exclude can now un-exclude a node_modules directory.
npm plugins use npm's proxy settings for downloads.
Fixes and other changes 3
Plugin prompts now show plugin display names and dim file extensions.
Plugin configuration in an extended config no longer errors when there is no matching plugin.
Download errors now say when the proxy is what could not be connected to.
dprint 0.5917 changes
New APIs and options 2
The LSP can format Jupyter notebook cells.
The LSP can format untitled documents.
Behavior and default changes 2
The language server uses the global config only when opted in.
Formatting stdin now has a stable format, optionally in editors.
Fixes and other changes 13
The LSP registers completion and hover only for config files.
Config completion edits are corrected when input is incomplete.
The document version is stored when a change is applied.
The LSP process exits after receiving the exit notification.
Formatting failures are logged to the client.
Formatting with other configs continues after a config changes.
The LSP picks up gitignore changes without requiring a config change.
Files outside the current working directory are formatted with the global config.
The line index is rebuilt when a change ends in changed lines.
Nested config files now apply inherit: true.
The LSP no longer panics on positions that are out of range.
The editor service and LSP canonicalize paths that do not exist.
Failed plugin schema downloads are retried, and the wait on them is limited.
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.
New APIs and options 2
Plugins can be configured additively.
The plugin info file now supports neverPreselect.
Behavior and default changes 3
Associations and override files are evaluated in order, with the last match winning.
The command adds plugins when a config file already exists.
The command always pre-selects a JSON plugin.
dprint 0.5714 changes
Security 1
Release artifacts have build provenance attestations that can be verified with the GitHub CLI.
New APIs and options 5
Adds
--diff-format unifiedto dprint check.Adds a JSON output flag to dprint check.
Adds
--diff-format unifiedto dprint fmt --diff.Adds --minimum-dependency-age for npm dependencies.
Adds a shebangs config for routing extensionless scripts to a plugin.
Performance 2
Matches glob patterns on the reader threads.
Makes per-file plugin resolution cheaper.
Behavior and default changes 1
The incremental file is rewritten only when new file hashes were seen.
Fixes and other changes 5
The plugin cache key now includes wasmtime's precompile compatibility hash, preventing cache reuse across incompatible precompilation configurations.
Output paths are now relative to the current working directory when using dprint incremental-state.
Scans hidden directories during initialization.
Recommends
--minimum-dependency-age=0when an older version is selected.Accepts
--minimum-release-ageas an alias for--minimum-dependency-age.
dprint 0.5610 changes
Security 1
Literal file and directory arguments are resolved without directory traversal.
Behavior and default changes 3
Explicit paths outside the working directory can be formatted.
Directory arguments can be formatted.
Plugins on the npm registry are preferred.
Tooling 1
CLI arguments provide path completion hints.
Fixes and other changes 5
Fixes formatting zero files when --stdin-files is empty.
Deduplicating plugin sources retains a duplicate plugin's checksum.
A plugin specified in both a config and its extended config is no longer duplicated.
An overflow panic in progress bars is handled.
Implicit node_modules excludes and unanchored patterns are applied in rebased scopes.
dprint 0.5528 changes
Breaking changes 5
Linux GNU binaries are built against glibc 2.17, changing their glibc compatibility baseline.
Replaces the output-file-paths subcommand name.
Replaces the output-format-times subcommand name.
File pattern matching for includes and excludes globs is now case-sensitive.
Replaces the output-resolved-config subcommand name.
New APIs and options 13
Adds a checksum flag to dprint add.
Previews config updates without writing.
Formats files with uncommitted git changes, including staged, unstaged, and untracked files, but not gitignored files.
Set to 1 to opt in to respecting git's global excludes file (core.excludesFile).
Prints the exact signal dprint uses to decide cache reuse, so it can be diffed between revisions.
Skips the prompt and accepts the detected defaults; the prompt is also skipped automatically when there is no interactive terminal.
Can scaffold plugin configuration from info.json defaultConfig and configItems.
Shows only the plugins that would format the specified file.
Nested configuration files can opt in to inheriting ancestor plugins and configuration; ancestor includes are not inherited.
Supported for controlling colored output.
Plugins can be referenced with npm specifiers; pinned versions lock an exact version, while unversioned specifiers resolve through node_modules.
Plugin configuration can vary for files matching override patterns; overrides change configuration but do not include or exclude files.
Reads a newline-separated list of file paths from stdin for fmt, check, file-paths, and format-times.
Behavior and default changes 3
Positive association globs add files while default matches remain; negated globs can cancel default extensions, file names, or paths.
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.
Scans the current directory and pre-selects plugins whose files it finds; the picker supports scrolling and type-to-filter.
Tooling 5
dprint now runs on Android / Termux.
Provides autocompletion and hover documentation when editing dprint.json or dprint.jsonc.
dprint can now run plugins on LoongArch.
dprint now runs on ppc64le.
dprint now runs natively on Windows ARM.
Fixes and other changes 2
Fixes npm resolving node_modules from the config directory.
LSP-formatted line endings are normalized to match the editor document.
dprint 0.542 changes
New APIs and options 1
Adds a flag to disable Git ignore handling.
Fixes and other changes 1
Fixes missing Windows shasum entries.
dprint 0.534 changes
New APIs and options 1
Adds
dprint addas an alias fordprint config add.
Tooling 1
The command supports adding multiple plugins at once.
Fixes and other changes 2
Uses the original URL for plugin type detection after a redirect, helping dprint identify the plugin type correctly.
Relative URLs in process plugins and configs are resolved against the redirected URL.
dprint 0.524 changes
New APIs and options 1
Adds a flag to
dprint fmtthat fails when formatting changes are made.
Behavior and default changes 1
GitHub releases can no longer be changed after publication.
Fixes and other changes 2
dprint no longer warns about a failing update when a plugin does not export check_config_updates.
Incremental formatting is disabled when this flag is used.
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.
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.Customize the location of the global configuration directory with this environment variable.
Use this option, or
-r, to update configuration files recursively.Format files using only the global configuration and ignore local configuration files.
A Mago (PHP) plugin is now available for dprint.
An Oxc (JS/TS) plugin is now available for dprint.
The command output now includes
updateUrl.dprint can use a global configuration when not in a project, with commands to initialize, edit, add plugins to, and update it.
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.
When files are not formatted, the command suggests running
dprint fmtto fix them.When global configuration is used outside a dprint project, formatting prompts for confirmation; specifying the directory bypasses the prompt.