Skip to content

Commit ab05294

Browse files
release: v0.0.2 (#305)
1 parent 38b25e0 commit ab05294

File tree

9 files changed

+261
-104
lines changed

9 files changed

+261
-104
lines changed

CHANGELOG.md

+154
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,160 @@ All notable changes to Rover will be documented in this file.
44

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

7+
# [0.0.2] - 2021-02-23
8+
9+
## 🚀 Features
10+
11+
- **Better logging experience - [EverlastingBugstopper], [pull/263]**
12+
13+
When passing `--log debug`, the logs are now pretty printed with their call location.
14+
15+
Additionally, progress messages are no longer printed with an `INFO` prefix on every line,
16+
messages are displayed to the user with no mess and no fuss.
17+
18+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
19+
[pull/263]: https://github.com/apollographql/rover/pull/263
20+
21+
- **Add useful info to debug logs - [EverlastingBugstopper], [pull/268]**
22+
23+
When running Rover with `--log debug`, you can now see which environment variables are being used
24+
and the raw JSON payload returned by the Apollo Studio API.
25+
26+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
27+
[pull/268]: https://github.com/apollographql/rover/pull/268
28+
29+
- **Provide a better error message for malformed API Keys - [EverlastingBugstopper], [issue/215] [pull/275]**
30+
31+
Before, if you passed a malformed API key, the error message was "406: Not Acceptable", since that's
32+
what the Apollo Studio API returned. Rover now provides you with a
33+
much more actionable error message.
34+
35+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
36+
[pull/275]: https://github.com/apollographql/rover/pull/275
37+
[issue/215]: https://github.com/apollographql/rover/issues/215
38+
39+
- **Add support for M1 Macbooks - [EverlastingBugstopper], [issue/295] [pull/297]/[pull/300]**
40+
41+
Big Sur allows the new M1 Macbooks to run code compiled for the `x86_64` architecture in emulation
42+
mode, even though the machines themselves have an `arm64` architecture. We have updated
43+
our `curl | sh` installer and our `npm` installer to reflect this, and anybody running Big Sur
44+
on the new M1 machines can now install and use Rover.
45+
46+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
47+
[pull/297]: https://github.com/apollographql/rover/pull/297
48+
[pull/300]: https://github.com/apollographql/rover/pull/300
49+
[issue/295]: https://github.com/apollographql/rover/issues/295
50+
51+
- **Add a `> ` prompt to the `rover config auth` command - [EverlastingBugstopper], [issue/279] [pull/281]**
52+
53+
It was a bit confusing to be presented with a blank line after running `rover config auth`.
54+
To make it more clear that this is a prompt for an API key, we now print `> ` at the beginning
55+
of the prompt.
56+
57+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
58+
[pull/281]: https://github.com/apollographql/rover/pull/281
59+
[issue/279]: https://github.com/apollographql/rover/issues/279
60+
61+
- **Add a friendlier message for the case of no config profiles - [JakeDawkins], [issue/202] [pull/303]**
62+
63+
The new user experience, where there are no config profiles found, was a little cryptic.
64+
To make it easier to understand what the problem is, we added a friendly error message
65+
asking the user to run `rover config auth`.
66+
67+
[JakeDawkins]: https://github.com/JakeDawkins
68+
[pull/303]: https://github.com/apollographql/rover/pull/303
69+
[issue/202]: https://github.com/apollographql/rover/issues/202
70+
71+
- ** Output Service title for graph keys in whoami command - [lrlna], [issue/280] [pull/299]**
72+
73+
`rover config whoami` was displaying `Name` information which was unclear
74+
in the context of this command. Instead of `Name`, we are now displaying
75+
`Service title` information for graph keys, and omitting `Name` and
76+
`Service Title` for user keys, as the already existing information provides
77+
enough information for `User`.
78+
79+
[lrlna]: https://github.com/lrlna
80+
[pull/299]: https://github.com/apollographql/rover/pull/299
81+
[issue/280]: https://github.com/apollographql/rover/issues/280
82+
83+
## 🐛 Fixes
84+
85+
- **Allow Rover to be used outside the context of a git repository - [JakeDawkins], [issue/271] [pull/282]**
86+
87+
[JakeDawkins]: https://github.com/JakeDawkins
88+
[pull/282]: https://github.com/apollographql/rover/pull/282
89+
[issue/271]: https://github.com/apollographql/rover/issues/271
90+
91+
- **Always use the shorthand ref when generating Git Context - [lrlna], [pull/255]**
92+
93+
Rover now computes the shorthand ref and specifies that as the "branch", even
94+
if the specific ref is not necessarily a branch (such as a tag).
95+
96+
[lrlna]: https://github.com/lrlna
97+
[pull/255]: https://github.com/apollographql/rover/pull/255
98+
99+
- **Do not send telemetry events for dev builds - [EverlastingBugstopper], [pull/258]**
100+
101+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
102+
[pull/258]: https://github.com/apollographql/rover/pull/258
103+
104+
- **Fix a typo in the README - [abernix], [pull/269]**
105+
106+
`s/Rover co[ma]{3}nds to interact/Rover commands to interact/`
107+
108+
[abernix]: https://github.com/abernix
109+
[pull/269]: https://github.com/apollographql/rover/pull/269
110+
111+
## 🛠 Maintenance
112+
113+
- **Address latest style suggestions (clippy) - [lrlna], [pull/267]**
114+
115+
A new version of [clippy](https://rust-lang.github.io/rust-clippy/rust-1.50.0/index.html)
116+
gave us some pointers for more idiomatic code style, and we addressed them!
117+
118+
[lrlna]: https://github.com/lrlna
119+
[pull/267]: https://github.com/apollographql/rover/pull/267
120+
121+
- **Unify terminal text color dependency - [EverlastingBugstopper], [pull/276]**
122+
123+
Now we only use `ansi_term` for providing colored text.
124+
125+
[EverlastingBugstopper]: https://github.com/EverlastingBugstopper
126+
[pull/276]: https://github.com/apollographql/rover/pull/276
127+
128+
- **Hide API key printing in debug logs - [JakeDawkins], [pull/302]**
129+
130+
We no longer print a user's api key in the `--log debug` logs when
131+
saving a key (from `rover config auth`)/
132+
133+
[JakeDawkins]: https://github.com/JakeDawkins
134+
[pull/302]: https://github.com/apollographql/rover/pull/302
135+
136+
## 📚 Documentation
137+
138+
- **Document Git Context - [JakeDawkins], [pull/262]**
139+
140+
We added documentation for how Rover provides Git Context to Apollo Studio.
141+
You can read all about it [here](https://apollo-cli-docs.netlify.app/docs/rover/configuring/#git-context).
142+
143+
[JakeDawkins]: https://github.com/JakeDawkins
144+
[pull/262]: https://github.com/apollographql/rover/pull/262
145+
146+
- **Fix npx usage documentation - [abernix], [pull/270]**
147+
148+
We updated the docs to show that it is necessary to pass
149+
`--package @apollo/rover` each time Rover is invoked through `npx`.
150+
151+
[abernix]: https://github.com/abernix
152+
[pull/270]: https://github.com/apollographql/rover/pull/270
153+
154+
- **Update layout of Rover's intro article - [StephenBarlow], [pull/259]**
155+
156+
The intro article in Rover's docs were reordered to put the info about the Public preview
157+
towards the bottom of the page, so more relevant information is no longer below the fold.
158+
159+
[StephenBarlow]: https://github.com/StephenBarlow
160+
[pull/259]: https://github.com/apollographql/rover/pull/259
7161
# [0.0.1] - 2021-02-09
8162

9163
**Initial beta release.** Please visit [our documentation page](https://apollographql.com/docs/rover/) for information on usage.

0 commit comments

Comments
 (0)