Skip to content

Releases: manuc66/JsonSubTypes

v2.0.1

18 Oct 20:38
Compare
Choose a tag to compare

🐛This release also fixes the following issues:

  • Add package description with an included README.md

The nuget package is available on https://www.nuget.org/packages/JsonSubTypes/2.0.1

See CHANGELOG for full version history

v2.0.0

18 Oct 20:13
Compare
Choose a tag to compare

💥 This release provides the following new functionalities that include breaking changes:

  • Discriminator property is placed first by default now #46 #149
  • Depends on the latest Newtonsoft.Json #131 #148
  • Signature of SetFallbackSubtype has been changed to fix a design bug #152 #147

🎉 This release provides the following new functionalities:

  • Allow to stop searching when a match is found #128 #151

🐛This release also fixes the following issues:

  • Fix a DateTime issue introduced in release 1.8.0 #120 #128

The nuget package is available on https://www.nuget.org/packages/JsonSubTypes/2.0.0

See CHANGELOG for full version history

v1.9.0

09 May 20:14
Compare
Choose a tag to compare

🎉 This release provides the following new functionalities:

  • Add version of builder methods with generic types for cleaner syntax. #110
  • Support (serializing) sub types with generic type parameters when using JsonSubtypesConverterBuilder #135
  • Add cache of type's attributes #119

🐛This release also fixes the following issues:

  • Newtonsoft.Json dependency version should be lowest supported, not latest available #101
  • Multiple type discriminators in JSON silently passes. #100
  • Incorrect handling of datetime field in a sub-type #114
  • Too many target framework inside the nuget package #48
  • Copy MaxDepth when creating internal JObjectReader #137
  • Fix deserialization of hierarchy with multiple levels #118

The nuget package is available on https://www.nuget.org/packages/JsonSubTypes/1.9.0

See CHANGELOG for full version history

1.8.0

23 Sep 22:35
Compare
Choose a tag to compare

🎉 This release provides the following new functionalities:

  • Add version of builder methods with generic types for cleaner syntax. #115

🐛This release also fixes the following issues:

  • Newtonsoft.Json dependency version should be lowest supported, not latest available #101
  • Multiple type discriminators in JSON silently passes. #100
  • Incorrect handling of datetime field in a sub-type #114

The nuget package is available on https://www.nuget.org/packages/JsonSubTypes/1.8.0

See CHANGELOG for full version history

1.7.0

28 Mar 08:20
Compare
Choose a tag to compare

🎉 This release provides the following new functionalities:

  • Fallback to JSONPath to allow nested field as a deserialization property. #89 (thanks to @remgodow !)
  • Implements dynamic registration for subtype detection by property presence. #50
  • Bump Newtonsoft.Json from 11.0.2 to 12.0.3 #88

🐛This release also fixes the following issues:

  • JsonSubtypes does not respect naming strategy for discriminator property value #80
  • Fix infinite loop when specifying name of abstract base class as discriminator #83
  • Serializing base class with discriminator property results in KeyNotFoundException #79

The nuget package is available on https://www.nuget.org/packages/JsonSubTypes/1.7.0

See CHANGELOG for full version history

1.6.0

24 Jun 23:01
Compare
Choose a tag to compare

🎉 This release provides the following new functionalities :

  • Support for multiple discriminators on single type #66
  • Support for per inheritance level discriminators #60
  • Support specifying a fallback sub type if none matched #63
  • Provide NuGet package with strong name #75
  • Changelog history and documentation around versioning

The nuget package is available on https://www.nuget.org/packages/JsonSubTypes/1.6.0

See CHANGELOG for full version history

1.5.2

19 Jan 14:03
Compare
Choose a tag to compare

This release fix:

  • #56 Arbitrary constructor invocation

1.5.1

15 Oct 20:29
Compare
Choose a tag to compare

This release fixe:

  • #51 Read.me imports into my project with nuget package

1.5.0

27 Aug 19:24
Compare
Choose a tag to compare

This release provides:

  • Ability to set the discriminator property order to first (see #46)
  • Compatibility with JSON.NET 11.0.2 (see #47)

1.4.0

17 Apr 22:00
Compare
Choose a tag to compare

This release provides:

  • Support for both camel case and non camel case parameters #31
  • Explicit support for netstandard2.0 #34
  • Code refactoring to reduce the number of conditional compilation statements #36