Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop authored Dec 13, 2022
1 parent 7ea3428 commit 40e499f
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions crates/apollo-parser/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## Documentation -->

# [0.4.1](https://crates.io/crates/apollo-parser/0.4.1) - 2022-12-13
## Fixes
- **fix panics when parsing type names with syntax errors - [goto-bus-stop], [pull/381]**

For example, `field: []` does not panic anymore. Instead it produces a syntax error and an incomplete List type.

- **continue parsing after a syntax error in an object type field - [goto-bus-stop], [pull/381]**

```graphql
type A {
fieldA: [] # ← has error, missing item type
fieldB: Int
fieldC: Int
}
```
Previously fieldB and fieldC would not be parsed, now they are.

[goto-bus-stop]: https://github.com/goto-bus-stop
[pull/381]: https://github.com/apollographql/apollo-rs/pull/381

# [0.4.0](https://crates.io/crates/apollo-parser/0.4.0) - 2022-11-28
## BREAKING
- **make conversions from GraphQL Values to Rust types fallible - [goto-bus-stop], [pull/371] fixing [issue/358]**
Expand Down
2 changes: 1 addition & 1 deletion crates/apollo-parser/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apollo-parser"
version = "0.4.0"
version = "0.4.1"
authors = ["Irina Shestak <[email protected]>"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/apollographql/apollo-rs"
Expand Down

0 comments on commit 40e499f

Please sign in to comment.