From be192ea59ad04609d81b42877ef61f18cf0cb541 Mon Sep 17 00:00:00 2001 From: Theo Butler Date: Fri, 10 Nov 2023 05:35:45 -0500 Subject: [PATCH] release 15.0.0 --- Cargo.lock | 3 +-- RELEASE.md | 12 +++--------- graph-gateway/Cargo.toml | 3 +-- graph-gateway/src/topology.rs | 2 +- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee63ca64..e9588611 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1694,7 +1694,7 @@ dependencies = [ [[package]] name = "graph-gateway" -version = "14.0.1" +version = "15.0.0" dependencies = [ "alloy-primitives", "alloy-sol-types", @@ -1706,7 +1706,6 @@ dependencies = [ "eventuals", "faster-hex", "futures", - "futures-util", "graph-subscriptions", "graphql", "hex", diff --git a/RELEASE.md b/RELEASE.md index 0f090c32..1b10e7d8 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,20 +1,14 @@ # Release Process -1. Test the main branch using the [edgeandnode/local-network-environments](https://github.com/edgeandnode/local-network-environments) +1. Test the main branch using the [edgeandnode/local-network](https://github.com/edgeandnode/local-network) - Make sure that the gateway returns a correct response to a valid query - Run any other ad-hoc tests that are appropriate for the set of changes made since the last release 2. Open a PR for the new release on [edgeandnode/graph-gateway](https://github.com/edgeandnode/graph-gateway) - - Version the release based on [SemVer](https://semver.org/) - - Note that the data science team relies on the logging format, so any changes to existing log events, spans, or fields require a major version bump + - Version the release based on [SemVer](https://semver.org/). The following trigger a major version bump: + - Breaking changes to the configuration file - Set the new version in `Cargo.toml`, and run `cargo update` - Include release notes for changes since the last release. See past releases for format. - Rebase & Merge the PR - Create a new release via GitHub - Include the release notes from the PR - Tag the commit with the version string, prefixed with a `v` -3. Open a PR on [edgeandnode/graph-infra](https://github.com/edgeandnode/graph-infra) - - Update the staging (and testnet?) gateways to the new version - - Update environment variables and Prometheus filters as necessary -4. Query the staging gateway at `https://gateway.staging.network.thegraph.com` -5. Open a PR on [edgeandnode/graph-infra](https://github.com/edgeandnode/graph-infra) - - Update the mainnet gateway configs, making the same configuration changes as in step 3 diff --git a/graph-gateway/Cargo.toml b/graph-gateway/Cargo.toml index e6c10b09..27c3321c 100644 --- a/graph-gateway/Cargo.toml +++ b/graph-gateway/Cargo.toml @@ -1,7 +1,7 @@ [package] edition = "2021" name = "graph-gateway" -version = "14.0.1" +version = "15.0.0" [dependencies] alloy-primitives.workspace = true @@ -17,7 +17,6 @@ ethers = { version = "2.0.10", default-features = false, features = ["abigen"] } eventuals.workspace = true faster-hex = "0.8.0" futures = "0.3" -futures-util = "0.3" graph-subscriptions = { git = "https://github.com/edgeandnode/subscription-payments", rev = "334d18b" } graphql = { git = "https://github.com/edgeandnode/toolshed", tag = "graphql-v0.1.0" } hex = "0.4" diff --git a/graph-gateway/src/topology.rs b/graph-gateway/src/topology.rs index 6fecdad8..ce5ff2ed 100644 --- a/graph-gateway/src/topology.rs +++ b/graph-gateway/src/topology.rs @@ -4,7 +4,7 @@ use std::sync::Arc; use alloy_primitives::Address; use anyhow::anyhow; use eventuals::{Eventual, EventualExt, Ptr}; -use futures_util::future::join_all; +use futures::future::join_all; use itertools::Itertools; use prelude::GRT; use serde::Deserialize;