File tree Expand file tree Collapse file tree 8 files changed +36
-50
lines changed Expand file tree Collapse file tree 8 files changed +36
-50
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## 4.5.0
4
4
5
- - Fix generated builder when fields hold function types.
6
- - Fix checks and generated builder when manually maintained builder has
7
- generics.
8
- - Explicitly disallow private fields; fail with an error during generation if
9
- one is found.
10
- - Add built in serializer for ` Uri ` .
11
- - Allow declaration of multiple ` Serializers ` in the same file.
12
- - Improve error message for field without type.
13
- - Fix name of classes generated from a private class.
5
+ New features:
6
+
14
7
- Add ` serialize ` field to ` @BuiltValueField ` . Use this to tag fields to skip
15
8
when serializing.
16
- - Fix builder and serializer generation when importing with a prefix.
17
9
- Add ` wireName ` field to ` @BuiltValue ` and ` @BuiltValueField ` . Use this to
18
10
override the wire name for classes and fields when serializing.
19
11
- Add ` @BuiltValueEnum ` and ` @BuiltValueEnumConst ` annotations for specifying
25
17
- Add ` BuiltListAsyncDeserializer ` . It provides a way to deserialize large
26
18
responses without blocking, provided the top level serialized type is
27
19
` BuiltList ` .
20
+ - Add built in serializer for ` Uri ` .
21
+
22
+ Improvements:
23
+
24
+ - Allow declaration of multiple ` Serializers ` in the same file.
25
+ - Explicitly disallow private fields; fail with an error during generation if
26
+ one is found.
27
+ - Improve error message for field without type.
28
+
29
+ Fixes:
30
+
31
+ - Fix generated builder when fields hold function types.
32
+ - Fix checks and generated builder when manually maintained builder has
33
+ generics.
34
+ - Fix name of classes generated from a private class.
35
+ - Fix builder and serializer generation when importing with a prefix.
28
36
29
37
## 4.4.1
30
38
Original file line number Diff line number Diff line change 1
1
name : benchmark
2
- version : 4.4.1
2
+ version : 4.5.0
3
3
description : >
4
4
Benchmark, not for publishing.
5
5
authors :
@@ -12,16 +12,12 @@ environment:
12
12
dependencies :
13
13
browser : any
14
14
built_collection : ^2.0.0
15
- # built_value: ^4.4.1
16
- built_value :
17
- path : ../built_value
15
+ built_value : ^4.5.0
18
16
19
17
dev_dependencies :
20
18
build : ^0.11.1
21
19
build_runner : ^0.6.0
22
- # built_value_generator: ^4.4.1
23
- built_value_generator :
24
- path : ../built_value_generator
20
+ built_value_generator : ^4.5.0
25
21
source_gen : ^0.7.0
26
22
quiver : ' >=0.21.0 <0.26.0'
27
23
test : any
Original file line number Diff line number Diff line change 1
1
name : built_value
2
- version : 4.4.1
2
+ version : 4.5.0
3
3
description : >
4
4
Value types with builders, Dart classes as enums, and serialization.
5
5
This library is the runtime dependency.
Original file line number Diff line number Diff line change 1
1
name : built_value_generator
2
- version : 4.4.1
2
+ version : 4.5.0
3
3
description : >
4
4
Value types with builders, Dart classes as enums, and serialization.
5
5
This library is the dev dependency.
@@ -14,9 +14,7 @@ dependencies:
14
14
analyzer : ' >=0.29.0 <0.31.0'
15
15
build : ^0.11.1
16
16
built_collection : ^2.0.0
17
- # built_value: ^4.4.1
18
- built_value :
19
- path : ../built_value
17
+ built_value : ^4.5.0
20
18
source_gen : ^0.7.0
21
19
quiver : ' >=0.21.0 <0.27.0'
22
20
Original file line number Diff line number Diff line change 1
1
name : built_value_test
2
- version : 4.4.1
2
+ version : 4.5.0
3
3
description : >
4
4
Value types with builders, Dart classes as enums, and serialization.
5
5
This library provides test support.
@@ -11,9 +11,7 @@ environment:
11
11
sdk : ' >=1.8.0 <2.0.0'
12
12
13
13
dependencies :
14
- # built_value: ^4.4.1
15
- built_value :
16
- path : ../built_value
14
+ built_value : ^4.5.0
17
15
built_collection : ^2.0.0
18
16
collection : ^1.0.0
19
17
quiver : ' >=0.21.0 <0.27.0'
@@ -22,7 +20,5 @@ dependencies:
22
20
dev_dependencies :
23
21
build : ^0.11.1
24
22
build_runner : ^0.6.0
25
- # built_value_generator: ^4.4.1
26
- built_value_generator :
27
- path : ../built_value_generator
23
+ built_value_generator : ^4.5.0
28
24
source_gen : ^0.7.0
Original file line number Diff line number Diff line change 1
1
name : chat_example
2
- version : 4.4.1
2
+ version : 4.5.0
3
3
description : >
4
4
Just an example, not for publishing.
5
5
authors :
@@ -12,9 +12,7 @@ environment:
12
12
dependencies :
13
13
browser : ^0.10.0
14
14
built_collection : ^2.0.0
15
- # built_value: ^4.4.1
16
- built_value :
17
- path : ../built_value
15
+ built_value : ^4.5.0
18
16
shelf : ^0.6.0
19
17
shelf_proxy : ^0.1.0
20
18
shelf_web_socket : ^0.2.1
@@ -23,8 +21,6 @@ dependencies:
23
21
dev_dependencies :
24
22
build : ^0.11.1
25
23
build_runner : ^0.6.0
26
- # built_value_generator: ^4.4.1
27
- built_value_generator :
28
- path : ../built_value_generator
24
+ built_value_generator : ^4.5.0
29
25
source_gen : ^0.7.0
30
26
test : any
Original file line number Diff line number Diff line change 1
1
name : end_to_end_test
2
- version : 4.4.1
2
+ version : 4.5.0
3
3
description : >
4
4
Tests, not for publishing.
5
5
authors :
@@ -11,16 +11,12 @@ environment:
11
11
12
12
dependencies :
13
13
built_collection : ^2.0.0
14
- # built_value: ^4.4.1
15
- built_value :
16
- path : ../built_value
14
+ built_value : ^4.5.0
17
15
18
16
dev_dependencies :
19
17
build : ^0.11.1
20
18
build_runner : ^0.6.0
21
- # built_value_generator: ^4.4.1
22
- built_value_generator :
23
- path : ../built_value_generator
19
+ built_value_generator : ^4.5.0
24
20
fixnum : ^0.10.0
25
21
source_gen : ^0.7.0
26
22
quiver : ' >=0.21.0 <0.26.0'
Original file line number Diff line number Diff line change 1
1
name : example
2
- version : 4.4.1
2
+ version : 4.5.0
3
3
description : >
4
4
Just an example, not for publishing.
5
5
authors :
@@ -12,16 +12,12 @@ environment:
12
12
dependencies :
13
13
meta : ^1.0.4
14
14
built_collection : ^2.0.0
15
- # built_value: ^4.4.1
16
- built_value :
17
- path : ../built_value
15
+ built_value : ^4.5.0
18
16
19
17
dev_dependencies :
20
18
build : ^0.11.1
21
19
build_runner : ^0.6.0
22
- # built_value_generator: ^4.4.1
23
- built_value_generator :
24
- path : ../built_value_generator
20
+ built_value_generator : ^4.5.0
25
21
source_gen : ^0.7.0
26
22
quiver : ' >=0.21.0 <0.26.0'
27
23
test : any
You can’t perform that action at this time.
0 commit comments