Skip to content

Releases: hougesen/mdsf

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

v0.1.0

12 Jun 22:17
Compare
Choose a tag to compare

In this release the mdsf config has been written to use custom language instead of hardcoded ones. All tools can now be run on all languages.

{
  "languages": {
    "rust": "rustc",
    "mycustomlanguage": "prettier"
  }
}

What's Changed

Full Changelog: v0.0.8...v0.1.0

v0.0.8

06 Jun 12:09
Compare
Choose a tag to compare

This release adds support for generation shell completion for bash, zsh, elvish, powershell and fish

What's Changed

Full Changelog: v0.0.7...v0.0.8

v0.0.7

04 Jun 13:45
d8f64be
Compare
Choose a tag to compare

mdsf will now warn if a language does not a formatter associated.

What's Changed

Full Changelog: v0.0.6...v0.0.7

v0.0.6

29 May 14:52
094d2e7
Compare
Choose a tag to compare

This release adds support for verifying that the input files has been formatted using the verify command.

mdsf verify README.md

What's Changed

Full Changelog: v0.0.5...v0.0.6