Skip to content

Releases: Stranger6667/css-inline

[Ruby] Release 0.11.2

09 Dec 19:44
ruby-v0.11.2
c708afa
Compare
Choose a tag to compare

Performance

  • Avoid iterating over non-Element nodes.
  • Reuse caches for nth index selectors.

[Ruby] Release 0.11.1

09 Dec 13:23
ruby-v0.11.1
89e7e44
Compare
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.

[Python] Release 0.11.2

09 Dec 19:32
python-v0.11.2
ff635a6
Compare
Choose a tag to compare

Performance

  • Avoid iterating over non-Element nodes.
  • Reuse caches for nth index selectors.

[Python] Release 0.11.1

09 Dec 13:10
python-v0.11.1
07c3fef
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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