Nokogiri v1.4.1 Release Notes
Release Date: 2009-12-10 // over 14 years ago-
โ Added
- Added
Nokogiri::LIBXML_ICONV_ENABLED
- Alias
Node#[]
toNode#attr
XML::Node#next_element
addedXML::Node#>
added for searching a nodes immediate childrenXML::NodeSet#reverse
added- Added fragment support to
Node#add_child
,Node#add_next_sibling
,Node#add_previous_sibling
, andNode#replace
. XML::Node#previous_element
implemented- ๐ Rubinius support
- ๐ Ths CSS selector engine now supports
:has()
XML::NodeSet#filter()
was addedXML::Node.next=
and .previous= are aliases for add_next_sibling and add_previous_sibling. GH #183
๐ Fixed
- ๐ป XML fragments with namespaces do not raise an exception (regression in 1.4.0)
Node#matches?
works in nodes contained by aDocumentFragment
. GH #158Document
should not defineadd_namespace()
method. GH #169XPath
queries returning namespace declarations do not segfault.Node#replace
works with nodes from different documents. GH #162- โ Adding
XML::Document#collect_namespaces
- ๐ Fixed bugs in the SOAP4R adapter
- ๐ Fixed bug in
XML::Node#next_element
for certain edge cases - ๐ Fixed load path issue with JRuby under Windows. GH #160.
XSLT#apply_to
will honor the "output method". Thanks richardlehane!- ๐ Fragments containing leading text nodes with newlines now parse properly. GH #178.
- Added