Skip to content

Commit b394d69

Browse files
authored
Merge pull request #9 from Edgar-P-yan/feat/custom-marshallers
feat: implement custom marshallers
2 parents 1ddb9a1 + 5f7aa06 commit b394d69

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+4161
-1702
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# Changelog
22

3+
## v3.0.0
4+
5+
[Compare](https://github.com/edgar-p-yan/xml-class-transformer/compare/v2.3.0...v3.0.0)
6+
7+
- finally custom marshallers are here, huge update (#4, #6).
8+
- fixed some bugs.
9+
- smaller package size because sourcemaps are now excluded.
10+
- tried my best to keep everything backward compatible, but still something might break.
11+
- removed useless autogenerated docs.
12+
313
## v2.3.0
414

515
[Compare](https://github.com/edgar-p-yan/xml-class-transformer/compare/v2.2.0...v2.3.0)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ console.log(parsedArticle); // Article { title: 'Some title', content: 'The cont
5656
- XML Attributes.
5757
- XML Declarations (`<?xml version="1.0" encoding="UTF-8"?>`).
5858
- XML Comments
59+
- Custom marshallers, you can define your own marshaller/unmarshaller for any field.
5960
- Battle-tested in production and unit coverage "> 80%".
6061
- Complex and nested structures.
6162
- Transformation and validation (with `class-transformer` and `class-validator`).
@@ -69,7 +70,6 @@ might add support for them in the future.
6970
- XML Namespaces
7071
- Custom ordering
7172
- Multiple chardata entries with the support for specified ordering.
72-
- Custom parsers/serializers
7373
- CLI tool for automatically generating class declarations out of an XML input. Something similar to what does [miku/zek](https://github.com/miku/zek) for GoLang.
7474

7575
## Table of Contents

0 commit comments

Comments
 (0)