Skip to content

Commit c5ace8a

Browse files
release: v0.11.0-rc.2 (#1482)
This release includes some changes to `rover dev`: 1) There is now a `--router-config <ROUTER_YAML_PATH>` argument that you can pass to specify a yaml configuration file to start the router with. This file is reloaded when it is changed. 2) `rover dev` will now intelligently select a version of the router and composition to use based on the versions in [`./latest_plugin_versions.json`](https://github.com/apollographql/rover/blob/main/latest_plugin_versions.json) 3) `-n` is now an alias for `--name` There are two new commands: `rover contract publish` and `rover contract describe`. Docs on these commands can be found [here](https://www.apollographql.com/docs/rover/commands/contracts). The `--output` argument has been renamed to `--format` and should be used for specifying JSON output, and `--output` should be used for writing Rover's command output to a file.
1 parent 85417bc commit c5ace8a

File tree

11 files changed

+74
-60
lines changed

11 files changed

+74
-60
lines changed

Cargo.lock

+34-34
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license-file = "./LICENSE"
1111
name = "rover"
1212
readme = "README.md"
1313
repository = "https://github.com/apollographql/rover/"
14-
version = "0.11.0-rc.1"
14+
version = "0.11.0-rc.2"
1515
default-run = "rover"
1616

1717
publish = false

crates/rover-client/.schema/last_run.uuid

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rover-client/package-lock.json

+19-19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/source/config.json

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"Migrating from the Apollo CLI": "/migration",
1414
"Commands": {
1515
"config": "/commands/config",
16+
"contract": "/commands/contracts",
1617
"dev": "/commands/dev",
1718
"explain": "/commands/explain",
1819
"graph": "/commands/graphs",

docs/source/errors.md

+12
Original file line numberDiff line numberDiff line change
@@ -295,3 +295,15 @@ This error occurs when a supergraph configuration file failed to resolve all of
295295
This error should include information about _why_ the schemas could not be resolved, and include the name of the subgraph that could not be resolved. See [the docs](https://www.apollographql.com/docs/rover/commands/supergraphs#yaml-configuration-file) for more information on the configuration format.
296296

297297

298+
### E039
299+
300+
This error occurs when using a `contract` command on a non-contract variant.
301+
302+
The variant you're trying to run this operation on isn't a contract variant. Double check the specified `graph@variant` combination is valid and a contract variant on the [Studio variant settings page](https://www.apollographql.com/docs/graphos/delivery/contracts/#editing-a-contract).
303+
304+
### E040
305+
306+
This error occurs when a contract configuration fails to publish.
307+
308+
This error should include information about _why_ the contract configuration could not be successfully published; usually it is due to invalid inputs. You should assume that none of the configuration changes have taken effect unless the error message(s) indicate otherwise.
309+

installers/binstall/scripts/nix/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ BINARY_DOWNLOAD_PREFIX="https://github.com/apollographql/rover/releases/download
2020
# Rover version defined in root cargo.toml
2121
# Note: this line is built automatically
2222
# in build.rs. Don't touch it!
23-
PACKAGE_VERSION="v0.11.0-rc.1"
23+
PACKAGE_VERSION="v0.11.0-rc.2"
2424

2525
download_binary_and_run_installer() {
2626
downloader --check

installers/binstall/scripts/windows/install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# version found in Rover's Cargo.toml
1515
# Note: this line is built automatically
1616
# in build.rs. Don't touch it!
17-
$package_version = 'v0.11.0-rc.1'
17+
$package_version = 'v0.11.0-rc.2'
1818

1919
function Install-Binary($rover_install_args) {
2020
$old_erroractionpreference = $ErrorActionPreference

installers/npm/package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

installers/npm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/rover",
3-
"version": "0.11.0-rc.1",
3+
"version": "0.11.0-rc.2",
44
"description": "The new Apollo CLI",
55
"main": "index.js",
66
"bin": {

xtask/src/commands/package/macos.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
use anyhow::{bail, ensure, Context, Result};
2+
use base64::Engine;
23
use clap::Parser;
34
use serde_json_traversal::serde_json_traversal;
45
use std::io::Write as _;

0 commit comments

Comments
 (0)