Skip to content

Latest commit

 

History

History
105 lines (63 loc) · 3.4 KB

CHANGELOG.md

File metadata and controls

105 lines (63 loc) · 3.4 KB

Changelog

v2.3.0

Compare

  • update xml-js-v2 to v2.2.1 that has the option avoidDoubleSanitization and uses latest sax version.

v2.2.0

Compare

  • fix serialization, so that & becomes & instead of staying unchanged. To fix this I needed to fork the xml-js to xml-js-v2, fix it there, and use the fork.

v2.1.0

Compare

  • fix exports in package.json to fix usage with moduleResolution: "bundler" (fixed thanks to acrognale, issue #3)
  • development-docs: add info about npm version-* scripts in package.json

v2.0.0

Compare

  • separate decorators XmlAttribute, XmlChardata, XmlComments, XmlChildElem
  • add basic support for XML comments
  • add support for bigint as a primitive type
  • rename XmlEntity to XmlElem, XmlProperty to XmlChildElem
  • concatenate all of the text nodes when parsing chardata (previously only the first text node was being parsed)
  • docs: added more JSDocs
  • support circular dependencies by specifying type and union only via functions
  • rename AnyClass to XmlClass and add comments about constructor arguments
  • internal: minor improvements and refactoring
  • internal: fix serializeUnionForLog error messages
  • internal: add isPrimitiveType helper

v1.0.3

Compare

  • fix export of XmlAttribute

v1.0.2

Compare

  • fix types for XmlAttributeOptions

v1.0.1

Compare

  • fix README.md

v1.0.0

Compare

  • consistent null and undefined values handling and docs about it.
  • consistent primitive values parsing, fixed floats.
  • fixed support for non-array unions.
  • unions are now specified with separate option "union".
  • more fail fasts with helpful error messages.
  • separate XmlAttribute decorator.
  • add CHANGELOG.md
  • internal: more test suits to test complex cases

v0.1.1

Compare

  • update README.md.

v0.1.0

Compare

  • fail fast if the same XML tag name is used for more than one property inside the same XML class.

v0.0.5

Compare

  • internal: remove .npmignore in favor of package.json's files field.

v0.0.4

Compare

  • add examples
  • internal: refactor files structure
  • internal: separate metadata registry

v0.0.2

Compare

  • add an option to remove or set custom doctype

v0.0.1

Compare

  • first working version