Skip to content

Release Notes

Jean-Philippe Gravel edited this page Jun 5, 2015 · 20 revisions
  • Added the Any Depth Declarator notation.
  • Added 64k buffering to serialization.
  • Added CDATA handling in serialization.
  • Improved the deserialize asynchronous calls
  • Changed the serialize method to be executed asynchronously
  • Added text handling declaration by adding the texts field mapper to the behavior object given to the constructor
  • Breaking change: The serialize method invokes the callback with xml chunks and the level parameter
  • Breaking change: The pair object changed for root. The pair.root field is renamed to root.name
  • A stream.Readable can be passed as the xml parameter instead of an XML string in serialized.deserialize method
  • The serializer.serialize call is executed using process.nextTick
  • Added serialization!
  • Breaking change: The deserialize callback prototype changed to function(err, pair)
  • Breaking change: modified the way arrays are specified
  • Added a way to specify attributes in the behavior object
  • _text fields are now deserialized by trimming and then concatenating the string content with a space
  • Code simplification (usage of a default behavior object)
  • Updated documentation
  • Changed License to MIT

0.5.7 (2014-10-14)

  • Added support for node-text-node and text-node-text sequences in XML.

0.5.6 (2014-10-11)

  • Updated documentation

0.5.5 (2014-10-07)

  • Added support to nodes having attribute and text
  • Updated tests

0.5.4 (2014-09-06)

  • Added array name declaration
  • Added unit tests
  • Added documentation

0.5.3 (2014-09-03)

  • Added unit tests
  • Updated documentation

0.5.2 (2014-09-03)

  • Added unit tests with mocha
  • Corrected an issue with array deserialization of native types

0.5.1 (2014-08-31)

  • Updated documentation

0.5.0 (2014-08-31)

  • First deployment, basic XML deserialization
  • Initial documentation