Skip to content

Commit adbecc8

Browse files
1 parent caf820d commit adbecc8

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

crates/apollo-compiler/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ edition = "2021"
1818
autotests = false # Most tests/*.rs files are modules of tests/main.rs
1919

2020
[dependencies]
21-
apollo-parser = { path = "../apollo-parser", version = "0.7.6" }
21+
apollo-parser = { path = "../apollo-parser", version = "0.7.7" }
2222
ariadne = { version = "0.4.0", features = ["auto-color"] }
2323
indexmap = "2.0.0"
2424
rowan = "0.15.5"

crates/apollo-parser/CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1717
1818
## Documentation -->
1919

20+
# [0.7.7](https://crates.io/crates/apollo-parser/0.7.7) - 2024-04-08
21+
22+
## Fixes
23+
- **raise an error for empty field sets - [tinnou], [pull/845]**
24+
It's not legal to write `type Object {}` *with* braces but *without* declaring
25+
any fields. In the past this was accepted by apollo-parser, now it raises an
26+
error as required by the spec.
27+
28+
[tinnou]: https://github.com/tinnou
29+
[pull/845]: https://github.com/apollographql/apollo-rs/pull/845
30+
2031
# [0.7.6](https://crates.io/crates/apollo-parser/0.7.6) - 2024-02-14
2132

2233
## Fixes

crates/apollo-parser/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "apollo-parser"
3-
version = "0.7.6" # When bumping, also update README.md
3+
version = "0.7.7" # When bumping, also update README.md
44
authors = ["Irina Shestak <[email protected]>"]
55
license = "MIT OR Apache-2.0"
66
repository = "https://github.com/apollographql/apollo-rs"

crates/apollo-parser/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Or add this to your `Cargo.toml` for a manual installation:
3535
```toml
3636
# Just an example, change to the necessary package version.
3737
[dependencies]
38-
apollo-parser = "0.7.6"
38+
apollo-parser = "0.7.7"
3939
```
4040

4141
## Rust versions

0 commit comments

Comments
 (0)