Skip to content

Commit 1df687b

Browse files
committed
chore(python): Release 0.16.0
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent fb8c01d commit 1df687b

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

bindings/python/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [Unreleased]
44

5+
## [0.16.0] - 2025-07-16
6+
57
### Changed
68

79
- Bump MSRV to `1.75`.
@@ -480,7 +482,8 @@
480482

481483
- Initial public release
482484

483-
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.15.0...HEAD
485+
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.16.0...HEAD
486+
[0.16.0]: https://github.com/Stranger6667/css-inline/compare/python-v0.15.0...python-v0.16.0
484487
[0.15.0]: https://github.com/Stranger6667/css-inline/compare/python-v0.14.6...python-v0.15.0
485488
[0.14.6]: https://github.com/Stranger6667/css-inline/compare/python-v0.14.5...python-v0.14.6
486489
[0.14.5]: https://github.com/Stranger6667/css-inline/compare/python-v0.14.4...python-v0.14.5

bindings/python/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "css-inline-python"
3-
version = "0.15.0"
3+
version = "0.16.0"
44
authors = ["Dmitry Dygalo <[email protected]>"]
55
edition = "2021"
66
rust-version = "1.75"

bindings/python/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -237,12 +237,12 @@ Most of the time it achieves over a **10x** speed advantage compared to the next
237237

238238
Here is the performance comparison:
239239

240-
| | Size | `css_inline 0.15.0` | `premailer 3.10.0` | `toronado 0.1.0` | `inlinestyler 0.2.5` | `pynliner 0.8.0` |
240+
| | Size | `css_inline 0.16.0` | `premailer 3.10.0` | `toronado 0.1.0` | `inlinestyler 0.2.5` | `pynliner 0.8.0` |
241241
|-------------|---------|---------------------|------------------------|-------------------------|------------------------|------------------------|
242-
| Basic | 230 B | 4.72 µs | 111.47 µs (**23.57x**) | 614.57 µs (**129.96x**) | 1.02 ms (**216.10x**) | 1.15ms (**258.45x**) |
243-
| Realistic-1 | 8.58 KB | 86.67 µs | 1.23 ms (**14.23x**) | 13.80 ms (**159.28x**) | 26.37 ms (**304.25x**) | 45.24 ms (**522.05x**) |
244-
| Realistic-2 | 4.3 KB | 59.55 µs | 1.78 ms (**29.91x**) | ERROR | 17.71 ms (**297.39x**) | ERROR |
245-
| GitHub page | 1.81 MB | 147.43 ms | 14.08 s (**95.47x**) | ERROR | ERROR | ERROR |
242+
| Basic | 230 B | 4.31 µs | 106.94 µs (**24.77x**) | 602.44 µs (**139.52x**) | 1.02 ms (**236.65x**) | 1.13ms (**263.43x**) |
243+
| Realistic-1 | 8.58 KB | 83.37 µs | 1.20 ms (**14.42x**) | 13.66 ms (**163.85x**) | 26.37 ms (**316.30x**) | 44.76 ms (**536.88x**) |
244+
| Realistic-2 | 4.3 KB | 57.60 µs | 1.73 ms (**30.04x**) | ERROR | 17.71 ms (**307.46x**) | ERROR |
245+
| GitHub page | 1.81 MB | 139.57 ms | 13.94 s (**99.90x**) | ERROR | ERROR | ERROR |
246246

247247
The "Basic" case was obtained by benchmarking the example from the Usage section.
248248
Note that the `toronado`, `inlinestyler`, and `pynliner` libraries both encountered errors when used to inline CSS in the last scenario.

0 commit comments

Comments
 (0)