chore(deps): update dependency dprint to ^0.47.0 - autoclosed #38
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.41.0
->^0.47.0
Release Notes
dprint/dprint (dprint)
v0.47.5
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.47.4
Compare Source
Changes
The automated editing of the config file that dprint does like
dprint config add ...
should be a lot more intelligent.Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.47.2
Compare Source
Changes
Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
v0.47.1
Compare Source
Changes
--staged
can't find any files (https://github.com/dprint/dprint/pull/880)Install
Run
dprint upgrade
or see https://dprint.dev/install/Checksums
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
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.
This PR was generated by Mend Renovate. View the repository job log.