Nokogiri v1.4.5 Release Notes

Release Date: 2011-05-19 // almost 13 years ago
  • โž• Added

    • Nokogiri::HTML::Document#title accessor gets and sets the document title.
    • ๐Ÿ”จ extracted sets of Node::SaveOptions into Node::SaveOptions::DEFAULT_{X,H,XH}TML (refactor)
    • ๐Ÿ‘ป Raise an exception if a string is passed to Nokogiri::XML::Schema#validate. #406

    ๐Ÿ›  Fixed

    • Node#serialize-and-friends now accepts a SaveOption object as the, erm, save object.
    • ๐Ÿ“œ Nokogiri::CSS::Parser has-a Nokogiri::CSS::Tokenizer
    • ๐Ÿ’Ž (JRUBY+FFI only) Weak references are now threadsafe. #355
    • ๐Ÿ“œ Make direct start_element() callback (currently used for HTML::SAX::Parser) pass attributes in assoc array, just as emulated start_element() callback does. rel. #356
    • ๐Ÿ“œ HTML::SAX::Parser should call back a block given to parse*() if any, just as XML::SAX::Parser does.
    • โž• Add further encoding detection to HTML parser that libxml2 does not do.
    • ๐Ÿšš Document#remove_namespaces! now handles attributes with namespaces. #396
    • ๐Ÿ’… XSLT::Stylesheet#transform no longer segfaults when handed a non-XML::Document. #452
    • XML::Reader no longer segfaults when under GC pressure. #439