nokogiri version 1.6.2.rc1 has been released!
Special thanks to Akinori Musha for taking on the bulk of maintenance for the last few months and cleaning up the packaging/compilation of libxml2/libxslt. Thank you, knu! This release would not have been possible with you.
Apologies for the long delay since the release of 1.6.1.
Notable changes (full changelog below):
* statically link libxml2/libxslt/etc. by default (command line options to change behavior)
* Windows 64-bit support.
* cleanup of temp files means, e.g., Heroku slugs should be smaller
Changes:
### 1.6.2 / unreleased
* Features
* (MRI) Alias CP932 to Windows-31J if iconv does not support Windows-31J.
* (MRI) Nokogiri now links packaged libraries statically. To
disable static linking, pass --disable-static to extconf.rb. #923
* (MRI) Nokogiri automatically deletes directories of packaged
libraries only used during build. To keep them for debugging
purposes, pass --disable-clean to extconf.rb. #952
* (MRI) Nokogiri now builds libxml2 properly with iconv support on
platforms where libiconv is installed outside the system default
directories, such as FreeBSD.
* Add support for an-b in nth selectors. #886 (Thanks, Magnus Bergmark!)
* Add support for bare and multiple :not() functions in selectors. #887
(Thanks, Magnus Bergmark!)
* (MRI) Add an extconf.rb option --use-system-libraries, alternative to
setting the environment variable NOKOGIRI_USE_SYSTEM_LIBRARIES.
* (MRI) Update packaged libraries: libxslt to 1.1.28, zlib to 1.2.8,
and libiconv to 1.14, respectively.
* Nokogiri::HTML::Document#title= and #meta_encoding= now always add
an element if not present, trying hard to find the best place to
put it.
* Nokogiri::XML::DTD#html_dtd? and #html5_dtd? are added.
* Nokogiri::XML::Node#prepend_child is added. #664
* Nokogiri::XML::SAX::ParserContext#recovery is added. #453
* Fix documentation for XML::Node#namespace. #803 #802 (Thanks, Hoylen Sue)
* Allow Nokogiri::XML::Node#parse from unparented non-element nodes. #407
* Bugfixes
* Ensure :only-child pseudo class works within :not pseudo class. #858
(Thanks, Yamagishi Kazutoshi!)
* Don't call pkg_config when using bundled libraries in extconf.rb
#931 (Thanks, Shota Fukumori!)
* Nokogiri.parse() does not mistake a non-HTML document like a RSS
document as HTML document. #932 (Thanks, Yamagishi Kazutoshi!)
* (JRuby) XSD validation crashes in Java version. #373
* (JRuby) Document already has a root node error while using Builder. #646
* (JRuby) c14n tests are all passing on JRuby. #226
* Parsing empty documents raise SyntaxError in strict mode. #1005
* (JRuby) Make xpath faster by caching the xpath context. #741
* (JRuby) XML SAX push parser leaks memory on JRuby, but not on MRI. #998