From 2cbc30784497b020f2c2faafc885c6858cc71fd4 Mon Sep 17 00:00:00 2001 From: Avery Harnish Date: Tue, 8 Jun 2021 13:27:10 -0500 Subject: [PATCH] release: v0.1.6 (#607) --- CHANGELOG.md | 43 +++++++++++++++++++ Cargo.lock | 2 +- Cargo.toml | 2 +- README.md | 2 +- installers/binstall/scripts/nix/install.sh | 2 +- .../binstall/scripts/windows/install.ps1 | 2 +- installers/npm/package-lock.json | 16 +++---- installers/npm/package.json | 2 +- 8 files changed, 57 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dcd9f19d4..06b1af834 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/Cargo.lock b/Cargo.lock index 08e390b8a..6768153b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1852,7 +1852,7 @@ dependencies = [ [[package]] name = "rover" -version = "0.1.5" +version = "0.1.6" dependencies = [ "ansi_term 0.12.1", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index 8ac8a95c5..2a8c12f9d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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]] diff --git a/README.md b/README.md index cedc16d1f..45db100e7 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/installers/binstall/scripts/nix/install.sh b/installers/binstall/scripts/nix/install.sh index 16ade5408..01d1080a8 100755 --- a/installers/binstall/scripts/nix/install.sh +++ b/installers/binstall/scripts/nix/install.sh @@ -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 diff --git a/installers/binstall/scripts/windows/install.ps1 b/installers/binstall/scripts/windows/install.ps1 index 023805eb3..9c36c6b33 100644 --- a/installers/binstall/scripts/windows/install.ps1 +++ b/installers/binstall/scripts/windows/install.ps1 @@ -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 diff --git a/installers/npm/package-lock.json b/installers/npm/package-lock.json index fa4fe0d7f..42610b184 100644 --- a/installers/npm/package-lock.json +++ b/installers/npm/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/rover", - "version": "0.1.5", + "version": "0.1.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@apollo/rover", - "version": "0.1.5", + "version": "0.1.6", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -247,9 +247,9 @@ } }, "node_modules/prettier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", - "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz", + "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==", "dev": true, "bin": { "prettier": "bin-prettier.js" @@ -476,9 +476,9 @@ "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, "prettier": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.0.tgz", - "integrity": "sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.3.1.tgz", + "integrity": "sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA==", "dev": true }, "rimraf": { diff --git a/installers/npm/package.json b/installers/npm/package.json index b262bf9ad..43f7fc288 100644 --- a/installers/npm/package.json +++ b/installers/npm/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/rover", - "version": "0.1.5", + "version": "0.1.6", "description": "The new Apollo CLI", "main": "index.js", "bin": {