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.
[0.3.0] - 2021-09-24
❗ BREAKING ❗
rover supergraph compose
uses a newer composition function that is incompatible with older versions of@apollo/gateway
- EverlastingBugstopper, issue/801 pull/832The
rover supergraph compose
command produces a supergraph schema by using composition functions from the@apollo/federation
package. Because that library is still in pre-1.0 releases (as are Rover and Apollo Gateway), this update to Rover meansrover supergraph compose
will create a supergraph schema with new functionality. In turn, this requires that you update your@apollo/gateway
version to >= v0.39.x.🚀 Features
Adds options to bypass TLS validation - EverlastingBugstopper, issue/720 pull/837
In some configurations, often on internal networks, you might need Rover to communicate over encrypted channels (e.g., HTTPS) but avoid the more stringent digital certificate verifications that validate hostnames. You might even need to bypass the digital certificate validation entirely. This is generally not recommended and considered to be much less secure but for cases where it's necessary, but now there are two flags you can use to configure how Rover validates HTTPS requests:
The
--insecure-accept-invalid-hostnames
flag disables hostname validation. If hostname verification is not used, any valid certificate for any site is trusted for use from any other. This introduces a significant vulnerability to person-in-the-middle attacks.The
--insecure-accept-invalid-certs
flag disables certificate validation. If invalid certificates are trusted, any certificate for any site is trusted for use. This includes expired certificates. This introduces significant vulnerabilities, and should only be used as a last resort.Adds option to increase rover's request timeout - EverlastingBugstopper, issue/792 pull/838
By default, Rover times out requests to the Apollo Studio API and your graph endpoints after 30 seconds. Now, if you're executing a command that might take longer than 30 seconds to process, you can increase this timeout with the
--client-timeout
option like so:🛠 Maintenance
Simplify error formatting - EverlastingBugstopper, pull/845
Now, Rover always indents the suggestion by 8 spaces instead of determining its length based on the length of the error descriptor, and the underlying cause of request errors will only be printed once.
📚 Documentation
Clarify
--output json
support in migration guide, and provide an examplejq
script - EverlastingBugstopper, issue/839 pull/840The Apollo CLI migration guide now mentions Rover's support for
--output json
, and our--output json
docs now link to an example bash script for converting a check response to markdown.