-
Notifications
You must be signed in to change notification settings - Fork 0
chore(deps): update code formatter packages #656
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/code-formatter-packages
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
931ffcc to
9a557e8
Compare
9a557e8 to
a7191c2
Compare
e50b67d to
40ddc11
Compare
a9941a2 to
1b589ac
Compare
aea1046 to
ad58d40
Compare
6af2b88 to
45574d1
Compare
6d55dc2 to
4187e25
Compare
4187e25 to
1b12a11
Compare
Contributor
Author
|
1b12a11 to
8d0a529
Compare
8d0a529 to
db923e0
Compare
db923e0 to
a3834b5
Compare
42741de to
7cec494
Compare
7cec494 to
32dd0ec
Compare
32dd0ec to
3d01870
Compare
3d01870 to
dcf0ee7
Compare
dcf0ee7 to
3d6d04d
Compare
946b27e to
920c5ba
Compare
920c5ba to
9ce4848
Compare
9ce4848 to
727cac2
Compare
8e73e38 to
fd04813
Compare
fd04813 to
3ec6383
Compare
b6493b1 to
f898cda
Compare
f898cda to
fe15fe7
Compare
fe15fe7 to
5828cd7
Compare
5828cd7 to
ed3af0c
Compare
|
Code Climate has analyzed commit ed3af0c and detected 0 issues on this pull request. View more on Code Climate. |
ed3af0c to
8a3b6ca
Compare
8a3b6ca to
ace2aa5
Compare
ace2aa5 to
7a3e7e4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.34.1→0.51.113.1.0→13.3.02.8.2→2.8.82.1.0→2.15.1Release Notes
dprint/dprint (dprint)
v0.51.1Compare Source
Changes
$HOME/.config/dprinton macOS for global config (#1062)dprintexecutable 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.0.51.0 release notes: https://github.com/dprint/dprint/releases/tag/0.51.0
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.51.0Compare 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 --globalThe global config location is customizable via the
DPRINT_CONFIG_DIRenvironment variable, but by default is stored in (this reflects the update that was published in 0.51.1 after feedback):~/.config/dprint/dprint.jsonc(or$XDG_CONFIG_HOME/dprint/dprint.jsonc)$HOME/Library/Application Support/dprint/dprint.jsoncif it exists%APPDATA%\dprint\dprint.jsoncNote: You can edit the config by running
dprint config edit --globalUse 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:As the hint states, you can bypass the confirmation prompt by providing the current directory:
To format files using only the global configuration and ignore local configuration files use:
Manage global config:
Full docs: https://dprint.dev/global-config/
Improved
dprint checkOutputWhen files are not formatted,
dprint checknow suggests runningdprint fmtto fix them, making it clearer for new users contributing to your projects what to do next. (#1056)dprint check --fail-fastStops checking files and exit on the first file that isn't formatted. This is useful when you want even faster feedback. (#1054)
Note: When using
--log-level=silent,--fail-fastis now enabled by default.Breaking Changes
dprint config updateis 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)Other Changes
updateUrltoeditor-infocommand output (#1027)Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.50.2Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.50.1Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.50.0Compare Source
--config-discovery=<mode>flag and environment variableIt's now possible to change the way dprint discovers configuration files by using the
--config-discoveryflag:--config-discovery=default(default) - Discovers configuration files in the current directory, ancestor directories, and descendant directories while searching for files to format.--config-discovery=ignore-descendants- Discovers configuration files in the current directory and ancestor directories only.--config-discovery=false- Disables all configuration discovery (specify either--config=<path>or--plugins <url-or-path>).Note this can also be set via the
DPRINT_CONFIG_DISCOVERYenvironment variable (ex.DPRINT_CONFIG_DISCOVERY=false)Vim key bindings for selections
You can now use
k/jfor up/down,qto quit, andlto accept.Install
Run
dprint upgradeor see https://dprint.dev/install/What's Changed
Full Changelog: dprint/dprint@0.49.1...0.50.0
--config-discovery=falseandDPRINT_CONFIG_DISCOVERY=falseby @dsherret in #982--config-discovery=ignore-descendantsby @dsherret in #983New Contributors
Full Changelog: dprint/dprint@0.49.1...0.50.0
Checksums
v0.49.1Compare Source
Changes
--locked(faa0faf)Please
cargo installwith--lockedthough.Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.49.0Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.48.0Compare Source
Changes
NO_PROXYenvironment variable (#951)Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.47.6Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.47.5Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.47.4Compare 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 upgradeor see https://dprint.dev/install/Checksums
v0.47.2Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.47.1Compare Source
Changes
--stagedcan't find any files (#880)Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.47.0Compare Source
Changes
${configDir}and${originConfigDir}configuration template variables (#870)Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.46.3Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.46.2Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.46.1Compare Source
Changes
cargo installwithout--lockedflag (#852)Please run
dprint config updateafter 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 upgradeor see https://dprint.dev/install/Checksums
v0.46.0Compare Source
Changes
DPRINT_TLS_CA_STOREandDPRINT_CERT(#850)Please run
dprint config updateafter 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 upgradeor see https://dprint.dev/install/Checksums
v0.45.1Compare Source
Changes
dprint on Mac and Linux now starts up faster.
Before:
After:
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.45.0Compare Source
Changes
NO_COLORenv var (#808)Experimental Language Server
This release adds a language server to
dprintfound 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": trueto your vscode settings. Please try it out and let me know if you run into any issues.Outstanding tasks:
dprint lspwith editors such as Neovim (#810)Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.44.0Compare 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 upgradeor see https://dprint.dev/install/Checksums
v0.43.2Compare 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 upgradeor see https://dprint.dev/install/Checksums
v0.43.1Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.43.0Compare Source
Changes
--allow-no-files(#778)This allows specifying a
--allow-no-filesflag 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 a0exit 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 biomeFor 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 ruffFor more details, see: https://dprint.dev/plugins/ruff/
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.42.5Compare Source
Changes
Install
Run
dprint upgradeor see https://dprint.dev/install/Checksums
v0.42.3Compare 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 upgradeor see https://dprint.dev/install/Checksums
v0.42.2Compare Source
Changes
Apologies for the noise of doing multiple releases in one day.
Install
Run
dprint upgradeor see <https://dprint.dev/instaConfiguration
📅 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 is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.