- update
xml-js-v2
tov2.2.1
that has the optionavoidDoubleSanitization
and uses latestsax
version.
- fix serialization, so that
&
becomes&
instead of staying unchanged. To fix this I needed to fork thexml-js
toxml-js-v2
, fix it there, and use the fork.
- fix
exports
inpackage.json
to fix usage withmoduleResolution: "bundler"
(fixed thanks to acrognale, issue #3) - development-docs: add info about
npm version-*
scripts inpackage.json
- separate decorators
XmlAttribute
,XmlChardata
,XmlComments
,XmlChildElem
- add basic support for XML comments
- add support for
bigint
as a primitive type - rename
XmlEntity
toXmlElem
,XmlProperty
toXmlChildElem
- 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
andunion
only via functions - rename
AnyClass
toXmlClass
and add comments about constructor arguments - internal: minor improvements and refactoring
- internal: fix
serializeUnionForLog
error messages - internal: add
isPrimitiveType
helper
- fix export of XmlAttribute
- fix types for XmlAttributeOptions
- fix README.md
- 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
- update README.md.
- fail fast if the same XML tag name is used for more than one property inside the same XML class.
- internal: remove
.npmignore
in favor ofpackage.json
'sfiles
field.
- add examples
- internal: refactor files structure
- internal: separate metadata registry
- add an option to remove or set custom doctype
- first working version