Skip to content

Releases: appvision-gmbh/json2typescript

v1.2.5

01 Mar 17:12
Compare
Choose a tag to compare

Features

  • Added automation tests on the repository with Travis CI

Bug Fixes

  • Fixed bug in property mapping of complex class inheritances, closes #121

v1.2.3

24 Oct 13:58
Compare
Choose a tag to compare

Bug Fixes

  • Wrong output files were included in v1.2.x builds, closes #98

v1.2.2

24 Oct 13:58
Compare
Choose a tag to compare

Bug Fixes

  • Corrected ReadMe information, closes #97

v1.2.1

02 May 14:55
Compare
Choose a tag to compare

Bug Fixes

  • Corrected ReadMe information, closes #88

v1.2.0

27 Feb 13:13
Compare
Choose a tag to compare

Features

  • Allow optional properties to be null, closes #58

Breaking Changes

  • If a property is declared optional (by @JsonProperty(name, Type, true)), then null is now ignored in both serialization and deserialization.
    Before this version, json2typescript would have thrown an error if ValueChecking.DISABLE_NULL was used.

v1.1.1

13 Feb 01:20
Compare
Choose a tag to compare

Features

  • Improved documentation for v1.1.0

v1.1.0

13 Feb 01:20
Compare
Choose a tag to compare

Bug Fixes

  • Implemented pull request that fixes an issue with child class properties, closes #80
  • Fixed bug in constructor parameters, closes #82

Features

  • Added generics in order to allow the compiler to detect types, closes #73
  • Allow case insensitive lookup in json deserializing, closes #81

Breaking Changes

  • It is not possible to serialize undefined anymore; instead, an error is thrown. Before this version, json2typescript serialized undefined to null.

v1.0.4

13 Sep 13:02
Compare
Choose a tag to compare

Bug Fixes

  • Fixed bug in serialization mode

v1.0.3

09 Sep 23:02
Compare
Choose a tag to compare

Bug Fixes

  • Fixed issue with class properties when extending another class, closes #22

Features

  • Allow json2typescript to work with noImplicitAny, closes #23

v1.0.2

09 Sep 22:59
Compare
Choose a tag to compare

Bug Fixes

  • Fixed issue with ValueCheckingMode by using an enum instead of a nested class, closes #10 and #11
  • Added missing js references, closes #11 and #16

Features

  • Allow serialization the same way as deserialization, closes #4
  • Added smart methods serialize() and deserialize() for simplified usage
  • Added custom converters, closes #6
  • Use class methods instead of static methods, closes #14

Breaking Changes

  • Use an instance of JsonConvert and its class methods instead of the static methods
  • The static class properties valueCheckingMode and debugMode are not static anymore. debugMode has been renamed to operationMode. Their values should be assigned through the given enums with the same name
  • Removed the string method deserializeString() due to the fact that it is the same as jsonConvert.deserialize() combined with JSON.stringify()