From 64efec00ed309b41234478bdd9fa6d48f0ef2070 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 28 Dec 2023 18:56:11 +0100 Subject: [PATCH] chore(javascript): Release 0.12.0 --- bindings/javascript/CHANGELOG.md | 4 ++++ bindings/javascript/Cargo.toml | 2 +- bindings/javascript/README.md | 2 +- bindings/javascript/package.json | 2 +- bindings/javascript/wasm/package.json | 2 +- 5 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bindings/javascript/CHANGELOG.md b/bindings/javascript/CHANGELOG.md index 047f4dbe..0d5f3095 100644 --- a/bindings/javascript/CHANGELOG.md +++ b/bindings/javascript/CHANGELOG.md @@ -2,4 +2,8 @@ ## [Unreleased] +## [0.12.0] - 2023-12-28 + - Initial public release + +[Unreleased]: https://github.com/Stranger6667/css-inline/compare/javascript-v0.12.0...HEAD diff --git a/bindings/javascript/Cargo.toml b/bindings/javascript/Cargo.toml index e53951ff..a722bbba 100644 --- a/bindings/javascript/Cargo.toml +++ b/bindings/javascript/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "css-inline-js" -version = "0.11.2" +version = "0.12.0" authors = ["Dmitry Dygalo "] edition = "2021" readme = "README.md" diff --git a/bindings/javascript/README.md b/bindings/javascript/README.md index 991c00c2..e0daf0a8 100644 --- a/bindings/javascript/README.md +++ b/bindings/javascript/README.md @@ -141,7 +141,7 @@ Most of the time it achieves over a **4x** speed advantage compared to the next Here is the performance comparison: -| | Size | `css-inline 0.11.2` | `css-inline-wasm 0.11.2` | `juice 10.0.0` | `inline-css 4.0.2` | +| | Size | `css-inline 0.12.0` | `css-inline-wasm 0.12.0` | `juice 10.0.0` | `inline-css 4.0.2` | |-------------|---------|---------------------|--------------------------|-----------------------|------------------------| | Basic | 230 B | 15.06 µs | 29.33 µs (**1.94x**) | 142.53 µs (**9.46x**) | 163.77 µs (**10.87x**) | | Realistic-1 | 8.58 KB | 320.71 µs | 638.97 µs (**1.99x**) | 1.28 ms (**4.01x**) | 1.87 ms (**5.85x**) | diff --git a/bindings/javascript/package.json b/bindings/javascript/package.json index 512ab25b..26f3c31b 100644 --- a/bindings/javascript/package.json +++ b/bindings/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@css-inline/css-inline", - "version": "0.11.2", + "version": "0.12.0", "description": "High-performance library for inlining CSS into HTML 'style' attributes", "main": "index.js", "repository": "git@github.com:Stranger6667/css-inline.git", diff --git a/bindings/javascript/wasm/package.json b/bindings/javascript/wasm/package.json index 8f53a692..2abcb988 100644 --- a/bindings/javascript/wasm/package.json +++ b/bindings/javascript/wasm/package.json @@ -1,6 +1,6 @@ { "name": "@css-inline/css-inline-wasm", - "version": "0.11.2", + "version": "0.12.0", "description": "High-performance library for inlining CSS into HTML 'style' attributes", "main": "index.js", "unpkg": "index.min.js",