chore(deps): update dependency dprint to v0.47.0 #152
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.30.2
->0.47.0
Release Notes
dprint/dprint (dprint)
v0.47.0
Compare Source
Changes
${configDir}
and${originConfigDir}
configuration template variables (#870)Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.46.3
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.46.2
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.46.1
Compare Source
Changes
cargo install
without--locked
flag (#852)Please run
dprint config update
after upgrading as some BOM handling happens in the plugins now and some may fail to parse files with a BOM now. See #854 and sorry for any headaches (I'm unsure of the impact of this change, so let me know if this is a huge hassle for you).Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.46.0
Compare Source
Changes
DPRINT_TLS_CA_STORE
andDPRINT_CERT
(#850)Please run
dprint config update
after upgrading as some BOM handling happens in the plugins now and some may fail to parse files with a BOM now. See #854 and sorry for any headaches (I'm unsure of the impact of this change, so let me know if this is a huge hassle for you).Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.45.1
Compare Source
Changes
dprint on Mac and Linux now starts up faster.
Before:
After:
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.45.0
Compare Source
Changes
NO_COLOR
env var (#808)Experimental Language Server
This release adds a language server to
dprint
found atdprint lsp
. This will allow more easily using dprint in editors beside vscode and intellij, such as Neovim.To try it out in vscode, add
"dprint.experimentalLsp": true
to your vscode settings. Please try it out and let me know if you run into any issues.Outstanding tasks:
dprint lsp
with editors such as Neovim (https://github.com/dprint/dprint/issues/810)Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.44.0
Compare Source
Changes
This is a breaking change for how the CLI uses the file patterns passed to it.
dprint fmt **/*.js
) are now an intersection with the config includes patterns.--excludes
(ex.dprint fmt --excludes **/data
) are now a union with the config excludes patterns.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
v0.43.2
Compare Source
Changes
Vec<u8>
(not just utf-8 strings) (#792)dprint-plugin-jupyter
There is now a Jupyter Notebook plugin to format code blocks in Jupyter Notebooks using any other dprint plugin.
https://dprint.dev/plugins/jupyter/
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.43.1
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.43.0
Compare Source
Changes
--allow-no-files
(https://github.com/dprint/dprint/pull/778)This allows specifying a
--allow-no-files
flag on the command line (ex.dprint check --allow-no-files **/*.ts
) to supress the non-zero exit code when dprint finds no files and return a0
exit code. Previously, the only option was to have some way of checking for exit code14
, which was inconvenient. This will be useful in pre-commit hooks, for example.More Plugins
The plan (not guarantee... I do this in my free time) for the end of this year has been to get more formatters working in dprint, improve the Prettier plugin, and get dprint compiling on more architectures. See the End of 2023 roadmap for more details.
On that note, dprint now supports two additional plugins.
Biome Plugin
There is now a Biome adapter plugin for formatting JavaScript, TypeScript, and JSON files with Biome. It's a Wasm plugin so it runs sandboxed and you can use it on all CPU architectures that dprint supports. Additionally, it supports formatting via a JavaScript API.
Run the following to add the Biome plugin to your dprint.json:
dprint config add biome
For more details, see: https://dprint.dev/plugins/biome/
Ruff Plugin
Similarly, there is now a Ruff adapter plugin for formatting Python files with Ruff. It is also a Wasm plugin and also has support for formatting via a JavaScript API.
Run the following to add the Ruff plugin to your dprint.json:
dprint config add ruff
For more details, see: https://dprint.dev/plugins/ruff/
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.42.5
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.42.3
Compare Source
Changes
The incremental cache was getting busted more often than it should have when using certain plugins such as dprint-plugin-exec. This was due to unstable json deserialization in only certain scenarios. After this change, the serialization is now stable and the incremental cache should work much better.
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.42.2
Compare Source
Changes
Apologies for the noise of doing multiple releases in one day.
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.42.1
Compare Source
Changes
Needed to do a quick release in order to bust the Wasm cache after upgrading the Rust version.
See 0.42.0 release notes for features: https://github.com/dprint/dprint/releases/tag/0.42.0
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.42.0
Compare Source
Changes
dprint check --list-different
will output the list of files that are not formatted instead of a diff (same as Prettier).--log-level
flag (#762)--log-level=warn
for only fatal errors and warnings.Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.41.0
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.40.2
Compare Source
Changes
dprint init
should not have includes pattern anymore (#730)Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.40.1
Compare Source
Changes
--config
in sub dir in some cases (regression in 0.40.0) (https://github.com/dprint/dprint/pull/727)See https://github.com/dprint/dprint/releases/tag/0.40.0 release notes for details on previous release.
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.40.0
Compare Source
Changes
dprint config update
(#722)This release breaks the process plugin interface and it was too much work for me to have backwards compatiblity. You will have to upgrade to the latest version of the CLI and plugins.
Here are the latest urls for some of the process plugins at the time of this release (usually you can just do
dprint config update
to automatically update, but not for this release):https://plugins.dprint.dev/exec-0.4.3.json@42343548b8022c99b1d750be6b894fe6b6c7ee25f72ae9f9082226dd2e515072
https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe
https://plugins.dprint.dev/roslyn-0.14.0.json@6f6a9aee458d0c6fc2a8aba5f1638b9dca2adc1ff3e202fe4eb639a30a374127
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.39.1
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.39.0
Compare Source
Changes
dprint completions <shell>
) (#678, #699)Starting in this release, it is recommended to not have an
"includes"
pattern in your dprint configuration file as it is largely unnecessary now. Instead, exclude files using an "excludes" pattern.Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.38.3
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.38.2
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.38.1
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.38.0
Compare Source
Changes
fmt --stdin
when specifying a leading period on the extension (https://github.com/dprint/dprint/pull/681)Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.37.1
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.36.1
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.36.0
Compare Source
Changes
Adds support for auto-discovering
dprint.jsonc
and.dprint.jsonc
files. Additionally, the deprecateddprintrc.json
file auto-discovery (that has caused a warning for some time), has been removed.Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.35.4
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.35.3
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.35.1
Compare Source
Changes
This release features a better cache:
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.35.0
Compare Source
Changes
The
.exe-plugin
extension is no longer supported after being deprecated for some time. Please upgrade your.exe-plugin
extensions to the latest.json
urls: https://dprint.dev/plugins/Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.34.5
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.34.4
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.34.1
Compare Source
Changes
https://github.com/dprint/dprint/pull/609/609)
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.34.0
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.33.0
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.32.2
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.32.1
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
Configuration
📅 Schedule: Branch creation - "every month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ 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.
This PR has been generated by Mend Renovate. View repository job log here.