You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG
+12-13Lines changed: 12 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,18 @@
1
1
[PHP Simple HTML Dom - upcoming]
2
2
3
-
[PHP Simple HTML Dom v5.0.0 - 2026-04-21]
3
+
[PHP Simple HTML Dom v5.0.0 - upcoming]
4
4
1: BREAKING: require PHP >= 7.1.0 and drop PHP 7.0 support
5
-
2: BREAKING / compatibility: nested "find*()" calls now return live, scoped nodes from the original DOM; mutating nested results (e.g. via "delete()" / "remove()") now changes the source document instead of a detached lookup result
4: update runtime selector support to "symfony/css-selector": ~3.0 || ~4.0 || ~5.0 || ~6.0 || ~7.0 || ~8.0
8
-
5: update dev / CI tooling for newer runtimes, including PHPUnit 8 support, modern phpunit.xml coverage config, and refreshed GitHub Actions / Travis matrices
9
-
6: "SelectorConverter" -> add support for leading combinators (>, +, ~) and compound text / comment selectors, and improve selector cache / validation handling
10
-
7: "HtmlDomParser" / "AbstractDomParser" -> replace invalid helper placeholder element names and fix PHP < 8 node-backed serialization / libxml newline issues, including script placeholder handling
11: add broader regression coverage for Blade directives / conditionals, XML / RSS parsing, selector edge cases, serialization, PHPUnit 8 assertions, and PHP 8.5-safe reflection usage
15
-
12: simplify export usage to "findMulti() + setAttribute()"
16
-
13: fix -> preserve attributes and support nested node renames in "SimpleHtmlDom" / "SimpleXmlDom"
5
+
2: BREAKING / compatibility: nested "find*()" now returns live scoped nodes, so mutating nested results via "delete()" / "remove()" updates the original DOM
6
+
3: add support for "symfony/css-selector": ~8.0
7
+
4: add "findOneOrNull()" + "findMultiOrNull()"
8
+
5: add "remove()" (alias) and update public API docs in "README_API.md"
9
+
6: "SelectorConverter" -> add support for leading combinators (>, +, ~) and text / comment selectors
Copy file name to clipboardExpand all lines: README.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,11 @@
12
12
A HTML DOM parser written in PHP - let you manipulate HTML in a very easy way!
13
13
This is a fork of [PHP Simple HTML DOM Parser project](http://simplehtmldom.sourceforge.net/) but instead of string manipulation we use DOMDocument and modern php classes like "Symfony CssSelector".
0 commit comments