Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop authored Feb 17, 2023
1 parent e54dff9 commit 328aa58
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions crates/apollo-encoder/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,25 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## Maintenance
## Documentation -->
# [0.5.0](https://crates.io/crates/apollo-encoder/0.5.0) - 2023-02-17

## BREAKING
- **[email protected] - [goto-bus-stop], [pull/459]**

This updates the version of `apollo-parser` required by the `TryFrom`
implementations in this crate.

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

## Features
- **make `FromError` public - [Geal], [pull/453]**

In the `TryFrom` implementations for `apollo-parser` types, the error type was not public, so you could not wrap conversion errors in your own error types or name it in return values. Now you can use `apollo_encoder::FromError`.

[Geal]: https://github.com/Geal
[pull/453]: https://github.com/apollographql/apollo-rs/pull/453

# [0.4.0](https://crates.io/crates/apollo-encoder/0.4.0) - 2022-11-29

## BREAKING
Expand Down
2 changes: 1 addition & 1 deletion crates/apollo-encoder/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apollo-encoder"
version = "0.4.0"
version = "0.5.0"
authors = [
"Irina Shestak <[email protected]>",
"Benjamin Coenen <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion crates/apollo-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ thiserror = "1.0.30"

[dev-dependencies]
miette = { version = "3.2.0", features = ["fancy"] }
apollo-encoder = { path = "../apollo-encoder", version = "0.4.0", features = [
apollo-encoder = { path = "../apollo-encoder", version = "0.5.0", features = [
"apollo-parser",
] }
anyhow = "1.0.66"
Expand Down
2 changes: 1 addition & 1 deletion crates/apollo-smith/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ categories = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
apollo-encoder = { path = "../apollo-encoder", version = "0.4.0" }
apollo-encoder = { path = "../apollo-encoder", version = "0.5.0" }
apollo-parser = { path = "../apollo-parser", version = "0.5.0", optional = true }
arbitrary = { version = "1.0.3", features = ["derive"] }
once_cell = "1.9.0"
Expand Down

0 comments on commit 328aa58

Please sign in to comment.