Skip to content

Commit

Permalink
release: v0.1.6 (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper authored Jun 8, 2021
1 parent 3a94116 commit 2cbc307
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 14 deletions.
43 changes: 43 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,49 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## 🛠 Maintenance
## 📚 Documentation -->

# [0.1.6] 2021-06-08

## 🐛 Fixes

- **Fix panic on empty GraphQL Error array - [EverlastingBugstopper], [issue/590] [pull/592]**

In certain scenarios, Rover will encounter GraphQL errors, which are return as an array of strings. Previously, we were not checking if that array was empty before attempting to print the first error in the array, which caused Rover to [panic](https://doc.rust-lang.org/std/macro.panic.html). Rover has now been refactored a bit to have simpler GraphQL error handling and will no longer panic in this scenario.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/592]: https://github.com/apollographql/rover/pull/592
[issue/590]: https://github.com/apollographql/rover/issues/590

- **Don't mangle `stderr` when an update to Rover is available - [EverlastingBugstopper], [issue/584] [pull/586]**

Once a day, when a new version of Rover is available, it messages users letting them know that they can update. Unfortunately, this message was being printed to `stdout` instead of `stderr` due to a bug in an upstream dependency. This bug has now been fixed, and update messages are now properly routed to `stderr`.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/586]: https://github.com/apollographql/rover/pull/586
[issue/584]: https://github.com/apollographql/rover/issues/584

## 📚 Documentation

- **Update Error Code docs title - [StephenBarlow], [pull/597]**

"Index of Errors" -> "Rover CLI error codes"

[StephenBarlow]: https://github.com/StephenBarlow
[pull/597]: https://github.com/apollographql/rover/pull/597

- **Bump docs theme - [StephenBarlow], [pull/596]**

Updates Gatsby and Apollo's Gatsby theme to match the rest of Apollo's docs.

[StephenBarlow]: https://github.com/StephenBarlow
[pull/596]: https://github.com/apollographql/rover/pull/596

- **Correct instance of `subgraph push` - [DNature], [pull/585]**

Fixes an instance of `subgraph push` to be `subgraph publish`.

[DNature]: https://github.com/DNature
[pull/585]: https://github.com/apollographql/rover/pull/585

# [0.1.5] 2021-05-25

## 🐛 Fixes
Expand Down
2 changes: 1 addition & 1 deletion 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 @@ -12,7 +12,7 @@ license = "MIT"
name = "rover"
readme = "README.md"
repository = "https://github.com/apollographql/rover/"
version = "0.1.5"
version = "0.1.6"
resolver = "2"

[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion 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.1.5
Rover 0.1.6

Rover - Your Graph Companion
Read the getting started guide by running:
Expand Down
2 changes: 1 addition & 1 deletion installers/binstall/scripts/nix/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ BINARY_DOWNLOAD_PREFIX="https://github.com/apollographql/rover/releases/download
# Rover version defined in root cargo.toml
# Note: this line is built automatically
# in build.rs. Don't touch it!
PACKAGE_VERSION="v0.1.5"
PACKAGE_VERSION="v0.1.6"

download_binary_and_run_installer() {
downloader --check
Expand Down
2 changes: 1 addition & 1 deletion installers/binstall/scripts/windows/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# version found in Rover's Cargo.toml
# Note: this line is built automatically
# in build.rs. Don't touch it!
$package_version = 'v0.1.5'
$package_version = 'v0.1.6'

function Install-Binary() {
$old_erroractionpreference = $ErrorActionPreference
Expand Down
16 changes: 8 additions & 8 deletions installers/npm/package-lock.json

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

2 changes: 1 addition & 1 deletion installers/npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/rover",
"version": "0.1.5",
"version": "0.1.6",
"description": "The new Apollo CLI",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 2cbc307

Please sign in to comment.