v0.1.0
Important: 2 breaking changes below, indicated by ❗ BREAKING ❗
❗ BREAKING ❗
-
Removes -V/--version flag from subcommands - EverlastingBugstopper, pull/487
Rover's subcommands will always be the same version as Rover, so we no longer accept
-V
or--version
on Rover's subcommands. -
Disallow all non-UTF-8 argument values - EverlastingBugstopper, pull/487
Rover will no longer accept any argument values that cannot be properly interpreted as UTF-8.
🚀 Features
-
rover supergraph fetch
- EverlastingBugstopper, issue/452 pull/485This new command allows you to fetch the latest successfully composed supergraph SDL. This can be used to bootstrap a local graph router, or to inspect the schema that is used in managed federation.
-
Adds link to the Apollo CLI -> Rover migration guide in
rover docs open
- EverlastingBugstopper, pull/492 -
rover supergraph compose
allows for registry and introspection SDL sources - lrlna, issue/449 pull/519Pulls subgraphs from various sources specified in the YAML config file. A valid config can now specify schema using Apollo Registry refs (
subgraph
,graphref
), local file references (file
) and subgraph introspection (subgraph_url
):subgraphs: films: routing_url: https://films.example.com schema: file: ./films.graphql people: routing_url: https://example.com/people schema: subgraph_url: https://example.com/people actors: routing_url: https://localhost:4005 schema: graphref: mygraph@current subgraph: actors
-
--routing-url
is now an optional argument torover subgraph publish
- EverlastingBusgtopper, issue/169 pull/484When publishing a subgraph, it is important to include a routing URL for that subgraph, so your graph router
knows where to route requests for types in a subgraph. Previously, you had to specify this argument on
everyrover subgraph publish
, but now it acts as an upsert, meaning you must include it on your first
rover subgraph publish
, but subsequent publishes will retain the existing routing URL for a subgraph
if--routing-url
is not specified. -
rover explain
command added - JakeDawkins, pull/457When encountering most errors in Rover, there will be an error code in the format
E###
printed along with the error description. Runningrover explain CODE
will now print a more detailed description of the error along with any
resolution steps and relevant docs links. -
Better error messages for HTTP errors - EverlastingBugstopper, [issue/489] [pull/518]
Previously, Rover obfuscated the information about HTTP errors that occurred. Now, if something goes wrong between your machine and any HTTP server, you'll get some more information about what exactly went wrong.
-
Add help text to
--log
argument - EverlastingBugstopper, pull/486 -
Updated descriptor formatting - lrlna, pull/533
We've added some bold and extra newline spacing to the human-readable descriptors for Rover's output.
-
Trim down log verbosity - EverlastingBugstopper, pull/532
-
Display "unspecified" in
rover subgraph list
output instead of "N/A" - abernix, issue/483 pull/505 -
Adds
rover docs open migration
- EverlastingBugstopper, pull/503There is a new migration guide from the old Apollo CLI to Rover, and this command will open that page for you.
🐛 Fixes
-
Ignore routing URL argument in telemetry - EverlastingBugstopper, pull/506
-
Print output to file without additional newline - JakeDawkins, issue/469 pull/475
🛠 Maintenance
-
Removes unnecessary custom URL parser - EverlastingBugstopper, pull/493
structopt
will automatically use theFromStr
implementation on theUrl
type, so
we have removed the custom parser we were previously using. -
Check for broken markdown links in CI - EverlastingBugstopper, issue/444 pull/460
Occasionally links get out of date (or they were mistyped in the first place) - we want to
make sure links in this repository remain functional, so we now check for broken markdown
links in our CI jobs that run on each push. -
Addresses clippy 1.52 warnings - EverlastingBugstopper, pull/515
-
Fix credential retrieval in
rover config whoami
- EverlastingBugstopper, issue/514 pull/516rover config whoami
no longer fails if$APOLLO_KEY
is set but there is no default authentication profile. -
Point users towards issue templates instead of blank new issue page - EverlastingBugstopper, pull/509
📚 Documentation
-
Remove public preview section from docs - StephenBarlow, pull/527
Rover is now generally available!
-
Document using Rover with BitBucket Pipelines - setchy, pull/491
-
Remove incorrect note about subgraph schemas - JakeDawkins, pull/481
-
Remove automated steps from release checklist - EverlastingBugstopper, pull/473
Quite a few of the steps in our release checklist have been automated as a part of our CI strategy, so those steps have been removed from the manual checklist.
-
GitHub Releases page now explain how to validate the autogenerated SHA-256 checksums. - EverlastingBugstopper, pull/445
-
Update demo introspection endpoint from https to http - abernix, pull/534
-
Document Rover's inability to run on Alpine images - lrlna, issue/524 pull/528
-
Change "Discuss on Spectrum" link to go to Spectrum's root - abernix, issue/492 pull/507
This release was automatically created by Github Actions.
If you would like to verify that the binary you have downloaded was built from the source code
in this repository, you can compare the output of the commands below to the output of the same
commands on your machine.
MacOS
Binaries built for MacOS are signed and notarized, and are automatically verified with Gatekeeper.
Manual Verification:
$ sha256sum -b $(which rover) | cut -d ' ' -f1
76451016cbd5f9c2d3e2c38e2d5427ed6776a629cdda6482020d336c730bd014
Linux
Manual Verification:
$ sha256sum -b $(which rover) | cut -d ' ' -f1
78a0b19a6f66fd5b1d5b7361354648cb526fc4e057ea23162d5ff278bf797701
Windows
Manual Verification:
PS> Get-Command rover
CommandType Name Version Source
----------- ---- ------- ------
Application rover.exe 0.0.0.0 C:\Users\username\.rover\bin\rover.exe
PS> Get-FileHash C:\Users\username\.rover\bin\rover.exe
Algorithm Hash Path
--------- ---- ----
SHA256 2c5471fb2f95b4f9cbb547effae8c7839e53e6921619beb5cc191dad153ad1bc C:\Users\username\.rover\bin\rover.exe