Releases: trampster/JsonSrcGen
Version 1.1.1
Version 1.1.0
New Features
- UTF8 Support
- Decimal type support
- Struct and read only struct support
Bug Fixes
- Fixed issue causing unknown properties to be used by mistake some instances
Version 1.1.0 Release Candidate 2
Version 1.1.0 Release Candidate 1
Version 1.1.0 Beta 1
New Features
- UTF8 FromJson Support
- Removed JsonSrcGe.Runtime dependency
Bug Fixes*
- Fixed bug causing unknown properties could be used by mistake in some instances.
NOTE: you now need a runtime dependency on JsonSrcGen.Runtime (same version)
Version 1.1.0 Alpha 2
New Features
- UTF8 ToJson Support
- Struct and readonly Struct support - contributed by @hugobritobh
- Decimal support -contributed by @hugobritobh
Bug Fixes*
- Fixed issue with floating point types being wrongly localised.
NOTE: you now need a runtime dependency on JsonSrcGen.Runtime (same version)
v1.0.3 Nullable Reference Types bug fix
But fix release to fix warnings when generating for projects with NullableReferenceTypes turned on.
Bug Fixes
- #41 NullableReferenceTypes cause warnings/errors
Due to limitations in Roslyn, Source Generators cannot reliably determine if Nullable References Types in enabled. Because of this JsonSrcGen now always assumes that reference types are nullable. This means that if you define a reference type Json property as non nullable you will get a warning about possible null assignment. And should expect that if the Json is null your property will be set to null.
v1.0.2
Version 1.0.1 RC 2
Feature complete for Release 1 (again)
New Features
- #37 Added JsonOptionalAttribute to specify a property should be set to default if not present in the JSON during deserialisation. This is only necessary if you are reusing an object for multiple deserialisations.
Bug Fixes
- #40 Fixed deserialising empty objects