diff --git a/CHANGELOG.md b/CHANGELOG.md index bce8ebe..f5cad0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # minify-html changelog -## Pending +## 0.11.0 - Change the default CSS minifier optimisation level to 1, as higher levels may perform dangerous optimisations. - Allow configuring the CSS minifier optimisation level. diff --git a/README.md b/README.md index 9c95b1a..2f5ebd6 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.10.8-linux-x86_64) | -[Linux ARM64](https://wilsonl.in/minify-html/bin/0.10.8-linux-arm64) | -[macOS x64](https://wilsonl.in/minify-html/bin/0.10.8-macos-x86_64) | -[Windows x64](https://wilsonl.in/minify-html/bin/0.10.8-windows-x86_64.exe) +[Linux x64](https://wilsonl.in/minify-html/bin/0.11.0-linux-x86_64) | +[Linux ARM64](https://wilsonl.in/minify-html/bin/0.11.0-linux-arm64) | +[macOS x64](https://wilsonl.in/minify-html/bin/0.11.0-macos-x86_64) | +[Windows x64](https://wilsonl.in/minify-html/bin/0.11.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.10.8" +minify-html = "0.11.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.10.8/index.js +- Package: https://wilsonl.in/minify-html/deno/0.11.0/index.js - Binding: [WASM](https://webassembly.org/) - Platforms: All ### Use ```ts -import init, {minify} from "https://wilsonl.in/minify-html/deno/0.10.8/index.js"; +import init, {minify} from "https://wilsonl.in/minify-html/deno/0.11.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.10.8 + 0.11.0 ``` diff --git a/bench/README.md b/bench/README.md index 0ba8b26..eef132e 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/cli/Cargo.toml b/cli/Cargo.toml index 0e697bf..3e068f4 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -2,7 +2,7 @@ publish = false name = "minify-html-cli" description = "Extremely fast and smart HTML + JS + CSS minifier" -version = "0.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/java/Cargo.toml b/java/Cargo.toml index 51ce5d9..1dd434c 100644 --- a/java/Cargo.toml +++ b/java/Cargo.toml @@ -1,7 +1,7 @@ [package] publish = false name = "minify-html-java" -version = "0.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/java/pom.xml b/java/pom.xml index 29e497e..6a1b3bd 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -6,7 +6,7 @@ in.wilsonl.minifyhtml minify-html - 0.10.8 + 0.11.0 minify-html Extremely fast and smart HTML + JS + CSS minifier diff --git a/nodejs/Cargo.toml b/nodejs/Cargo.toml index 5f279b6..c7008e0 100644 --- a/nodejs/Cargo.toml +++ b/nodejs/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "minify-html-node" publish = false -version = "0.10.8" +version = "0.11.0" description = "Node.js bindings for minify-html" authors = ["Wilson Lin "] edition = "2021" @@ -10,7 +10,7 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -minify-html = "0.10.8" +minify-html = "0.11.0" [dependencies.neon] version = "0.10" diff --git a/nodejs/package.json b/nodejs/package.json index 262b751..98f94db 100644 --- a/nodejs/package.json +++ b/nodejs/package.json @@ -14,7 +14,7 @@ "README.md", "postinstall.js" ], - "version": "0.10.8", + "version": "0.11.0", "types": "index.d.ts", "scripts": { "build": "cargo-cp-artifact --artifact cdylib minify-html-node index.node -- cargo build --message-format=json-render-diagnostics", diff --git a/python/main/Cargo.toml b/python/main/Cargo.toml index 45b8e96..1219812 100644 --- a/python/main/Cargo.toml +++ b/python/main/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.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/python/onepass/Cargo.toml b/python/onepass/Cargo.toml index 2fea782..41fe923 100644 --- a/python/onepass/Cargo.toml +++ b/python/onepass/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.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/ruby/Cargo.toml b/ruby/Cargo.toml index d679c4b..b6d9188 100644 --- a/ruby/Cargo.toml +++ b/ruby/Cargo.toml @@ -1,7 +1,7 @@ [package] publish = false name = "minify-html-ruby" -version = "0.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2018" diff --git a/ruby/minify_html.gemspec b/ruby/minify_html.gemspec index 9e12455..2f7c122 100644 --- a/ruby/minify_html.gemspec +++ b/ruby/minify_html.gemspec @@ -2,7 +2,7 @@ require 'rake' Gem::Specification.new do |spec| spec.name = "minify_html" - spec.version = "0.10.8" + spec.version = "0.11.0" spec.authors = ["Wilson Lin"] spec.email = ["code@wilsonl.in"] spec.license = "MIT" diff --git a/rust/main/Cargo.toml b/rust/main/Cargo.toml index 3cf0ff9..cf35304 100644 --- a/rust/main/Cargo.toml +++ b/rust/main/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.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2018" include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"] diff --git a/rust/onepass/Cargo.toml b/rust/onepass/Cargo.toml index 60a1b3b..132fc85 100644 --- a/rust/onepass/Cargo.toml +++ b/rust/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.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2018" include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"] diff --git a/rust/onepass/README.md b/rust/onepass/README.md index 34f3028..abd887f 100644 --- a/rust/onepass/README.md +++ b/rust/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/wasm/Cargo.toml b/wasm/Cargo.toml index 5f6811c..f056898 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "index" publish = false -version = "0.10.8" +version = "0.11.0" authors = ["Wilson Lin "] edition = "2021"