Skip to content

Commit 7fe1c27

Browse files
egoodwinxdotansimhaardatan
authored
feat: Advanced breaking change detection for inputs and arguments for apollo-router-hive-fork (#6906)
Co-authored-by: Dotan Simha <[email protected]> Co-authored-by: Arda TANRIKULU <[email protected]>
1 parent abca499 commit 7fe1c27

File tree

14 files changed

+910
-124
lines changed

14 files changed

+910
-124
lines changed

.changeset/breezy-forks-press.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'hive-apollo-router-plugin': minor
3+
---
4+
5+
Advanced breaking change detection for inputs and arguments.
6+
7+
With this change, inputs and arguments will now be collected from the GraphQL operations executed by the router, and will be reported to Hive Console.
8+
9+
Additional references:
10+
- https://github.com/graphql-hive/console/pull/6764
11+
- https://github.com/graphql-hive/console/issues/6649

.changeset/sixty-guests-fall.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'hive-apollo-router-plugin': patch
3+
---
4+
5+
Update Rust version to 1.90

.github/workflows/apollo-router-updater.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Rust
2929
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
3030
with:
31-
toolchain: '1.87.0'
31+
toolchain: '1.90.0'
3232
default: true
3333
override: true
3434

.github/workflows/publish-rust.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
- name: Install Rust
8585
uses: actions-rs/toolchain@16499b5e05bf2e26879000db0c1d13f7e13fa3af # v1
8686
with:
87-
toolchain: '1.87.0'
87+
toolchain: '1.90.0'
8888
target: ${{ env.RUST_TARGET }}
8989
default: true
9090
override: true

configs/cargo/Cargo.lock

Lines changed: 2 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docker/router.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
FROM scratch AS pkg
33
FROM scratch AS config
44

5-
FROM rust:1.87 AS build
5+
FROM rust:1.90-slim-bookworm AS build
66

77
# Required by Apollo Router
88
RUN apt-get update

packages/libraries/router/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ tracing = "0.1"
3333
hyper = { version = "1", features = ["server", "client"] }
3434
async-trait = "0.1.77"
3535
futures = { version = "0.3.30", features = ["thread-pool"] }
36-
schemars = { version = "0.8", features = ["url"] }
36+
schemars = { version = "1.0.4", features = ["url2"] }
3737
serde = "1"
3838
serde_json = "1"
3939
tokio = { version = "1.36.0", features = ["full"] }

packages/libraries/router/src/agent.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ pub enum AgentError {
136136
}
137137

138138
impl UsageAgent {
139+
#[allow(clippy::too_many_arguments)]
139140
pub fn new(
140141
schema: String,
141142
token: String,

0 commit comments

Comments
 (0)