v1.16.0 / 2023-12-27 #3082
flavorjones
announced in
Releases
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
v1.16.0 / 2023-12-27
Notable Changes
Ruby
This release introduces native gem support for Ruby 3.3.
This release ends support for Ruby 2.7, for which upstream support ended 2023-03-31.
Pattern matching
This version marks official support for the pattern matching API in
XML::Attr
,XML::Document
,XML::DocumentFragment
,XML::Namespace
,XML::Node
, andXML::NodeSet
(and their subclasses), originally introduced as an experimental feature in v1.14.0. (@flavorjones)Documentation on what can be matched:
XML::Attr#deconstruct_keys
XML::Document#deconstruct_keys
XML::Namespace#deconstruct_keys
XML::Node#deconstruct_keys
XML::DocumentFragment#deconstruct
XML::NodeSet#deconstruct
Dependencies
Fixed
nth
pseudo-classes now handle spaces, e.g."2n + 1"
. [fix: strip spaces from the operator when translating nth css to xpath #3018] (@fusion2004)libgumbo
no longer leaks memory when an incomplete tag is abandoned by the HTML5 parser. [fix: gumbo memory leak on abandoned tags #3036] (@flavorjones)Removed
Nokogiri::HTML5.get
which was deprecated in v1.12.0. [introduce html4 namespace #2278] (@flavorjones)XPathVisitorAlwaysUseBuiltins
andXPathVisitorOptimallyUseBuiltins
, which were deprecated in v1.13.0 in favor ofXPathVisitor
constructor args. [HTML5 documents should not require namespaces in CSS selector queries #2403] (@flavorjones)XML::Reader#attribute_nodes
which was deprecated in v1.13.8 in favor of#attribute_hash
. [bug: v1.13.7 XML::Reader may segfault #2598, fix: XML::Reader XML::Attr garbage collection #2599] (@flavorjones)libxml/libxml2_path
key fromVersionInfo
, used in the past for third-party library integration, in favor of thenokogiri/cppflags
andnokogiri/ldflags
keys. Please note that third-party library integration is not fully supported and may be deprecated soon, see RFC: Stop exporting symbols #2746 for more context. [fine tune packaging #2143] (@flavorjones)Thank you!
The following people and organizations were kind enough to sponsor @flavorjones or the Nokogiri project during the development of v1.16.0:
We'd also like to thank @github who donate a ton of compute time for our CI pipelines!
sha256 checksums:
This discussion was created from the release v1.16.0 / 2023-12-27.
Beta Was this translation helpful? Give feedback.
All reactions