Skip to content

v0.0.4

Compare
Choose a tag to compare
@github-actions github-actions released this 24 Mar 20:02
7b7a821

Important: Two breaking changes below, indicated by ❗ BREAKING ❗

🚀 Features

  • Core schema building capabilities - EverlastingBugstopper, pull/340

    Adds a new command, rover core build to handle building
    core schema documents
    from multiple subgraph schemas. This also adds a new config format to support
    this command in YAML. Currently, this is only documented in pull/340.

  • Adds introspection ability for graphs - lrlna, issue/180 issue/171 pull/283

    A new command, rover graph introspect has been added, usable for introspecting
    graphs (not subgraphs). This command accepts endpoint headers for making the
    introspection request (if required) and outputs SDL to stdout.

❗ BREAKING ❗

  • Rename push to publish everywhere - JakeDawkins, issue/344 pull/347

    "Publish" is a more correct name for what these commands do. We wanted to be
    extra clear about its name matching its functionality, so any usage of push
    commands should now be publish.

  • Rename committer to author - EverlastingBugstopper, issue/338 pull/339

    Note: This is only breaking change if you were previously using the APOLLO_VCS_COMMITTER
    env variable. If so, migrate by changing that environment variable to APOLLO_VCS_AUTHOR.

    Changes the underlying git context implementation to report the author
    of a commit rather than a committer. This is primarily intended to properly
    link the real author with a commit in Apollo Studio.

🐛 Fixes

  • Output composition errors to stderr - EverlastingBugstopper, pull/335

    There was an incorrect usage of tracing::error, causing composition errors
    to not show up when expected. This change unifies this error printing with the
    rest of the project.

🛠 Maintenance

  • Auto-bump versions in install scripts - EverlastingBugstopper, pull/332

    Added auto version bumping in the build script, so there's no chance the Rover
    team will miss this important step in the release process.

  • Don't print by default for automatic update checks - EverlastingBugstopper, pull/342

    When Rover automatically checks for updates every 24 hours, it no longer will
    print if there is no update available. It will still print for manual checks
    and if Rover is out of date.

  • Add metadata to Cargo.toml - EverlastingBugstopper, pull/346

    In preparation for future releases to crates.io, we've
    added relevant metadata to the Cargo.toml file for the project.

  • Linux build is now built for a GNU target - lrlna, pull/359

    Linux Rover distribution used to be built with musl. We now transitioned
    to the Tier 1 GNU target to accommodate the fact that one of our
    dependencieds, rusty_v8, does not work well with musl-libc.

📚 Documentation

  • Adds APOLLO_HOME variable to docs - EverlastingBugstopper, pull/341

    APOLLO_HOME is the override variable for Rover's parent directory, where the
    binary lives. This was previously undocumented, but now it's not!

Installation Methods

Linux and MacOS curl | sh installer

curl -sSL https://raw.githubusercontent.com/apollographql/rover/v0.0.4/installers/binstall/scripts/nix/install.sh | sh

To download older versions of Rover, use the VERSION env variable when executing the installer (note: the v in the version number):

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

Windows PowerShell installer

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

SHA256 of release binaries for validation:

  • Linux: 8f833805bcbe10173ba1c74cb2650647f67d47cd0a42c19032f14bf531965964
  • Windows: 50228d4d62ed486e5e0071b16d3049ea808d7109c207a7e9a1e274e3e8d0734a
  • MacOS: 186bafe5341a58b40168cc416d5e19f86695e2541ee9c1afa6d1bdbb0159c9d5