Skip to content
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

chore: release v0.6.0 #758

Merged
merged 1 commit into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [Unreleased](https://github.com/hougesen/mdsf/compare/v0.5.3...HEAD)
#### [Unreleased](https://github.com/hougesen/mdsf/compare/v0.6.0...HEAD)

#### [v0.6.0](https://github.com/hougesen/mdsf/compare/v0.5.3...v0.6.0)

> 28 February 2025

- chore: release v0.6.0 [`#758`](https://github.com/hougesen/mdsf/pull/758)
- chore(dependabot): run cargo weekly [`#757`](https://github.com/hougesen/mdsf/pull/757)
- build(deps): bump schemars from 0.8.21 to 0.8.22 [`#756`](https://github.com/hougesen/mdsf/pull/756)
- feat(cli): add support for stdin based tools [`#755`](https://github.com/hougesen/mdsf/pull/755)
- refactor(cli): error if no input is provided [`#754`](https://github.com/hougesen/mdsf/pull/754)
- docs: conda install script [`#753`](https://github.com/hougesen/mdsf/pull/753)
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ conform.setup({
<!-- START_SECTION:base-command-help -->

```
mdsf 0.5.3
mdsf 0.6.0
Format, and lint, markdown code snippets using your favorite tools
Mads Hougesen <mads@mhouge.dk>

Expand Down
4 changes: 2 additions & 2 deletions mdsf-vscode/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion mdsf-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"displayName": "mdsf",
"publisher": "hougesen",
"description": "Format markdown code blocks using mdsf",
"version": "0.5.3",
"version": "0.6.0",
"engines": {
"vscode": "^1.96.0"
},
Expand Down
2 changes: 1 addition & 1 deletion mdsf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mdsf"
version = "0.5.3"
version = "0.6.0"
edition.workspace = true
description = "Format, and lint, markdown code snippets using your favorite tools"
authors.workspace = true
Expand Down
75 changes: 25 additions & 50 deletions schemas/v0.5.3/mdsf.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"enum": ["astyle"]
},
{
"description": "Adds the Optional type-hint to arguments where the default value is None\n\n[https://github.com/luttik/auto-optional](https://github.com/luttik/auto-optional)\n\n`auto-optional $PATH`",
"description": "Adds the Optional type-hint to arguments where the default value is None\n\n[https://github.com/Luttik/auto-optional](https://github.com/Luttik/auto-optional)\n\n`auto-optional $PATH`",
"type": "string",
"enum": ["auto-optional"]
},
Expand All @@ -128,7 +128,7 @@
"enum": ["bashate"]
},
{
"description": "Opinionated code formatter, just like Python's black code formatter but for Beancount\n\n[https://github.com/launchplatform/beancount-black](https://github.com/launchplatform/beancount-black)\n\n`bean-black $PATH`",
"description": "Opinionated code formatter, just like Python's black code formatter but for Beancount\n\n[https://github.com/LaunchPlatform/beancount-black](https://github.com/LaunchPlatform/beancount-black)\n\n`bean-black $PATH`",
"type": "string",
"enum": ["beancount-black"]
},
Expand All @@ -138,12 +138,12 @@
"enum": ["beautysh"]
},
{
"description": "Cleaner and Formatter for BibTeX files\n\n[https://github.com/flamingtempura/bibtex-tidy](https://github.com/flamingtempura/bibtex-tidy)\n\n`bibtex-tidy -m $PATH`",
"description": "Cleaner and Formatter for BibTeX files\n\n[https://github.com/FlamingTempura/bibtex-tidy](https://github.com/FlamingTempura/bibtex-tidy)\n\n`bibtex-tidy -m $PATH`",
"type": "string",
"enum": ["bibtex-tidy"]
},
{
"description": "Bicep is a declarative language for describing and deploying Azure resources\n\n[https://github.com/azure/bicep](https://github.com/azure/bicep)\n\n`bicep format $PATH`",
"description": "Bicep is a declarative language for describing and deploying Azure resources\n\n[https://github.com/Azure/bicep](https://github.com/Azure/bicep)\n\n`bicep format $PATH`",
"type": "string",
"enum": ["bicep:format"]
},
Expand Down Expand Up @@ -333,7 +333,7 @@
"enum": ["csharpier"]
},
{
"description": "A css formatter\n\n[https://github.com/beautifier/js-beautify](https://github.com/beautifier/js-beautify)\n\n`css-beautify -r --type css -f $PATH`",
"description": "A css formatter\n\n[https://github.com/beautifier/js-beautify?tab=readme-ov-file#css--html](https://github.com/beautifier/js-beautify?tab=readme-ov-file#css--html)\n\n`css-beautify -r --type css -f $PATH`",
"type": "string",
"enum": ["css-beautify"]
},
Expand All @@ -343,7 +343,7 @@
"enum": ["csscomb"]
},
{
"description": "Automated linting of Cascading Stylesheets\n\n[https://github.com/csslint/csslint](https://github.com/csslint/csslint)\n\n`csslint --quiet $PATH`",
"description": "Automated linting of Cascading Stylesheets\n\n[https://github.com/CSSLint/csslint](https://github.com/CSSLint/csslint)\n\n`csslint --quiet $PATH`",
"type": "string",
"enum": ["csslint"]
},
Expand Down Expand Up @@ -463,7 +463,7 @@
"enum": ["erb-formatter"]
},
{
"description": "An automated code formatter for Erlang\n\n[https://github.com/whatsapp/erlfmt](https://github.com/whatsapp/erlfmt)\n\n`erlfmt -w $PATH_STRING`",
"description": "An automated code formatter for Erlang\n\n[https://github.com/WhatsApp/erlfmt](https://github.com/WhatsApp/erlfmt)\n\n`erlfmt -w $PATH_STRING`",
"type": "string",
"enum": ["erlfmt"]
},
Expand Down Expand Up @@ -613,7 +613,7 @@
"enum": ["hlint"]
},
{
"description": "A html formatter\n\n[https://github.com/beautifier/js-beautify](https://github.com/beautifier/js-beautify)\n\n`html-beautify -r --type html -f $PATH`",
"description": "A html formatter\n\n[https://github.com/beautifier/js-beautify?tab=readme-ov-file#css--html](https://github.com/beautifier/js-beautify?tab=readme-ov-file#css--html)\n\n`html-beautify -r --type html -f $PATH`",
"type": "string",
"enum": ["html-beautify"]
},
Expand All @@ -623,7 +623,7 @@
"enum": ["htmlbeautifier"]
},
{
"description": "The static code analysis tool you need for your HTML\n\n[https://github.com/htmlhint/htmlhint](https://github.com/htmlhint/htmlhint)\n\n`htmlhint $PATH`",
"description": "The static code analysis tool you need for your HTML\n\n[https://github.com/HTMLHint/HTMLHint](https://github.com/HTMLHint/HTMLHint)\n\n`htmlhint $PATH`",
"type": "string",
"enum": ["htmlhint"]
},
Expand Down Expand Up @@ -652,16 +652,6 @@
"type": "string",
"enum": ["joker"]
},
{
"description": "JSON processor\n\n[https://github.com/jqlang/jq](https://github.com/jqlang/jq)\n\n`jq `",
"type": "string",
"enum": ["jq"]
},
{
"description": "like gofmt, but for jq\n\n[https://github.com/noperator/jqfmt](https://github.com/noperator/jqfmt)\n\n`jqfmt `",
"type": "string",
"enum": ["jqfmt"]
},
{
"description": "A JavaScript formatter\n\n[https://github.com/beautifier/js-beautify](https://github.com/beautifier/js-beautify)\n\n`js-beautify -r --type js -f $PATH`",
"type": "string",
Expand Down Expand Up @@ -698,7 +688,7 @@
"enum": ["jsonnetfmt"]
},
{
"description": "An opinionated code formatter for Julia. Plot twist - the opinion is your own\n\n[https://github.com/domluna/juliaformatter.jl](https://github.com/domluna/juliaformatter.jl)\n\n`julia -E using JuliaFormatter;format_file(\\\"{$PATH_STRING}\\\")`",
"description": "An opinionated code formatter for Julia. Plot twist - the opinion is your own\n\n[https://github.com/domluna/JuliaFormatter.jl](https://github.com/domluna/JuliaFormatter.jl)\n\n`julia -E using JuliaFormatter;format_file(\\\"{$PATH_STRING}\\\")`",
"type": "string",
"enum": ["juliaformatter.jl"]
},
Expand Down Expand Up @@ -763,7 +753,7 @@
"enum": ["luacheck"]
},
{
"description": "Code formatter for Lua\n\n[https://github.com/koihik/luaformatter](https://github.com/koihik/luaformatter)\n\n`lua-format -i $PATH`",
"description": "Code formatter for Lua\n\n[https://github.com/Koihik/LuaFormatter](https://github.com/Koihik/LuaFormatter)\n\n`lua-format -i $PATH`",
"type": "string",
"enum": ["luaformatter"]
},
Expand All @@ -788,7 +778,7 @@
"enum": ["mago:lint"]
},
{
"description": "Like gofmt, but for Markdown\n\n[https://github.com/shurcool/markdownfmt](https://github.com/shurcool/markdownfmt)\n\n`markdownfmt -w $PATH`",
"description": "Like gofmt, but for Markdown\n\n[https://github.com/shurcooL/markdownfmt](https://github.com/shurcooL/markdownfmt)\n\n`markdownfmt -w $PATH`",
"type": "string",
"enum": ["markdownfmt"]
},
Expand Down Expand Up @@ -908,12 +898,12 @@
"enum": ["ocamlformat"]
},
{
"description": "Indentation tool for OCaml\n\n[https://github.com/ocamlpro/ocp-indent](https://github.com/ocamlpro/ocp-indent)\n\n`ocp-indent --inplace $PATH`",
"description": "Indentation tool for OCaml\n\n[https://github.com/OCamlPro/ocp-indent](https://github.com/OCamlPro/ocp-indent)\n\n`ocp-indent --inplace $PATH`",
"type": "string",
"enum": ["ocp-indent"]
},
{
"description": "Formatter for the Odin programming language\n\n[https://github.com/danielgavin/ols](https://github.com/danielgavin/ols)\n\n`odinfmt -w $PATH`",
"description": "Formatter for the Odin programming language\n\n[https://github.com/DanielGavin/ols](https://github.com/DanielGavin/ols)\n\n`odinfmt -w $PATH`",
"type": "string",
"enum": ["odinfmt"]
},
Expand Down Expand Up @@ -963,12 +953,12 @@
"enum": ["perltidy"]
},
{
"description": "A PostgreSQL SQL syntax beautifier\n\n[https://github.com/darold/pgformatter](https://github.com/darold/pgformatter)\n\n`pg_format --inplace $PATH`",
"description": "A PostgreSQL SQL syntax beautifier\n\n[https://github.com/darold/pgFormatter](https://github.com/darold/pgFormatter)\n\n`pg_format --inplace $PATH`",
"type": "string",
"enum": ["pg_format"]
},
{
"description": "A tool to automatically fix PHP Coding Standards issues\n\n[https://github.com/php-cs-fixer/php-cs-fixer](https://github.com/php-cs-fixer/php-cs-fixer)\n\n`php-cs-fixer fix $PATH`",
"description": "A tool to automatically fix PHP Coding Standards issues\n\n[https://github.com/PHP-CS-Fixer/PHP-CS-Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer)\n\n`php-cs-fixer fix $PATH`",
"type": "string",
"enum": ["php-cs-fixer:fix"]
},
Expand Down Expand Up @@ -998,7 +988,7 @@
"enum": ["pretty-php"]
},
{
"description": "Formatter for Typst\n\n[https://github.com/antonwetzel/prettypst](https://github.com/antonwetzel/prettypst)\n\n`prettypst $PATH`",
"description": "Formatter for Typst\n\n[https://github.com/antonWetzel/prettypst](https://github.com/antonWetzel/prettypst)\n\n`prettypst $PATH`",
"type": "string",
"enum": ["prettypst"]
},
Expand Down Expand Up @@ -1043,7 +1033,7 @@
"enum": ["pycln"]
},
{
"description": "Simple Python style checker in one Python file\n\n[https://github.com/pycqa/pycodestyle](https://github.com/pycqa/pycodestyle)\n\n`pycodestyle $PATH`",
"description": "Simple Python style checker in one Python file\n\n[https://github.com/PyCQA/pycodestyle](https://github.com/PyCQA/pycodestyle)\n\n`pycodestyle $PATH`",
"type": "string",
"enum": ["pycodestyle"]
},
Expand Down Expand Up @@ -1153,7 +1143,7 @@
"enum": ["rune:fmt"]
},
{
"description": "Julia code formatter\n\n[https://github.com/fredrikekre/runic.jl](https://github.com/fredrikekre/runic.jl)\n\n`runic --inplace $PATH`",
"description": "Julia code formatter\n\n[https://github.com/fredrikekre/Runic.jl](https://github.com/fredrikekre/Runic.jl)\n\n`runic --inplace $PATH`",
"type": "string",
"enum": ["runic"]
},
Expand Down Expand Up @@ -1183,7 +1173,7 @@
"enum": ["scalariform"]
},
{
"description": "A blazing-fast modern Lua linter written in Rust\n\n[https://github.com/kampfkarren/selene](https://github.com/kampfkarren/selene)\n\n`selene $PATH`",
"description": "A blazing-fast modern Lua linter written in Rust\n\n[https://github.com/Kampfkarren/selene](https://github.com/Kampfkarren/selene)\n\n`selene $PATH`",
"type": "string",
"enum": ["selene"]
},
Expand Down Expand Up @@ -1298,7 +1288,7 @@
"enum": ["stylish-haskell"]
},
{
"description": "An opinionated Lua code formatter\n\n[https://github.com/johnnymorganz/stylua](https://github.com/johnnymorganz/stylua)\n\n`stylua --verify $PATH`",
"description": "An opinionated Lua code formatter\n\n[https://github.com/JohnnyMorganz/StyLua](https://github.com/JohnnyMorganz/StyLua)\n\n`stylua --verify $PATH`",
"type": "string",
"enum": ["stylua"]
},
Expand All @@ -1313,7 +1303,7 @@
"enum": ["swift-format"]
},
{
"description": "A command-line tool and Xcode Extension for formatting Swift code\n\n[https://github.com/nicklockwood/swiftformat](https://github.com/nicklockwood/swiftformat)\n\n`swiftformat --quiet $PATH`",
"description": "A command-line tool and Xcode Extension for formatting Swift code\n\n[https://github.com/nicklockwood/SwiftFormat](https://github.com/nicklockwood/SwiftFormat)\n\n`swiftformat --quiet $PATH`",
"type": "string",
"enum": ["swiftformat"]
},
Expand All @@ -1338,7 +1328,7 @@
"enum": ["terragrunt:hclfmt"]
},
{
"description": "An extremely fast LaTeX formatter written in Rust\n\n[https://github.com/wgunderwood/tex-fmt](https://github.com/wgunderwood/tex-fmt)\n\n`tex-fmt $PATH`",
"description": "An extremely fast LaTeX formatter written in Rust\n\n[https://github.com/WGUNDERWOOD/tex-fmt](https://github.com/WGUNDERWOOD/tex-fmt)\n\n`tex-fmt $PATH`",
"type": "string",
"enum": ["tex-fmt"]
},
Expand Down Expand Up @@ -1373,7 +1363,7 @@
"enum": ["tsqllint"]
},
{
"description": "A tool to automatically fix Twig Coding Standards issues\n\n[https://github.com/vincentlanglet/twig-cs-fixer](https://github.com/vincentlanglet/twig-cs-fixer)\n\n`twig-cs-fixer lint $PATH --fix --no-interaction --quiet`",
"description": "A tool to automatically fix Twig Coding Standards issues\n\n[https://github.com/VincentLanglet/Twig-CS-Fixer](https://github.com/VincentLanglet/Twig-CS-Fixer)\n\n`twig-cs-fixer lint $PATH --fix --no-interaction --quiet`",
"type": "string",
"enum": ["twig-cs-fixer:lint"]
},
Expand All @@ -1393,7 +1383,7 @@
"enum": ["typstfmt"]
},
{
"description": "Beautiful and reliable typst code formatter\n\n[https://github.com/enter-tainer/typstyle](https://github.com/enter-tainer/typstyle)\n\n`typstyle -i $PATH`",
"description": "Beautiful and reliable typst code formatter\n\n[https://github.com/Enter-tainer/typstyle](https://github.com/Enter-tainer/typstyle)\n\n`typstyle -i $PATH`",
"type": "string",
"enum": ["typstyle"]
},
Expand Down Expand Up @@ -1477,16 +1467,6 @@
"type": "string",
"enum": ["xo"]
},
{
"description": "Format XML\n\n[https://github.com/sibprogrammer/xq](https://github.com/sibprogrammer/xq)\n\n`xq `",
"type": "string",
"enum": ["xq"]
},
{
"description": "Format HTML\n\n[https://github.com/sibprogrammer/xq](https://github.com/sibprogrammer/xq)\n\n`xq --html`",
"type": "string",
"enum": ["xq:html"]
},
{
"description": "A simple opinionated yaml formatter that keeps your comments\n\n[https://github.com/lyz-code/yamlfix](https://github.com/lyz-code/yamlfix)\n\n`yamlfix $PATH`",
"type": "string",
Expand All @@ -1507,11 +1487,6 @@
"type": "string",
"enum": ["yew-fmt"]
},
{
"description": "yq is a portable command-line YAML, JSON, XML, CSV, TOML and properties processor\n\n[https://github.com/mikefarah/yq](https://github.com/mikefarah/yq)\n\n`yq --inplace $PATH`",
"type": "string",
"enum": ["yq"]
},
{
"description": "Reformat Zig source into canonical form\n\n[https://ziglang.org/](https://ziglang.org/)\n\n`zig fmt $PATH`",
"type": "string",
Expand Down
Loading
Loading