Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Dec 28, 2025

This PR contains the following updates:

Package Change Age Confidence
dprint ^0.50.2^0.51.1 age confidence

Release Notes

dprint/dprint (dprint)

v0.51.1

Compare Source

Changes

  • fix: prefer $HOME/.config/dprint on macOS for global config (#​1062)
    • After feedback, the dprint executable now prefers putting the global config in the folder at $HOME/.config/dprint, but will continue to use the "Application Support" macOS config directory if a config file exists in there.
  • dprint is now published using trusted publishing to npm and crates.io

0.51.0 release notes: https://github.com/dprint/dprint/releases/tag/0.51.0

Install

Run dprint upgrade or see https://dprint.dev/install/

Checksums

Artifact SHA-256 Checksum
dprint-x86_64-apple-darwin.zip d7afcb650f4a6e7d60dc46924dede9a44f276a4f044600de7babad67c0479876
dprint-aarch64-apple-darwin.zip cc1321a524d8e1312d376ce2c51343f43f8f5489c2e265f11aea5a6af4de52ad
dprint-x86_64-pc-windows-msvc.zip e3f6604c7fec54cc737e2be215e467d194d912141de7b9569436503c6edd2195
dprint-x86_64-pc-windows-msvc-installer.exe 9afc76ec95e2eb0e1255df7c060f9c382b5c2f3f0dd8d957a776e98eca618f87
dprint-x86_64-unknown-linux-gnu.zip 674c1f9fcdf8a564c26cc027e080d0c4758a40a566e04a776fc83c875ad51d45
dprint-x86_64-unknown-linux-musl.zip 0bc7904de86cc70384a4d295902c69fc5239ed45ab19a7361216263d1a8cb572
dprint-aarch64-unknown-linux-gnu.zip 05a0df273453f099092967641462951fd26dcad282a564f91cc4ad16ea02d526
dprint-aarch64-unknown-linux-musl.zip 8cd2a46ff5d6940db5e708c9a5be8abc9f68e6324d6fd51c8977addd2188648a
dprint-riscv64gc-unknown-linux-gnu.zip 35cf03b5c8f3e0218f78f9351463e035c411b2c3743a911e3d103613a4e282f8
dprint-loongarch64-unknown-linux-gnu.zip 42a37f38275156fe5fe8306608d0e764c69bb9441f3bbb8faf8145b27a33acde
dprint-loongarch64-unknown-linux-musl.zip 2c5e926fedc40214bbf947447909761dafc6e26990b983c823e7e971818a8fd2

v0.51.0

Compare Source

Features

Global Configuration File

dprint now supports a global configuration file that can be used when not in a project. (#​1040)

Initialize a global config:

dprint init --global

# or
dprint config init --global

The global config location is customizable via the DPRINT_CONFIG_DIR environment variable, but by default is stored in (this reflects the update that was published in 0.51.1 after feedback):

  • Linux/Mac: ~/.config/dprint/dprint.jsonc (or $XDG_CONFIG_HOME/dprint/dprint.jsonc)
    • Note: On Mac it will respect $HOME/Library/Application Support/dprint/dprint.jsonc if it exists
  • Windows: %APPDATA%\dprint\dprint.jsonc

Note: You can edit the config by running dprint config edit --global

Use global config for formatting:

Once setup, the global configuration will be used by default when there's no dprint configuration file in the current directory tree; however, to prevent accidentally formatting such directories, a prompt is shown when calling dprint fmt:

> dprint fmt
Warning You're not in a dprint project. Format '/home/david' anyway? (Y/n) █

Hint: Specify the directory to bypass this prompt in the future (ex. `dprint fmt .`)

As the hint states, you can bypass the confirmation prompt by providing the current directory:

> dprint fmt .
Formatted 1 file.

To format files using only the global configuration and ignore local configuration files use:

dprint fmt --config-discovery=global

Manage global config:

# Add plugins to global config
dprint config add --global

# Update global config
dprint config update --global

# Edit global config
dprint config edit --global

Full docs: https://dprint.dev/global-config/

Improved dprint check Output

When files are not formatted, dprint check now suggests running dprint fmt to fix them, making it clearer for new users contributing to your projects what to do next. (#​1056)

Found 3 not formatted files. Run dprint fmt to fix.
dprint check --fail-fast

Stops checking files and exit on the first file that isn't formatted. This is useful when you want even faster feedback. (#​1054)

dprint check --fail-fast

Note: When using --log-level=silent, --fail-fast is now enabled by default.

Breaking Changes

  • dprint config update is now non-recursive by default - The command now only updates the configuration file in the current directory by default, rather than updating all config files in descendant directories. Use --recursive (or -r) to update configuration files recursively. (#​1053)

    # Update only the current config (new default)
    dprint config update
    
    # Update current config and all descendant configs
    dprint config update --recursive

Other Changes

  • Added updateUrl to editor-info command output (#​1027)

Install

Run dprint upgrade or see https://dprint.dev/install/

Checksums

Artifact SHA-256 Checksum
dprint-x86_64-apple-darwin.zip 1fa152f36a4aa519fa9f233f49f2fb54cc063c77d40ba9f4fc54ea77a4068e0b
dprint-aarch64-apple-darwin.zip f3fb85da6b10011835f3b5a14faf11d03594b4b3b32602ae2b45418794c5039b
dprint-x86_64-pc-windows-msvc.zip fe6c0be73c4fa8a77672bf4271b019d767fabdd0b8cc10df2fd9842399e19e7e
dprint-x86_64-pc-windows-msvc-installer.exe 8bbb3a89960f12c6f9e2f53de44cee7ae72ccc89e90ff1213e6b5f8bb49c3ca1
dprint-x86_64-unknown-linux-gnu.zip ee5ff0865c461ef6d3023a491f2ee5c1c63c833a15fb3c42fdb2ef835b1c7072
dprint-x86_64-unknown-linux-musl.zip 9a8b8ad3429a1ae5733e2c237b313c8650626cc48cf972927e7c3fc651eb6ba2
dprint-aarch64-unknown-linux-gnu.zip 5169106061f04805aa089cdd0a73fb913cfda3bc70038546abf4283992db19bd
dprint-aarch64-unknown-linux-musl.zip bb56d7ac441c905c33f77114c450337e54a263a0ce449da23a0f03b2778368d8
dprint-riscv64gc-unknown-linux-gnu.zip 5d20460a263e858bd28b61be2ddec12277863c8f29ddc4591c18105ec3d2ab0c
dprint-loongarch64-unknown-linux-gnu.zip 5f7c6fbdf735231c5319298c9302c93931b14c824f25837505308ac5e53f2573
dprint-loongarch64-unknown-linux-musl.zip 516e712f47ba2fcb9a1f389176d32334d0dce86a26e207002ec4dddc2f10ddf8

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@changeset-bot
Copy link

changeset-bot bot commented Dec 28, 2025

⚠️ No Changeset found

Latest commit: 9646f2d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@renovate renovate bot changed the title Update dependency dprint to ^0.51.0 Update dependency dprint to ^0.51.1 Dec 28, 2025
@renovate renovate bot force-pushed the renovate/dprint-0.x branch from 3e6061c to 9646f2d Compare December 28, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant