@@ -18,13 +18,22 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
18
18
19
19
## Documentation -->
20
20
21
- # [ x.x.x ] (unreleased ) - 2021-mm-dd
21
+ # [ 0.3.1 ] ( https://crates.io/crates/apollo-parser/0.3.1 ) - 2022-11-04
22
22
23
23
## Features
24
+ - ** streaming lexer - [ Geal] + [ goto-bus-stop] , [ pull/115] **
25
+
26
+ To help improve performance and memory usage in the lexer, we are now
27
+ streaming all incoming tokens in the lexer implementation.
28
+
29
+ [ goto-bus-stop ] : https://github.com/goto-bus-stop
30
+ [ Geal ] : https://github.com/Geal
31
+ [ pull/115 ] : https://github.com/apollographql/apollo-rs/pull/115
24
32
25
33
- ** extend ` ast::*Value ` node conversions - [ SimonSapin] , [ pull/344] **
26
34
27
- These node types implement conversion to standard types, extracting their value:
35
+ The following node types implement conversion to standard types, extracting
36
+ their value:
28
37
29
38
- ` StringValue ` → ` String `
30
39
- ` IntValue ` → ` i32 `
@@ -47,7 +56,19 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
47
56
[ simonsapin ] : https://github.com/SimonSapin
48
57
[ pull/344 ] : https://github.com/apollographql/apollo-rs/pull/344
49
58
50
- # [ 0.3.0] ( https://crates.io/crates/apollo-parser/0.2.12 ) - 2022-10-31 💀
59
+ ## Documentation
60
+ - ** example of modifying queries with parser + encoder - [ lrlna] , [ pull/346] **
61
+ An addition to ` apollo-parser ` 's [ example] directory encoding various parts of the AST using ` apollo-encoder ` 's new ` TryFrom ` implementation. Examples include:
62
+
63
+ - merging two queries
64
+ - omitting certain fields in a query.
65
+
66
+ [ lrlna ] : https://github.com/lrlna
67
+ [ pull/346 ] : https://github.com/apollographql/apollo-rs/pull/346
68
+ [ example ] : ./examples/modify_query_using_parser_and_encoder.rs
69
+
70
+
71
+ # [ 0.3.0] ( https://crates.io/crates/apollo-parser/0.3.0 ) - 2022-10-31 💀
51
72
## BREAKING
52
73
- ** remove the impl Display for generated nodes - [ goto-bus-stop] , [ pull/330] **
53
74
0 commit comments