Skip to content

Commit 4bdba02

Browse files
release: v0.3.0 (#847)
1 parent 6f2abd3 commit 4bdba02

File tree

10 files changed

+159
-90
lines changed

10 files changed

+159
-90
lines changed

CHANGELOG.md

+65
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,78 @@ All notable changes to Rover will be documented in this file.
55
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
<!-- # [x.x.x] (unreleased) - 2021-mm-dd
8+
89
> Important: X breaking changes below, indicated by **❗ BREAKING ❗**
10+
911
## ❗ BREAKING ❗
12+
1013
## 🚀 Features
14+
1115
## 🐛 Fixes
16+
1217
## 🛠 Maintenance
18+
1319
## 📚 Documentation -->
1420

21+
# [0.3.0] - 2021-09-24
22+
23+
> Important: 1 breaking change below, indicated by **❗ BREAKING ❗**
24+
25+
## ❗ BREAKING ❗
26+
27+
- **`rover supergraph compose` uses a newer composition function that is incompatible with older versions of `@apollo/gateway` - [EverlastingBugstopper], [issue/801] [pull/832]**
28+
29+
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.
30+
31+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
32+
[pull/832]: https://github.com/apollographql/rover/pull/832
33+
[issue/801]: https://github.com/apollographql/rover/issues/801
34+
35+
## 🚀 Features
36+
37+
- **Adds options to bypass TLS validation - [EverlastingBugstopper], [issue/720] [pull/837]**
38+
39+
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:
40+
41+
- 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.
42+
43+
- 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.
44+
45+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
46+
[pull/837]: https://github.com/apollographql/rover/pull/837
47+
[issue/720]: https://github.com/apollographql/rover/issues/720
48+
49+
- **Adds option to increase rover's request timeout - [EverlastingBugstopper], [issue/792] [pull/838]**
50+
51+
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:
52+
53+
```sh
54+
rover subgraph check my-graph --validation-period 1m --client-timeout=60
55+
```
56+
57+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
58+
[pull/838]: https://github.com/apollographql/rover/pull/838
59+
[issue/792]: https://github.com/apollographql/rover/issues/792
60+
61+
## 🛠 Maintenance
62+
63+
- **Simplify error formatting - [EverlastingBugstopper], [pull/845]**
64+
65+
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.
66+
67+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
68+
[pull/845]: https://github.com/apollographql/rover/pull/845
69+
70+
## 📚 Documentation
71+
72+
- **Clarify `--output json` support in migration guide, and provide an example `jq` script - [EverlastingBugstopper], [issue/839] [pull/840]**
73+
74+
The 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.
75+
76+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
77+
[pull/840]: https://github.com/apollographql/rover/pull/840
78+
[issue/839]: https://github.com/apollographql/rover/issues/839
79+
1580
# [0.2.1] - 2021-09-20
1681

1782
## 🐛 Fixes

Cargo.lock

+13-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license = "MIT"
1111
name = "rover"
1212
readme = "README.md"
1313
repository = "https://github.com/apollographql/rover/"
14-
version = "0.2.1"
14+
version = "0.3.0"
1515
resolver = "2"
1616

1717
[[bin]]

README.md

+12-8
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ rover graph publish --schema ./path-to-valid-schema test@cats
3737
## Command-line options
3838

3939
```console
40-
Rover 0.2.1
40+
Rover 0.3.0
4141

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

6565
USAGE:
66-
rover [OPTIONS] <SUBCOMMAND>
66+
rover [FLAGS] [OPTIONS] <SUBCOMMAND>
6767

6868
FLAGS:
69-
-h, --help Prints help information
70-
-V, --version Prints version information
69+
--insecure-accept-invalid-certs Accept invalid certificates when performing HTTPS requests
70+
--insecure-accept-invalid-hostnames Accept invalid hostnames when performing HTTPS requests
71+
-h, --help Prints help information
72+
-V, --version Prints version information
7173

7274
OPTIONS:
73-
-l, --log <log-level> Specify Rover's log level [possible values: error, warn, info,
74-
debug, trace]
75-
--output <output-type> Specify Rover's output type [default: plain] [possible values: json,
76-
plain]
75+
--client-timeout <client-timeout> Configure the timeout length (in seconds) when performing HTTP(S) requests
76+
[default: 30]
77+
-l, --log <log-level> Specify Rover's log level [possible values: error, warn,
78+
info, debug, trace]
79+
--output <output-type> Specify Rover's output type [default: plain] [possible values:
80+
json, plain]
7781

7882
SUBCOMMANDS:
7983
config Configuration profile commands

0 commit comments

Comments
 (0)