From 554e03528506428ccb412897950c1a366b90555d Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Wed, 16 Mar 2022 14:39:04 +0200 Subject: [PATCH] chore(deps): Update `router-bridge` to latest revision (#653) Ref: https://github.com/apollographql/federation-rs/pull/77 --- CHANGELOG.md | 5 +++++ Cargo.lock | 2 +- apollo-router-core/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 66fb0617d7..21df6646fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,6 +76,11 @@ All configuration that was previously under the `reporting` header is now under Add a plugin to be able to write plugins in [Rhai script](https://rhai.rs/). You are now able to write your own `*_service` function you can have on a Rust plugin. You have access to the context and headers directly from the RHAI script. +- **Update to latest query planner from Federation 2** ([PR #653](https://github.com/apollographql/router/pull/653)) + + The Router now uses the `@apollo/query-planner@2.0.0-preview.5` query planner, bringing the most recent version of Federation 2. + + ## 🐛 Fixes - **Content-Type is application/json** ([639](https://github.com/apollographql/router/issues/639)) diff --git a/Cargo.lock b/Cargo.lock index d4125d239f..54739ee844 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3607,7 +3607,7 @@ dependencies = [ [[package]] name = "router-bridge" version = "0.1.0" -source = "git+https://github.com/apollographql/federation-rs.git?rev=ce38b4d7ba8ebba43a713e4b5b2a617249d05db4#ce38b4d7ba8ebba43a713e4b5b2a617249d05db4" +source = "git+https://github.com/apollographql/federation-rs.git?rev=645ef8b66b14ee6d13e8e24ddd4aba29389031a1#645ef8b66b14ee6d13e8e24ddd4aba29389031a1" dependencies = [ "anyhow", "deno_core", diff --git a/apollo-router-core/Cargo.toml b/apollo-router-core/Cargo.toml index 9213eeeae9..c4d31edec4 100644 --- a/apollo-router-core/Cargo.toml +++ b/apollo-router-core/Cargo.toml @@ -36,7 +36,7 @@ regex = "1.5.5" reqwest = { version = "0.11.10" } reqwest-middleware = "0.1.5" reqwest-tracing = { version = "0.2.1", features = ["opentelemetry_0_17"] } -router-bridge = { git = "https://github.com/apollographql/federation-rs.git", rev = "ce38b4d7ba8ebba43a713e4b5b2a617249d05db4" } +router-bridge = { git = "https://github.com/apollographql/federation-rs.git", rev = "645ef8b66b14ee6d13e8e24ddd4aba29389031a1" } schemars = { version = "0.8.8", features = ["url"] } serde = { version = "1.0.136", features = ["derive", "rc"] } serde_json = { version = "1.0.79", features = ["preserve_order"] }