diff --git a/CHANGELOG.md b/CHANGELOG.md index c605956a5..8328f2b09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,69 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm ## 🛠 Maintenance ## 📚 Documentation --> +# [0.0.10] - 2021-04-27 + +## 🚀 Features + +- **Prints information about opting out of anonymized usage data collection after installation - [EverlastingBugstopper], [pull/456]** + + [EverlastingBugstopper]: https://github.com/EverlastingBugstopper + [pull/456]: https://github.com/apollographql/rover/pull/456 + +- **Report SHA-256 hash of git remote URL - [EverlastingBugstopper], [issue/313] [pull/461]** + + Our anonymized usage data will now report the hash of a git remote URL if it exists to more accurately determine the number of unique projects Rover is used in. + + [EverlastingBugstopper]: https://github.com/EverlastingBugstopper + [pull/461]: https://github.com/apollographql/rover/pull/461 + [issue/313]: https://github.com/apollographql/rover/issues/313 + +- **Client returns an error on non-200 status codes - [EverlastingBugstopper], [pull/472]** + + Sometimes when performing HTTP requests, a non-200 status code is returned. This is now properly handled, and Rover's HTTP client will return a proper error message informing you of the bad response. + + [EverlastingBugstopper]: https://github.com/EverlastingBugstopper + [pull/472]: https://github.com/apollographql/rover/pull/472 + +## 🐛 Fixes + +- **Adds a newline to all output to stdout - [EverlastingBugstopper] & [JakeDawkins], [issue/458] [pull/462] & [pull/475]** + + Rover no longer has the bug where it wouldn't conclude its output with a newline. Now we don't make your shells upset! + + [EverlastingBugstopper]: https://github.com/EverlastingBugstopper + [JakeDawkins]: https://github.com/JakeDawkins + [pull/462]: https://github.com/apollographql/rover/pull/462 + [pull/475]: https://github.com/apollographql/rover/pull/475 + [issue/458]: https://github.com/apollographql/rover/issues/458 + +## 🛠 Maintenance + +- **Automatically add triage labels to issues created with templates - [JakeDawkins], [pull/448]** + + [JakeDawkins]: https://github.com/JakeDawkins + [pull/448]: https://github.com/apollographql/rover/pull/448 + +- **Refactor API key loading - [EverlastingBugstopper], [pull/463]** + + Made a slight performance refactor to how we load our API keys that reduces the number of filesystem reads. + + [EverlastingBugstopper]: https://github.com/EverlastingBugstopper + [pull/463]: https://github.com/apollographql/rover/pull/463 + +- **Update dependency crates - [EverlastingBugstopper], [pull/470]** + + [EverlastingBugstopper]: https://github.com/EverlastingBugstopper + [pull/470]: https://github.com/apollographql/rover/pull/470 + +## 📚 Documentation + +- **Updates language of migration guide - [StephenBarlow], [pull/446]** + + [StephenBarlow]: https://github.com/StephenBarlow + [pull/446]: https://github.com/apollographql/rover/pull/446 + + # [0.0.9] - 2021-04-13 > This release is a small release to fix the automated release process, and should be considered an extension of the previous (v0.0.8) release diff --git a/Cargo.lock b/Cargo.lock index 338f03158..4a412d38d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -113,11 +113,12 @@ checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] name = "backtrace" -version = "0.3.57" +version = "0.3.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78ed203b9ba68b242c62b3fb7480f589dd49829be1edb3fe8fc8b4ffda2dcb8d" +checksum = "88fb5a785d6b44fd9d6700935608639af1b8356de1e55d5f7c2740f4faa15d82" dependencies = [ "addr2line", + "cc", "cfg-if", "libc", "miniz_oxide", @@ -1747,7 +1748,7 @@ dependencies = [ [[package]] name = "rover" -version = "0.0.9" +version = "0.0.10" dependencies = [ "ansi_term 0.12.1", "anyhow", diff --git a/Cargo.toml b/Cargo.toml index bd58eeb12..c1db0e6fb 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.0.9" +version = "0.0.10" [[bin]] name = "rover" diff --git a/README.md b/README.md index f601bb4f4..c91b040db 100644 --- a/README.md +++ b/README.md @@ -37,8 +37,7 @@ rover graph publish --schema ./path-to-valid-schema test@cats ## Command-line options ```console -$ rover --help -Rover 0.0.8 +Rover 0.0.10 Rover - Your Graph Companion Read the getting started guide by running: @@ -117,7 +116,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe > 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. ```bash -curl -sSL https://rover.apollo.dev/nix/v0.0.9 | sh +curl -sSL https://rover.apollo.dev/nix/v0.0.10 | sh ``` #### Windows PowerShell installer @@ -131,7 +130,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe > 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. ```bash -iwr 'https://rover.apollo.dev/win/v0.0.9' | iex +iwr 'https://rover.apollo.dev/win/v0.0.10' | iex ``` #### npm installer diff --git a/docs/source/ci-cd.md b/docs/source/ci-cd.md index e24ff327e..745a61b6b 100644 --- a/docs/source/ci-cd.md +++ b/docs/source/ci-cd.md @@ -39,7 +39,7 @@ jobs: name: Install command: | # download and install Rover - curl -sSL https://rover.apollo.dev/nix/v0.0.9 | sh + curl -sSL https://rover.apollo.dev/nix/v0.0.10 | sh # This allows the PATH changes to persist to the next `run` step echo 'export PATH=$HOME/.rover/bin:$PATH' >> $BASH_ENV @@ -97,7 +97,7 @@ jobs: - name: Install Rover run: | - curl -sSL https://rover.apollo.dev/nix/v0.0.9 | sh + curl -sSL https://rover.apollo.dev/nix/v0.0.10 | sh # Add Rover to the $GITHUB_PATH so it can be used in another step # https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path diff --git a/docs/source/getting-started.md b/docs/source/getting-started.md index ad1992233..beb405a25 100644 --- a/docs/source/getting-started.md +++ b/docs/source/getting-started.md @@ -20,7 +20,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe > 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. ```bash -curl -sSL https://rover.apollo.dev/nix/v0.0.9 | sh +curl -sSL https://rover.apollo.dev/nix/v0.0.10 | sh ``` #### Windows PowerShell installer @@ -34,7 +34,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe > 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. ```bash -iwr 'https://rover.apollo.dev/win/v0.0.9' | iex +iwr 'https://rover.apollo.dev/win/v0.0.10' | iex ``` #### npm installer diff --git a/installers/binstall/scripts/nix/install.sh b/installers/binstall/scripts/nix/install.sh index d7bac19e5..64947f4f3 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.0.9" +PACKAGE_VERSION="v0.0.10" download_binary_and_run_installer() { downloader --check diff --git a/installers/binstall/scripts/windows/install.ps1 b/installers/binstall/scripts/windows/install.ps1 index 23ebb76ba..7749c2bac 100644 --- a/installers/binstall/scripts/windows/install.ps1 +++ b/installers/binstall/scripts/windows/install.ps1 @@ -1,7 +1,7 @@ # version found in Rover's Cargo.toml # Note: this line is built automatically # in build.rs. Don't touch it! -$package_version = 'v0.0.9' +$package_version = 'v0.0.10' function Install-Binary() { $old_erroractionpreference = $ErrorActionPreference diff --git a/installers/npm/package-lock.json b/installers/npm/package-lock.json index e4d3da9e2..515ab8573 100644 --- a/installers/npm/package-lock.json +++ b/installers/npm/package-lock.json @@ -1,12 +1,12 @@ { "name": "@apollo/rover", - "version": "0.0.9", + "version": "0.0.10", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@apollo/rover", - "version": "0.0.9", + "version": "0.0.10", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/installers/npm/package.json b/installers/npm/package.json index ae299ce11..4286ff128 100644 --- a/installers/npm/package.json +++ b/installers/npm/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/rover", - "version": "0.0.9", + "version": "0.0.10", "description": "The new Apollo CLI", "main": "index.js", "bin": {