Skip to content

Commit f26feeb

Browse files
release: v0.11.0 (#1486)
# [0.11.0] - 2023-01-24 ## πŸš€ Features - **Manage contract configuration - @sachindshinde, #1475 fixes #1421** Rover now includes two commands for creating, modifying, and reading contracts: `rover contract publish` and `rover contract describe`. Further documentation can be found [here](https://www.apollographql.com/docs/rover/commands/contracts). - **Easier file output with new `--output` argument - @gocamille, #1413 fixes #1212** The `--output` argument has long been used to configure the format of Rover's output. i.e. `--output json` configures Rover to print its output as a JSON object. This argument has been _renamed_ to `--format` while maintaining backwards compatibility. `--format json` should be used to configure the format of Rover's output, and the `--output` argument allows you to specify a file to print the output to. Adding `--output schema.graphql` to a `rover subgraph fetch` command will output your schema to a file. `--output data.json --format json` will output the command data to `data.json`. `--output json` will still work by itself but will now print a warning, and `--output [json|plain]` does not work with `--format [json|plain]`. Further documentation can be found [here](https://www.apollographql.com/docs/rover/conventions#output-to-a-file). - **Adds `--router-config` to `rover dev` - @EverlastingBugstopper, #1446 fixes #1373, #1345, and #1468** The new `--router-config` argument for `rover dev` allows you to pass a [router configuration file]() on startup that can configure settings such as header propagaion and CORS policies. Further documentation can be found [here](https://www.apollographql.com/docs/rover/commands/dev/#advanced-configuration). - **Auto-update router versions in `rover dev` - @EverlastingBugstopper, #1432** `rover dev` will automatically use the version of the router specified in [this plugin file](https://github.com/apollographql/rover/blob/main/latest_plugin_versions.json) instead of a hard coded version. ## πŸ›  Maintenance - **Better error and help text for ELv2 license argument - @DoumanAsh, #1456 fixes #1455** The help text for the `--elv2-license` argument now includes the expected value for the argument, in addition to the error message returned when the argument is needed but not passed. - **Updates the Ariadne template URL - @patrick91, #1439** - **Updates `./examples/supergraph-demo` to `@apollo/server` v4, and removes `./examples/dev` - @EverlastingBugsttopper, #1442 fixes #1440 and #1441** - **Updates dependencies - @EverlastingBugstopper, #1481, #1450** `apollo-parser` 0.3 -> 0.4 `base64` 0.13 -> 0.21 `git2` 0.15 -> 0.16 `graphql_client` 0.11.0 -> 0.12 `serial_test` 0.9 -> 1.0 `os_info` 3.4 -> 3.5 `os_type` 2.4 -> 2.6 `termcolor` 1.1 -> 1.2 `tokio` 1.21 -> 1.24 ## πŸ“š Documentation - **Fixes a link to schema check example - @MayCXC, #1431**
1 parent 7f7fea7 commit f26feeb

File tree

14 files changed

+118
-93
lines changed

14 files changed

+118
-93
lines changed

β€ŽCHANGELOG.md

+46
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,52 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
1616
1717
## πŸ“š Documentation -->
1818

19+
# [0.11.0] - 2023-01-24
20+
21+
## πŸš€ Features
22+
23+
- **Manage contract configuration - @sachindshinde, #1475 fixes #1421**
24+
25+
Rover now includes two commands for creating, modifying, and reading contracts: `rover contract publish` and `rover contract describe`. Further documentation can be found [here](https://www.apollographql.com/docs/rover/commands/contracts).
26+
27+
- **Easier file output with new `--output` argument - @gocamille, #1413 fixes #1212**
28+
29+
The `--output` argument has long been used to configure the format of Rover's output. i.e. `--output json` configures Rover to print its output as a JSON object. This argument has been _renamed_ to `--format` while maintaining backwards compatibility. `--format json` should be used to configure the format of Rover's output, and the `--output` argument allows you to specify a file to print the output to. Adding `--output schema.graphql` to a `rover subgraph fetch` command will output your schema to a file. `--output data.json --format json` will output the command data to `data.json`. `--output json` will still work by itself but will now print a warning, and `--output [json|plain]` does not work with `--format [json|plain]`. Further documentation can be found [here](https://www.apollographql.com/docs/rover/conventions#output-to-a-file).
30+
31+
- **Adds `--router-config` to `rover dev` - @EverlastingBugstopper, #1446 fixes #1373, #1345, and #1468**
32+
33+
The new `--router-config` argument for `rover dev` allows you to pass a [router configuration file]() on startup that can configure settings such as header propagaion and CORS policies. Further documentation can be found [here](https://www.apollographql.com/docs/rover/commands/dev/#advanced-configuration).
34+
35+
- **Auto-update router versions in `rover dev` - @EverlastingBugstopper, #1432**
36+
37+
`rover dev` will automatically use the version of the router specified in [this plugin file](https://github.com/apollographql/rover/blob/main/latest_plugin_versions.json) instead of a hard coded version.
38+
39+
## πŸ›  Maintenance
40+
41+
- **Better error and help text for ELv2 license argument - @DoumanAsh, #1456 fixes #1455**
42+
43+
The help text for the `--elv2-license` argument now includes the expected value for the argument, in addition to the error message returned when the argument is needed but not passed.
44+
45+
- **Updates the Ariadne template URL - @patrick91, #1439**
46+
47+
- **Updates `./examples/supergraph-demo` to `@apollo/server` v4, and removes `./examples/dev` - @EverlastingBugsttopper, #1442 fixes #1440 and #1441**
48+
49+
- **Updates dependencies - @EverlastingBugstopper, #1481, #1450**
50+
51+
`apollo-parser` 0.3 -> 0.4
52+
`base64` 0.13 -> 0.21
53+
`git2` 0.15 -> 0.16
54+
`graphql_client` 0.11.0 -> 0.12
55+
`serial_test` 0.9 -> 1.0
56+
`os_info` 3.4 -> 3.5
57+
`os_type` 2.4 -> 2.6
58+
`termcolor` 1.1 -> 1.2
59+
`tokio` 1.21 -> 1.24
60+
61+
## πŸ“š Documentation
62+
63+
- **Fixes a link to schema check example - @MayCXC, #1431**
64+
1965
# [0.10.1] - 2022-11-28
2066

2167
## πŸš€ Features

β€ŽCargo.lock

+21-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€ŽCargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ license-file = "./LICENSE"
1111
name = "rover"
1212
readme = "README.md"
1313
repository = "https://github.com/apollographql/rover/"
14-
version = "0.11.0-rc.2"
14+
version = "0.11.0"
1515
default-run = "rover"
1616

1717
publish = false

β€ŽREADME.md

+11-33
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ Usage: rover [OPTIONS] <COMMAND>
4444
Commands:
4545
config
4646
Configuration profile commands
47+
contract
48+
Contract configuration commands
4749
dev
4850
Combine multiple subgraphs into a local supergraph
4951
supergraph
@@ -68,46 +70,22 @@ Commands:
6870
Options:
6971
-l, --log <LOG_LEVEL>
7072
Specify Rover's log level
71-
72-
--format <FORMAT_TYPE>
73-
Specify Rover's format type
74-
75-
[default: plain]
76-
[possible values: plain, json]
77-
78-
--output <OUTPUT_TYPE>
79-
Specify Rover's output type
80-
81-
[default: plain]
82-
[possible values: plain, json, filename]
83-
73+
--format <FORMAT_KIND>
74+
Specify Rover's format type [possible values: plain, json]
75+
-o, --output <OUTPUT_FILE>
76+
Specify a file to write Rover's output to
8477
--insecure-accept-invalid-certs
85-
Accept invalid certificates when performing HTTPS requests.
86-
87-
You should think very carefully before using this flag.
88-
89-
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.
90-
78+
Accept invalid certificates when performing HTTPS requests
9179
--insecure-accept-invalid-hostnames
92-
Accept invalid hostnames when performing HTTPS requests.
93-
94-
You should think very carefully before using this flag.
95-
96-
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.
97-
80+
Accept invalid hostnames when performing HTTPS requests
9881
--client-timeout <CLIENT_TIMEOUT>
99-
Configure the timeout length (in seconds) when performing HTTP(S) requests
100-
101-
[default: 30]
102-
82+
Configure the timeout length (in seconds) when performing HTTP(S) requests [default: 30]
10383
--skip-update-check
10484
Skip checking for newer versions of rover
105-
10685
-h, --help
107-
Print help information (use `-h` for a summary)
108-
86+
Print help (see more with '--help')
10987
-V, --version
110-
Print version information
88+
Print version
11189

11290
Read the getting started guide by running:
11391

β€Žcrates/rover-client/.schema/hash.id

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcrates/rover-client/.schema/last_run.uuid

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcrates/rover-client/.schema/schema.graphql

+6-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žcrates/rover-client/package-lock.json

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
Β (0)