Skip to content

Releases: trampster/JsonSrcGen

Version 1.1.1

31 Jul 09:23
Compare
Choose a tag to compare

Bug Fixes

  • #70 Extra properties are not always skipped correctly
  • #71 Multiple escapes are not handled correctly

Version 1.1.0

23 Jul 09:54
Compare
Choose a tag to compare

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

16 Jul 10:19
Compare
Choose a tag to compare
Pre-release

Improvements

  • #67 Optimised FromJson class/struct parsing
  • #66 Optimised FromJson int

Version 1.1.0 Release Candidate 1

10 Jul 10:32
Compare
Choose a tag to compare
Pre-release

Improvements

  • #63 Optimised property matching
  • #65 Optimised white space skipping
  • #64 Optimised from json string property handing

Version 1.1.0 Beta 1

01 Jul 10:34
Compare
Choose a tag to compare
Version 1.1.0 Beta 1 Pre-release
Pre-release

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

21 Jun 09:53
Compare
Choose a tag to compare
Version 1.1.0 Alpha 2 Pre-release
Pre-release

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

22 Nov 10:30
Compare
Choose a tag to compare

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

22 Nov 10:22
Compare
Choose a tag to compare

First full Release of JsonSrcGen.

Version 1.0.1 RC 2

07 Nov 07:25
Compare
Choose a tag to compare
Version 1.0.1 RC 2 Pre-release
Pre-release

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

Version 1.0.0.1 RC 1

29 Oct 08:10
Compare
Choose a tag to compare
Version 1.0.0.1 RC 1 Pre-release
Pre-release

Feature complete for Release 1

Changes

  • #37 Serialises from ReadOnlySpan instead of from string

New Features

  • #38 Support skipping null values when serializing
  • #36 Support DateTimeOffset

Bug Fixes

  • Fix converting arrays with one element
  • Fix converting lists with one element