Nokogiri v1.9.0.rc1 Release Notes

Release Date: 2018-12-10 // over 5 years ago
  • 1.9.0.rc1 / 2018-12-10

    ๐Ÿ”’ Security Notes

    • โฌ†๏ธ [JRuby] Upgrade Xerces dependency from 2.11.0 to 2.12.0 to address upstream vulnerability CVE-2012-0881 [#1831] (Thanks @grajagandev for reporting.)

    ๐Ÿ”‹ Features

    • XML::Attr#value= allows HTML node attribute values to be set to either a blank string or an empty boolean attribute. [#1800]
    • Introduce XML::Node#wrap which does what XML::NodeSet#wrap has always done, but for a single node. [#1531] (Thanks, @ethirajsrinivasan!)
    • ๐ŸŽ [MRI] Improve installation experience on macOS High Sierra (Darwin). [#1812, #1813] (Thanks, @gpakosz and @nurse!)
    • ๐Ÿ“š [MRI] Node#dup supports copying a node directly to a new document. See the method documentation for details.
    • [MRI] DocumentFragment#dup is now more memory-efficient, avoiding making unnecessary copies. [#1063]
    • ๐ŸŽ [JRuby] NodeSet has been rewritten to improve performance! [#1795]

    ๐Ÿ› Bug fixes

    • NodeSet#each now returns self instead of zero. [#1822] (Thanks, @olehif!)
    • ๐Ÿ— [MRI] Address a memory leak when using XML::Builder to create nodes with namespaces. [#1810]
    • [MRI] Address a memory leak when unparenting a DTD. [#1784] (Thanks, @stevecheckoway!)
    • [MRI] Decrease large memory usage when making nested XPath queries. [#1749]
    • [MRI] Use RbConfig::CONFIG instead of ::MAKEFILE_CONFIG to fix installations that use Makefile macros. [#1820] (Thanks, @nobu!)
    • โœ… [JRuby] Fix failing tests on JRuby 9.2.x
    • 0๏ธโƒฃ [JRuby] Fix default namespaces in nodes reparented into a different document [#1774]
    • ๐Ÿ’Ž [JRuby] Fix support for Java 9. [#1759] (Thanks, @Taywee!)

    Dependencies

    • โฌ†๏ธ [MRI] Upgrade mini_portile2 dependency from ~> 2.3.0 to ~> 2.4.0