File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
- ## 4.0.3-dev
1
+ ## 4.0.3
2
2
3
3
- Correctly handle nullable values with ` genericArgumentFactories ` .
4
+ - Require the latest ` package:build ` .
4
5
5
6
## 4.0.2
6
7
Original file line number Diff line number Diff line change 1
1
name : json_serializable
2
- version : 4.0.3-dev
2
+ version : 4.0.3
3
3
description : >-
4
4
Automatically generate code for converting to and from JSON by annotating
5
5
Dart classes.
@@ -11,7 +11,7 @@ environment:
11
11
12
12
dependencies :
13
13
analyzer : ' >=0.41.2 <2.0.0'
14
- build : ^1.6.1
14
+ build : ^2.0.0
15
15
build_config : ^0.4.4
16
16
17
17
# Use a tight version constraint to ensure that a constraint on
Original file line number Diff line number Diff line change @@ -33,8 +33,13 @@ class _DocBuilder extends Builder {
33
33
? 'latest'
34
34
: jsonAnnotationVersion.toString ();
35
35
36
- final lib = LibraryReader (await buildStep.resolver.libraryFor (
37
- AssetId .resolve ('package:json_annotation/json_annotation.dart' )));
36
+ final lib = LibraryReader (
37
+ await buildStep.resolver.libraryFor (
38
+ AssetId .resolve (
39
+ Uri .parse ('package:json_annotation/json_annotation.dart' ),
40
+ ),
41
+ ),
42
+ );
38
43
39
44
final descriptionMap = < String , _FieldInfo > {};
40
45
You can’t perform that action at this time.
0 commit comments