Skip to content

v0.0.1-rc.5

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 01 Feb 18:30
665b28e

Disclaimer: Rover is still in an experimental stage and should not be used in production. This release is intended for use by internal teams at Apollo.

Installation

You can install Rover by running

Linux and MacOS

curl -sSL https://raw.githubusercontent.com/apollographql/rover/v0.0.1-rc.5/installers/binstall/scripts/nix/install.sh | VERSION=v0.0.1-rc.5 sh

Windows

iwr 'https://raw.githubusercontent.com/apollographql/rover/v0.0.1-rc.5/installers/binstall/scripts/windows/install.ps1' | iex

Alternatively, you can download the binary for your operating system and manually adding its location to your PATH.


0.0.1-rc.5

This release primarily introduces rover subgraph list, allows for git context for push and check subcommands, and improves errors returned by Rover.

Git context

Rover now infers information about currently used git branch, remote URL, and current user for push and check subcommands. If there is a need to override current git context, you may do so with the following environment variables:

  • APOLLO_VCS_BRANCH
  • APOLLO_VCS_COMMIT
  • APOLLO_VCS_COMMITTER
  • APOLLO_VCS_REMOTE_URL

rover subgraph list

This adds the ability to view all available subgraphs for a federated graph given a GRAPH_REF:

rover subgraph check Cats-m30w
Subgraphs:
+----------+----------------------------------------+----------------------------+
| Name     | Routing Url                            | Last Updated               |
+----------+----------------------------------------+----------------------------+
| reviews  | https://acephei-reviews.herokuapp.com  | 2020-10-21 12:23:28 -04:00 |
+----------+----------------------------------------+----------------------------+
| books    | https://acephei-books.herokuapp.com    | 2020-09-20 13:58:27 -04:00 |
+----------+----------------------------------------+----------------------------+
| accounts | https://acephei-accounts.herokuapp.com | 2020-09-20 12:23:36 -04:00 |
+----------+----------------------------------------+----------------------------+
| products | https://acephei-products.herokuapp.com | 2020-09-20 12:23:28 -04:00 |
+----------+----------------------------------------+----------------------------+
View full details at https://studio.apollographql.com/graph/acephei/service-list

Simplification to rover config flow

All previous profile config commands were collapsed into rover config:

rover-config 0.0.1-rc.5
Configuration profile commands

USAGE:
    rover config [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help
            Prints help information

    -V, --version
            Prints version information


OPTIONS:
    -l, --log <log-level>
             [default: debug]  [possible values: error, warn, info, debug,
            trace]

SUBCOMMANDS:
    auth      Authenticate a configuration profile with an API token
    clear     Clear ALL configuration profiles
    delete    Delete a configuration profile
    help      Prints this message or the help of the given subcommand(s)
    list      List all configuration profiles
    show      View a configuration profile's details

Added

  • Add git context to check and push subcommands #205
  • Add subgraph list command #185
  • Add 'Suggestions' to errors thrown by Rover #186, #204
  • Add documentation for troubleshooting, graph and subgraph commands

Changed

  • Reworked all profile commands and collapsed them into rover config #203
  • --service-name flag is renamed to --name #201
  • Changed service name in subgraph check from a positional arg to a --name flag #201
  • APOLLO_REGISTRY_URI was changed to APOLLO_REGISTRY_URL for consistency #206

Fixed

  • Improvements to Rover error handling #209
  • Improvements to 'Introduction' messaging in graph and subgraph commands #207

Internal

  • Improvements to error context #211
  • A change to installation script to make sure removing ~/.rover does not break future installs #198

SHA256 of release binaries for validation:

  • Linux: 06b11565e93a594787aa6bc1da41bb963cf3d63c3cc2234ca023a7b05a13dd3a
  • Windows: a5c197326de98115dfcb3d1d6053a3859b70accf57455914d57ecafaa78667bc
  • MacOS: 9f1cf4df463a0320c1f8cd4ee68ef1b21064d393ceb3ab728004c1b05f84c03d