@@ -7,6 +7,53 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
88## [ Unreleased] [ unreleased ]
99
10+ ## [ 0.38.0] - 2025-06-14
11+
12+ ### Added
13+
14+ - This version adds initial support for the ` :has ` pseudo-selector.
15+ It is a great addition that enables finding elements containing
16+ matching children.
17+
18+ Examples for selectors:
19+
20+ * ` "div:has(h1)" `
21+ * ` "div:has(h1, p, span)" `
22+ * ` "div:has(p.foo)" `
23+ * ` "div:has(img[src='https://example.com'])" `
24+ * ` "tr:has(*:fl-contains('TEST'))" `
25+
26+ Note that combinators like ` ">" ` are not allowed yet.
27+
28+ Thank you [ @bvobart ] ( https://github.com/bvobart ) for this feature!
29+
30+ ### Fixed
31+
32+ - Add ` :style ` option documentation to ` Floki.text/2 ` .
33+ Thanks [ @s3cur3 ] ( https://github.com/s3cur3 ) for the fix.
34+
35+ - Fix deprecation warnings for upcoming Elixir 1.19.
36+
37+ - Prevent from crashing when selector is an empty string.
38+
39+ ### Removed
40+
41+ - Remove support for Elixir 1.14 and OTP 23.
42+
43+ - Remove deprecated functions and function clauses
44+ that were accepting strings (binaries).
45+
46+ Affected functions:
47+
48+ * ` parse/1 ` - removed function
49+ * ` map/2 ` - removed function
50+ * ` attr/4 ` - removed clause
51+ * ` find/2 ` - removed clause
52+ * ` text/3 ` - removed clause
53+ * ` text/3 ` - removed clause
54+ * ` attribute/2 ` - removed clause
55+ * ` filter_out/2 ` - removed clause
56+
1057## [ 0.37.1] - 2025-03-22
1158
1259### Fixed
@@ -820,7 +867,8 @@ of the parent element inside HTML.
820867
821868- Elixir version requirement from "~ > 1.0.0" to ">= 1.0.0".
822869
823- [ unreleased ] : https://github.com/philss/floki/compare/v0.37.1...HEAD
870+ [ unreleased ] : https://github.com/philss/floki/compare/v0.38.0...HEAD
871+ [ 0.38.0 ] : https://github.com/philss/floki/compare/v0.37.1...v0.38.0
824872[ 0.37.1 ] : https://github.com/philss/floki/compare/v0.37.0...v0.37.1
825873[ 0.37.0 ] : https://github.com/philss/floki/compare/v0.36.3...v0.37.0
826874[ 0.36.3 ] : https://github.com/philss/floki/compare/v0.36.2...v0.36.3
0 commit comments