Skip to content

v0.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 11 May 17:07
3929324

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/485

    This 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/519

    Pulls 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 to rover subgraph publish - EverlastingBusgtopper, issue/169 pull/484

    When 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
    every rover 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/457

    When encountering most errors in Rover, there will be an error code in the format
    E### printed along with the error description. Running rover 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/503

    There is a new migration guide from the old Apollo CLI to Rover, and this command will open that page for you.

🐛 Fixes

🛠 Maintenance

  • Removes unnecessary custom URL parser - EverlastingBugstopper, pull/493

    structopt will automatically use the FromStr implementation on the Url 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/516

    rover 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


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