From ff2df97a12a3c6f9664a5442c935da9cf1049fd8 Mon Sep 17 00:00:00 2001 From: Iryna Shestak Date: Thu, 13 Apr 2023 13:00:32 +0200 Subject: [PATCH] apollo-parser@0.5.1 (#521) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * apollo-parser@0.5.1 --------- Co-authored-by: Irina Shestak <8107784+lrlna@users.noreply.github.com> Co-authored-by: Renée --- crates/apollo-parser/CHANGELOG.md | 11 +++++++++++ crates/apollo-parser/Cargo.toml | 2 +- crates/apollo-parser/README.md | 2 +- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/crates/apollo-parser/CHANGELOG.md b/crates/apollo-parser/CHANGELOG.md index c94d854dd..eca9009c0 100644 --- a/crates/apollo-parser/CHANGELOG.md +++ b/crates/apollo-parser/CHANGELOG.md @@ -17,6 +17,17 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## Documentation --> +# [0.5.1](https://crates.io/crates/apollo-parser/0.5.1) - 2023-04-13 +## Fixes +- **remove recursion in field parsing - [goto-bus-stop], [pull/519]** + The `selection::selection_set` parser already supports parsing multiple fields. + This removes recursion from field parsing, reducing the risk of stack + overflow on queries with many fields. + + [goto-bus-stop]: https://github.com/goto-bus-stop + [pull/519]: https://github.com/apollographql/apollo-rs/pull/519 + + # [0.5.0](https://crates.io/crates/apollo-parser/0.5.0) - 2023-02-16 ## Features - **new `ast::Definition` methods - [goto-bus-stop], [pull/456]** diff --git a/crates/apollo-parser/Cargo.toml b/crates/apollo-parser/Cargo.toml index 281cdafe6..c962d87ee 100644 --- a/crates/apollo-parser/Cargo.toml +++ b/crates/apollo-parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "apollo-parser" -version = "0.5.0" +version = "0.5.1" authors = ["Irina Shestak "] license = "MIT OR Apache-2.0" repository = "https://github.com/apollographql/apollo-rs" diff --git a/crates/apollo-parser/README.md b/crates/apollo-parser/README.md index 1242fcc6b..8bdd2ebab 100644 --- a/crates/apollo-parser/README.md +++ b/crates/apollo-parser/README.md @@ -29,7 +29,7 @@ Add this to your `Cargo.toml` to start using `apollo-parser`: ```toml # Just an example, change to the necessary package version. [dependencies] -apollo-parser = "0.4.0" +apollo-parser = "0.5.1" ``` Or using [cargo-edit]: