From fbf7ca3957926b153b88c4c91ad91c84459fc31e Mon Sep 17 00:00:00 2001 From: David Glasser Date: Thu, 11 Jun 2020 09:15:46 -0700 Subject: [PATCH] Release - apollo-codegen-core@0.37.3 - apollo-codegen-flow@0.35.3 - apollo-codegen-scala@0.36.3 - apollo-codegen-swift@0.37.3 - apollo-codegen-typescript@0.37.3 - apollo-language-server@1.22.3 - apollo@2.28.3 - vscode-apollo@1.16.3 --- 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-language-server/package.json | 2 +- packages/apollo/README.md | 518 +++++++++++------- packages/apollo/package.json | 2 +- packages/vscode-apollo/package.json | 2 +- 9 files changed, 321 insertions(+), 213 deletions(-) diff --git a/packages/apollo-codegen-core/package.json b/packages/apollo-codegen-core/package.json index 1ed9143cd9..c07bf42d31 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.37.2", + "version": "0.37.3", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-flow/package.json b/packages/apollo-codegen-flow/package.json index 5fdd21ceae..6409874d66 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.35.2", + "version": "0.35.3", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-scala/package.json b/packages/apollo-codegen-scala/package.json index c34dd3f5b0..e1337e169c 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.36.2", + "version": "0.36.3", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-swift/package.json b/packages/apollo-codegen-swift/package.json index ca510d12f1..8e5da28f86 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.37.2", + "version": "0.37.3", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-codegen-typescript/package.json b/packages/apollo-codegen-typescript/package.json index 13710ee732..6f7b18dbc2 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.37.2", + "version": "0.37.3", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo-language-server/package.json b/packages/apollo-language-server/package.json index e2a6086334..8059b7f061 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.22.2", + "version": "1.22.3", "author": "Apollo GraphQL ", "license": "MIT", "repository": { diff --git a/packages/apollo/README.md b/packages/apollo/README.md index 8e6efbb73d..9e8ec7743d 100644 --- a/packages/apollo/README.md +++ b/packages/apollo/README.md @@ -23,7 +23,7 @@ $ npm install -g apollo $ apollo COMMAND running command... $ apollo (-v|--version|version) -apollo/2.28.2 darwin-x64 node-v10.15.3 +apollo/2.28.3 darwin-x64 node-v14.1.0 $ apollo --help [COMMAND] USAGE $ apollo COMMAND @@ -62,36 +62,48 @@ USAGE OPTIONS -c, --config=config Path to your Apollo config file - -g, --graph=graph The ID for the graph in Apollo Graph Manager to operate client commands with. - Overrides config file if set. + -g, --graph=graph The ID for the graph in Apollo Graph Manager + to operate client commands with. Overrides + config file if set. - -v, --variant=variant The variant of the graph in Apollo Graph Manager to associate this client to + -v, --variant=variant The variant of the graph in Apollo Graph + Manager to associate this client to - --clientName=clientName Name of the client that the queries will be attached to + --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, will use - clientName if not provided + --clientReferenceId=clientReferenceId Reference id for the client which will match + ids from client traces, will use clientName + if not provided - --clientVersion=clientVersion The version of the client that the queries will be attached to + --clientVersion=clientVersion The version of the client that the queries + will be attached to - --endpoint=endpoint The URL for the CLI use to introspect your service + --endpoint=endpoint The URL for the CLI use to introspect your + service - --excludes=excludes Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently + --excludes=excludes Glob of files to exclude for GraphQL + operations. Caveat: this doesn't currently work in watch mode - --header=header Additional header to send to server for introspectionQuery. May be used - multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED - if using the `--header` flag. + --header=header Additional header to send to server for + introspectionQuery. 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 find + --includes=includes 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 Graph Manager + --key=key The API key to use for authentication to + Apollo Graph Manager --queries=queries Deprecated in favor of the includes flag - --tagName=tagName Name of the template literal tag used to identify template literals containing - GraphQL queries in Javascript/Typescript code + --tagName=tagName Name of the template literal tag used to + identify template literals containing GraphQL + queries in Javascript/Typescript code ``` _See code: [src/commands/client/check.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/check.ts)_ @@ -107,99 +119,130 @@ USAGE ARGUMENTS OUTPUT Directory to which generated files will be written. - - 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 (absolute or relative to the current working directory) to which: + - 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 (absolute or relative to the + current working directory) to which: - 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 written. + - For all other types, this defines a file (absolute or relative to the current + working directory) to which all generated types are written. OPTIONS - -c, --config=config Path to your Apollo config file + -c, --config=config + Path to your Apollo config file - -g, --graph=graph The ID for the graph in Apollo Graph Manager to operate client commands - with. Overrides config file if set. + -g, --graph=graph + The ID for the graph in Apollo Graph Manager to operate client commands with. + Overrides config file if set. - -v, --variant=variant The variant of the graph in Apollo Graph Manager to associate this client - to + -v, --variant=variant + The variant of the graph in Apollo Graph Manager to associate this client to - --[no-]addTypename [default: true] Automatically add __typename to your queries, can be unset - with --no-addTypename + --[no-]addTypename + [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 + --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, will - use clientName if not provided + --clientReferenceId=clientReferenceId + Reference id for the client which will match ids from client traces, will use + clientName if not provided - --clientVersion=clientVersion The version of the client that the queries will be attached to + --clientVersion=clientVersion + The version of the client that the queries will be attached to - --customScalarsPrefix=customScalarsPrefix Include a prefix when using provided types for custom scalars + --customScalarsPrefix=customScalarsPrefix + Include a prefix when using provided types for custom scalars - --endpoint=endpoint The URL for the CLI use to introspect your service + --endpoint=endpoint + The URL for the CLI use to introspect your service - --excludes=excludes Glob of files to exclude for GraphQL operations. Caveat: this doesn't - currently work in watch mode + --excludes=excludes + 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 the file, - for example "d.ts" will output "globalTypes.d.ts" + --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 the file, for example "d.ts" will + output "globalTypes.d.ts" - --header=header Additional header to send to server for introspectionQuery. May be used - multiple times to add multiple headers. NOTE: The `--endpoint` flag is - REQUIRED if using the `--header` flag. + --header=header + Additional header to send to server for introspectionQuery. 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 find - queries *and* any client schema extensions + --includes=includes + 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 Graph Manager + --key=key + The API key to use for authentication to Apollo Graph Manager - --localSchemaFile=localSchemaFile 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`) + --localSchemaFile=localSchemaFile + 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 Merge fragment fields onto its enclosing type + --mergeInFieldsFromFragmentSpreads + Merge fragment fields onto its enclosing type - --namespace=namespace The namespace to emit generated code into. + --namespace=namespace + The namespace to emit generated code into. - --omitDeprecatedEnumCases Omit deprecated enum cases from generated code [Swift only] + --omitDeprecatedEnumCases + Omit deprecated enum cases from generated code [Swift only] - --only=only Parse all input files, but only output generated code for the specified - file [Swift only] + --only=only + 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 - 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 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 "output". + --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 "output". - --passthroughCustomScalars Use your own types for custom scalars + --passthroughCustomScalars + Use your own types for custom scalars - --queries=queries Deprecated in favor of the includes flag + --queries=queries + Deprecated in favor of the includes flag - --suppressSwiftMultilineStringLiterals Prevents operations from being rendered as multiline strings [Swift only] + --suppressSwiftMultilineStringLiterals + Prevents operations from being rendered as multiline strings [Swift only] - --tagName=tagName Name of the template literal tag used to identify template literals - containing GraphQL queries in Javascript/Typescript code + --tagName=tagName + 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 | scala - | json | json-modern (exposes raw json types)) + --target=target + (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" to - specify a different file extension, for example "d.ts" + --tsFileExtension=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] + --useFlowExactObjects + Use Flow exact objects for generated types [flow only] - --useFlowReadOnlyTypes Use read only types for generated types [flow only]. **Deprecated in favor - of `useReadOnlyTypes`.** + --useFlowReadOnlyTypes + Use read only types for generated types [flow only]. **Deprecated in favor of + `useReadOnlyTypes`.** - --useReadOnlyTypes Use read only types for generated types [flow | typescript] + --useReadOnlyTypes + Use read only types for generated types [flow | typescript] - --watch Watch for file changes and reload codegen + --watch + Watch for file changes and reload codegen ALIASES $ apollo codegen:generate @@ -216,42 +259,54 @@ USAGE $ apollo client:download-schema OUTPUT ARGUMENTS - OUTPUT [default: schema.json] Path to write the introspection result to. Can be `.graphql`, `.gql`, `.graphqls`, or - `.json` + OUTPUT [default: schema.json] Path to write the introspection result to. Can be + `.graphql`, `.gql`, `.graphqls`, or `.json` OPTIONS -c, --config=config Path to your Apollo config file - -g, --graph=graph The ID for the graph in Apollo Graph Manager to operate client commands with. - Overrides config file if set. + -g, --graph=graph The ID for the graph in Apollo Graph Manager + to operate client commands with. Overrides + config file if set. - -v, --variant=variant The variant of the graph in Apollo Graph Manager to associate this client to + -v, --variant=variant The variant of the graph in Apollo Graph + Manager to associate this client to - --clientName=clientName Name of the client that the queries will be attached to + --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, will use - clientName if not provided + --clientReferenceId=clientReferenceId Reference id for the client which will match + ids from client traces, will use clientName + if not provided - --clientVersion=clientVersion The version of the client that the queries will be attached to + --clientVersion=clientVersion The version of the client that the queries + will be attached to - --endpoint=endpoint The URL for the CLI use to introspect your service + --endpoint=endpoint The URL for the CLI use to introspect your + service - --excludes=excludes Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently + --excludes=excludes Glob of files to exclude for GraphQL + operations. Caveat: this doesn't currently work in watch mode - --header=header Additional header to send to server for introspectionQuery. May be used - multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED - if using the `--header` flag. + --header=header Additional header to send to server for + introspectionQuery. 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 find + --includes=includes 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 Graph Manager + --key=key The API key to use for authentication to + Apollo Graph Manager --queries=queries Deprecated in favor of the includes flag - --tagName=tagName Name of the template literal tag used to identify template literals containing - GraphQL queries in Javascript/Typescript code + --tagName=tagName Name of the template literal tag used to + identify template literals containing GraphQL + queries in Javascript/Typescript code ``` _See code: [src/commands/client/download-schema.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/download-schema.ts)_ @@ -268,44 +323,58 @@ ARGUMENTS OUTPUT [default: manifest.json] Path to write the extracted queries to OPTIONS - -c, --config=config Path to your Apollo config file + -c, --config=config + Path to your Apollo config file - -g, --graph=graph The ID for the graph in Apollo Graph Manager to operate client commands with. - Overrides config file if set. + -g, --graph=graph + The ID for the graph in Apollo Graph Manager to operate client commands with. + Overrides config file if set. - -v, --variant=variant The variant of the graph in Apollo Graph Manager to associate this client to + -v, --variant=variant + The variant of the graph in Apollo Graph Manager to associate this client to - --clientName=clientName Name of the client that the queries will be attached to + --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, will use - clientName if not provided + --clientReferenceId=clientReferenceId + Reference id for the client which will match ids from client traces, will use + clientName if not provided - --clientVersion=clientVersion The version of the client that the queries will be attached to + --clientVersion=clientVersion + The version of the client that the queries will be attached to - --endpoint=endpoint The URL for the CLI use to introspect your service + --endpoint=endpoint + The URL for the CLI use to introspect your service - --excludes=excludes Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently - work in watch mode + --excludes=excludes + Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently + work in watch mode - --header=header Additional header to send to server for introspectionQuery. May be used - multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED - if using the `--header` flag. + --header=header + Additional header to send to server for introspectionQuery. 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 find - queries *and* any client schema extensions + --includes=includes + 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 Graph Manager + --key=key + The API key to use for authentication to Apollo Graph Manager - --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 manifests + --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 manifests - --queries=queries Deprecated in favor of the includes flag + --queries=queries + Deprecated in favor of the includes flag - --tagName=tagName Name of the template literal tag used to identify template literals containing - GraphQL queries in Javascript/Typescript code + --tagName=tagName + Name of the template literal tag used to identify template literals containing + GraphQL queries in Javascript/Typescript code ``` _See code: [src/commands/client/extract.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/extract.ts)_ @@ -321,36 +390,48 @@ USAGE OPTIONS -c, --config=config Path to your Apollo config file - -g, --graph=graph The ID for the graph in Apollo Graph Manager to operate client commands with. - Overrides config file if set. + -g, --graph=graph The ID for the graph in Apollo Graph Manager + to operate client commands with. Overrides + config file if set. - -v, --variant=variant The variant of the graph in Apollo Graph Manager to associate this client to + -v, --variant=variant The variant of the graph in Apollo Graph + Manager to associate this client to - --clientName=clientName Name of the client that the queries will be attached to + --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, will use - clientName if not provided + --clientReferenceId=clientReferenceId Reference id for the client which will match + ids from client traces, will use clientName + if not provided - --clientVersion=clientVersion The version of the client that the queries will be attached to + --clientVersion=clientVersion The version of the client that the queries + will be attached to - --endpoint=endpoint The URL for the CLI use to introspect your service + --endpoint=endpoint The URL for the CLI use to introspect your + service - --excludes=excludes Glob of files to exclude for GraphQL operations. Caveat: this doesn't currently + --excludes=excludes Glob of files to exclude for GraphQL + operations. Caveat: this doesn't currently work in watch mode - --header=header Additional header to send to server for introspectionQuery. May be used - multiple times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED - if using the `--header` flag. + --header=header Additional header to send to server for + introspectionQuery. 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 find + --includes=includes 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 Graph Manager + --key=key The API key to use for authentication to + Apollo Graph Manager --queries=queries Deprecated in favor of the includes flag - --tagName=tagName Name of the template literal tag used to identify template literals containing - GraphQL queries in Javascript/Typescript code + --tagName=tagName Name of the template literal tag used to + identify template literals containing GraphQL + queries in Javascript/Typescript code ``` _See code: [src/commands/client/push.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/client/push.ts)_ @@ -410,9 +491,10 @@ 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 whole CLI. + 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 @@ -443,8 +525,9 @@ OPTIONS DESCRIPTION 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. + 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 @@ -498,53 +581,58 @@ USAGE $ apollo service:check OPTIONS - -c, --config=config Path to your Apollo config file + -c, --config=config + Path to your Apollo config file - -g, --graph=graph The ID of the graph in Apollo Graph Manager to check - your proposed schema changes against. Overrides config - file if set. + -g, --graph=graph + The ID of the graph in Apollo Graph Manager to check your proposed schema changes + against. Overrides config file if set. - -v, --variant=variant The variant to check the proposed schema against + -v, --variant=variant + The variant to check the proposed schema against - --endpoint=endpoint The URL for the CLI use to introspect your service + --endpoint=endpoint + The URL for the CLI use to introspect your service - --header=header Additional header to send to server for - introspectionQuery. May be used multiple times to add - multiple headers. NOTE: The `--endpoint` flag is - REQUIRED if using the `--header` flag. + --header=header + Additional header to send to server for introspectionQuery. 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 + --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 jq. + --json + 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 Graph - Manager + --key=key + The API key to use for authentication to Apollo Graph Manager - --localSchemaFile=localSchemaFile 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`) + --localSchemaFile=localSchemaFile + 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. + --markdown + Output result in markdown. - --queryCountThreshold=queryCountThreshold Minimum number of requests within the requested time - window for a query to be considered. + --queryCountThreshold=queryCountThreshold + 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 between 0 and 0.05 (minimum - 5% of total request volume) + --queryCountThresholdPercentage=queryCountThresholdPercentage + 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 federated service + --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 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: https://en.wikipedia.org/wiki/ISO_8601#Durations) + --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: https://en.wikipedia.org/wiki/ISO_8601#Durations) ALIASES $ apollo schema:check @@ -563,8 +651,9 @@ USAGE OPTIONS -c, --config=config Path to your Apollo config file - -g, --graph=graph The ID of the graph in Apollo Graph Manager for which to delete an implementing service. - Overrides config file if set. + -g, --graph=graph The ID of the graph in Apollo Graph Manager for which to + delete an implementing service. Overrides config file if + set. -v, --variant=variant The variant to delete the implementing service from @@ -572,12 +661,16 @@ OPTIONS --endpoint=endpoint The URL for the CLI use to introspect your service - --header=header Additional header to send to server for introspectionQuery. May be used multiple times to - add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. + --header=header Additional header to send to server for + introspectionQuery. 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 Graph Manager + --key=key The API key to use for authentication to Apollo Graph + Manager - --serviceName=serviceName (required) Provides the name of the implementing service for a federated graph + --serviceName=serviceName (required) Provides the name of the implementing service + for a federated graph ``` _See code: [src/commands/service/delete.ts](https://github.com/apollographql/apollo-tooling/blob/master/packages/apollo/src/commands/service/delete.ts)_ @@ -591,13 +684,14 @@ USAGE $ apollo service:download OUTPUT ARGUMENTS - OUTPUT [default: schema.json] Path to write the introspection result to. Supports .json output only. + OUTPUT [default: schema.json] Path to write the introspection result to. Supports + .json output only. OPTIONS -c, --config=config Path to your Apollo config file - -g, --graph=graph The ID of the graph in Apollo Graph Manager for which to download the schema for. Overrides - config file if provided. + -g, --graph=graph The ID of the graph in Apollo Graph Manager for which to + download the schema for. Overrides config file if provided. -k, --skipSSLValidation Allow connections to an SSL site without certs @@ -605,10 +699,13 @@ OPTIONS --endpoint=endpoint The URL for the CLI use to introspect your service - --header=header Additional header to send to server for introspectionQuery. May be used multiple times to add - multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. + --header=header Additional header to send to server for introspectionQuery. + 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 Graph Manager + --key=key The API key to use for authentication to Apollo Graph + Manager ALIASES $ apollo schema:download @@ -627,15 +724,16 @@ USAGE OPTIONS -c, --config=config Path to your Apollo config file - -g, --graph=graph The ID of the graph in Apollo Graph Manager for which to list implementing services. Overrides - config file if set. + -g, --graph=graph The ID of the graph in Apollo Graph Manager for which to list + implementing services. Overrides config file if set. -v, --variant=variant The variant to list implementing services for --endpoint=endpoint The URL for the CLI use to introspect your service - --header=header Additional header to send to server for introspectionQuery. May be used multiple times to add - multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the `--header` flag. + --header=header Additional header to send to server for introspectionQuery. + 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 Graph Manager ``` @@ -653,29 +751,39 @@ USAGE OPTIONS -c, --config=config Path to your Apollo config file - -g, --graph=graph The ID of the graph in Apollo Graph Manager to publish your service to. Overrides - config file if set. + -g, --graph=graph The ID of the graph in Apollo Graph Manager to + publish your service to. Overrides config file if + set. - -v, --variant=variant The variant to publish your service to in Apollo Graph Manager + -v, --variant=variant The variant to publish your service to in Apollo + Graph Manager - --endpoint=endpoint The URL for the CLI use to introspect your service + --endpoint=endpoint The URL for the CLI use to introspect your + service - --header=header Additional header to send to server for introspectionQuery. May be used multiple - times to add multiple headers. NOTE: The `--endpoint` flag is REQUIRED if using the - `--header` flag. + --header=header Additional header to send to server for + introspectionQuery. 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 Graph Manager + --key=key The API key to use for authentication to Apollo + Graph Manager - --localSchemaFile=localSchemaFile 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`) + --localSchemaFile=localSchemaFile 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.grap + hql`) - --serviceName=serviceName Provides the name of the implementing service for a federated graph + --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 service on a - federated service push. The default of this is a git sha + --serviceRevision=serviceRevision 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 federated graph + --serviceURL=serviceURL Provides the url to the location of the + implementing service for a federated graph ALIASES $ apollo schema:publish diff --git a/packages/apollo/package.json b/packages/apollo/package.json index d6f6914621..c23dd4c127 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.28.2", + "version": "2.28.3", "referenceID": "21ad0845-c235-422e-be7d-a998310df972", "author": "Apollo GraphQL ", "license": "MIT", diff --git a/packages/vscode-apollo/package.json b/packages/vscode-apollo/package.json index 2c41d13c67..ada40e32a9 100644 --- a/packages/vscode-apollo/package.json +++ b/packages/vscode-apollo/package.json @@ -2,7 +2,7 @@ "name": "vscode-apollo", "displayName": "Apollo GraphQL", "description": "Rich editor support for GraphQL client and server development that seamlessly integrates with the Apollo platform", - "version": "1.16.2", + "version": "1.16.3", "referenceID": "87197759-7617-40d0-b32e-46d378e907c7", "author": "Apollo GraphQL ", "license": "MIT",