Skip to content

Commit 7252efe

Browse files
committed
chore: Python release 0.5.0
1 parent 016289d commit 7252efe

File tree

3 files changed

+14
-11
lines changed

3 files changed

+14
-11
lines changed

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.5.0] - 2020-08-07
6+
57
### Performance
68

79
- Avoid string allocation in `get_full_url`
@@ -68,7 +70,8 @@
6870

6971
- Initial public release
7072

71-
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.4.0...HEAD
73+
[Unreleased]: https://github.com/Stranger6667/css-inline/compare/python-v0.5.0...HEAD
74+
[0.5.0]: https://github.com/Stranger6667/css-inline/compare/python-v0.4.0...python-v0.5.0
7275
[0.4.0]: https://github.com/Stranger6667/css-inline/compare/python-v0.3.2...python-v0.4.0
7376
[0.3.2]: https://github.com/Stranger6667/css-inline/compare/python-v0.3.1...python-v0.3.2
7477
[0.3.1]: https://github.com/Stranger6667/css-inline/compare/python-v0.3.0...python-v0.3.1

python/README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,20 +67,20 @@ library has good performance characteristics. In comparison with other Python pr
6767

6868
For inlining CSS in the html document from the ``Usage`` section above we have the following breakdown in our benchmarks:
6969

70-
- ``css_inline 0.4.0`` - 23.84 us
71-
- ``premailer 3.7.0`` - 331 us (**x13.9**)
72-
- ``inlinestyler 0.2.4`` - 2.45 ms (**x102.8**)
73-
- ``pynliner 0.8.0`` - 2.81 ms (**x118.04**)
70+
- ``css_inline 0.5.0`` - 22.88 us
71+
- ``premailer 3.7.0`` - 331 us (**x14.48**)
72+
- ``inlinestyler 0.2.4`` - 2.43 ms (**x106.43**)
73+
- ``pynliner 0.8.0`` - 2.76 ms (**x120.76**)
7474

7575
And for a more realistic email:
7676

77-
- ``css_inline 0.4.0`` - 491.63 us
78-
- ``premailer 3.7.0`` - 3.31 ms (**x6.74**)
79-
- ``inlinestyler 0.2.4`` - 61.78 ms (**x125.68**)
80-
- ``pynliner 0.8.0`` - 92.68 ms (**x188.52**)
77+
- ``css_inline 0.5.0`` - 469.57 us
78+
- ``premailer 3.7.0`` - 3.32 ms (**x7.09**)
79+
- ``inlinestyler 0.2.4`` - 63.15 ms (**x125.58**)
80+
- ``pynliner 0.8.0`` - 90.66 ms (**x189.20**)
8181

8282
You can take a look at the benchmarks' code at ``benches/bench.py`` file.
83-
The results above were measured with ``rustc 1.46``, ``Python 3.8`` on i8700K, and 32GB RAM.
83+
The results above were measured with stable ``rustc 1.45.2``, ``Python 3.8`` on i8700K, and 32GB RAM.
8484

8585
Python support
8686
--------------

python/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
def call_setup():
2121
setup(
2222
name="css_inline",
23-
version="0.4.0",
23+
version="0.5.0",
2424
description="Fast CSS inlining written in Rust",
2525
long_description=open("README.rst", encoding="utf-8").read(),
2626
long_description_content_type="text/x-rst",

0 commit comments

Comments
 (0)