Skip to content

Commit

Permalink
release: v0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper committed Sep 24, 2021
1 parent 6f2abd3 commit 1a466ea
Show file tree
Hide file tree
Showing 10 changed files with 149 additions and 90 deletions.
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,68 @@ All notable changes to Rover will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- # [x.x.x] (unreleased) - 2021-mm-dd
> Important: X breaking changes below, indicated by **❗ BREAKING ❗**
## ❗ BREAKING ❗
## 🚀 Features
## 🐛 Fixes
## 🛠 Maintenance
## 📚 Documentation -->

# [0.3.0] - 2021-09-24

> Important: 1 breaking change below, indicated by **❗ BREAKING ❗**
## ❗ BREAKING ❗

- **`rover supergraph compose` uses a newer composition function that is incompatible with older versions of `@apollo/gateway` - [EverlastingBugstopper], [issue/801] [pull/832]**

The `rover supergraph compose` command produces a supergraph schema by using composition functions from the [`@apollo/federation`](https://www.apollographql.com/docs/federation/api/apollo-federation/) package. Because that library is still in pre-1.0 releases (as are Rover and Apollo Gateway), this update to Rover means `rover 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.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/832]: https://github.com/apollographql/rover/pull/832
[issue/801]: https://github.com/apollographql/rover/issues/801

## 🚀 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.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/837]: https://github.com/apollographql/rover/pull/837
[issue/720]: https://github.com/apollographql/rover/issues/720

- **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:

```sh
rover subgraph check my-graph --validation-period 1m --client-timeout=60
```

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/838]: https://github.com/apollographql/rover/pull/838
[issue/792]: https://github.com/apollographql/rover/issues/792

## 🛠 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.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/845]: https://github.com/apollographql/rover/pull/845

# [0.2.1] - 2021-09-20

## 🐛 Fixes
Expand Down
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ license = "MIT"
name = "rover"
readme = "README.md"
repository = "https://github.com/apollographql/rover/"
version = "0.2.1"
version = "0.3.0"
resolver = "2"

[[bin]]
Expand Down
20 changes: 12 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rover graph publish --schema ./path-to-valid-schema test@cats
## Command-line options

```console
Rover 0.2.1
Rover 0.3.0

Rover - Your Graph Companion
Read the getting started guide by running:
Expand All @@ -63,17 +63,21 @@ You can open the full documentation for Rover by running:
$ rover docs open

USAGE:
rover [OPTIONS] <SUBCOMMAND>
rover [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
-h, --help Prints help information
-V, --version Prints version information
--insecure-accept-invalid-certs Accept invalid certificates when performing HTTPS requests
--insecure-accept-invalid-hostnames Accept invalid hostnames when performing HTTPS requests
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-l, --log <log-level> Specify Rover's log level [possible values: error, warn, info,
debug, trace]
--output <output-type> Specify Rover's output type [default: plain] [possible values: json,
plain]
--client-timeout <client-timeout> Configure the timeout length (in seconds) when performing HTTP(S) requests
[default: 30]
-l, --log <log-level> Specify Rover's log level [possible values: error, warn,
info, debug, trace]
--output <output-type> Specify Rover's output type [default: plain] [possible values:
json, plain]

SUBCOMMANDS:
config Configuration profile commands
Expand Down
Loading

0 comments on commit 1a466ea

Please sign in to comment.