Skip to content

Releases: google/json_serializable.dart

package:json_serializable v6.14.0

15 May 18:34
61e7b87

Choose a tag to compare

  • Support JsonKey.explicitJsonNullWhenNonNullField for PATCH-style tri-state
    JSON fields: distinguish omitted keys from explicit null in fromJson and
    emit explicit JSON null in toJson when the Dart field is non-null.
  • Require json_annotation: '>=4.12.0 <4.13.0'

package:json_annotation v4.12.0

15 May 18:27
61e7b87

Choose a tag to compare

  • Add JsonKey.explicitJsonNullWhenNonNullField for PATCH-style tri-state JSON
    fields (omit key vs explicit null vs value).

package:json_serializable v6.13.2

30 Apr 22:51
c6cdfcf

Choose a tag to compare

  • Require analyzer: '>=10.0.0 <14.0.0'

package:json_serializable v6.13.1

20 Mar 22:26
da67f42

Choose a tag to compare

  • Improve error message when generating code for Record types with unsupported
    fields.
    (#1559)
  • Require analyzer: '>=10.0.0 <13.0.0'
  • Require build: ^4.0.4
  • Require dart_style: ^3.1.4
  • Require source_gen: ^4.1.2
  • Require source_helper: ^1.3.10

package:json_serializable v6.13.0

19 Feb 19:36
2b03869

Choose a tag to compare

  • Fix schema generation for many different types of fields.
    (#1549)
  • Support JsonSerializable.dateTimeUtc configuration option.
    (#1371)
  • Remove json_schema from dependencies (it is only used in tests).

package:json_annotation v4.11.0

19 Feb 19:05
2b03869

Choose a tag to compare

  • Add JsonSerializable.dateTimeUtc configuration option.
    (#1371)

package:json_serializable v6.12.0

29 Jan 02:25
71cda60

Choose a tag to compare

  • Support JsonKey annotation on constructor parameters.
  • Add support for JsonSerializable(createJsonSchema: true).

package:json_annotation v4.10.0

29 Jan 01:16
9c68eaa

Choose a tag to compare

  • Support JsonKey annotation on constructor parameters.
  • Add JsonSerializable(createJsonSchema: true).
  • Require meta: ^1.16.0
  • Require sdk: ^3.9.0

package:json_serializable v6.11.4

13 Jan 16:19
44e28e6

Choose a tag to compare

  • Allow analyzer: >=9.0.0 <11.0.0

package:json_serializable v6.11.3

20 Nov 21:16
cf78644

Choose a tag to compare

  • Require analyzer: ^9.0.0
  • Require build: ^4.0.3
  • Require build_config: ^1.2.0
  • Require dart_style: ^3.1.3
  • Require sdk: ^3.9.0
  • Require source_gen: ^4.1.1
  • Require source_helper: ^1.3.9