Skip to content

Commit

Permalink
release: v0.2.0 (#757)
Browse files Browse the repository at this point in the history
  • Loading branch information
EverlastingBugstopper authored Aug 23, 2021
1 parent 1c13760 commit 602bcec
Show file tree
Hide file tree
Showing 10 changed files with 147 additions and 53 deletions.
94 changes: 94 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,100 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## 🛠 Maintenance
## 📚 Documentation -->

# [0.2.0] - 2021-08-23

## 🚀 Features

- **Stabilize and document structured output - [EverlastingBugstopper] & [StephenBarlow], [issue/741] & [pull/750]/[pull/752]**

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).

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[StephenBarlow]: https://github.com/StephenBarlow
[pull/750]: https://github.com/apollographql/rover/pull/750
[pull/752]: https://github.com/apollographql/rover/pull/752
[issue/741]: https://github.com/apollographql/rover/issues/741

- **Add an error message when an input schema is empty - [EverlastingBugstopper], [issue/724] [pull/726]**

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.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/726]: https://github.com/apollographql/rover/pull/726
[issue/724]: https://github.com/apollographql/rover/issues/724

- **Retry HTTP requests that respond with 500-599 errors - [EverlastingBugstopper], [issue/693] [pull/727]**

Now, by default, Rover will retry any requests that result in an internal server error for up to 10 seconds.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/727]: https://github.com/apollographql/rover/pull/727
[issue/693]: https://github.com/apollographql/rover/issues/693

## 🐛 Fixes

- **Fix description encodings for introspection results - [lrlna], [issue/728] [pull/742]**

Rover will now print descriptions for fields and inputs with correct spacing between triple quotes.

[Author]: https://github.com/Author
[pull/742]: https://github.com/apollographql/rover/pull/742
[issue/728]: https://github.com/apollographql/rover/issues/728

- **Don't panic on git remotes without an apparent owner - [EverlastingBugstopper], [issue/670] [pull/731]**

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!

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/731]: https://github.com/apollographql/rover/pull/731
[issue/670]: https://github.com/apollographql/rover/issues/670

- **Properly send validation period as part of checks configuration - [EverlastingBugstopper], [issue/737] [pull/738]**

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/738]: https://github.com/apollographql/rover/pull/738
[issue/737]: https://github.com/apollographql/rover/issues/737

- **Use correct cargo target for xtask commands - [EverlastingBugstopper], [issue/582] [pull/730]**

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`

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/730]: https://github.com/apollographql/rover/pull/730
[issue/582]: https://github.com/apollographql/rover/issues/582

## 🛠 Maintenance

- **Add `cargo update` to `cargo xtask prep` step - [EverlastingBugstopper], [issue/746] [pull/747]**

This change makes sure that our dependencies are automatically updated as part of our release process.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/747]: https://github.com/apollographql/rover/pull/747
[issue/746]: https://github.com/apollographql/rover/issues/746

- **Further DRY StudioClient - [EverlastingBugstopper], [pull/753]**

This PR removed some small inconsistencies between HTTP requests made to Apollo Studio vs. those made for user introspection requests.

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/753]: https://github.com/apollographql/rover/pull/753

- **Use our GitHub bug report template for auto-generated panic reports - [EverlastingBugstopper], [issue/530] [pull/732]**

[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
[pull/732]: https://github.com/apollographql/rover/pull/732
[issue/530]: https://github.com/apollographql/rover/issues/530

## 📚 Documentation

- **Deploy Rover's docs at the root to account for main root-level redirect - [trevorblades], [pull/744]**

This is purely a change to how Rover's docs are rolled out, no user facing changes here.

[trevorblades]: https://github.com/trevorblades
[pull/744]: https://github.com/apollographql/rover/pull/744


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

Expand Down
40 changes: 20 additions & 20 deletions 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 @@ -11,7 +11,7 @@ license = "MIT"
name = "rover"
readme = "README.md"
repository = "https://github.com/apollographql/rover/"
version = "0.2.0-beta.1"
version = "0.2.0"
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.2.0-beta.1
Rover 0.2.0

Rover - Your Graph Companion
Read the getting started guide by running:
Expand Down
48 changes: 24 additions & 24 deletions crates/rover-client/package-lock.json

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

4 changes: 2 additions & 2 deletions docs/source/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.1.9 | sh
curl -sSL https://rover.apollo.dev/nix/v0.2.0 | sh
```

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).
Expand All @@ -38,7 +38,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.1.9' | iex
iwr 'https://rover.apollo.dev/win/v0.2.0' | iex
```

### `npm` installer
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.2.0-beta.1"
PACKAGE_VERSION="v0.2.0"

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.2.0-beta.1'
$package_version = 'v0.2.0'

function Install-Binary() {
$old_erroractionpreference = $ErrorActionPreference
Expand Down
4 changes: 2 additions & 2 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.2.0-beta.1",
"version": "0.2.0",
"description": "The new Apollo CLI",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 602bcec

Please sign in to comment.