Skip to content

Commit 602bcec

Browse files
release: v0.2.0 (#757)
1 parent 1c13760 commit 602bcec

File tree

10 files changed

+147
-53
lines changed

10 files changed

+147
-53
lines changed

CHANGELOG.md

+94
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,100 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1212
## 🛠 Maintenance
1313
## 📚 Documentation -->
1414

15+
# [0.2.0] - 2021-08-23
16+
17+
## 🚀 Features
18+
19+
- **Stabilize and document structured output - [EverlastingBugstopper] & [StephenBarlow], [issue/741] & [pull/750]/[pull/752]**
20+
21+
Rover now has an `--output` parameter on every command that allows you to format Rover's output as well-structured JSON. Documentation for this feature can be found [here](https://www.apollographql.com/docs/rover/configuring/#--output-json).
22+
23+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
24+
[StephenBarlow]: https://github.com/StephenBarlow
25+
[pull/750]: https://github.com/apollographql/rover/pull/750
26+
[pull/752]: https://github.com/apollographql/rover/pull/752
27+
[issue/741]: https://github.com/apollographql/rover/issues/741
28+
29+
- **Add an error message when an input schema is empty - [EverlastingBugstopper], [issue/724] [pull/726]**
30+
31+
If the input to `--schema` was ever empty, you'd get some fairly strange and unexpected error messages. Now, if you supply an empty schema via the `--schema` argument, you'll get an error message informing you as such.
32+
33+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
34+
[pull/726]: https://github.com/apollographql/rover/pull/726
35+
[issue/724]: https://github.com/apollographql/rover/issues/724
36+
37+
- **Retry HTTP requests that respond with 500-599 errors - [EverlastingBugstopper], [issue/693] [pull/727]**
38+
39+
Now, by default, Rover will retry any requests that result in an internal server error for up to 10 seconds.
40+
41+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
42+
[pull/727]: https://github.com/apollographql/rover/pull/727
43+
[issue/693]: https://github.com/apollographql/rover/issues/693
44+
45+
## 🐛 Fixes
46+
47+
- **Fix description encodings for introspection results - [lrlna], [issue/728] [pull/742]**
48+
49+
Rover will now print descriptions for fields and inputs with correct spacing between triple quotes.
50+
51+
[Author]: https://github.com/Author
52+
[pull/742]: https://github.com/apollographql/rover/pull/742
53+
[issue/728]: https://github.com/apollographql/rover/issues/728
54+
55+
- **Don't panic on git remotes without an apparent owner - [EverlastingBugstopper], [issue/670] [pull/731]**
56+
57+
Most git remotes include an author and a repo name, but this isn't always the case. One of Rover's dependencies assumed this _was_ always the case, and would panic if it wasn't the case. This broke workflows for people who had these types of git remotes, but it won't anymore!
58+
59+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
60+
[pull/731]: https://github.com/apollographql/rover/pull/731
61+
[issue/670]: https://github.com/apollographql/rover/issues/670
62+
63+
- **Properly send validation period as part of checks configuration - [EverlastingBugstopper], [issue/737] [pull/738]**
64+
65+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
66+
[pull/738]: https://github.com/apollographql/rover/pull/738
67+
[issue/737]: https://github.com/apollographql/rover/issues/737
68+
69+
- **Use correct cargo target for xtask commands - [EverlastingBugstopper], [issue/582] [pull/730]**
70+
71+
Any `cargo xtask` command that relies on cargo targets will now determine a correct default if building on a machine with a CPU architecture other than `x86_64`
72+
73+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
74+
[pull/730]: https://github.com/apollographql/rover/pull/730
75+
[issue/582]: https://github.com/apollographql/rover/issues/582
76+
77+
## 🛠 Maintenance
78+
79+
- **Add `cargo update` to `cargo xtask prep` step - [EverlastingBugstopper], [issue/746] [pull/747]**
80+
81+
This change makes sure that our dependencies are automatically updated as part of our release process.
82+
83+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
84+
[pull/747]: https://github.com/apollographql/rover/pull/747
85+
[issue/746]: https://github.com/apollographql/rover/issues/746
86+
87+
- **Further DRY StudioClient - [EverlastingBugstopper], [pull/753]**
88+
89+
This PR removed some small inconsistencies between HTTP requests made to Apollo Studio vs. those made for user introspection requests.
90+
91+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
92+
[pull/753]: https://github.com/apollographql/rover/pull/753
93+
94+
- **Use our GitHub bug report template for auto-generated panic reports - [EverlastingBugstopper], [issue/530] [pull/732]**
95+
96+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
97+
[pull/732]: https://github.com/apollographql/rover/pull/732
98+
[issue/530]: https://github.com/apollographql/rover/issues/530
99+
100+
## 📚 Documentation
101+
102+
- **Deploy Rover's docs at the root to account for main root-level redirect - [trevorblades], [pull/744]**
103+
104+
This is purely a change to how Rover's docs are rolled out, no user facing changes here.
105+
106+
[trevorblades]: https://github.com/trevorblades
107+
[pull/744]: https://github.com/apollographql/rover/pull/744
108+
15109

16110
# [0.2.0-beta.1] - 2021-08-05
17111

Cargo.lock

+20-20
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.0-beta.1"
14+
version = "0.2.0"
1515
resolver = "2"
1616

1717
[[bin]]

README.md

+1-1
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.0-beta.1
40+
Rover 0.2.0
4141

4242
Rover - Your Graph Companion
4343
Read the getting started guide by running:

crates/rover-client/package-lock.json

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

docs/source/getting-started.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
2020
> Note: If you're installing Rover in a CI environment, it's best to target a specific version rather than using the latest URL, since future major breaking changes could affect CI workflows otherwise.
2121
2222
```bash
23-
curl -sSL https://rover.apollo.dev/nix/v0.1.9 | sh
23+
curl -sSL https://rover.apollo.dev/nix/v0.2.0 | sh
2424
```
2525

2626
You will need `curl` installed on your system to run the above installation commands. You can get the latest version from [the curl downloads page](https://curl.se/download.html).
@@ -38,7 +38,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
3838
> Note: If you're installing Rover in a CI environment, it's best to target a specific version rather than using the latest URL, since future major breaking changes could affect CI workflows otherwise.
3939
4040
```bash
41-
iwr 'https://rover.apollo.dev/win/v0.1.9' | iex
41+
iwr 'https://rover.apollo.dev/win/v0.2.0' | iex
4242
```
4343

4444
### `npm` installer

installers/binstall/scripts/nix/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ BINARY_DOWNLOAD_PREFIX="https://github.com/apollographql/rover/releases/download
1616
# Rover version defined in root cargo.toml
1717
# Note: this line is built automatically
1818
# in build.rs. Don't touch it!
19-
PACKAGE_VERSION="v0.2.0-beta.1"
19+
PACKAGE_VERSION="v0.2.0"
2020

2121
download_binary_and_run_installer() {
2222
downloader --check

installers/binstall/scripts/windows/install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# version found in Rover's Cargo.toml
1010
# Note: this line is built automatically
1111
# in build.rs. Don't touch it!
12-
$package_version = 'v0.2.0-beta.1'
12+
$package_version = 'v0.2.0'
1313

1414
function Install-Binary() {
1515
$old_erroractionpreference = $ErrorActionPreference

installers/npm/package-lock.json

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

installers/npm/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/rover",
3-
"version": "0.2.0-beta.1",
3+
"version": "0.2.0",
44
"description": "The new Apollo CLI",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)