Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
i did something wrong w/my last release pr and didn't notice until now. fixup #1078
[0.5.0] - 2022-04-11
❗ BREAKING ❗
rover-fed2
has been deprecated - @EverlastingBugstopper, feat: adds rover install --plugin supergraph-{0,2} #1058rover fed2 supergraph compose
has been deprecated. You should instead setfederation_version: 2
in yoursupergraph.yaml
to use Federation 2 with therover supergraph compose
command.🚀 Features
rover supergraph compose
optionally updates automatically - @EverlastingBugstopper, feat: adds rover install --plugin supergraph-{0,2} #1058 fixes Is it possible to support multiple subgraph schema files for one subgraph service? #2046When running
rover supergraph compose
, Rover will automatically download the correct version of composition to use. In yoursupergraph.yaml
files, you can specifyfederation_version: 1
orfederation_version: 2
to always get the latest updates. You can pass the--skip-update
flag to skip checking for an update. You can also specify an exact version if you'd like to pin your federation version, like so:federation_version: =2.0.0
.Additionally, you can run
rover install --plugin supergraph@latest-2
orrover install --plugin [email protected]
to install a plugin ahead of time, which may be helpful in CI. For Federation 2, you'll have to accept the ELv2 license one time per machine. You likely want to setAPOLLO_ELV2_LICENSE=accept
in CI if you are using Federation 2.Adds
--insecure-unmask-key
torover config whoami
- @EverlastingBugstopper, feat: adds --insecure-unmask-key to config whoami #1043 fixes Rover outputs entire API Key unmasked with the whoami command #1023Previously, running
rover config whoami
would output your entire API key to the terminal. This is not the documented behavior, and it is insecure because someone could be sharing their screen while trying to debug and accidentally leak their API key.Now,
rover config whoami
will mask your API key when it prints to the terminal. You can override this behavior by passing the--insecure-unmask-key
flag.Retry on timeouts and connection errors - @ptondereau, feat(client): Add timeout and connect error to backoff transient error #1014 fixes Enhance exponential backoff retries for HTTP requests to work for connectivity issues #790
Rover will now automatically retry HTTP requests that fail due to timeouts or initial connection errors.
Define an HTTP agent for non-studio requests - @ptondereau, chore(client): Define a HTTP user-agent for rover. #1075 fixes error[E004]: HTTP status client error (403 Forbidden) for url #961
Rover now sends a User-Agent header along with all requests, not just requests to Apollo Studio.
Adds support for HTTP(S) proxies in npm installer - @farawaysouthwest, Add HTTP Proxy support to NPM Binary Installer #1067 fixes Cannot install behind a corporate proxy #899
You can now install Rover from npm if you are behind a proxy.
🐛 Fixes
🛠 Maintenance
Simplify
rover subgraph fetch
query - @EverlastingBugstopper, chore: simplifyrover subgraph fetch
query #1056 fixes supergraph compose should call SubgraphFetchQuery only one time, not once for every subgraph #992rover subgraph fetch
now uses a much more efficient query that only requests a single subgraph at a time rather than all of them. Yay GraphQL!Upgrades
apollo-encoder
- @bnjjj, Upgrade version of apollo-encoder #1017 fixes Upgrade the version ofapollo-encoder
#1010📚 Documentation
Set up new docs infrastructure - @trevorblades, Add netlify config for deploy previews #1051, Start a docs production deploy when docs changes get merged #1052
@trevorblades has done an awesome job setting up new docs for Apollo, including Rover! Check out the shiny new repo.