File tree Expand file tree Collapse file tree 3 files changed +2
-6
lines changed
Expand file tree Collapse file tree 3 files changed +2
-6
lines changed Original file line number Diff line number Diff line change 11## 4.8.0-dev
22
3- - Require Dart SDK ` >=2.18.0 ` .
43- Added ` JsonSerializable.createPerFieldToJson ` which allows generating
54 a ` _$ModelPerFieldToJson ` , enabling partial encoding of a model.
6-
7- ## 4.7.1-dev
8-
95- Update ` JsonKey ` documentation to align with new features in
106 ` package:json_serializable ` .
117- Require Dart SDK ` >=2.18.0 ` .
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import 'package:pubspec_parse/pubspec_parse.dart';
1010
1111const _productionDirectories = {'lib' , 'bin' };
1212const _annotationPkgName = 'json_annotation' ;
13- final requiredJsonAnnotationMinVersion = Version .parse ('4.8.0-dev ' );
13+ final requiredJsonAnnotationMinVersion = Version .parse ('4.8.0' );
1414
1515Future <void > pubspecHasRightVersion (BuildStep buildStep) async {
1616 final segments = buildStep.inputId.pathSegments;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies:
1616
1717 # Use a tight version constraint to ensure that a constraint on
1818 # `json_annotation` properly constrains all features it provides.
19- json_annotation : ' >=4.8.0-dev <4.9.0'
19+ json_annotation : ' >=4.8.0 <4.9.0'
2020 meta : ^1.3.0
2121 path : ^1.8.0
2222 pub_semver : ^2.0.0
You can’t perform that action at this time.
0 commit comments