Upgrading json_serializable 4 to 5
Unknown4.1.4 → 5.0.2
Fetching 3 releases from GitHub…0 / 3
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
Adds source_helper ^1.2.1.
Moves analyzer >=0.41.2 <2.0.0 → ^2.0.0, json_annotation >=4.0.1 <4.2.0 → >=4.1.0 <4.2.0. Your build may pick other versions.
API changes
Generated by DepDelta from published Dart source. Not mixed with prose notes.
- removed:
function typeArgumentsOf(DartType type, TypeChecker checker): List<DartType> - changed:
ctor ClassConfig({ required this.anyMap, required this.checked, required this.createFactory, required this.createToJson, required this.disallowUnrecognizedKeys, required this.explicitToJson, required this.fieldRename, required this.genericArgumentFactories, required this.ignoreUnannotated, required this.includeIfNull, }) → ctor ClassConfig({ required this.anyMap, required this.checked, required this.createFactory, required this.createToJson, required this.disallowUnrecognizedKeys, required this.explicitToJson, required this.fieldRename, required this.genericArgumentFactories, required this.ignoreUnannotated, required this.includeIfNull, this.ctorParamDefaults = …, }) - changed:
field KeyConfig.defaultValue: final Object? → field KeyConfig.defaultValue: final String? - changed:
method ConvertHelper.deserialize( DartType targetType, String expression, TypeHelperContextWithConvert context, bool defaultProvided, ): String? → method ConvertHelper.deserialize( DartType targetType, String expression, TypeHelperContextWithConvert context, bool defaultProvided, ): Object? - changed:
method ConvertHelper.serialize( DartType targetType, String expression, TypeHelperContextWithConvert context, ): String? → method ConvertHelper.serialize( DartType targetType, String expression, TypeHelperContextWithConvert context, ): Object? - changed:
method JsonHelper.deserialize( DartType targetType, String expression, TypeHelperContextWithConfig context, bool defaultProvided, ): String? → method JsonHelper.deserialize( DartType targetType, String expression, TypeHelperContextWithConfig context, bool defaultProvided, ): Object? - added:
field ClassConfig.ctorParamDefaults: final Map<String, String>