@apollo/rover 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +13 -34
  2. package/binary.js +1 -1
  3. package/package.json +6 -6
package/README.md CHANGED
@@ -37,7 +37,7 @@ rover graph publish --schema ./path-to-valid-schema test@cats
37
37
  ## Command-line options
38
38
 
39
39
  ```console
40
- Rover 0.4.1
40
+ Rover 0.4.2
41
41
 
42
42
  Rover - Your Graph Companion
43
43
  Read the getting started guide by running:
@@ -66,37 +66,18 @@ USAGE:
66
66
  rover [FLAGS] [OPTIONS] <SUBCOMMAND>
67
67
 
68
68
  FLAGS:
69
- --insecure-accept-invalid-certs
70
- Accept invalid certificates when performing HTTPS requests.
71
-
72
- You should think very carefully before using this flag.
73
-
74
- If invalid certificates are trusted, any certificate for any site will be trusted for use. This includes
75
- expired certificates. This introduces significant vulnerabilities, and should only be used as a last resort.
76
- --insecure-accept-invalid-hostnames
77
- Accept invalid hostnames when performing HTTPS requests.
78
-
79
- You should think very carefully before using this flag.
80
-
81
- If hostname verification is not used, any valid certificate for any site will be trusted for use from any
82
- other. This introduces a significant vulnerability to man-in-the-middle attacks.
83
- -h, --help
84
- Prints help information
85
-
86
- -V, --version
87
- Prints version information
88
-
69
+ --insecure-accept-invalid-certs Accept invalid certificates when performing HTTPS requests
70
+ --insecure-accept-invalid-hostnames Accept invalid hostnames when performing HTTPS requests
71
+ -h, --help Prints help information
72
+ -V, --version Prints version information
89
73
 
90
74
  OPTIONS:
91
- --client-timeout <client-timeout>
92
- Configure the timeout length (in seconds) when performing HTTP(S) requests [default: 30]
93
-
94
- -l, --log <log-level>
95
- Specify Rover's log level [possible values: error, warn, info, debug,
96
- trace]
97
- --output <output-type>
98
- Specify Rover's output type [default: plain] [possible values: json, plain]
99
-
75
+ --client-timeout <client-timeout> Configure the timeout length (in seconds) when performing HTTP(S) requests
76
+ [default: 30]
77
+ -l, --log <log-level> Specify Rover's log level [possible values: error, warn,
78
+ info, debug, trace]
79
+ --output <output-type> Specify Rover's output type [default: plain] [possible values:
80
+ json, plain]
100
81
 
101
82
  SUBCOMMANDS:
102
83
  config Configuration profile commands
@@ -116,7 +97,6 @@ This repo is organized as a [`cargo` workspace], containing several related proj
116
97
  - [`houston`]: utilities for configuring Rover
117
98
  - [`robot-panic`]: a fork of [`rust-cli/human-panic`] adjusted for Rover
118
99
  - [`rover-client`]: an HTTP client for making GraphQL requests for Rover
119
- - [`sdl-encoder`]: a crate to encode SDL
120
100
  - [`sputnik`]: a crate to aid in collection of anonymous data for Rust CLIs
121
101
  - [`timber`]: Rover's logging formatter
122
102
 
@@ -125,7 +105,6 @@ This repo is organized as a [`cargo` workspace], containing several related proj
125
105
  [`robot-panic`]: https://github.com/apollographql/rover/tree/main/crates/robot-panic
126
106
  [`rust-cli/human-panic`]: https://github.com/rust-cli/human-panic
127
107
  [`rover-client`]: https://github.com/apollographql/rover/tree/main/crates/rover-client
128
- [`sdl-encoder`]: https://github.com/apollographql/rover/tree/main/crates/sdl-encoder
129
108
  [`sputnik`]: https://github.com/apollographql/rover/tree/main/crates/sputnik
130
109
  [`timber`]: https://github.com/apollographql/rover/tree/main/crates/timber
131
110
 
@@ -144,7 +123,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
144
123
  > 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.
145
124
 
146
125
  ```bash
147
- curl -sSL https://rover.apollo.dev/nix/v0.4.1 | sh
126
+ curl -sSL https://rover.apollo.dev/nix/v0.4.2 | sh
148
127
  ```
149
128
 
150
129
  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).
@@ -162,7 +141,7 @@ To install a specific version of Rover (note the `v` prefixing the version numbe
162
141
  > 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.
163
142
 
164
143
  ```bash
165
- iwr 'https://rover.apollo.dev/win/v0.4.1' | iex
144
+ iwr 'https://rover.apollo.dev/win/v0.4.2' | iex
166
145
  ```
167
146
 
168
147
  #### npm installer
package/binary.js CHANGED
@@ -60,7 +60,7 @@ const getPlatform = () => {
60
60
  let libc_major_version = split_libc_version[0];
61
61
  let libc_minor_version = split_libc_version[1];
62
62
  let min_major_version = 2;
63
- let min_minor_version = 18;
63
+ let min_minor_version = 17;
64
64
  if (libc_major_version < min_major_version || libc_minor_version < min_minor_version) {
65
65
  console.warn(`This operating system needs glibc >= ${min_major_version}.${min_minor_version}, but only has ${libc_version} installed.`);
66
66
  console.warn(musl_warning);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apollo/rover",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "The new Apollo CLI",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -28,20 +28,20 @@
28
28
  "url": "https://github.com/apollographql/rover/issues"
29
29
  },
30
30
  "engines": {
31
- "node": ">=14 <17",
31
+ "node": ">=14 <=17",
32
32
  "npm": ">=6"
33
33
  },
34
34
  "volta": {
35
- "node": "16.13.0",
36
- "npm": "8.1.3"
35
+ "node": "17.5.0",
36
+ "npm": "8.5.0"
37
37
  },
38
38
  "homepage": "https://github.com/apollographql/rover#readme",
39
39
  "dependencies": {
40
40
  "binary-install": "^0.1.1",
41
41
  "console.table": "^0.10.0",
42
- "detect-libc": "^1.0.3"
42
+ "detect-libc": "^2.0.0"
43
43
  },
44
44
  "devDependencies": {
45
- "prettier": "2.4.1"
45
+ "prettier": "2.5.1"
46
46
  }
47
47
  }