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 1
1
## 4.8.0-dev
2
2
3
- - Require Dart SDK ` >=2.18.0 ` .
4
3
- Added ` JsonSerializable.createPerFieldToJson ` which allows generating
5
4
a ` _$ModelPerFieldToJson ` , enabling partial encoding of a model.
6
-
7
- ## 4.7.1-dev
8
-
9
5
- Update ` JsonKey ` documentation to align with new features in
10
6
` package:json_serializable ` .
11
7
- 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';
10
10
11
11
const _productionDirectories = {'lib' , 'bin' };
12
12
const _annotationPkgName = 'json_annotation' ;
13
- final requiredJsonAnnotationMinVersion = Version .parse ('4.8.0-dev ' );
13
+ final requiredJsonAnnotationMinVersion = Version .parse ('4.8.0' );
14
14
15
15
Future <void > pubspecHasRightVersion (BuildStep buildStep) async {
16
16
final segments = buildStep.inputId.pathSegments;
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ dependencies:
16
16
17
17
# Use a tight version constraint to ensure that a constraint on
18
18
# `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'
20
20
meta : ^1.3.0
21
21
path : ^1.8.0
22
22
pub_semver : ^2.0.0
You can’t perform that action at this time.
0 commit comments