Skip to content

Latest commit

 

History

History
63 lines (38 loc) · 2.66 KB

CHANGELOG.md

File metadata and controls

63 lines (38 loc) · 2.66 KB

v1.0.5 (2017-09-14)

Features

  • Added README note about circular dependency issues

Breaking Changes

  • json2typescript will now throw an exception if the JsonProperty decorator has undefined as second parameter. Pass null if you want to skip the type check instead or don't pass the second parameter at all.

v1.0.4 (2017-09-12)

Bug Fixes

  • Fixed bug in serialization mode

v1.0.3 (2017-09-10)

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 (2017-07-31)

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()

0.9.6 (2017-01-18)

Fixed errors in ReadMe and small bug on JsonConvert.

0.9.5 (2017-12-11):

New method for deserializing array of objects.

0.9.4 (2017-11-22):

Class properties are now not overridden to undefined if there is no decorator and no matching json value.

0.9.3 (2017-11-16):

It is now possible to map an JSON object to an TypeScript array, then the object keys become the array keys. Also, class properties can be set to optional. See below in the chapter "decorators" for more information.

0.9.2 (2017-10-10):

Added method serializeString(), changed property names and behaviour.

0.9.1 (2017-10-06):

First version released to the public.