0.44.0
Changes
This is a breaking change for how the CLI uses the file patterns passed to it.
- Paths provided to the CLI (ex.
dprint fmt **/*.js
) are now an intersection with the config includes patterns.- In other words, this only matches file patterns provided as CLI args that also match the config.
- Paths provided as
--excludes
(ex.dprint fmt --excludes **/data
) are now a union with the config excludes patterns.- In other words, this excludes files/directories in addition to what's excluded in the config.
The old behaviour may be useful in some rare cases. To get it, you can use these new CLI flags:
--includes-override
- overrides/replaces the patterns derived from the config. This is the previous behaviour of providing file patterns as CLI args.--excludes-override
- overrides/replaces the "excludes" value in the config. This is the previous behaviour of--excludes
.
Install
Run dprint upgrade
or see https://dprint.dev/install/
Checksums
Artifact | SHA-256 Checksum |
---|---|
dprint-x86_64-apple-darwin.zip | 758f501e3f47be0d880e79449dc3ebc269a8c52efc4a7fc53a5756fd1b673005 |
dprint-aarch64-apple-darwin.zip | 68fc1abebe70b3947ec7e019bb3c3d47939cb71a8c0877f1a632b552edfaf6e0 |
dprint-x86_64-pc-windows-msvc.zip | 7e100d917a6c2c76458acedf7b9745ceb8cd380c56a5b1f09f6e27c8f41a94d8 |
dprint-x86_64-pc-windows-msvc-installer.exe | db85a0671896fc2c669efdca9f41772e676bf3e7112f111dc19d5803e73c46d1 |
dprint-x86_64-unknown-linux-gnu.zip | acc510e33e4f0b0336e420f42322f81109ffc52d74939450614c97988d09b5b2 |
dprint-x86_64-unknown-linux-musl.zip | 1407c11d0855d6eb5ed4b2891b4fc7effcdaa276a7d77b5b20b65540ef90f58f |
dprint-aarch64-unknown-linux-gnu.zip | 578a72d23703ac584ca4d15bea3cff7a56f33b800f74d15b9f9d8cc7d4715a2d |
dprint-aarch64-unknown-linux-musl.zip | 7ec71a031c7374b43122c065d49768cacf6561ae8980d0aa09202d7de01749f6 |