Skip to content

Releases: Stranger6667/css-inline

[Java] Release 0.20.0

07 Feb 12:32
java-v0.20.0
8eb262a

Choose a tag to compare

Added

  • applyWidthAttributes and applyHeightAttributes options to add dimension HTML attributes from CSS properties on supported elements (table, td, th, img). #652

Performance

  • Skip selectors that reference non-existent classes, IDs, or tags.
  • Faster HTML serialization for styles containing double quotes.

[C] Release 0.20.0

07 Feb 12:21
c-v0.20.0
f1187da

Choose a tag to compare

Added

  • apply_width_attributes and apply_height_attributes options to add dimension HTML attributes from CSS properties on supported elements (table, td, th, img). #652

Performance

  • Skip selectors that reference non-existent classes, IDs, or tags.
  • Faster HTML serialization for styles containing double quotes.

[Rust] Release 0.19.1

23 Jan 14:36
rust-v0.19.1
d60b8a3

Choose a tag to compare

Changed

  • Update html5ever to 0.38.
  • Update selectors to 0.35.

Fixed

  • Inline !important styles being overwritten by stylesheet !important styles. #637

[Ruby] Release 0.19.1

23 Jan 16:27
ruby-v0.19.1
518dcfb

Choose a tag to compare

Changed

  • Update html5ever to 0.38.
  • Update selectors to 0.35.

Fixed

  • Inline !important styles being overwritten by stylesheet !important styles. #637

[Python] Release 0.19.1

23 Jan 15:16
python-v0.19.1
32d2a8e

Choose a tag to compare

Changed

  • Update html5ever to 0.38.
  • Update selectors to 0.35.

Fixed

  • Inline !important styles being overwritten by stylesheet !important styles. #637

[PHP] Release 0.19.1

23 Jan 16:46
php-v0.19.1
e44132e

Choose a tag to compare

Changed

  • Update html5ever to 0.38.
  • Update selectors to 0.35.

Fixed

  • Inline !important styles being overwritten by stylesheet !important styles. #637

[JavaScript] Release 0.19.2

23 Jan 16:06
javascript-v0.19.2
a10f811

Choose a tag to compare

Changed

  • Update html5ever to 0.38.
  • Update selectors to 0.35.

Fixed

  • Inline !important styles being overwritten by stylesheet !important styles. #637

[Java] Release 0.19.1

23 Jan 15:28
java-v0.19.1
204f9c3

Choose a tag to compare

Changed

  • Update html5ever to 0.38.
  • Update selectors to 0.35.

Fixed

  • Inline !important styles being overwritten by stylesheet !important styles. #637

[C] Release 0.19.1

23 Jan 15:20
c-v0.19.1
309edc0

Choose a tag to compare

Changed

  • Update html5ever to 0.38.
  • Update selectors to 0.35.

Fixed

  • Inline !important styles being overwritten by stylesheet !important styles. #637

[Rust] Release 0.19.0

29 Dec 13:58
rust-v0.19.0
6c3a0c9

Choose a tag to compare

Added

  • InlineOptions::remove_inlined_selectors option to remove selectors that were successfully inlined from <style> blocks.

Changed

  • Update cssparser to 0.36.
  • Update html5ever to 0.36.
  • Update selectors to 0.33.

Fixed

  • CLI tests compatibility with future Cargo versions. #602

Performance

  • Use element indexes for faster selector lookups on large documents.
  • Use more efficient data structures for storing element styles.