Releases: JohnWeisz/TypedJSON
Releases · JohnWeisz/TypedJSON
v1.8.0
- Extra parameter for custom serializers/deserializers to fallback to the normal serialisation flow. Thanks @amoscatelli!
- Export missing
MapShape
. Thanks @sebastianst! - Docs improvements. Thanks @NeoWu1216!
v1.7.0
- support for lazy types
- Any type handling
- deferred known types
- better safety with no builtin prototype usage
This release would not be possible without @MatthiasKunnen. Thanks a lot!
v1.6.0
- better output package
- improved error handling
- registering custom type mappings
- support for defining complex serialisation types (ex.
Set<String, Array<MyObject>
) - better date handling
Thanks to @MatthiasKunnen, this release would not have happened without him!
Release 1.5.2
Fixes deserialisation where input object has a data property as Date
object instead of a date string. Thanks @sumbricht!
Thanks to other contributors as well for improving the library!
Release 1.5.1
- improved messages for misconfigured reflect-metadata
- removed Array.prototype.includes which is not supported in IE11
- reduced minified size by about 1kB
Release 1.5.0
Added beforeSerialization option for calling a method before object is serialised. Thanks to m55c55 for submitting this feature.
Release 1.4.0
This release adds preserveNull option that keeps the null values when serialising/deserialising.
Release 1.3.1
Fixed onDeserialize option to work with member methods
Release 1.3.0
Added @toJson
decorator that makes JSON.stringify
usage simpler.
Release 1.2.3
A lot of changes, that many that it is hard to list them all, some among:
- new api
- polymorphic deserialization
- custom serializers
- serialization to json (useful in testing!)