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
Uh oh!
There was an error while loading. Please reload this page.
-
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_keysXML::Document#deconstruct_keysXML::Namespace#deconstruct_keysXML::Node#deconstruct_keysXML::DocumentFragment#deconstructXML::NodeSet#deconstructDependencies
Fixed
nthpseudo-classes now handle spaces, e.g."2n + 1". [fix: strip spaces from the operator when translating nth css to xpath #3018] (@fusion2004)libgumbono 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.getwhich was deprecated in v1.12.0. [introduce html4 namespace #2278] (@flavorjones)XPathVisitorAlwaysUseBuiltinsandXPathVisitorOptimallyUseBuiltins, which were deprecated in v1.13.0 in favor ofXPathVisitorconstructor args. [HTML5 documents should not require namespaces in CSS selector queries #2403] (@flavorjones)XML::Reader#attribute_nodeswhich 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_pathkey fromVersionInfo, used in the past for third-party library integration, in favor of thenokogiri/cppflagsandnokogiri/ldflagskeys. 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