Nokogiri v1.4.1 Release Notes

Release Date: 2009-12-10 // over 14 years ago
  • โž• Added

    • Added Nokogiri::LIBXML_ICONV_ENABLED
    • Alias Node#[] to Node#attr
    • XML::Node#next_element added
    • XML::Node#> added for searching a nodes immediate children
    • XML::NodeSet#reverse added
    • Added fragment support to Node#add_child, Node#add_next_sibling, Node#add_previous_sibling, and Node#replace.
    • XML::Node#previous_element implemented
    • ๐Ÿ‘ Rubinius support
    • ๐Ÿ‘ Ths CSS selector engine now supports :has()
    • XML::NodeSet#filter() was added
    • XML::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 a DocumentFragment. GH #158
    • Document should not define add_namespace() method. GH #169
    • XPath 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.