Skip to content

Commit

Permalink
Merge branch 'main' into query-deduplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffroy Couprie committed Jan 14, 2022
2 parents bc14a79 + 0146576 commit 1102ccf
Show file tree
Hide file tree
Showing 25 changed files with 1,127 additions and 147 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,8 @@ commands:
- run: cargo sweep -s
- install_extra_tools:
os: << parameters.os >>
# cargo-deny fetches a rustsec advisory DB, which has to happen on github.com over https
- run: git config --global --unset-all url.ssh://git@git.luolix.top.insteadof
- run: cargo xtask check-compliance
- run: cargo sweep -f
- save_cache:
Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,26 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## 🛠 Maintenance
## 📚 Documentation -->

# [v0.1.0-alpha.3] 2022-01-11

## :rocket::waxing_crescent_moon: Public alpha release

> An alpha or beta release is in volatile, active development. The release might not be feature-complete, and breaking API changes are possible between individual versions.
## :sparkles: Features

- Trace sampling [#228](https://github.com/apollographql/router/issues/228): Tracing each request can be expensive. The router now supports sampling, which allows us to only send a fraction of the received requests.

- Health check [#54](https://github.com/apollographql/router/issues/54)

## :bug: Fixes

- Schema parse errors [#136](https://github.com/apollographql/router/pull/136): The router wouldn't display what went wrong when parsing an invalid Schema. It now displays exactly where a the parsing error occured, and why.

- Various tracing and telemetry fixes [#237](https://github.com/apollographql/router/pull/237): The router wouldn't display what went wrong when parsing an invalid Schema. It now displays exactly where a the parsing error occured, and why.

- Query variables validation [#62](https://github.com/apollographql/router/issues/62): Now that we have a schema parsing feature, we can validate the variables and their types against the schemas and queries.


# [v0.1.0-alpha.2] 2021-12-03

Expand Down
127 changes: 104 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
[workspace]
default-members = ["apollo-router", "apollo-router-core"]
members = ["apollo-router", "apollo-router-core", "apollo-router-benchmarks", "xtask"]
members = [
"apollo-router",
"apollo-router-core",
"apollo-router-benchmarks",
"xtask",
]

[patch.crates-io]
opentelemetry = { git = "https://github.com/open-telemetry/opentelemetry-rust.git", rev = "6b3aa02aa" }
Expand Down
4 changes: 3 additions & 1 deletion apollo-router-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "apollo-router-core"
version = "0.1.0-alpha.2"
version = "0.1.0-alpha.3"
authors = ["Apollo Graph, Inc. <packages@apollographql.com>"]
edition = "2021"
license-file = "./LICENSE"
Expand All @@ -15,6 +15,7 @@ failfast = []
apollo-parser = "0.2.0"
async-trait = "0.1.52"
atty = "0.2.14"
bytes = "1.1.0"
derivative = "2.2.0"
displaydoc = "0.2"
futures = "0.3.19"
Expand All @@ -25,6 +26,7 @@ once_cell = "1.9.0"
router-bridge = { git = "https://github.com/apollographql/federation.git", rev = "950eb931e38746bb7cfed05382d6970a22e43cc4" }
serde = { version = "1.0.133", features = ["derive", "rc"] }
serde_json = { version = "1.0.74", features = ["preserve_order"] }
serde_json_bytes = { version = "0.2.0", features = ["preserve_order"]}
thiserror = "1.0.30"
tokio = { version = "1.15.0", features = ["rt"] }
tracing = "0.1.29"
Expand Down
Loading

0 comments on commit 1102ccf

Please sign in to comment.