File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed
Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 1+ # Changelog
2+
3+ ## [ Unreleased]
4+
5+ ## [ 0.19.0] - 2025-12-29
6+
7+ - Initial public release
8+
9+ [ Unreleased ] : https://github.com/Stranger6667/css-inline/compare/php-v0.19.0...HEAD
Original file line number Diff line number Diff line change 11[package ]
22name = " css_inline"
3- version = " 0.18 .0"
3+ version = " 0.19 .0"
44edition = " 2024"
55authors = [
" Dmitry Dygalo <[email protected] >" ]
66
Original file line number Diff line number Diff line change 77/**
88 * Library version.
99 */
10- const VERSION = '0.18 .0 ' ;
10+ const VERSION = '0.19 .0 ' ;
1111
1212/**
1313 * Inline CSS from a style tag into matching elements.
@@ -67,6 +67,7 @@ class CssInliner
6767 * @param string|null $extraCss Additional CSS to inline
6868 * @param int $preallocateNodeCapacity Pre-allocate capacity for HTML nodes
6969 * @param StylesheetCache|null $cache Cache for external stylesheets
70+ * @param bool $removeInlinedSelectors Remove selectors that were successfully inlined from style blocks
7071 */
7172 public function __construct (
7273 bool $ inlineStyleTags = true ,
@@ -79,6 +80,7 @@ public function __construct(
7980 ?string $ extraCss = null ,
8081 int $ preallocateNodeCapacity = 32 ,
8182 ?StylesheetCache $ cache = null ,
83+ bool $ removeInlinedSelectors = false ,
8284 ) {}
8385
8486 /**
You can’t perform that action at this time.
0 commit comments