[ANN] nokogiri 1.6.2.rc2 Released

已查看 32 次
跳至第一个未读帖子

Mike Dalessio

未读,
2014年4月10日 13:16:062014/4/10
收件人 nokogiri-talk
nokogiri version 1.6.2.rc2 has been released!

-----

CHANGES SINCE 1.6.2.rc1:

  * Rescue ENXIO when printing installation messages, in case there is no controlling terminal.
  * Now requires libxml >= 2.6.21 (was previously >= 2.6.17).

------

FULL CHANGELOG:

* Notes

  * Now requires libxml >= 2.6.21 (was previously >= 2.6.17).

* Features

  * Add cross building of fat binary gems for 64-Bit Windows (x64-mingw32)
    and add support for native builds on Windows. #864, #989, #1072
  * (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

回复全部
回复作者
转发
0 个新帖子