Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v0.4.2 #1003

Merged
merged 1 commit into from
Feb 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 61 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to Rover will be documented in this file.

This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- # [x.x.x] (unreleased) - 2021-mm-dd
<!-- # [x.x.x] (unreleased) - 2022-mm-dd

> Important: X breaking changes below, indicated by **❗ BREAKING ❗**

Expand All @@ -18,6 +18,66 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## 📚 Documentation -->

# [0.4.2] - 2022-02-11

## 🚀 Features

- **Adds launch URL feedback to `rover subgraph publish` - @Y-Guo, #989**

If a `rover subgraph publish` invocation kicks off a [launch](https://www.apollographql.com/docs/studio/launches/), it will now output the URL associated with the launch so you can go right to it in Studio.

- **Improve messaging for `rover subgraph check` - @david-castaneda, #980**

In the case where the API schema does not change after a `subgraph check` but the core schema was modified, you are now notified as such rather than being displayed a confusing "there were no changes detected" message.

## 🐛 Fixes

- **Omit Float scalars from introspection result - @lrlna, #988 fixes #985**

Since `Float` is a built-in GraphQL scalar type, it is no longer included in Rover's introspection results.

- **Fix configuration error messages when there are no profiles - @EverlastingBugstopper, #995 fixes #783**

Rover had a hard time detecting when there were no configured profiles, so it never actually emitted error `E020`. Now it does, and we also get some performance improvements by only parsing environment variables on startup rather than on every time they are needed.

- **No longer panic when printing large output - @EverlastingBugstopper, #955 fixes #842**

Migrate away from the `println` and `eprintln` macros that can cause panics from time to time and instead use calm_io to gracefully handle output.

- **Lowers the maximum required `glibc` version from 2.18 to 2.17 - @EverlastingBugstopper, #990 fixes #992**

We build Rover in Docker with the `centos:7` base image, which has `glibc` `v2.17` installed. This means we can lower our installer requirements to 2.17, allowing folks on older machines like centos to install Rover. Thanks to @theJC for the report and help with testing!

- **Removes unused `--profile` argument from `rover subgraph introspect` - @EverlastingBugstopper, #950 fixes #948**

## 🛠 Maintenance

- **Use `apollo-encoder` in `rover-client` - @lrlna, #939**

`sdl-encoder` has been replaced with the official `apollo-encoder` from the [`apollo-rs`](https://github.com/apollographql/apollo-rs) ecosystem.

- **Add PR template - @EverlastingBugstopper, #488**

Now folks who are kind enough to contribute pull requests to Rover's repository will have a helpful template to fill out.

- **Fix mechanism for building old versions of Rover - @EverlastingBugstopper, #973 fixes #967**

If a build is executed via `cargo xtask dist --version vx.x.x`, it will now _actually_ download the schema it needs from the GitHub release artifacts page in order to build for the exact types that were built at that tagged version.

- **Allow Rover to be installed alongside Node.js v17 - @EverlastingBugstopper, #999 fixes #993**

- **Run plugin tests and lints in xtask - @EverlastingBugstopper, #977 fixes #909**

- **Adds new unused input type to check mutations - @EverlastingBugstopper, #969 fixes #967**

Update the inputs to our check mutations to always send `null` for the `excludedOperationNames` field.

## 📚 Documentation

- **Add docs for `rover supergraph fetch` - @StephenBarlow, #971 fixes #952**

- **Miscellaneous documentation polish - @StephenBarlow, #965, #963**

# [0.4.1] - 2021-11-18

## 🚀 Features
Expand Down
4 changes: 2 additions & 2 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-file = "./LICENSE"
name = "rover"
readme = "README.md"
repository = "https://github.com/apollographql/rover/"
version = "0.4.1"
version = "0.4.2"
default-run = "rover"

publish = false
Expand Down
45 changes: 13 additions & 32 deletions 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.4.1
Rover 0.4.2

Rover - Your Graph Companion
Read the getting started guide by running:
Expand Down Expand Up @@ -66,37 +66,18 @@ USAGE:
rover [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
--insecure-accept-invalid-certs
Accept invalid certificates when performing HTTPS requests.

You should think very carefully before using this flag.

If invalid certificates are trusted, any certificate for any site will be trusted for use. This includes
expired certificates. This introduces significant vulnerabilities, and should only be used as a last resort.
--insecure-accept-invalid-hostnames
Accept invalid hostnames when performing HTTPS requests.

You should think very carefully before using this flag.

If hostname verification is not used, any valid certificate for any site will be trusted for use from any
other. This introduces a significant vulnerability to man-in-the-middle attacks.
-h, --help
Prints help information

-V, --version
Prints version information

--insecure-accept-invalid-certs Accept invalid certificates when performing HTTPS requests
--insecure-accept-invalid-hostnames Accept invalid hostnames when performing HTTPS requests
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
--client-timeout <client-timeout>
Configure the timeout length (in seconds) when performing HTTP(S) requests [default: 30]

-l, --log <log-level>
Specify Rover's log level [possible values: error, warn, info, debug,
trace]
--output <output-type>
Specify Rover's output type [default: plain] [possible values: json, plain]

--client-timeout <client-timeout> Configure the timeout length (in seconds) when performing HTTP(S) requests
[default: 30]
-l, --log <log-level> Specify Rover's log level [possible values: error, warn,
info, debug, trace]
--output <output-type> Specify Rover's output type [default: plain] [possible values:
json, plain]

SUBCOMMANDS:
config Configuration profile commands
Expand Down Expand Up @@ -142,7 +123,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.4.1 | sh
curl -sSL https://rover.apollo.dev/nix/v0.4.2 | 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 @@ -160,7 +141,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.4.1' | iex
iwr 'https://rover.apollo.dev/win/v0.4.2' | iex
```

#### npm installer
Expand Down
Loading