Skip to content

Commit 523d9ce

Browse files
* [email protected] * add 793 to changelog
1 parent 4779115 commit 523d9ce

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed

crates/apollo-compiler/CHANGELOG.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1717
## Maintenance
1818
## Documentation-->
1919

20-
# [x.x.x] (unreleased) - 2024-mm-dd
20+
# [1.0.0-beta.12](https://crates.io/crates/apollo-compiler/1.0.0-beta.12) - 2024-01-15
2121

2222
## BREAKING
2323
- **`InputValueDefinition::is_required()` returns false if it has a default value - [goto-bus-stop], [pull/798]**
@@ -29,13 +29,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
2929
- **Add `FieldDefinition::argument_by_name` and `DirectiveDefinition::argument_by_name` - [goto-bus-stop], [pull/801]**
3030
- These methods return an argument definition by name, or `None`.
3131
- **Add `.lookup` methods to schema coordinates - [goto-bus-stop], [pull/803]**
32-
- `coord!().lookup(&schema)` returns the element at the given coordinate.
32+
- `coord!(Type).lookup(&schema)` returns the type definition for `Type`.
33+
- `coord!(Type.field).lookup_field(&schema)` returns the field definition for `field`.
34+
- `coord!(Enum.VALUE).lookup_enum_value(&schema)` returns the enum value definition for `VALUE`.
35+
- `coord!(InputType.field).lookup_input_field(&schema)` returns the input field definition for `field`.
36+
- `coord!(Type.field(argument:)).lookup(&schema)` returns the argument definition for `argument`.
37+
- `coord!(@directive).lookup(&schema)` returns the directive definition for `@directive`.
38+
- `coord!(@directive(argument:)).lookup(&schema)` returns the argument definition for `argument`.
39+
- `string.parse::<SchemaCoordinate>()?.lookup(&schema)` returns an enum with all the elements
40+
that can be looked up using schema coordinates.
41+
42+
## Maintenance
43+
- **update ariadne to 0.4.0 - [pull/793]**
44+
Ariadne is the diagnostic printing crate used for validation errors. v0.4.0 improves memory usage.
3345

3446
[goto-bus-stop]: https://github.com/goto-bus-stop]
3547
[pull/795]: https://github.com/apollographql/apollo-rs/pull/795
3648
[pull/798]: https://github.com/apollographql/apollo-rs/pull/798
3749
[pull/801]: https://github.com/apollographql/apollo-rs/pull/801
3850
[pull/803]: https://github.com/apollographql/apollo-rs/pull/803
51+
[pull/793]: https://github.com/apollographql/apollo-rs/pull/793
3952

4053
# [1.0.0-beta.11](https://crates.io/crates/apollo-compiler/1.0.0-beta.11) - 2023-12-19
4154

crates/apollo-compiler/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "apollo-compiler"
3-
version = "1.0.0-beta.11" # When bumping, also update README.md
3+
version = "1.0.0-beta.12" # 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-compiler/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Or add this to your `Cargo.toml` for a manual installation:
4040
# Just an example, change to the necessary package version.
4141
# Using an exact dependency is recommended for beta versions
4242
[dependencies]
43-
apollo-compiler = "=1.0.0-beta.11"
43+
apollo-compiler = "=1.0.0-beta.12"
4444
```
4545

4646
## Rust versions

crates/apollo-smith/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ categories = [
2222
]
2323

2424
[dependencies]
25-
apollo-compiler = { path = "../apollo-compiler", version = "=1.0.0-beta.11" }
25+
apollo-compiler = { path = "../apollo-compiler", version = "=1.0.0-beta.12" }
2626
apollo-parser = { path = "../apollo-parser", version = "0.7.0" }
2727
arbitrary = { version = "1.3.0", features = ["derive"] }
2828
indexmap = "2.0.0"

0 commit comments

Comments
 (0)