diff --git a/CHANGELOG.md b/CHANGELOG.md index a1c899a6..ed263ad4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # minify-html changelog -## Pending +## 0.12.0 - Change CLI name to `minhtml` as it's a more concise command name and allows for `cargo install minhtml`. - Add `keep_ssi_comments` to preserve SSI comments. diff --git a/README.md b/README.md index bbdd6713..db931ef8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ View the [changelog](./CHANGELOG.md) to see the latest updates. Comparison with [html-minifier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench) -Chart showing speed of HTML minifiersChart showing compression of HTML minifiers +Chart showing speed of HTML minifiersChart showing compression of HTML minifiers The [onepass](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) variant is even more optimised for speed. See its [README](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) for more details. @@ -36,10 +36,10 @@ Precompiled binaries are available for Linux, macOS, and Windows. ### Get -[Linux x64](https://wilsonl.in/minify-html/bin/0.11.5-linux-x86_64) | -[Linux ARM64](https://wilsonl.in/minify-html/bin/0.11.5-linux-arm64) | -[macOS x64](https://wilsonl.in/minify-html/bin/0.11.5-macos-x86_64) | -[Windows x64](https://wilsonl.in/minify-html/bin/0.11.5-windows-x86_64.exe) +[Linux x64](https://wilsonl.in/minify-html/bin/0.12.0-linux-x86_64) | +[Linux ARM64](https://wilsonl.in/minify-html/bin/0.12.0-linux-arm64) | +[macOS x64](https://wilsonl.in/minify-html/bin/0.12.0-macos-x86_64) | +[Windows x64](https://wilsonl.in/minify-html/bin/0.12.0-windows-x86_64.exe) ### Use @@ -64,7 +64,7 @@ minify-html --keep-closing-tags --minify-css /path/to/**/*.html ```toml [dependencies] -minify-html = "0.11.5" +minify-html = "0.12.0" ``` ### Use @@ -76,14 +76,14 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
Deno -- Package: https://wilsonl.in/minify-html/deno/0.11.5/index.js +- Package: https://wilsonl.in/minify-html/deno/0.12.0/index.js - Binding: [WASM](https://webassembly.org/) - Platforms: All ### Use ```ts -import init, {minify} from "https://wilsonl.in/minify-html/deno/0.11.5/index.js"; +import init, {minify} from "https://wilsonl.in/minify-html/deno/0.12.0/index.js"; const encoder = new TextEncoder(); const decoder = new TextDecoder(); @@ -149,7 +149,7 @@ Add as a Maven dependency: in.wilsonl.minifyhtml minify-html - 0.11.5 + 0.12.0 ``` diff --git a/bench/README.md b/bench/README.md index d5062c6e..35adb21c 100644 --- a/bench/README.md +++ b/bench/README.md @@ -30,7 +30,7 @@ For more information on how the inputs are fetched, see [fetch.js](./fetch.js). On this [project's README](../README.md), average graphs are shown. Graphs showing per-input results are shown below: -Chart showing speed of HTML minifiers per inputChart showing effectiveness of HTML minifiers per input +Chart showing speed of HTML minifiers per inputChart showing effectiveness of HTML minifiers per input Results depend on the input, so charts show performance relative to minify-html as a percentage. diff --git a/minhtml/Cargo.toml b/minhtml/Cargo.toml index c439fc18..18fd377e 100644 --- a/minhtml/Cargo.toml +++ b/minhtml/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "minhtml" description = "[CLI] Extremely fast and smart HTML + JS + CSS minifier" -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/minify-html-java/Cargo.toml b/minify-html-java/Cargo.toml index aab3949a..ec3fcdf7 100644 --- a/minify-html-java/Cargo.toml +++ b/minify-html-java/Cargo.toml @@ -1,7 +1,7 @@ [package] publish = false name = "minify-html-java" -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/minify-html-java/pom.xml b/minify-html-java/pom.xml index 7e18df74..3d379920 100644 --- a/minify-html-java/pom.xml +++ b/minify-html-java/pom.xml @@ -6,7 +6,7 @@ in.wilsonl.minifyhtml minify-html - 0.11.5 + 0.12.0 minify-html Extremely fast and smart HTML + JS + CSS minifier diff --git a/minify-html-nodejs/Cargo.toml b/minify-html-nodejs/Cargo.toml index bc4bc492..8ef2c33e 100644 --- a/minify-html-nodejs/Cargo.toml +++ b/minify-html-nodejs/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "minify-html-nodejs" publish = false -version = "0.11.5" +version = "0.12.0" description = "Node.js bindings for minify-html" authors = ["Wilson Lin "] edition = "2021" diff --git a/minify-html-nodejs/package.json b/minify-html-nodejs/package.json index 3b51cf0f..09b1ef55 100644 --- a/minify-html-nodejs/package.json +++ b/minify-html-nodejs/package.json @@ -11,7 +11,7 @@ "index.js", "README.md" ], - "version": "0.11.5", + "version": "0.12.0", "types": "index.d.ts", "scripts": { "build": "cargo-cp-artifact --artifact cdylib minify-html-nodejs index.node -- cargo build --message-format=json-render-diagnostics", @@ -37,11 +37,11 @@ }, "homepage": "https://github.com/wilsonzlin/minify-html#readme", "optionalDependencies": { - "@minify-html/node-darwin-arm64": "0.11.5", - "@minify-html/node-darwin-x64": "0.11.5", - "@minify-html/node-linux-arm64": "0.11.5", - "@minify-html/node-linux-x64": "0.11.5", - "@minify-html/node-win32-x64": "0.11.5" + "@minify-html/node-darwin-arm64": "0.12.0", + "@minify-html/node-darwin-x64": "0.12.0", + "@minify-html/node-linux-arm64": "0.12.0", + "@minify-html/node-linux-x64": "0.12.0", + "@minify-html/node-win32-x64": "0.12.0" }, "devDependencies": { "@types/node": "^14.6.0", diff --git a/minify-html-onepass-python/Cargo.toml b/minify-html-onepass-python/Cargo.toml index c364f72c..b32c3a27 100644 --- a/minify-html-onepass-python/Cargo.toml +++ b/minify-html-onepass-python/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" homepage = "https://github.com/wilsonzlin/minify-html" readme = "README.md" repository = "https://github.com/wilsonzlin/minify-html.git" -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/minify-html-onepass/Cargo.toml b/minify-html-onepass/Cargo.toml index 715f6809..415e6c5d 100644 --- a/minify-html-onepass/Cargo.toml +++ b/minify-html-onepass/Cargo.toml @@ -7,7 +7,7 @@ readme = "README.md" keywords = ["html", "compress", "minifier", "js", "css"] categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"] repository = "https://github.com/wilsonzlin/minify-html.git" -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/minify-html-onepass/README.md b/minify-html-onepass/README.md index 68d5b2d2..8db82d29 100644 --- a/minify-html-onepass/README.md +++ b/minify-html-onepass/README.md @@ -8,7 +8,7 @@ An HTML minifier that provides the functionality of [minify-html](https://github ## Performance -Chart showing speed of HTML minifiers +Chart showing speed of HTML minifiers ## Usage diff --git a/minify-html-python/Cargo.toml b/minify-html-python/Cargo.toml index 0d49ab1a..2a932937 100644 --- a/minify-html-python/Cargo.toml +++ b/minify-html-python/Cargo.toml @@ -6,7 +6,7 @@ license = "MIT" homepage = "https://github.com/wilsonzlin/minify-html" readme = "README.md" repository = "https://github.com/wilsonzlin/minify-html.git" -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/minify-html-ruby/ext/minify_html/Cargo.toml b/minify-html-ruby/ext/minify_html/Cargo.toml index 25a118fb..d61dedf3 100644 --- a/minify-html-ruby/ext/minify_html/Cargo.toml +++ b/minify-html-ruby/ext/minify_html/Cargo.toml @@ -1,7 +1,7 @@ [package] publish = false name = "minify-html-ruby" -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/minify-html-ruby/minify_html.gemspec b/minify-html-ruby/minify_html.gemspec index a9ebb883..2bef3dd4 100644 --- a/minify-html-ruby/minify_html.gemspec +++ b/minify-html-ruby/minify_html.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |spec| spec.name = "minify_html" - spec.version = "0.11.5" + spec.version = "0.12.0" spec.authors = ["Wilson Lin"] spec.email = ["code@wilsonl.in"] spec.license = "MIT" diff --git a/minify-html-wasm/Cargo.toml b/minify-html-wasm/Cargo.toml index 273064e3..e4fcdd8c 100644 --- a/minify-html-wasm/Cargo.toml +++ b/minify-html-wasm/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "index" publish = false -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2021" diff --git a/minify-html/Cargo.toml b/minify-html/Cargo.toml index bbb3ab40..95438cd4 100644 --- a/minify-html/Cargo.toml +++ b/minify-html/Cargo.toml @@ -7,7 +7,7 @@ readme = "README.md" keywords = ["html", "compress", "minifier", "js", "css"] categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"] repository = "https://github.com/wilsonzlin/minify-html.git" -version = "0.11.5" +version = "0.12.0" authors = ["Wilson Lin "] edition = "2018"