From 18da273fd569df153c4ee9172087fe588b9d0f11 Mon Sep 17 00:00:00 2001 From: hwillson Date: Wed, 27 Oct 2021 10:50:29 -0400 Subject: [PATCH] Release - apollo-codegen-core@0.40.5 - apollo-codegen-flow@0.38.5 - apollo-codegen-scala@0.39.5 - apollo-codegen-swift@0.40.5 - apollo-codegen-typescript@0.40.5 - apollo-env@0.10.1 - apollo-graphql@0.9.4 - apollo-language-server@1.26.5 - @apollographql/apollo-tools@0.5.2 - apollo@2.33.7 --- packages/apollo-codegen-core/package.json | 2 +- packages/apollo-codegen-flow/package.json | 2 +- packages/apollo-codegen-scala/package.json | 2 +- packages/apollo-codegen-swift/package.json | 2 +- .../apollo-codegen-typescript/package.json | 2 +- packages/apollo-env/package.json | 2 +- packages/apollo-graphql/package.json | 2 +- packages/apollo-language-server/package.json | 2 +- packages/apollo-tools/package.json | 2 +- packages/apollo/README.md | 296 +++++++----------- packages/apollo/package.json | 2 +- 11 files changed, 121 insertions(+), 195 deletions(-) diff --git a/packages/apollo-codegen-core/package.json b/packages/apollo-codegen-core/package.json index ece072ece4..a8608039a3 100644 --- a/packages/apollo-codegen-core/package.json +++ b/packages/apollo-codegen-core/package.json @@ -1,7 +1,7 @@ { "name": "apollo-codegen-core", "description": "Core generator APIs for Apollo Codegen", - "version": "0.40.4", + "version": "0.40.5", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-flow/package.json b/packages/apollo-codegen-flow/package.json index 0e79428fb0..57d98c34c1 100644 --- a/packages/apollo-codegen-flow/package.json +++ b/packages/apollo-codegen-flow/package.json @@ -1,7 +1,7 @@ { "name": "apollo-codegen-flow", "description": "Flow generator module for Apollo Codegen", - "version": "0.38.4", + "version": "0.38.5", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-scala/package.json b/packages/apollo-codegen-scala/package.json index ea3602ff93..4f06591ac8 100644 --- a/packages/apollo-codegen-scala/package.json +++ b/packages/apollo-codegen-scala/package.json @@ -1,7 +1,7 @@ { "name": "apollo-codegen-scala", "description": "Scala generator module for Apollo Codegen", - "version": "0.39.4", + "version": "0.39.5", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-swift/package.json b/packages/apollo-codegen-swift/package.json index cc6a2e7b95..5cfb68bee3 100644 --- a/packages/apollo-codegen-swift/package.json +++ b/packages/apollo-codegen-swift/package.json @@ -1,7 +1,7 @@ { "name": "apollo-codegen-swift", "description": "Swift generator module for Apollo Codegen", - "version": "0.40.4", + "version": "0.40.5", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-typescript/package.json b/packages/apollo-codegen-typescript/package.json index 5eb78a2313..db047f5cca 100644 --- a/packages/apollo-codegen-typescript/package.json +++ b/packages/apollo-codegen-typescript/package.json @@ -1,7 +1,7 @@ { "name": "apollo-codegen-typescript", "description": "TypeScript generator module for Apollo Codegen", - "version": "0.40.4", + "version": "0.40.5", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-env/package.json b/packages/apollo-env/package.json index a8cc44c09c..8d768ea77c 100644 --- a/packages/apollo-env/package.json +++ b/packages/apollo-env/package.json @@ -1,6 +1,6 @@ { "name": "apollo-env", - "version": "0.10.0", + "version": "0.10.1", "author": "packages@apollographql.com", "license": "MIT", "repository": { diff --git a/packages/apollo-graphql/package.json b/packages/apollo-graphql/package.json index ab2935bee2..64d9d7dfe2 100644 --- a/packages/apollo-graphql/package.json +++ b/packages/apollo-graphql/package.json @@ -1,6 +1,6 @@ { "name": "apollo-graphql", - "version": "0.9.3", + "version": "0.9.4", "description": "Apollo GraphQL utility library", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/packages/apollo-language-server/package.json b/packages/apollo-language-server/package.json index 6613716401..1ee16040c8 100644 --- a/packages/apollo-language-server/package.json +++ b/packages/apollo-language-server/package.json @@ -1,7 +1,7 @@ { "name": "apollo-language-server", "description": "A language server for Apollo GraphQL projects", - "version": "1.26.4", + "version": "1.26.5", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-tools/package.json b/packages/apollo-tools/package.json index 82031d1f80..32637dbc6c 100644 --- a/packages/apollo-tools/package.json +++ b/packages/apollo-tools/package.json @@ -1,6 +1,6 @@ { "name": "@apollographql/apollo-tools", - "version": "0.5.1", + "version": "0.5.2", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo/README.md b/packages/apollo/README.md index 79be920b8a..8ec4b7411a 100644 --- a/packages/apollo/README.md +++ b/packages/apollo/README.md @@ -25,7 +25,7 @@ $ npm install -g apollo $ apollo COMMAND running command... $ apollo (-v|--version|version) -apollo/2.33.6 linux-x64 node-v14.17.3 +apollo/2.33.7 darwin-x64 node-v12.22.3 $ apollo --help [COMMAND] USAGE $ apollo COMMAND @@ -59,8 +59,6 @@ USAGE Check a client project against a pushed service ``` -Check a client project against a pushed service - USAGE $ apollo client:check @@ -69,7 +67,7 @@ OPTIONS Path to your Apollo config file -g, --graph=graph - The ID for the graph in Apollo to operate client commands with. + The ID for the graph in Apollo to operate client commands with. Overrides config file if set. -v, --variant=variant @@ -79,7 +77,7 @@ OPTIONS Name of the client that the queries will be attached to --clientReferenceId=clientReferenceId - Reference id for the client which will match ids from client traces, + Reference id for the client which will match ids from client traces, will use clientName if not provided --clientVersion=clientVersion @@ -89,16 +87,16 @@ OPTIONS The URL for the CLI use to introspect your service --excludes=excludes - Glob of files to exclude for GraphQL operations. Caveat: this doesn't + Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently work in watch mode --header=header - Additional header to send during introspection. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED + Additional header to send during introspection. May be used multiple + times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. --includes=includes - Glob of files to search for GraphQL operations. This should be used to + Glob of files to search for GraphQL operations. This should be used to find queries *and* any client schema extensions --key=key @@ -108,7 +106,7 @@ OPTIONS Deprecated in favor of the includes flag --tagName=tagName - Name of the template literal tag used to identify template literals + Name of the template literal tag used to identify template literals containing GraphQL queries in Javascript/Typescript code ``` @@ -119,24 +117,22 @@ _See code: [src/commands/client/check.ts](https://github.com/apollographql/apoll Generate static types for GraphQL queries. Can use the published schema in the Apollo registry or a downloaded schema. ``` -Generate static types for GraphQL queries. Can use the published schema in the Apollo registry or a downloaded schema. - USAGE $ apollo client:codegen [OUTPUT] ARGUMENTS OUTPUT Directory to which generated files will be written. - - For TypeScript/Flow generators, this specifies a directory relative + - For TypeScript/Flow generators, this specifies a directory relative to each source file by default. - - For TypeScript/Flow generators with the "outputFlat" flag is set, - and for the Swift generator, this specifies a file or directory + - For TypeScript/Flow generators with the "outputFlat" flag is set, + and for the Swift generator, this specifies a file or directory (absolute or relative to the current working directory) to which: - - a file will be written for each query (if "output" is a + - a file will be written for each query (if "output" is a directory) - all generated types will be written - - For all other types, this defines a file (absolute or relative to - the current working directory) to which all generated types are + - For all other types, this defines a file (absolute or relative to + the current working directory) to which all generated types are written. OPTIONS @@ -144,21 +140,21 @@ OPTIONS Path to your Apollo config file -g, --graph=graph - The ID for the graph in Apollo to operate client commands with. + The ID for the graph in Apollo to operate client commands with. Overrides config file if set. -v, --variant=variant The variant of the graph in Apollo to associate this client to --[no-]addTypename - [default: true] Automatically add __typename to your queries, can be + [default: true] Automatically add __typename to your queries, can be unset with --no-addTypename --clientName=clientName Name of the client that the queries will be attached to --clientReferenceId=clientReferenceId - Reference id for the client which will match ids from client traces, + Reference id for the client which will match ids from client traces, will use clientName if not provided --clientVersion=clientVersion @@ -171,30 +167,30 @@ OPTIONS The URL for the CLI use to introspect your service --excludes=excludes - Glob of files to exclude for GraphQL operations. Caveat: this doesn't + Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently work in watch mode --globalTypesFile=globalTypesFile - By default, TypeScript will put a file named "globalTypes.ts" inside - the "output" directory. Set "globalTypesFile" to specify a different - path. Alternatively, set "tsFileExtension" to modify the extension of + By default, TypeScript will put a file named "globalTypes.ts" inside + the "output" directory. Set "globalTypesFile" to specify a different + path. Alternatively, set "tsFileExtension" to modify the extension of the file, for example "d.ts" will output "globalTypes.d.ts" --header=header - Additional header to send during introspection. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED + Additional header to send during introspection. May be used multiple + times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. --includes=includes - Glob of files to search for GraphQL operations. This should be used to + Glob of files to search for GraphQL operations. This should be used to find queries *and* any client schema extensions --key=key The API key to use for authentication to Apollo --localSchemaFile=localSchemaFile - Path to one or more local GraphQL schema file(s), as introspection - result or SDL. Supports comma-separated list of paths (ex. + Path to one or more local GraphQL schema file(s), as introspection + result or SDL. Supports comma-separated list of paths (ex. `--localSchemaFile=schema.graphql,extensions.graphql`) --mergeInFieldsFromFragmentSpreads @@ -207,19 +203,19 @@ OPTIONS Omit deprecated enum cases from generated code [Swift only] --only=only - Parse all input files, but only output generated code for the + Parse all input files, but only output generated code for the specified file [Swift only] --operationIdsPath=operationIdsPath - Path to an operation id JSON map file. If specified, also stores the - operation ids (hashes) as properties on operation types [currently + Path to an operation id JSON map file. If specified, also stores the + operation ids (hashes) as properties on operation types [currently Swift-only] --outputFlat - By default, TypeScript/Flow will put each generated file in a - directory next to its source file using the value of the "output" as - the directory name. Set "outputFlat" to put all generated files in the - directory relative to the current working directory defined by + By default, TypeScript/Flow will put each generated file in a + directory next to its source file using the value of the "output" as + the directory name. Set "outputFlat" to put all generated files in the + directory relative to the current working directory defined by "output". --passthroughCustomScalars @@ -229,26 +225,26 @@ OPTIONS Deprecated in favor of the includes flag --suppressSwiftMultilineStringLiterals - Prevents operations from being rendered as multiline strings [Swift + Prevents operations from being rendered as multiline strings [Swift only] --tagName=tagName - Name of the template literal tag used to identify template literals + Name of the template literal tag used to identify template literals containing GraphQL queries in Javascript/Typescript code --target=target - (required) Type of code generator to use (swift | typescript | flow | + (required) Type of code generator to use (swift | typescript | flow | scala | json | json-modern (exposes raw json types)) --tsFileExtension=tsFileExtension - By default, TypeScript will output "ts" files. Set "tsFileExtension" + By default, TypeScript will output "ts" files. Set "tsFileExtension" to specify a different file extension, for example "d.ts" --useFlowExactObjects Use Flow exact objects for generated types [flow only] --useFlowReadOnlyTypes - Use read only types for generated types [flow only]. **Deprecated in + Use read only types for generated types [flow only]. **Deprecated in favor of `useReadOnlyTypes`.** --useReadOnlyTypes @@ -268,8 +264,6 @@ _See code: [src/commands/client/codegen.ts](https://github.com/apollographql/apo Download a schema from Apollo or a GraphQL endpoint in JSON or SDL format ``` -Download a schema from Apollo or a GraphQL endpoint in JSON or SDL format - USAGE $ apollo client:download-schema OUTPUT @@ -282,7 +276,7 @@ OPTIONS Path to your Apollo config file -g, --graph=graph - The ID for the graph in Apollo to operate client commands with. + The ID for the graph in Apollo to operate client commands with. Overrides config file if set. -v, --variant=variant @@ -292,7 +286,7 @@ OPTIONS Name of the client that the queries will be attached to --clientReferenceId=clientReferenceId - Reference id for the client which will match ids from client traces, + Reference id for the client which will match ids from client traces, will use clientName if not provided --clientVersion=clientVersion @@ -302,16 +296,16 @@ OPTIONS The URL for the CLI use to introspect your service --excludes=excludes - Glob of files to exclude for GraphQL operations. Caveat: this doesn't + Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently work in watch mode --header=header - Additional header to send during introspection. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED + Additional header to send during introspection. May be used multiple + times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. --includes=includes - Glob of files to search for GraphQL operations. This should be used to + Glob of files to search for GraphQL operations. This should be used to find queries *and* any client schema extensions --key=key @@ -321,7 +315,7 @@ OPTIONS Deprecated in favor of the includes flag --tagName=tagName - Name of the template literal tag used to identify template literals + Name of the template literal tag used to identify template literals containing GraphQL queries in Javascript/Typescript code ``` @@ -332,8 +326,6 @@ _See code: [src/commands/client/download-schema.ts](https://github.com/apollogra Extract queries from a client ``` -Extract queries from a client - USAGE $ apollo client:extract OUTPUT @@ -345,7 +337,7 @@ OPTIONS Path to your Apollo config file -g, --graph=graph - The ID for the graph in Apollo to operate client commands with. + The ID for the graph in Apollo to operate client commands with. Overrides config file if set. -v, --variant=variant @@ -355,7 +347,7 @@ OPTIONS Name of the client that the queries will be attached to --clientReferenceId=clientReferenceId - Reference id for the client which will match ids from client traces, + Reference id for the client which will match ids from client traces, will use clientName if not provided --clientVersion=clientVersion @@ -365,34 +357,34 @@ OPTIONS The URL for the CLI use to introspect your service --excludes=excludes - Glob of files to exclude for GraphQL operations. Caveat: this doesn't + Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently work in watch mode --header=header - Additional header to send during introspection. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED + Additional header to send during introspection. May be used multiple + times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. --includes=includes - Glob of files to search for GraphQL operations. This should be used to + Glob of files to search for GraphQL operations. This should be used to find queries *and* any client schema extensions --key=key The API key to use for authentication to Apollo --preserveStringAndNumericLiterals - Disable redaction of string and numerical literals. Without this - flag, these values will be replaced with empty strings (`''`) and - zeroes (`0`) respectively. This redaction is intended to avoid - inadvertently outputting potentially personally identifiable - information (e.g. embedded passwords or API keys) into operation + Disable redaction of string and numerical literals. Without this + flag, these values will be replaced with empty strings (`''`) and + zeroes (`0`) respectively. This redaction is intended to avoid + inadvertently outputting potentially personally identifiable + information (e.g. embedded passwords or API keys) into operation manifests --queries=queries Deprecated in favor of the includes flag --tagName=tagName - Name of the template literal tag used to identify template literals + Name of the template literal tag used to identify template literals containing GraphQL queries in Javascript/Typescript code ``` @@ -403,8 +395,6 @@ _See code: [src/commands/client/extract.ts](https://github.com/apollographql/apo Register operations with Apollo, adding them to the safelist ``` -Register operations with Apollo, adding them to the safelist - USAGE $ apollo client:push @@ -413,7 +403,7 @@ OPTIONS Path to your Apollo config file -g, --graph=graph - The ID for the graph in Apollo to operate client commands with. + The ID for the graph in Apollo to operate client commands with. Overrides config file if set. -v, --variant=variant @@ -423,7 +413,7 @@ OPTIONS Name of the client that the queries will be attached to --clientReferenceId=clientReferenceId - Reference id for the client which will match ids from client traces, + Reference id for the client which will match ids from client traces, will use clientName if not provided --clientVersion=clientVersion @@ -433,16 +423,16 @@ OPTIONS The URL for the CLI use to introspect your service --excludes=excludes - Glob of files to exclude for GraphQL operations. Caveat: this doesn't + Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently work in watch mode --header=header - Additional header to send during introspection. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED + Additional header to send during introspection. May be used multiple + times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. --includes=includes - Glob of files to search for GraphQL operations. This should be used to + Glob of files to search for GraphQL operations. This should be used to find queries *and* any client schema extensions --key=key @@ -452,7 +442,7 @@ OPTIONS Deprecated in favor of the includes flag --tagName=tagName - Name of the template literal tag used to identify template literals + Name of the template literal tag used to identify template literals containing GraphQL queries in Javascript/Typescript code ``` @@ -463,8 +453,6 @@ _See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo display help for apollo ``` -display help for <%= config.bin %> - USAGE $ apollo help [COMMAND] @@ -475,15 +463,13 @@ OPTIONS --all see all commands in CLI ``` -_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v2.2.3/src/commands/help.ts)_ +_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.3/src/commands/help.ts)_ ## `apollo plugins` list installed plugins ``` -list installed plugins - USAGE $ apollo plugins @@ -494,15 +480,13 @@ EXAMPLE $ apollo plugins ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.0/src/commands/plugins/index.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/index.ts)_ ## `apollo plugins:inspect PLUGIN...` displays installation properties of a plugin ``` -displays installation properties of a plugin - USAGE $ apollo plugins:inspect PLUGIN... @@ -517,21 +501,13 @@ EXAMPLE $ apollo plugins:inspect myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.0/src/commands/plugins/inspect.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/inspect.ts)_ ## `apollo plugins:install PLUGIN...` installs a plugin into the CLI ``` -installs a plugin into the CLI -Can be installed from npm or a git url. - -Installation of a user-installed plugin will override a core plugin. - -e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in the CLI without the need to patch and update the whole CLI. - - USAGE $ apollo plugins:install PLUGIN... @@ -548,34 +524,28 @@ DESCRIPTION Installation of a user-installed plugin will override a core plugin. - e.g. If you have a core plugin that has a 'hello' command, installing a - user-installed plugin with a 'hello' command will override the core - plugin implementation. This is useful if a user needs to update core - plugin functionality in the CLI without the need to patch and update the + e.g. If you have a core plugin that has a 'hello' command, installing a + user-installed plugin with a 'hello' command will override the core + plugin implementation. This is useful if a user needs to update core + plugin functionality in the CLI without the need to patch and update the whole CLI. ALIASES $ apollo plugins:add EXAMPLES - $ apollo plugins:install myplugin + $ apollo plugins:install myplugin $ apollo plugins:install https://github.com/someuser/someplugin $ apollo plugins:install someuser/someplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.0/src/commands/plugins/install.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/install.ts)_ ## `apollo plugins:link PLUGIN` links a plugin into the CLI for development ``` -links a plugin into the CLI for development -Installation of a linked plugin will override a user-installed or core plugin. - -e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work. - - USAGE $ apollo plugins:link PLUGIN @@ -587,27 +557,25 @@ OPTIONS -v, --verbose DESCRIPTION - Installation of a linked plugin will override a user-installed or core + Installation of a linked plugin will override a user-installed or core plugin. - e.g. If you have a user-installed or core plugin that has a 'hello' - command, installing a linked plugin with a 'hello' command will override - the user-installed or core plugin implementation. This is useful for + e.g. If you have a user-installed or core plugin that has a 'hello' + command, installing a linked plugin with a 'hello' command will override + the user-installed or core plugin implementation. This is useful for development work. EXAMPLE $ apollo plugins:link myplugin ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.0/src/commands/plugins/link.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/link.ts)_ ## `apollo plugins:uninstall PLUGIN...` removes a plugin from the CLI ``` -removes a plugin from the CLI - USAGE $ apollo plugins:uninstall PLUGIN... @@ -623,15 +591,13 @@ ALIASES $ apollo plugins:remove ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.0/src/commands/plugins/uninstall.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/uninstall.ts)_ ## `apollo plugins:update` update installed plugins ``` -update installed plugins - USAGE $ apollo plugins:update @@ -640,21 +606,13 @@ OPTIONS -v, --verbose ``` -_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.0/src/commands/plugins/update.ts)_ +_See code: [@oclif/plugin-plugins](https://github.com/oclif/plugin-plugins/blob/v1.10.1/src/commands/plugins/update.ts)_ ## `apollo service:check` [DEPRECATED] Check a service against known operation workloads to find breaking changes ``` -[DEPRECATED] Check a service against known operation workloads to find breaking changes ------------------------------------------------------------------ -DEPRECATED: This command will be removed from the `apollo` CLI in -its next major version. Replacement functionality is available in -the new Apollo Rover CLI: https://go.apollo.dev/t/migration ------------------------------------------------------------------ - - USAGE $ apollo service:check @@ -663,7 +621,7 @@ OPTIONS Path to your Apollo config file -g, --graph=graph - The ID of the graph in Apollo to check your proposed schema changes + The ID of the graph in Apollo to check your proposed schema changes against. Overrides config file if set. -v, --variant=variant @@ -682,52 +640,52 @@ OPTIONS The URL for the CLI use to introspect your service --header=header - Additional header to send during introspection. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED + Additional header to send during introspection. May be used multiple + times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. --ignoreFailures Exit with status 0 when the check completes, even if errors are found --json - Output result in json, which can then be parsed by CLI tools such as + Output result in json, which can then be parsed by CLI tools such as jq. --key=key The API key to use for authentication to Apollo --localSchemaFile=localSchemaFile - Path to one or more local GraphQL schema file(s), as introspection - result or SDL. Supports comma-separated list of paths (ex. + Path to one or more local GraphQL schema file(s), as introspection + result or SDL. Supports comma-separated list of paths (ex. `--localSchemaFile=schema.graphql,extensions.graphql`) --markdown Output result in markdown. --queryCountThreshold=queryCountThreshold - Minimum number of requests within the requested time window for a + Minimum number of requests within the requested time window for a query to be considered. --queryCountThresholdPercentage=queryCountThresholdPercentage - Number of requests within the requested time window for a query to be - considered, relative to total request count. Expected values are + Number of requests within the requested time window for a query to be + considered, relative to total request count. Expected values are between 0 and 0.05 (minimum 5% of total request volume) --serviceName=serviceName - Provides the name of the implementing service for a federated graph. - This flag will indicate that the schema is a partial schema from a + Provides the name of the implementing service for a federated graph. + This flag will indicate that the schema is a partial schema from a federated service --validationPeriod=validationPeriod - The size of the time window with which to validate the schema against. - You may provide a number (in seconds), or an ISO8601 format duration - for more granularity (see: + The size of the time window with which to validate the schema against. + You may provide a number (in seconds), or an ISO8601 format duration + for more granularity (see: https://en.wikipedia.org/wiki/ISO_8601#Durations) DESCRIPTION ----------------------------------------------------------------- - DEPRECATED: This command will be removed from the `apollo` CLI in - its next major version. Replacement functionality is available in + DEPRECATED: This command will be removed from the `apollo` CLI in + its next major version. Replacement functionality is available in the new Apollo Rover CLI: https://go.apollo.dev/t/migration ----------------------------------------------------------------- @@ -742,14 +700,6 @@ _See code: [src/commands/service/check.ts](https://github.com/apollographql/apol [DEPRECATED] Delete a federated service from Apollo and recompose remaining services ``` -[DEPRECATED] Delete a federated service from Apollo and recompose remaining services ------------------------------------------------------------------ -DEPRECATED: This command will be removed from the `apollo` CLI in -its next major version. Replacement functionality is available in -the new Apollo Rover CLI: https://go.apollo.dev/t/migration ------------------------------------------------------------------ - - USAGE $ apollo service:delete @@ -782,8 +732,8 @@ OPTIONS DESCRIPTION ----------------------------------------------------------------- - DEPRECATED: This command will be removed from the `apollo` CLI in - its next major version. Replacement functionality is available in + DEPRECATED: This command will be removed from the `apollo` CLI in + its next major version. Replacement functionality is available in the new Apollo Rover CLI: https://go.apollo.dev/t/migration ----------------------------------------------------------------- ``` @@ -795,14 +745,6 @@ _See code: [src/commands/service/delete.ts](https://github.com/apollographql/apo [DEPRECATED] Download the schema from your GraphQL endpoint. ``` -[DEPRECATED] Download the schema from your GraphQL endpoint. ------------------------------------------------------------------ -DEPRECATED: This command will be removed from the `apollo` CLI in -its next major version. Replacement functionality is available in -the new Apollo Rover CLI: https://go.apollo.dev/t/migration ------------------------------------------------------------------ - - USAGE $ apollo service:download OUTPUT @@ -833,8 +775,8 @@ OPTIONS DESCRIPTION ----------------------------------------------------------------- - DEPRECATED: This command will be removed from the `apollo` CLI in - its next major version. Replacement functionality is available in + DEPRECATED: This command will be removed from the `apollo` CLI in + its next major version. Replacement functionality is available in the new Apollo Rover CLI: https://go.apollo.dev/t/migration ----------------------------------------------------------------- @@ -849,14 +791,6 @@ _See code: [src/commands/service/download.ts](https://github.com/apollographql/a [DEPRECATED] List the services in a graph ``` -[DEPRECATED] List the services in a graph ------------------------------------------------------------------ -DEPRECATED: This command will be removed from the `apollo` CLI in -its next major version. Replacement functionality is available in -the new Apollo Rover CLI: https://go.apollo.dev/t/migration ------------------------------------------------------------------ - - USAGE $ apollo service:list @@ -881,8 +815,8 @@ OPTIONS DESCRIPTION ----------------------------------------------------------------- - DEPRECATED: This command will be removed from the `apollo` CLI in - its next major version. Replacement functionality is available in + DEPRECATED: This command will be removed from the `apollo` CLI in + its next major version. Replacement functionality is available in the new Apollo Rover CLI: https://go.apollo.dev/t/migration ----------------------------------------------------------------- ``` @@ -894,14 +828,6 @@ _See code: [src/commands/service/list.ts](https://github.com/apollographql/apoll [DEPRECATED] Push a service definition to Apollo ``` -[DEPRECATED] Push a service definition to Apollo ------------------------------------------------------------------ -DEPRECATED: This command will be removed from the `apollo` CLI in -its next major version. Replacement functionality is available in -the new Apollo Rover CLI: https://go.apollo.dev/t/migration ------------------------------------------------------------------ - - USAGE $ apollo service:push @@ -910,7 +836,7 @@ OPTIONS Path to your Apollo config file -g, --graph=graph - The ID of the graph in Apollo to publish your service to. Overrides + The ID of the graph in Apollo to publish your service to. Overrides config file if set. -v, --variant=variant @@ -929,33 +855,33 @@ OPTIONS The URL for the CLI use to introspect your service --header=header - Additional header to send during introspection. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED + Additional header to send during introspection. May be used multiple + times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. --key=key The API key to use for authentication to Apollo --localSchemaFile=localSchemaFile - Path to one or more local GraphQL schema file(s), as introspection - result or SDL. Supports comma-separated list of paths (ex. + Path to one or more local GraphQL schema file(s), as introspection + result or SDL. Supports comma-separated list of paths (ex. `--localSchemaFile=schema.graphql,extensions.graphql`) --serviceName=serviceName Provides the name of the implementing service for a federated graph --serviceRevision=serviceRevision - Provides a unique revision identifier for a change to an implementing + Provides a unique revision identifier for a change to an implementing service on a federated service push. The default of this is a git sha --serviceURL=serviceURL - Provides the url to the location of the implementing service for a + Provides the url to the location of the implementing service for a federated graph DESCRIPTION ----------------------------------------------------------------- - DEPRECATED: This command will be removed from the `apollo` CLI in - its next major version. Replacement functionality is available in + DEPRECATED: This command will be removed from the `apollo` CLI in + its next major version. Replacement functionality is available in the new Apollo Rover CLI: https://go.apollo.dev/t/migration ----------------------------------------------------------------- diff --git a/packages/apollo/package.json b/packages/apollo/package.json index 57d9896242..1366e55709 100644 --- a/packages/apollo/package.json +++ b/packages/apollo/package.json @@ -1,7 +1,7 @@ { "name": "apollo", "description": "Command line tool for Apollo GraphQL", - "version": "2.33.6", + "version": "2.33.7", "referenceID": "21ad0845-c235-422e-be7d-a998310df972", "author": "Apollo GraphQL ", "license": "MIT",