Releases: hougesen/mdsf
v0.3.0
This release comes with 3 "large" changes:
Command naming conventions
The definition of commands in the config has been changed to follow the convention binary:command
, which means that the command biome format --write
is now defined as biome:format
. This change only affects tools that have more than one command.
This should make it easier for new users to understand what command in being called under the hood.
A full list of all commands can be found in the readme.
Code generation of tools based on config files
Commands are now automatically generated based on configuration files found in the tools
directory, which means knowing Rust is not needed to add support for new tools. This change does not have a big impact for users, other than some commands being renamed.
Support for multiple input files
Support for multiple input files was added in #491.
Release Notes
27 October 2024
- feat: support dockfmt
#523
- feat: support json5format
#522
- feat: support kdoc-formatter
#521
- feat: support djade
#520
- feat: support tsqllint
#519
- feat: support pyment
#518
- feat: support sqruff
#517
- feat: support opa fmt
#516
- feat: support purty
#515
- feat: support nginxbeautifier
#514
- feat: support cabal-fmt
#513
- feat: support bibtex-tidy
#512
- feat: support caddy fmt
#511
- build(deps): bump denoland/setup-deno from 1 to 2
#510
- feat: support protolint
#509
- feat: support jsonlint
#508
- feat: support hlint
#507
- feat: support bslint
#506
- feat: support terragrunt hclfmt
#505
- feat: support shellharden
#504
- feat: support reorder-python-imports
#503
- feat: support reformat-gherkin
#502
- deps(clap): upgrade to 4.5.20
#501
- deps(clap_complete): 4.5.35
#500
- deps(once_cell): bump to 1.20.2
#499
- deps(regex): bump to 1.11.1
#498
- deps(serde): bump to version 1.0.213
#497
- deps(serde_json): 1.0.132
#496
- deps(anyhow): bump to 1.0.91
#495
- deps(test-with): bump to 0.14.4
#494
- feat: codegen tooling from config files
#493
- feat: support multiple input paths
#491
- fix: correct npm binary name
39f890e
Install mdsf 0.3.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hougesen/mdsf/releases/download/v0.3.0/mdsf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/hougesen/mdsf/releases/download/v0.3.0/mdsf-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install hougesen/tap/mdsf
Install prebuilt binaries into your npm project
npm install mdsf-cli@0.3.0
Download mdsf 0.3.0
File | Platform | Checksum |
---|---|---|
mdsf-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
mdsf-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
mdsf-x86_64-pc-windows-msvc.tar.gz | x64 Windows | checksum |
mdsf-x86_64-pc-windows-msvc.msi | x64 Windows | checksum |
mdsf-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
v0.2.7
Install mdsf 0.2.7
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hougesen/mdsf/releases/download/v0.2.7/mdsf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/hougesen/mdsf/releases/download/v0.2.7/mdsf-installer.ps1 | iex"
Install prebuilt binaries into your npm project
npm install mdsf-cli@0.2.7
Install prebuilt binaries via Homebrew
brew install hougesen/tap/mdsf
Download mdsf 0.2.7
File | Platform | Checksum |
---|---|---|
mdsf-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
mdsf-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
mdsf-x86_64-pc-windows-msvc.tar.gz | x64 Windows | checksum |
mdsf-x86_64-pc-windows-msvc.msi | x64 Windows | checksum |
mdsf-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
v0.2.6
Install mdsf 0.2.6
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hougesen/mdsf/releases/download/v0.2.6/mdsf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/hougesen/mdsf/releases/download/v0.2.6/mdsf-installer.ps1 | iex"
Install prebuilt binaries into your npm project
npm install mdsf-cli@0.2.6
Install prebuilt binaries via Homebrew
brew install hougesen/tap/mdsf
Download mdsf 0.2.6
File | Platform | Checksum |
---|---|---|
mdsf-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
mdsf-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
mdsf-x86_64-pc-windows-msvc.tar.gz | x64 Windows | checksum |
mdsf-x86_64-pc-windows-msvc.msi | x64 Windows | checksum |
mdsf-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
v0.2.5
Install mdsf 0.2.5
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hougesen/mdsf/releases/download/v0.2.5/mdsf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/hougesen/mdsf/releases/download/v0.2.5/mdsf-installer.ps1 | iex"
Install prebuilt binaries into your npm project
npm install mdsf-cli@0.2.5
Install prebuilt binaries via Homebrew
brew install hougesen/tap/mdsf
Download mdsf 0.2.5
File | Platform | Checksum |
---|---|---|
mdsf-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
mdsf-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
mdsf-x86_64-pc-windows-msvc.tar.gz | x64 Windows | checksum |
mdsf-x86_64-pc-windows-msvc.msi | x64 Windows | checksum |
mdsf-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
v0.2.3
Release Notes
6 September 2024
- build(deps): bump serde_json from 1.0.127 to 1.0.128
#453
- build(deps): bump clap from 4.5.16 to 4.5.17
#452
- build(deps): bump serde from 1.0.209 to 1.0.210
#455
- build(deps): bump clap_complete from 4.5.24 to 4.5.26
#454
- build(deps): bump anyhow from 1.0.86 to 1.0.87
#451
- build: setup cargo dist
#450
- refactor: convert project to cargo workspace
#449
- feat(config): add support for fallback formatters
#446
- chore: update language ext map
#445
- build(deps): bump clap_complete from 4.5.12 to 4.5.24
#439
- build(deps): bump serde_json from 1.0.122 to 1.0.127 in /codegen
#443
- build(deps): bump serde_json from 1.0.122 to 1.0.127
#438
- build(deps): bump serde from 1.0.204 to 1.0.209 in /codegen
#440
- build(deps): bump which from 6.0.2 to 6.0.3
#442
- build(deps): bump serde from 1.0.204 to 1.0.209
#441
- build(deps): bump reqwest from 0.12.5 to 0.12.7 in /codegen
#444
- build(deps): bump tempfile to 3.12.0
#437
- build(deps): bump clap to 4.5.16
#436
- chore: bump dev version to v0.2.3
1a5a9b6
- fix: use exact package version
a91f924
- chore: add mdsf folder for dependabot
659c7e3
Install mdsf 0.2.3
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/hougesen/mdsf/releases/download/v0.2.3/mdsf-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy ByPass -c "irm https://github.com/hougesen/mdsf/releases/download/v0.2.3/mdsf-installer.ps1 | iex"
Install prebuilt binaries into your npm project
npm install mdsf-cli@0.2.3
Install prebuilt binaries via Homebrew
brew install hougesen/tap/mdsf
Download mdsf 0.2.3
File | Platform | Checksum |
---|---|---|
mdsf-aarch64-apple-darwin.tar.gz | Apple Silicon macOS | checksum |
mdsf-x86_64-apple-darwin.tar.gz | Intel macOS | checksum |
mdsf-x86_64-pc-windows-msvc.tar.gz | x64 Windows | checksum |
mdsf-x86_64-pc-windows-msvc.msi | x64 Windows | checksum |
mdsf-x86_64-unknown-linux-gnu.tar.gz | x64 Linux | checksum |
mdsf-x86_64-unknown-linux-musl.tar.gz | x64 MUSL Linux | checksum |
v0.2.2
What's Changed
- test: setup codecoverage tracking by @hougesen in #388
- ci: install auto-optional for testing by @hougesen in #391
- ci: install alejandra for tests by @hougesen in #392
- ci: install missing binaries by @hougesen in #393
- test: vaidate cache hashes are deterministic by @hougesen in #394
- ci: enable ocaml tests by @hougesen in #395
- build(deps): bump serde_json to 1.0.119 by @hougesen in #396
- ci: install xmllint for testing by @hougesen in #397
- ci: install rubyfmt for test by @hougesen in #398
- ci: install ormolu for test by @hougesen in #399
- ci: install ocp-indent for test by @hougesen in #400
- test: disable ocp-indent installation by @hougesen in #401
- build(deps): bump serde_json to 1.0.120 by @hougesen in #402
- build(deps): bump serde to 1.0.204 by @hougesen in #403
- build(deps): bump clap to 4.5.9 by @hougesen in #404
- docs: changelog for ureleased prs by @hougesen in #405
- build(deps): bump test-with to 0.13.0 by @hougesen in #406
- build(deps): bump clap_complete to 4.5.8 by @hougesen in #407
- docs: move configuration section above completions by @hougesen in #408
- build(deps): bump toml to 0.8.15 by @hougesen in #409
- build(deps): bump openssl from 0.10.64 to 0.10.66 in /codegen by @dependabot in #410
- build(deps): bump clap from 4.5.9 to 4.5.10 by @dependabot in #411
- build(deps): bump env_logger from 0.11.3 to 0.11.4 by @dependabot in #412
- chore: setup dependabot for codegen by @hougesen in #413
- build(deps): bump hasnep/setup-roc from 0.1.1 to 0.2.0 by @dependabot in #415
- build(deps): bump clap_complete from 4.5.8 to 4.5.9 by @dependabot in #417
- build(deps): bump ocaml/setup-ocaml from 2 to 3 by @dependabot in #414
- build(deps): bump jiro4989/setup-nim-action from 1 to 2 by @dependabot in #416
- build(deps): bump toml from 0.8.15 to 0.8.16 in /codegen by @dependabot in #419
- build(deps): bump clap_complete from 4.5.9 to 4.5.11 by @dependabot in #418
- build(deps): bump env_logger from 0.11.4 to 0.11.5 by @dependabot in #420
- build(deps): bump clap from 4.5.10 to 4.5.11 by @dependabot in #421
- feat: support sleek by @hougesen in #422
- build(deps): bump clap from 4.5.11 to 4.5.13 by @dependabot in #426
- build(deps): bump serde_json from 1.0.120 to 1.0.121 by @dependabot in #428
- build(deps): bump which from 6.0.1 to 6.0.2 by @dependabot in #429
- build(deps): bump serde_json from 1.0.120 to 1.0.121 in /codegen by @dependabot in #430
- build(deps): bump toml from 0.8.16 to 0.8.19 in /codegen by @dependabot in #427
- build(deps): bump clap_complete from 4.5.11 to 4.5.12 by @dependabot in #425
- chore(dependabot): remove hougesen from assignees by @hougesen in #423
- build(deps): bump regex from 1.10.5 to 1.10.6 by @dependabot in #431
- build(deps): bump serde_json from 1.0.121 to 1.0.122 by @dependabot in #434
- build(deps): bump serde_json from 1.0.121 to 1.0.122 in /codegen by @dependabot in #435
- build(deps): bump tempfile from 3.10.1 to 3.11.0 by @dependabot in #432
- build(deps): bump regex from 1.10.5 to 1.10.6 in /codegen by @dependabot in #433
Full Changelog: v0.2.1...v0.2.2
v0.2.1
This release adds support for running path local formatters (binaries installed through npm/composer/etc.).
It also adds support for 27 more formatters/linters.
What's Changed
- feat: add support for prisma format by @hougesen in #338
- style: use super for importing formatters in test by @hougesen in #341
- refactor: remove mut from command by @hougesen in #342
- feat: run command through pnpm dlx by @hougesen in #343
- build(deps): bump log to 0.4.22 by @hougesen in #344
- refactor: use sha256 instead of built in hash by @hougesen in #345
- feat: add support for running directory local formatters by @hougesen in #346
- build(deps): bump clap to 4.5.8 by @hougesen in #347
- build(deps): bump clap_complete to 4.5.7 by @hougesen in #348
- feat: support jsonnetfmt by @hougesen in #349
- feat: add support for ameba by @hougesen in #350
- feat: add support hfmt by @hougesen in #351
- feat: support brittany by @hougesen in #352
- feat: support pycln by @hougesen in #353
- feat: support dhall format by @hougesen in #354
- feat: support floskell by @hougesen in #355
- feat: support qmlfmt by @hougesen in #356
- feat: support packer fmt by @hougesen in #357
- fix: change mdsf-cache gitignore by @hougesen in #358
- test: auto-optional by @hougesen in #359
- test: grain format by @hougesen in #361
- test: autoflake by @hougesen in #360
- test: typos by @hougesen in #362
- test: xo by @hougesen in #363
- test: zprint by @hougesen in #364
- test: yew-fmt by @hougesen in #365
- test: verify veryl fmt works by @hougesen in #366
- fix: don't check if binary in path if current_dir is not set by @hougesen in #367
- fix: run local binary correctly by @hougesen in #369
- test: css-beautify by @hougesen in #370
- test: html-beautify by @hougesen in #371
- test: htmlbeautifier by @hougesen in #372
- docs: add formatter request snippet by @hougesen in #373
- feat: add support for csscomb by @hougesen in #374
- feat: add support for stylefmt by @hougesen in #375
- feat: support topiary by @hougesen in #376
- feat(nim): support nph by @hougesen in #377
- feat(formatter): supprt refmt by @hougesen in #378
Full Changelog: v0.2.0...v0.2.1
v0.2.0
The primary focus of this release has been to optimize the performance of mdsf
.
This has been accomplished in two ways:
Support for formatting using multiple threads
mdsf
can now format using multiple threads.
The amount of threads used can be adjusted using the --threads <THREAD_COUNT>
argument. The default value is 0 which uses all available cores.
Caching of formatted files
mdsf
now supports caching formatting results. This can be enabled using the --cache
argument.
Using --cache
will in most cases result in a dramatic performance increase.
For now the --cache
argument can only be supplied to the format
command.
Stale caches can be removed using the cache-prune
command.
mdsf cache-prune
All caches can be removed by supplying --all
to the cache-prune
command.
mdsf cache-prune --all
The cache key is based on the contents of the mdsf config and the file content of each document. A change to either will break the cache.
mdsf
assumes that the available formatters has not changed since the cache was generated. This means you should prune your cache after updating the version of a formatter (mdsf cache-prune --all
).
What's Changed
- build(deps): serde_json to 1.0.118 by @hougesen in #326
- chore: add default formatter for kotlin by @hougesen in #327
- build(deps): bump json_serde to 1.0.118 by @hougesen in #328
- feat: add line between stderr output by @hougesen in #329
- feat: add support for multithreading by @hougesen in #330
- refactor: remove to_string from format_multiple by @hougesen in #331
- docs: command help by @hougesen in #332
- refactor: move tempdir to current directory by @hougesen in #333
- feat: add --cache argument by @hougesen in #335
- docs: add base command usage by @hougesen in #336
Full Changelog: v0.1.2...v0.2.0
v0.1.2
This release adds support for 14 new tools.
Support for custom file extensions associations were also added.
This can be defined in your mdsf config using the custom_file_extensions
object.
{
"custom_file_extensions": {
// Codeblocks with language set to `shell` will now use `.bash` instead of the default (`.sh`)
"shell": ".bash",
// any arbitrary value can be used, as long as it is a valid file extension.
"mycustomlanguage": ".helloworld"
}
}
What's Changed
- feat(cli): add --config arg by @hougesen in #307
- build(deps): bump clap_complete to 4.5.6 by @hougesen in #308
- build(deps): bump reqwest to 0.12.5 by @hougesen in #309
- feat(deno): support deno lint by @hougesen in #310
- feat(dart): support dart fix by @hougesen in #311
- feat: support dotenv-linter by @hougesen in #312
- feat: add support for jsona by @hougesen in #314
- feat: add support for gluon fmt by @hougesen in #315
- feat(imba): support imba fmt by @hougesen in #316
- feat(nickel): support nickel format by @hougesen in #317
- feat(uiua): add support for uiua fmt by @hougesen in #318
- feat(grain): support grain format by @hougesen in #319
- feat(veryl): support veryl fmt by @hougesen in #320
- feat(rune): support rune fmt by @hougesen in #321
- feat(caramel): support caramel fmt by @hougesen in #322
- feat(racket): support raco fmt by @hougesen in #323
- feat(v): support v fmt by @hougesen in #324
- feat(config): custom file extensions by @hougesen in #325
Full Changelog: v0.1.1...v0.1.2
v0.1.1
This release is rather minor primarily adding support for more tools.
What's Changed
- feat: add support for kdlfmt by @hougesen in #275
- fix: try binary before using npx by @hougesen in #276
- test: set executable required for all tests by @hougesen in #277
- chore: add --locked to installation instructions by @hougesen in #278
- feat: add support for astyle by @hougesen in #279
- feat: add support for autoflake by @hougesen in #280
- feat: add support for d2 by @hougesen in #281
- feat: support dprint by @hougesen in #282
- feat: support eslint by @hougesen in #283
- feat: support fixjson by @hougesen in #284
- feat: support gersemi by @hougesen in #285
- feat: support markdownlint by @hougesen in #286
- feat: support pg_format by @hougesen in #287
- feat: support rusywind by @hougesen in #288
- feat: support smlfmt by @hougesen in #289
- feat: support snakefmt by @hougesen in #290
- feat: support sqlfmt by @hougesen in #291
- feat: support templ fmt by @hougesen in #292
- feat: support clang-tidy by @hougesen in #293
- feat: support xo by @hougesen in #294
- feat: support ts-standard by @hougesen in #295
- feat: support oxlint by @hougesen in #296
- feat: support markuplint by @hougesen in #297
- feat: support haml-lint by @hougesen in #298
- feat: support docformatter by @hougesen in #299
- feat: support dcm by @hougesen in #300
- feat: support bsfmt by @hougesen in #301
- style: rename formatting fns to 'run' by @hougesen in #302
- feat(biome): add lint and check command by @hougesen in #303
- feat(dcm): add format and fix command by @hougesen in #304
- feat(ruff): add format and check command by @hougesen in #305
- build(deps): bump subdep versions by @hougesen in #306
Full Changelog: v0.1.0...v0.1.1