Path to this page:
Subject: CVS commit: pkgsrc/textproc/ruby-nokogiri
From: Izumi Tsutsui
Date: 2024-02-16 15:32:28
Message id: 20240216143228.73BB6F9F2@cvs.NetBSD.org
Log Message:
ruby-nokogiri: update to 1.16.2.
Upstream changes:
https://github.com/sparklemotion/nokogiri/releases
v1.16.2 / 2024-02-04
Security
* [CRuby] Vendored libxml2 is updated to address CVE-2024-25062. See
GHSA-xc9x-jj77-9p9j for more information.
Dependencies
* [CRuby] Vendored libxml2 is updated to v2.12.5 from v2.12.4. (@flavorjones)
v1.16.1 / 2024-02-03
Dependencies
* [CRuby] Vendored libxml2 is updated to v2.12.4 from v2.12.3. (@flavorjones)
Fixed
* [CRuby] XML::Reader defaults the encoding to UTF-8 if it's not specified in
either the document or as a method parameter. Previously non-ASCII
characters were serialized as NCRs in this case. [#2891] (@flavorjones)
* [CRuby] Restored support for compilation by GCC versions earlier than 4.6,
which was broken in v1.15.0 (540e9ae). [#3090] (@adfoster-r7)
* [CRuby] Patched upstream libxml2 to allow parsing HTML5 in the context of a
namespaced node (e.g., foreign content like MathML). [#3112, #3116] (
@flavorjones)
* [CRuby] Fixed a small memory leak in libgumbo (HTML5 parser) when the
maximum tree depth limit is hit. [#3098, #3100] (@stevecheckoway)
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, and
XML::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
* [CRuby] Vendored libxml2 is updated to v2.12.3 from v2.11.6. (@flavorjones)
+ https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.0
+ https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.1
+ https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.2
+ https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.3
Fixed
* CSS nth pseudo-classes now handle spaces, e.g. "2n + 1". [#3018]
(@fusion2004)
* [CRuby] 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)
* [CRuby] 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)
Files: