diff --git a/CHANGELOG.md b/CHANGELOG.md index cb340eb23..3a413b476 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,22 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## 📚 Documentation --> +# [0.27.2] - 2025-02-19 + +## 🐛 Fixes + +- **Restore the ability to use environment or file references in the `supergraph.yaml` file - @jonathanrainer PR #2411** + + In v0.26.3 and older you could use references such as `${env.HOST}` or similar in the `supergraph.yaml` file, there + was an oversight in the refactor and this was removed. This ability has now been restored. + +## 🛠 Maintenance + +- **Restructure and add logging to failing E2E test - @jonathanrainer PR #2406** +- **Upgrade Rust to v1.84.0 - @jonathanrainer PR #2407** +- **Upgrade `apollographql/federation-rs` to v2.10.0 - @jonathanrainer PR #2409** +- **Upgrade `thiserror` to v2.0.1 - @jonathanrainer PR #2261** + # [0.27.1] - 2025-02-17 > **If using Rover with Connectors,** you will need to specify `APOLLO_ROVER_DEV_ROUTER_VERSION=2.0.0-preview.X` when using `rover dev` diff --git a/Cargo.lock b/Cargo.lock index 7c1cb58f5..3a4b88dba 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -184,9 +184,9 @@ dependencies = [ [[package]] name = "apollo-federation" -version = "2.0.0-rc.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7197883b68f81e2ba587f9b430f5f3a05b2d91adfe470ea16526de32e27fe77" +checksum = "95e9c2cbf9174d265265f34aa4305613da20537d91d5d51a84e08778f505d409" dependencies = [ "apollo-compiler", "derive_more", @@ -1077,9 +1077,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.5.29" +version = "4.5.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8acebd8ad879283633b343856142139f2da2317c96b05b4dd6181c61e2480184" +checksum = "92b7b18d71fad5313a1e320fa9897994228ce274b60faa4d694fe0ea89cd9e6d" dependencies = [ "clap_builder", "clap_derive", @@ -1087,9 +1087,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.5.29" +version = "4.5.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6ba32cbda51c7e1dfd49acc1457ba1a7dec5b64fe360e828acb13ca8dc9c2f9" +checksum = "a35db2071778a7344791a4fb4f95308b5673d219dee3ae348b86642574ecc90c" dependencies = [ "anstream", "anstyle", @@ -2386,9 +2386,9 @@ dependencies = [ [[package]] name = "h2" -version = "0.4.7" +version = "0.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ccae279728d634d083c00f6099cb58f01cc99c145b84b8be2f6c74618d79922e" +checksum = "5017294ff4bb30944501348f6f8e42e6ad28f42c8bbef7a74029aff064a4e3c2" dependencies = [ "atomic-waker", "bytes", @@ -2687,7 +2687,7 @@ dependencies = [ "bytes", "futures-channel", "futures-util", - "h2 0.4.7", + "h2 0.4.8", "http 1.2.0", "http-body 1.0.1", "httparse", @@ -4824,7 +4824,7 @@ dependencies = [ [[package]] name = "rover" -version = "0.27.1" +version = "0.27.2" dependencies = [ "anyhow", "apollo-federation-types", @@ -5374,9 +5374,9 @@ dependencies = [ [[package]] name = "serde_json_bytes" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ecd92a088fb2500b2f146c9ddc5da9950bb7264d3f00932cd2a6fb369c26c46" +checksum = "a6a27c10711f94d1042b4c96d483556ec84371864e25d0e1cf3dc1024b0880b1" dependencies = [ "ahash 0.8.11", "bytes", @@ -5986,9 +5986,9 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.17.0" +version = "3.17.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a40f762a77d2afa88c2d919489e390a12bdd261ed568e60cfa7e48d4e20f0d33" +checksum = "22e5a0acb1f3f55f65cc4a866c361b2fb2a0ff6366785ae6fbb5f85df07ba230" dependencies = [ "cfg-if", "fastrand", @@ -6662,9 +6662,9 @@ dependencies = [ [[package]] name = "typenum" -version = "1.17.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +checksum = "1dccffe3ce07af9386bfd29e80c0ab1a8205a2fc34e4bcd40364df902cfa8f3f" [[package]] name = "ucd-trie" @@ -6686,9 +6686,9 @@ checksum = "5c1cb5db39152898a79168971543b1cb5020dff7fe43c8dc468b0885f5e29df5" [[package]] name = "unicode-ident" -version = "1.0.16" +version = "1.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" +checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe" [[package]] name = "unicode-normalization" @@ -6767,9 +6767,9 @@ checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" [[package]] name = "uuid" -version = "1.13.1" +version = "1.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ced87ca4be083373936a67f8de945faa23b6b42384bd5b64434850802c6dccd0" +checksum = "8c1f41ffb7cf259f1ecc2876861a17e7142e63ead296f671f81f6ae85903e0d6" dependencies = [ "getrandom 0.3.1", "js-sys", diff --git a/Cargo.toml b/Cargo.toml index 06a58967a..4bdd7d6d1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ license-file = "./LICENSE" name = "rover" readme = "README.md" repository = "https://github.com/apollographql/rover/" -version = "0.27.1" +version = "0.27.2" default-run = "rover" publish = false diff --git a/crates/rover-client/package-lock.json b/crates/rover-client/package-lock.json index 7bc9ddc76..90d4d23ca 100644 --- a/crates/rover-client/package-lock.json +++ b/crates/rover-client/package-lock.json @@ -289,13 +289,13 @@ } }, "node_modules/@envelop/core": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@envelop/core/-/core-5.0.3.tgz", - "integrity": "sha512-SE3JxL7odst8igN6x77QWyPpXKXz/Hs5o5Y27r+9Br6WHIhkW90lYYVITWIJQ/qYgn5PkpbaVgeFY9rgqQaZ/A==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@envelop/core/-/core-5.1.0.tgz", + "integrity": "sha512-tH5bntVdGaV9ZKFI0a2U4bn6HgtkBscCPdvLqZRlXR2XRWKe+AAUjkYo4vQ4iZTAzBaKJlRe/hVWuad/vcftPw==", "dev": true, "license": "MIT", "dependencies": { - "@envelop/types": "5.0.0", + "@envelop/types": "^5.1.0", "tslib": "^2.5.0" }, "engines": { @@ -303,9 +303,9 @@ } }, "node_modules/@envelop/types": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@envelop/types/-/types-5.0.0.tgz", - "integrity": "sha512-IPjmgSc4KpQRlO4qbEDnBEixvtb06WDmjKfi/7fkZaryh5HuOmTtixe1EupQI5XfXO8joc3d27uUZ0QdC++euA==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/@envelop/types/-/types-5.1.0.tgz", + "integrity": "sha512-E6axHyHK8RALJ7+GRVQ3wQ44rP9enVaRc5JiYHIkyfKWKPeHGmTz6Pe/kbtHC5fjuD2QwYCVcCfCoUlw3Xf4xw==", "dev": true, "license": "MIT", "dependencies": { @@ -461,32 +461,19 @@ } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.5.tgz", - "integrity": "sha512-lB05FkqEdUg2AA0xEbUz0SnkXT1LcCTa438W4IWTUh4hdOnVbQyOJ81OrDXsJk/LSiJHubgGEFoR5EHq1NsH1A==", + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.6.tgz", + "integrity": "sha512-+0TjwR1eAUdZtvv/ir1mGX+v0tUoR3VEPB8Up0LLJC+whRW0GgBBtpbOkg/a/U4Dxa6l5a3l9AJ1aWIQVyoWJA==", "dev": true, "license": "Apache-2.0", "dependencies": { - "@eslint/core": "^0.10.0", + "@eslint/core": "^0.11.0", "levn": "^0.4.1" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, - "node_modules/@eslint/plugin-kit/node_modules/@eslint/core": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.10.0.tgz", - "integrity": "sha512-gFHJ+xBOo4G3WRlR1e/3G8A6/KZAH6zcE/hkLRCZTi/B9avAG365QhFA8uOGzTMqgTghpn7/fSnscW++dpMSAw==", - "dev": true, - "license": "Apache-2.0", - "dependencies": { - "@types/json-schema": "^7.0.15" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, "node_modules/@graphql-eslint/eslint-plugin": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/@graphql-eslint/eslint-plugin/-/eslint-plugin-4.3.0.tgz", @@ -583,9 +570,9 @@ } }, "node_modules/@graphql-tools/executor": { - "version": "1.3.14", - "resolved": "https://registry.npmjs.org/@graphql-tools/executor/-/executor-1.3.14.tgz", - "integrity": "sha512-tDk8bYIgbVmGNh7cYewi5/yNCq6UoVl9ugDU4rF//+E1R5TxkXNe9nu6AonE+j6XkA/z+FofVawOqCCiJhJ40g==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@graphql-tools/executor/-/executor-1.4.0.tgz", + "integrity": "sha512-sQN54cCDV9s0ur993/VtQF0hslOubSTMJlN0WaouiJCEgMqE5aXN27kmZvF0oXj0GxbWMC+bPNWEZH1TJVsLxw==", "dev": true, "license": "MIT", "dependencies": { @@ -1495,9 +1482,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.101", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.101.tgz", - "integrity": "sha512-L0ISiQrP/56Acgu4/i/kfPwWSgrzYZUnQrC0+QPFuhqlLP1Ir7qzPPDVS9BcKIyWTRU8+o6CC8dKw38tSWhYIA==", + "version": "1.5.102", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.102.tgz", + "integrity": "sha512-eHhqaja8tE/FNpIiBrvBjFV/SSKpyWHLvxuR9dPTdo+3V9ppdLmFB7ZZQ98qNovcngPLYIz0oOBF9P0FfZef5Q==", "dev": true, "license": "ISC" }, @@ -1844,9 +1831,9 @@ } }, "node_modules/flatted": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", - "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.3.tgz", + "integrity": "sha512-GX+ysw4PBCz0PzosHDepZGANEuFCMLrnRTiEy9McGjmkCQYwRq4A/X786G/fjM/+OjsWSU1ZrY5qyARZmO/uwg==", "dev": true, "license": "ISC" }, diff --git a/docs/source/ci-cd.mdx b/docs/source/ci-cd.mdx index 9a506bbeb..b2e2ea72f 100644 --- a/docs/source/ci-cd.mdx +++ b/docs/source/ci-cd.mdx @@ -51,7 +51,7 @@ jobs: name: Install command: | # download and install Rover - curl -sSL https://rover.apollo.dev/nix/v0.27.1 | sh + curl -sSL https://rover.apollo.dev/nix/v0.27.2 | sh # This allows the PATH changes to persist to the next `run` step echo 'export PATH=$HOME/.rover/bin:$PATH' >> $BASH_ENV @@ -125,7 +125,7 @@ jobs: - name: Install Rover run: | - curl -sSL https://rover.apollo.dev/nix/v0.27.1 | sh + curl -sSL https://rover.apollo.dev/nix/v0.27.2 | sh # Add Rover to the $GITHUB_PATH so it can be used in another step # https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path @@ -219,7 +219,7 @@ To avoid this issue, do one of the following: - Download the latest release via cURL and extract the binary like so (this downloads Rover `0.27.0` for Linux x86 architectures): ``` - curl -L https://github.com/apollographql/rover/releases/download/v0.27.1/rover-v0.27.1-x86_64-unknown-linux-gnu.tar.gz | tar --strip-components=1 -zxv + curl -L https://github.com/apollographql/rover/releases/download/v0.27.2/rover-v0.27.2-x86_64-unknown-linux-gnu.tar.gz | tar --strip-components=1 -zxv ``` #### Permission issues diff --git a/docs/source/getting-started.mdx b/docs/source/getting-started.mdx index 80a57196c..aaa109f88 100644 --- a/docs/source/getting-started.mdx +++ b/docs/source/getting-started.mdx @@ -20,7 +20,7 @@ To install a **specific version** of Rover (recommended for CI environments to e ```bash # Note the `v` prefixing the version number -curl -sSL https://rover.apollo.dev/nix/v0.27.1 | sh +curl -sSL https://rover.apollo.dev/nix/v0.27.2 | sh ``` If your machine doesn't have the `curl` command, you can get the latest version from the [`curl` downloads page](https://curl.se/download.html). @@ -43,7 +43,7 @@ To install a **specific version** of Rover (recommended for CI environments to e ```bash # Note the `v` prefixing the version number -iwr 'https://rover.apollo.dev/win/v0.27.1' | iex +iwr 'https://rover.apollo.dev/win/v0.27.2' | iex ``` #### Installing from a binary mirror using the bash and PowerShell scripts diff --git a/installers/binstall/scripts/nix/install.sh b/installers/binstall/scripts/nix/install.sh index d1234ccbd..50fea03b5 100755 --- a/installers/binstall/scripts/nix/install.sh +++ b/installers/binstall/scripts/nix/install.sh @@ -20,7 +20,7 @@ BINARY_DOWNLOAD_PREFIX="${APOLLO_ROVER_BINARY_DOWNLOAD_PREFIX:="https://github.c # Rover version defined in root cargo.toml # Note: this line is built automatically # in build.rs. Don't touch it! -PACKAGE_VERSION="v0.27.1" +PACKAGE_VERSION="v0.27.2" download_binary_and_run_installer() { downloader --check diff --git a/installers/binstall/scripts/windows/install.ps1 b/installers/binstall/scripts/windows/install.ps1 index b6e93d24e..8c69c48b2 100644 --- a/installers/binstall/scripts/windows/install.ps1 +++ b/installers/binstall/scripts/windows/install.ps1 @@ -14,7 +14,7 @@ # version found in Rover's Cargo.toml # Note: this line is built automatically # in build.rs. Don't touch it! -$package_version = 'v0.27.1' +$package_version = 'v0.27.2' function Install-Binary($rover_install_args) { $old_erroractionpreference = $ErrorActionPreference diff --git a/installers/npm/package-lock.json b/installers/npm/package-lock.json index 2ec5486b5..0b37d9c28 100644 --- a/installers/npm/package-lock.json +++ b/installers/npm/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/rover", - "version": "0.27.1", + "version": "0.27.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@apollo/rover", - "version": "0.27.1", + "version": "0.27.2", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -1835,9 +1835,9 @@ } }, "node_modules/electron-to-chromium": { - "version": "1.5.101", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.101.tgz", - "integrity": "sha512-L0ISiQrP/56Acgu4/i/kfPwWSgrzYZUnQrC0+QPFuhqlLP1Ir7qzPPDVS9BcKIyWTRU8+o6CC8dKw38tSWhYIA==", + "version": "1.5.102", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.102.tgz", + "integrity": "sha512-eHhqaja8tE/FNpIiBrvBjFV/SSKpyWHLvxuR9dPTdo+3V9ppdLmFB7ZZQ98qNovcngPLYIz0oOBF9P0FfZef5Q==", "dev": true, "license": "ISC" }, diff --git a/installers/npm/package.json b/installers/npm/package.json index aece0dfcd..da12fe3bc 100644 --- a/installers/npm/package.json +++ b/installers/npm/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/rover", - "version": "0.27.1", + "version": "0.27.2", "description": "The new Apollo CLI", "main": "index.js", "bin": {