All Versions
110
Latest Version
Avg Release Cycle
28 days
Latest Release
517 days ago
Changelog History
Page 8
Changelog History
Page 8
-
v1.6.0 Changes
June 08, 2013π This release was based on v1.5.10 and 1.6.0.rc1, and contains changes mentioned in both.
π Deprecations
- Remove pre 1.9 monitoring from Travis.
-
v1.6.0.rc1 Changes
April 14, 2013π This release was based on v1.5.9, and so does not contain any fixes mentioned in the notes for v1.5.10.
Notes
- mini_portile is now a runtime dependency
- Ruby 1.9.2 and higher now required
π Features
- (MRI) Source code for libxml 2.8.0 and libxslt 1.2.26 is packaged
with the gem. These libraries are compiled at gem install time
unless the environment variable NOKOGIRI_USE_SYSTEM_LIBRARIES is
set. VERSION_INFO (also
nokogiri -v
) exposes whether libxml was compiled from packaged source, or the system library was used. - (Windows) libxml upgraded to 2.8.0
- (MRI) Source code for libxml 2.8.0 and libxslt 1.2.26 is packaged
with the gem. These libraries are compiled at gem install time
unless the environment variable NOKOGIRI_USE_SYSTEM_LIBRARIES is
set. VERSION_INFO (also
π Deprecations
- Support for Ruby 1.8.7 and prior has been dropped
-
v1.5.11 Changes
December 14, 2013π Fixed
- π (JRuby) Fix out of memory bug when certain invalid documents are parsed.
- π (JRuby) Fix regression of billion-laughs vulnerability. #586
-
v1.5.10 Changes
June 07, 2013 -
v1.5.9 Changes
March 21, 2013 -
v1.5.8 Changes
March 19, 2013π Fixed
- π (JRuby) Fix EmptyStackException thrown by elements with xlink:href attributes and no base_uri #534, #805. (Thanks, Patrick Quinn and Brian Hoffman!)
- π Fixes duplicate attributes issue introduced in 1.5.7. #865
- π Allow use of a prefixed namespace on a root node using
Nokogiri::XML::Builder
#868
-
v1.5.7 Changes
March 18, 2013β Added
- π Windows support for Ruby 2.0.
π Fixed
- π
SAX::Parser.parse_io
throw an error when used with lower case encoding. #828 - β (JRuby) Java Nokogiri is finally green (passes all tests) under 1.8 and 1.9 mode. High five everyone. #798, #705
- π (JRuby)
Nokogiri::XML::Reader
broken (as a pull parser) on jruby - reads the whole XML document. #831 - π (JRuby) JRuby hangs parsing "&". #837
- π (JRuby) JRuby NPE parsing an invalid XML instruction. #838
- π (JRuby)
Node#content=
incompatibility. #839 - π¨ (JRuby) to_xhtml doesn't print the last slash for self-closing tags in JRuby. #834
- π (JRuby) Adding an
EntityReference
after a Text node mangles the entity in JRuby. #835 - π (JRuby) JRuby version inconsistency: nil for empty attributes. #818
- CSS queries for classes (e.g., ".foo") now treat all whitespace identically. #854
- π Namespace behavior cleaned up and made consistent between JRuby and MRI. #846, #801 (Thanks, Michael Klein!)
- π (MRI) SAX parser handles empty processing instructions. #845
-
v1.5.6 Changes
December 19, 2012β Added
- π Improved performance of
XML::Document#collect_namespaces
. #761 (Thanks, Juergen Mangler!) - π New callback
SAX::Document#processing_instruction
(Thanks, Kitaiti Makoto!) Node#native_content=
allows setting unescaped node content. #768- π XPath lookup with namespaces supports symbol keys. #729 (Thanks, Ben Langfeld.)
XML::Node#[]=
stringifies values. #729 (Thanks, Ben Langfeld.)bin/nokogiri
will process a document from $stdin- π»
bin/nokogiri -e
will execute a program from the command line - π¨ (JRuby)
bin/nokogiri --version
will print the Xerces and NekoHTML versions.
π Fixed
- Nokogiri now detects XSLT transform errors. #731 (Thanks, Justin Fitzsimmons!)
- Don't throw an Error when trying to replace top-level text node in DocumentFragment. #775
- π Raise an ArgumentError if an invalid encoding is passed to the SAX parser. #756 (Thanks, Bradley Schaefer!)
- π Prefixed element inconsistency between CRuby and JRuby. #712
- π (JRuby) space prior to xml preamble causes nokogiri to fail parsing. (fixed along with #748) #790
- π (JRuby) Fixed the bug
Nokogiri::XML::Node#content
inconsistency between Java and C. #794, #797 - (JRuby) raises INVALID_CHARACTER_ERR exception when EntityReference name starts with '#'. #719
- π (JRuby) doesn't coerce namespaces out of strings on a direct subclass of Node. #715
- π (JRuby)
Node#content
now renders newlines properly. #737 (Thanks, Piotr Szmielew!) - π (JRuby) Unknown namespace are ignore when the recover option is used. #748
- π (JRuby) XPath queries for namespaces should not throw exceptions when called twice in a row. #764
- π (JRuby) More consistent (with libxml2) whitespace formatting when emitting XML. #771
- π (JRuby) namespaced attributes broken when appending raw xml to builder. #770
- π (JRuby)
Nokogiri::XML::Document#wrap
raises undefined method `length' for nil:NilClass when trying to << to a node. #781 - π (JRuby) Fixed "bad file descriptor" bug when closing open file descriptors. #495
- π (JRuby) JRuby/CRuby incompatibility for attribute decorators. #785
- π (JRuby) Issues parsing valid XML with no internal subset in the DTD. #547, #811
- π (JRuby) Issues parsing valid node content when it contains colons. #728
- π (JRuby) Correctly parse the doc type of html documents. #733
- (JRuby) Include dtd in the xml output when a builder is used with create_internal_subset. #751
- π (JRuby) builder requires textwrappers for valid utf8 in jruby, not in mri. #784
- π Improved performance of
-
v1.5.5 Changes
June 24, 2012β Added
- π Much-improved support for JRuby in 1.9 mode! Yay!
π Fixed
- Regression in JRuby Nokogiri add_previous_sibling (1.5.0 -> 1.5.1) #691 (Thanks, John Shahid!)
- π JRuby unable to create HTML doc if URL arg provided #674 (Thanks, John Shahid!)
- π JRuby raises NullPointerException when given HTML document is nil or empty string. #699
- π JRuby 1.9 error, uncaught throw 'encoding_found', has been fixed. #673
- π Invalid encoding returned in JRuby with US-ASCII. #583
- π XmlSaxPushParser raises IndexOutOfBoundsException when over 512 characters are given. #567, #615
- π» When xpath evaluation returns empty
NodeSet
, decoratingNodeSet
's base document raises exception. #514 - π JRuby raises exception when xpath with namespace is specified. pull request #681 (Thanks, Piotr Szmielew)
- π JRuby renders nodes without their namespace when subclassing Node. #695
- π JRuby raises NAMESPACE_ERR (org.w3c.dom.DOMException) while instantiating
RDF::RDFXML::Writer
. #683 - π JRuby is not able to use namespaces in xpath. #493
- π JRuby's Entity resolving should be consistent with C-Nokogiri #704, #647, #703
-
v1.5.4 Changes
June 12, 2012β Added
- The "nokogiri" script now has more verbose output when passed the
--rng
option. #675 (Thanks, Dan Radez!) - π Build support on hardened Debian systems that use
-Werror=format-security
. #680. - π Better build support for systems with pkg-config. #584
- π Better build support for systems with multiple iconv installations.
π Fixed
- Segmentation fault when creating a comment node for a DocumentFragment. #677, #678.
- Treat '.' as xpath in
at()
andsearch()
. #690
π Security
0οΈβ£ (MRI) Default parse options for XML documents were changed to not make network connections during document parsing, to avoid XXE vulnerability. #693
π§ To re-enable this behavior, the configuration method
nononet
may be called, like this:Nokogiri::XML::Document.parse(xml) { |config| config.nononet }
Insert your own joke about double-negatives here.
- The "nokogiri" script now has more verbose output when passed the