Skip to content

Releases: michaelkourlas/node-js2xmlparser

v5.0.0

20 Sep 23:41
Compare
Choose a tag to compare
  • Allow typeHandlers to be used with bare text and attribute values
  • Clarify that typeHandlers cannot be used with aliases in documentation

v4.0.2

31 Oct 03:15
Compare
Choose a tag to compare
  • Update dependencies
  • Export options interfaces in main module
  • Update example to include root attribute

v4.0.1

02 Feb 15:46
Compare
Choose a tag to compare
  • Update dependencies
  • Use ESLint instead of TSLint
  • Use npm instead of gulp

v4.0.0

23 Feb 03:10
Compare
Choose a tag to compare
  • Do not indent multi-line strings
  • Use self-closing tags, unless otherwise specified
  • Add option to automatically replace invalid characters with U+FFFD
  • Add option to suppress certain values from output
  • Add support for adding to existing xmlcreate object
  • Remove certain unnecessary validation rules
  • Bug fixes
  • Correct errors in documentation

v3.0.0

22 Feb 04:25
Compare
Choose a tag to compare
  • Bug fixes
  • Add null and undefined in type declarations
  • Remove explicit engines requirement

v2.0.2

14 Sep 14:03
Compare
Choose a tag to compare
  • Bug fixes

v2.0.1

11 Sep 18:02
Compare
Choose a tag to compare
  • Remove unnecessary development dependencies from npm shrinkwrap

v2.0.0

11 Sep 17:59
Compare
Choose a tag to compare
  • Re-write in TypeScript

  • Re-write to use xmlcreate (greatly simplifies module source)

  • Added support for the ECMAScript 2015 Map and Set objects

  • New method of calling module:

    var js2xmlparser = require("js2xmlparser");
    
    var root = "root";
    var data = { hello: "world" };
    var options = {};
    
    // old method (no longer works):
    // js2xmlparser(root, data, options);
    
    // new method:
    js2xmlparser.parse(root, data, options);
  • New options and changes to functionality of some existing options:

    • declaration contains additional options
    • attributeString has additional functionality
    • valueString has additional functionality
    • The functionality provided by prettyPrinting is now provided by the new
      format option, which contains additional options
    • arrayMap is now wrapHandlers to reflect the fact that wrapping is
      provided for both arrays and ES2015 sets
    • convertMap is now typeHandlers to match the name change to arrayMap
    • The functionality provided by useCDATA is now provided by the new
      cdataInvalidChars and cdataKeys options, which also provide additional
      functionality
    • Added support for document type definitions using the dtd option

v1.0.0

19 Jul 00:55
Compare
Choose a tag to compare
  • First stable release
  • Add arrayMap feature
  • Switch to semantic versioning
  • Switch to Apache 2.0 license

v0.1.9

23 Apr 21:42
Compare
Choose a tag to compare
  • Fix error in example.js