Skip to content

v1.16.0.rc1 / 2023-12-13

Pre-release
Pre-release
Compare
Choose a tag to compare
@flavorjones flavorjones released this 13 Dec 22:04
· 476 commits to main since this release
e710e79

v1.16.0.rc1 / 2023-12-13

Ruby

This release introduces native gem support for Ruby 3.3, ahead of the final release. Ruby 3.3.0 final support depends on whether the ABI changes between 3.3.0-rc1 and 3.3.0 final (see note at https://www.ruby-lang.org/en/news/2023/12/11/ruby-3-3-0-rc1-released). Expect a v1.16.0 final release that coincides with Ruby's 3.3.0 final release.

This release ends support for Ruby 2.7, for which upstream support ended 2023-03-31.

Notable Changes

Pattern matching

This version marks official support for the pattern matching API in XML::Attr, XML::Document, XML::DocumentFragment, XML::Namespace, XML::Node, and XML::NodeSet (and their subclasses), originally introduced as an experimental feature in v1.14.0. (@flavorjones)

Dependencies

Fixed

  • CSS nth pseudo-classes now handle spaces, e.g. "2n + 1". [#3018] (@fusion2004)
  • libgumbo no longer leaks memory when an incomplete tag is abandoned by the HTML5 parser. [#3036] (@flavorjones)

Removed

  • Removed Nokogiri::HTML5.get which was deprecated in v1.12.0. [#2278] (@flavorjones)
  • Removed the CSS-to-XPath utility modules XPathVisitorAlwaysUseBuiltins and XPathVisitorOptimallyUseBuiltins, which were deprecated in v1.13.0 in favor of XPathVisitor constructor args. [#2403] (@flavorjones)
  • Removed XML::Reader#attribute_nodes which was deprecated in v1.13.8 in favor of #attribute_hash. [#2598, #2599] (@flavorjones)
  • Removed the libxml/libxml2_path key from VersionInfo, used in the past for third-party library integration, in favor of the nokogiri/cppflags and nokogiri/ldflags keys. Please note that third-party library integration is not fully supported and may be deprecated soon, see #2746 for more context. [#2143] (@flavorjones)

sha256 checksums:

19f07d152ed1b000301a3dc229cfa7f12418448313914a792d272d6d10a70f55  nokogiri-1.16.0.rc1-aarch64-linux.gem
b200b917ba1baed90872dc126c545f5a741b4bd107606ee20ac3c96a0cd374c6  nokogiri-1.16.0.rc1-arm-linux.gem
4b7f735093ce4e2de1622828493f7f4fdf4014a3ec5928b0145c0e05a9a006a8  nokogiri-1.16.0.rc1-arm64-darwin.gem
22d16479f8ad3ae980d045a66820fae4473d7bda19941be44a42d758a86e6273  nokogiri-1.16.0.rc1-java.gem
01416cee138d67f7a824c3ac2711ae51f0d7042b0504b1649f27757f9292bdd4  nokogiri-1.16.0.rc1-x64-mingw-ucrt.gem
7825296a6bda0d8784158f3d50c24d367cbdd2029ed1fbcf995c4d9850147873  nokogiri-1.16.0.rc1-x64-mingw32.gem
f0abb7e08aa78225b4b3b7f7ba912828bd5a1a49fe609f66323731afd9ed5678  nokogiri-1.16.0.rc1-x86-linux.gem
7715885f693c567170847488b7c84c5e3fbdfe559258877b900eec9327aa5b13  nokogiri-1.16.0.rc1-x86-mingw32.gem
716304249d9ac176a04e48bb0f2c3db7c969a33392380b9ad80f3a3aa0eaeafd  nokogiri-1.16.0.rc1-x86_64-darwin.gem
d13b07688051a812e6c555e43390985f39f18bdd4d6729f30942a665d3b1bb81  nokogiri-1.16.0.rc1-x86_64-linux.gem
61e089936b1ddf3d1ab6124f0a226f98d45d58536a53eaf738a2efe760e763c8  nokogiri-1.16.0.rc1.gem