@@ -4,7 +4,7 @@ All notable changes to `apollo-encoder` will be documented in this file.
4
4
5
5
This project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
- <!-- # [x.x.x] (unreleased) - 2021 -mm-dd
7
+ <!-- # [x.x.x] (unreleased) - 2022 -mm-dd
8
8
9
9
> Important: X breaking changes below, indicated by **BREAKING**
10
10
@@ -18,17 +18,45 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
18
18
19
19
## Documentation -->
20
20
21
+ # [ 0.2.3] ( https://crates.io/crates/apollo-encoder/0.2.3 ) - 2022-04-01
22
+
23
+ > Important: 1 breaking change below, indicated by ** BREAKING**
24
+
25
+ ## BREAKING
26
+
27
+ - ** GraphQL Int Value is an i32 - [ bnjjj] , [ pull/197] **
28
+ We previously represented Int Values as i64, which is not compliant with the spec. This is now rectified.
29
+
30
+ [ bnjjj ] : https://github.com/bnjjj
31
+ [ pull/197 ] : https://github.com/apollographql/apollo-rs/pull/197
32
+
33
+ ## Features
34
+
35
+ - ** Support 'alias' on fields - [ bnjjj] , [ pull/191] **
36
+
37
+ ``` rust
38
+ // results in "smallImage: displayImage" encoding
39
+ let mut aliased_field = Field :: new (String :: from (" displayImage" ));
40
+ aliased_field . alias (Some (String :: from (" smallImage" )));
41
+ ```
42
+
43
+ [ bnjjj ] : https://github.com/bnjjj
44
+ [ pull/191 ] : https://github.com/apollographql/apollo-rs/pull/191
45
+
46
+
21
47
# [ 0.2.2] ( https://crates.io/crates/apollo-encoder/0.2.2 ) - 2022-02-28
48
+
49
+ > Important: 2 breaking changes below, indicated by ** BREAKING**
22
50
## BREAKING
23
51
- ** Rename ` InputValueDef ` into ` InputValueDefinition ` for consistency - [ bnjjj] , [ pull/182] **
24
52
25
53
[ bnjjj ] : https://github.com/bnjjj
26
- [ pull/168 ] : https://github.com/apollographql/apollo-rs/pull/182
54
+ [ pull/182 ] : https://github.com/apollographql/apollo-rs/pull/182
27
55
28
56
- ** Rename ` input_object_ ` method into ` input_object ` on ` Document ` - [ bnjjj] , [ pull/182] **
29
57
30
58
[ bnjjj ] : https://github.com/bnjjj
31
- [ pull/168 ] : https://github.com/apollographql/apollo-rs/pull/182
59
+ [ pull/182 ] : https://github.com/apollographql/apollo-rs/pull/182
32
60
33
61
## Fixes
34
62
- ** Remove leading and ending ` " ` in ` BlockStringCharacter ` encoding only when it starts and end with a ` " ` - [ bnjjj] , [ pull/182] **
0 commit comments