Skip to content

Commit 319f6fd

Browse files
committed
chore(php): Release 0.19.0
Signed-off-by: Dmitry Dygalo <[email protected]>
1 parent 47e237e commit 319f6fd

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

bindings/php/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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

bindings/php/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "css_inline"
3-
version = "0.18.0"
3+
version = "0.19.0"
44
edition = "2024"
55
authors = ["Dmitry Dygalo <[email protected]>"]
66

bindings/php/stubs/css_inline.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
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
/**

0 commit comments

Comments
 (0)