Version 2.5

33 views
Skip to first unread message

cfis

unread,
Jan 27, 2013, 4:32:52 AM1/27/13
to libxml...@googlegroups.com
== 2.5.0 / 2013-01-27 Charlie Savage

* Compatibility with older versions for IO::write (rb_io_bufwrite is specific to ruby >= 1.9.3?)
  and symbols are VALUE not ID (julp).
* Fix version for xmlTextWriterSetQuoteChar, it appeared in libxml2 2.9.0, last version (julp)
* Update use of LIBXML_VERSION (julp).
* Fix misuse of rb_scan_args (julp).
* Update documentation, including DTD docs and added XML Writer (julp).
* Added a new XML::Writer class (julp).
* Improved xml reader api and add namespace support.  Note that passing a numeric value
  to XML::Reader::move_to_attribute has been deprecated. Instead you should now
  use #move_to_attribute_no.  (julp).
* Improve error handling and messages (Jarl Friis)


Since I didn't post about previous releases, here are their change logs:


== 2.4.0 / 2012-12-14 Charlie Savage

* Support libxml 2.9.0 (Daniel Veillard)

* Extensive new interfaces for xml schema functionality including suppor for
  schemal elements, types, facets and attributes (Anton Sozontov)

* Fix Encoding#from_s bug and update docs (Nikita Afanasenko)

* Node#content= encoding (Nikita Afanasenko)

== 2.3.3 / 2012-07-01 Charlie Savage

* Add LibXML::XML::Error.get_handler (Carsten Zimmermann)
* Fix variable name in example (Marcus)

== 2.3.2 / 2012-03-20 Charlie Savage

* Define various canonicalize constants to support libxml2 versions
  older than 1.1.25 (thanks Apple!)

== 2.3.1 / 2012-03-20 Charlie Savage

* Yanked - didn't fix the OSX canonicalize issue

== 2.3.0 / 2012-03-18 Charlie Savage

* Add ability to insert new PI-nodes into the xmltree (Axel Struebing).

* Added full pass-through access to libxml2 xmlC14NDocDumpMemory method via
  LibXML::XML::Document#canonicalize method with optional arguments.

* Added full test data for C14N based off of W3C spec.
  (http://www.w3.org/TR/xml-c14n#Examples)

* Update sax handler to support encodings on Ruby 1.9 and higher.

== 2.2.2 / 2011-08-29 Charlie Savage

* ++API CHANGE+++

Reader#relax_ng_validate now takes a RelaxNG object.  This is
what the documentation has always said it takes, but it previously
took a string.  In addition, it now returns true or false instead of 0 or -1.

Reader#schema_validate now takes a Schema object.  This is
what the documentation has always said it takes, but it previously
took a string.  In addition, it now returns true or false instead of 0 or -1.

Fixes GitHub issue #30.

* Added Parser::Context#close and HTMLParser::Context#close methods that
  allow the underlying io stream (file, string, etc) to be closed.  Once a
  parser is done parsing its data, it now calls one of these methods.
  This means that if you parse thousands of files at the same time,
  without running Ruby's garbage colllector, you won't get a too
  many files open error.  Fixes GitHub issue #29.

* Fixed bug where Node#inner_xml caused an error when it had no child nodes.
  Fixes GitHub issues #31

* Don't require 'rake' in the gemspec to avoid annoying Bundler bugs

== 2.2.1 / 2011-08-13 Charlie Savage

* Packaging fix - include the custom .def file in the gem.

== 2.2.0 / 2011-08-09 Charlie Savage

* Update encoding support for Ruby 1.9 so that libxml-ruby returns
  strings encoded in UTF-8.  This change was required since libxml internally
  stores strings in UTF-8.  The exceptions to this rule are the #to_s methods
  which return UTF-8 by default but can return other encodings if requested.

== 2.1.2 / 2011-08-03 Charlie Savage

* Fix segmentation fault that could occur when an XPathContext was marked
  before it was fully initialized (Charlie Savage).

* Add mark method to document to mark all nodes currently being accessed
  by ruby.  This make Ruby Enterprise Edition happy (Charlie Savage).

== 2.1.1 / 2011-07-31 Charlie Savage

* Switch to using def files to control library exports (Charlie Savage).


Reply all
Reply to author
Forward
0 new messages