Skip to content

Releases: hougesen/mdsf

v0.3.0

27 Oct 01:09
Compare
Choose a tag to compare

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

11 Oct 20:33
Compare
Choose a tag to compare

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

02 Oct 14:21
Compare
Choose a tag to compare

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

06 Sep 22:15
Compare
Choose a tag to compare

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

06 Sep 21:49
660eed0
Compare
Choose a tag to compare

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

06 Aug 18:03
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.1...v0.2.2

v0.2.1

28 Jun 23:27
a94d264
Compare
Choose a tag to compare

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

Full Changelog: v0.2.0...v0.2.1

v0.2.0

26 Jun 18:03
Compare
Choose a tag to compare

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

Full Changelog: v0.1.2...v0.2.0

v0.1.2

20 Jun 18:08
d1d55c3
Compare
Choose a tag to compare

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

Full Changelog: v0.1.1...v0.1.2

v0.1.1

16 Jun 00:51
4143fc2
Compare
Choose a tag to compare

This release is rather minor primarily adding support for more tools.

What's Changed

Full Changelog: v0.1.0...v0.1.1