Skip to content

Releases: Stranger6667/css-inline

[Python] Release 0.11.1

09 Dec 13:10
python-v0.11.1
07c3fef

Choose a tag to compare

Added

  • Python 3.12 support.
  • Build wheels for Python 3.10 on PyPy.

Changed

  • Update indexmap to 2.1.
  • Update cssparser to 0.31.2.
  • Update selectors to 0.25.
  • Bump MSRV to 1.65.
  • Update PyO3 to 0.20.0.
  • Update built to 0.7.1.
  • Bump manylinux version for aarch64 wheels to 2_24.

Fixed

  • Replace double quotes in all property values.

Performance

  • Avoid allocation when replacing double quotes in property values.

[Rust] Release 0.11.1

04 Dec 22:39
rust-v0.11.1
af04527

Choose a tag to compare

Changed

  • Update indexmap to 2.1.
  • Update cssparser to 0.31.2.
  • Update selectors to 0.25.
  • Bump MSRV to 1.65.

Fixed

  • Replace double quotes in all property values.

Performance

  • Avoid allocation when replacing double quotes in property values.

[Rust] Release 0.11.0

26 Sep 07:52
rust-v0.11.0
fabb4b8

Choose a tag to compare

Added

  • The inline_style_tags option to control whether inlining from "style" tags should be performed. #253

Performance

  • Reuse existing attributes when creating an element during parsing.

Changed

  • Bump MSRV to 1.63.

[Ruby] Release 0.11.0

26 Sep 11:16
ruby-v0.11.0
fd3f22f

Choose a tag to compare

Added

  • The inline_style_tags option to control whether inlining from "style" tags should be performed. #253

Performance

  • Reuse existing attributes when creating an element during parsing.

Changed

  • Bump MSRV to 1.63.

[Python] Release 0.11.0

26 Sep 07:53
python-v0.11.0
fc6d556

Choose a tag to compare

Added

  • The inline_style_tags option to control whether inlining from "style" tags should be performed. #253

Performance

  • Reuse existing attributes when creating an element during parsing.

Changed

  • Bump MSRV to 1.63.

[Rust] Release 0.10.5

30 Aug 09:49
rust-v0.10.5
5dd4739

Choose a tag to compare

Performance

  • Pre-allocate space during serialization.
  • Optimized class attribute handling: up to 25% faster for extensive class-dependent selectors.
  • Fast-path class check for shorter class attribute values.
  • Use a Bloom filter to detect if an element has no given class.
  • Avoid allocating a vector during selectors compilation.
  • Use FxHasher in more cases.

Changed

  • Drop usage of memchr.
  • Bump MSRV to 1.62.1.

[WASM] Release 0.10.4

11 Aug 23:18
wasm-v0.10.4
6391c48

Choose a tag to compare

Fixed

  • Applying new styles only to the first matching tag during styles merging. #224

Performance

  • Fix under-allocating storage for intermediate CSS styles.
  • Perform CSS inlining as late as possible to avoid intermediate allocations. #220

[Rust] Release 0.10.4

11 Aug 22:57
rust-v0.10.4
6626fbc

Choose a tag to compare

Fixed

  • Applying new styles only to the first matching tag during styles merging. #224

Performance

  • Fix under-allocating storage for intermediate CSS styles.
  • Perform CSS inlining as late as possible to avoid intermediate allocations. #220

[Ruby] Release 0.10.4

11 Aug 23:12
ruby-v0.10.4
d1d1344

Choose a tag to compare

Changed

  • Update magnus to 0.6.

Fixed

  • Applying new styles only to the first matching tag during styles merging. #224

Performance

  • Fix under-allocating storage for intermediate CSS styles.
  • Perform CSS inlining as late as possible to avoid intermediate allocations. #220

[Python] Release 0.10.4

11 Aug 22:58
python-v0.10.4
e4f349c

Choose a tag to compare

Fixed

  • Applying new styles only to the first matching tag during styles merging. #224

Performance

  • Fix under-allocating storage for intermediate CSS styles.
  • Perform CSS inlining as late as possible to avoid intermediate allocations. #220