Skip to content

Commit

Permalink
0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonzlin committed Dec 24, 2023
1 parent ce73a8a commit 4c43960
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# minify-html changelog

## Pending
## 0.15.0

- Add `keep_input_type_text_attr` option to keep `type=text` on `<input>` elements.
- [Java] The `Configuration` class constructor has been made private to enforce the use of the builder. The constructor has a lot of params which can easily cause bugs due to ordering and confusion.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

<img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.14.0/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.14.0/core/average-sizes.png">
<img width="400" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.15.0/core/average-speeds.png"><img width="400" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.15.0/core/average-sizes.png">

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.

Expand Down Expand Up @@ -61,7 +61,7 @@ minhtml --keep-closing-tags --minify-css /path/to/**/*.html

```toml
[dependencies]
minify-html = "0.14.0"
minify-html = "0.15.0"
```

### Use
Expand All @@ -73,14 +73,14 @@ Check out the [docs](https://docs.rs/minify-html) for API and usage examples.
<details>
<summary><img width="24" src="https://wilsonl.in/minify-html/icon/deno.png"> <strong>Deno</strong></summary>

- Package: https://wilsonl.in/minify-html/deno/0.14.0/index.js
- Package: https://wilsonl.in/minify-html/deno/0.15.0/index.js
- Binding: [WASM](https://webassembly.org/)
- Platforms: All

### Use

```ts
import init, {minify} from "https://wilsonl.in/minify-html/deno/0.14.0/index.js";
import init, {minify} from "https://wilsonl.in/minify-html/deno/0.15.0/index.js";

const encoder = new TextEncoder();
const decoder = new TextDecoder();
Expand Down Expand Up @@ -146,7 +146,7 @@ Add as a Maven dependency:
<dependency>
<groupId>in.wilsonl.minifyhtml</groupId>
<artifactId>minify-html</artifactId>
<version>0.14.0</version>
<version>0.15.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion bench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

<img width="435" alt="Chart showing speed of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.14.0/core/speeds.png"><img width="435" alt="Chart showing effectiveness of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.14.0/core/sizes.png">
<img width="435" alt="Chart showing speed of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.15.0/core/speeds.png"><img width="435" alt="Chart showing effectiveness of HTML minifiers per input" src="https://wilsonl.in/minify-html/bench/0.15.0/core/sizes.png">

Results depend on the input, so charts show performance relative to minify-html as a percentage.

Expand Down
4 changes: 2 additions & 2 deletions minhtml/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "minhtml"
description = "[CLI] Extremely fast and smart HTML + JS + CSS minifier"
version = "0.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2018"
license = "MIT"
Expand All @@ -12,6 +12,6 @@ categories = ["compression", "command-line-utilities", "development-tools::build
repository = "https://github.com/wilsonzlin/minify-html.git"

[dependencies]
minify-html = { version = "0.14.0", path = "../minify-html" }
minify-html = { version = "0.15.0", path = "../minify-html" }
rayon = "1.5"
structopt = "0.3"
2 changes: 1 addition & 1 deletion minify-html-java/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
publish = false
name = "minify-html-java"
version = "0.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion minify-html-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>in.wilsonl.minifyhtml</groupId>
<artifactId>minify-html</artifactId>
<version>0.14.0</version>
<version>0.15.0</version>

<name>minify-html</name>
<description>Extremely fast and smart HTML + JS + CSS minifier</description>
Expand Down
2 changes: 1 addition & 1 deletion minify-html-nodejs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "minify-html-nodejs"
publish = false
version = "0.14.0"
version = "0.15.0"
description = "Node.js bindings for minify-html"
authors = ["Wilson Lin <[email protected]>"]
edition = "2021"
Expand Down
12 changes: 6 additions & 6 deletions minify-html-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"index.js",
"README.md"
],
"version": "0.14.0",
"version": "0.15.0",
"types": "index.d.ts",
"scripts": {
"build": "cargo-cp-artifact --artifact cdylib minify-html-nodejs index.node -- cargo build --message-format=json-render-diagnostics",
Expand All @@ -37,11 +37,11 @@
},
"homepage": "https://github.com/wilsonzlin/minify-html#readme",
"optionalDependencies": {
"@minify-html/node-darwin-arm64": "0.14.0",
"@minify-html/node-darwin-x64": "0.14.0",
"@minify-html/node-linux-arm64": "0.14.0",
"@minify-html/node-linux-x64": "0.14.0",
"@minify-html/node-win32-x64": "0.14.0"
"@minify-html/node-darwin-arm64": "0.15.0",
"@minify-html/node-darwin-x64": "0.15.0",
"@minify-html/node-linux-arm64": "0.15.0",
"@minify-html/node-linux-x64": "0.15.0",
"@minify-html/node-win32-x64": "0.15.0"
},
"devDependencies": {
"@types/node": "^14.6.0",
Expand Down
2 changes: 1 addition & 1 deletion minify-html-onepass-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion minify-html-onepass/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
keywords = ["html", "compress", "minifier", "js", "css"]
categories = ["compression", "development-tools::build-utils", "web-programming"]
repository = "https://github.com/wilsonzlin/minify-html.git"
version = "0.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion minify-html-onepass/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ An HTML minifier that provides the functionality of [minify-html](https://github

## Performance

<img width="600" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.14.0/core/average-speeds.png">
<img width="600" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.15.0/core/average-speeds.png">

## Usage

Expand Down
2 changes: 1 addition & 1 deletion minify-html-python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion minify-html-ruby/ext/minify_html/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
publish = false
name = "minify-html-ruby"
version = "0.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion minify-html-ruby/minify_html.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Gem::Specification.new do |spec|
spec.name = "minify_html"
spec.version = "0.14.0"
spec.version = "0.15.0"
spec.authors = ["Wilson Lin"]
spec.email = ["[email protected]"]
spec.license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion minify-html-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "index"
publish = false
version = "0.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion minify-html/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ readme = "README.md"
keywords = ["html", "compress", "minifier", "js", "css"]
categories = ["compression", "development-tools::build-utils", "web-programming"]
repository = "https://github.com/wilsonzlin/minify-html.git"
version = "0.14.0"
version = "0.15.0"
authors = ["Wilson Lin <[email protected]>"]
edition = "2018"

Expand Down

0 comments on commit 4c43960

Please sign in to comment.