apollo
- Fix CLI crashing when trying to open a directory that is named like a file #1948.
apollo-codegen-flow
- <First
apollo-codegen-flow
related entry goes here>
- <First
apollo-codegen-scala
- <First
apollo-codegen-scala
related entry goes here>
- <First
apollo-codegen-swift
- Change selection sets to computed vars to remove unnecessary memory use #1950
apollo-codegen-typescript
- <First
apollo-codegen-typescript
related entry goes here>
- <First
apollo-codegen-core
- <First
apollo-codegen-core
related entry goes here>
- <First
apollo-env
- <First
apollo-env
related entry goes here>
- <First
apollo-graphql
- <First
apollo-graphql
related entry goes here>
- <First
apollo-language-server
- <First
apollo-language-server
related entry goes here>
- <First
apollo-tools
- <First
apollo-tools
related entry goes here>
- <First
vscode-apollo
- <First
vscode-apollo
related entry goes here>
- <First
[email protected]
- Setup automatically creating a GitHub release #1876
[email protected]
[email protected]
- Add json-modern target which adds typeNodes (ast type nodes) to codegen output #1846
[email protected]
- Support
APOLLO_KEY
and deprecateENGINE_API_KEY
for.env
support #1851 - Support
--graph
/-v
flag for specifying graph manager id without requiring a config file #1858 - Support
graph@variant
parsing under theservice.name
key in config files, similar to client configs #1858 - Update all commands that supported --tag to prefer --variant and indicate a deprecation warning for --tag #1849
- Updates of --help messages #1849
- Bug fix of some apollo commands that did not work with
graph@variant
parsing within theapollo.config.js
#1849 - Improved error messaging when a graph is not specified in either
apollo.config.js
or within the API key. #1849 - Added
--ignoreFailures
flag to service:check to exit with code 0 with check failures #1856 - Make Update "no service found to link..." error more consistent #1847
- Fix non-existent service message to use the actual service name that's being looked up #1834
- Support
[email protected]
- Support
APOLLO_KEY
and deprecateENGINE_API_KEY
for.env
support #1851 - Support
graph@variant
parsing under theservice.name
key in config files, similar to client configs #1858 - Improved error messaging when a graph is not specified in either
apollo.config.js
or within the API key. #1849 - Make Update "no service found to link..." error more consistent #1847
- Fix non-existent service message to use the actual service name that's being looked up #1834
- Support
[email protected]
- Add confirmation check when deleting services #1826
[email protected]
- Correctly fail on duplicate operations in client projects #1812
[email protected]
- Correctly fail on duplicate operations in client projects #1812
apollo
[email protected]
- Update shortlinks to use go.apollo.dev instead of bitly #1790
[email protected]
- Add @generated comment
[email protected]
- Add @generated comment
[email protected]
- Add @generated comment
[email protected]
- Add @generated comment
[email protected]
- Support disabling literal stripping when extracting queries. 1703
[email protected]
- Add documentation to input structs' constructors #1619
[email protected]
- Add @types/node-fetch to apollo-env deps since they are exported #1749
[email protected]
- Adds support for ReasonML to the language server #1488
[email protected]
- Adds syntax highlighting for ReasonML #1488
[email protected]
- Rename "Engine" to "Apollo Graph Manager" in ouput #1705
[email protected]
- Add additional type annotations to improve compile times. 1638
[email protected]
- [#1618] Fixes an issue when enums with a value of 0 fail to resolve when using a Federated Schema (apollographql#1618)
[email protected]
[email protected]
[email protected]
- POTENTIALLY BREAKING: Make
apollo-env
a standard TS package #1611 This PR likely warrants a pre-major version bump so that it isn't accidentally upgraded to for dependents using the ^ range. If this breaks your project, please don't hesitate to let us know and revert back to v0.5.1. This PR removes the handwritten node-fetch types and instead just re-exports them. Internally, this drastically simplifies the existence of apollo-env within this monorepo, as it no longer requires a special build step that forces lerna and TS to work around it.
- POTENTIALLY BREAKING: Make
[email protected]
- Fix client localSchemaFile for vscode stats command #1634
[email protected]
- Add flag to omit deprecated enum cases for swift codegen #1595
[email protected]
[email protected]
- Fix codegen --watch mode not writing changes for files #1591
- Fix
service:check
not outputing url
[email protected]
- Fix code generation for empty input objects / arrays #1589
[email protected]
[email protected]
[email protected]
- Support custom frontend and historic parameters for federated service:check
[email protected]
[email protected]
- Improve performance of CLI when running projects by delaying or not calling validation unnecessarily #1559
- Use "table" package for tabular output and word wrap support #1524
- Use new single step mutation for checking federated service schemas #1539
- Add support for
localSchemaFile
for federated service commands #1489
[email protected]
- Improve performance of validation when client fields are present or not #1559
[email protected]
- Switch operations and fragments to default to printing queries as multiline strings rather than including queries as multiline comments
- Add
--suppressSwiftMultilineStringLiterals
flag to allow a version which strips unnecessary whitespace.
[email protected]
- Use reference-equality, rather than
Function.prototype.name
string comparison, when omitting validation rules withinbuildSchemaFromSDL
. #1551
- Use reference-equality, rather than
[email protected]
[email protected]
- Improve performance of validation when client fields are present or not #1559
apollo
- fix bad parsing of multiple
localSchemaFile
s #1529
- fix bad parsing of multiple
-
apollo
- Support multiple
localSchemaFile
s #1500
- Support multiple
-
apollo-codegen-core
- Replace instanceof checks with their respective predicates #1518
-
apollo-codegen-flow
- Replace instanceof checks with their respective predicates #1518
-
apollo-codegen-scala
- Replace instanceof checks with their respective predicates #1518
-
apollo-codegen-swift
-
apollo-codegen-typescript
- Replace instanceof checks with their respective predicates #1518
-
apollo-language-server
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
- Add tsFileExtension option to allow custom file extension in ts (like d.ts) #1130
[email protected]
- Add tsFileExtension option to allow custom file extension in ts (like d.ts) #1130
[email protected]
[email protected]
- Add tsFileExtension flag to allow custom file extension in ts (like d.ts) #1130
[email protected]
[email protected]
- Fix issue where fragment definitions only included in
@client
fields would not be stripped ((AP-682)(https://golinks.io/AP-682), #1454)
- Fix issue where fragment definitions only included in
[email protected]
- Revert changes from #656 due to build issues not caught by tests.
[email protected]
- Fixes issue where a server adding a new type the client doesn't know about can cause a crash
[email protected]
- Fix issue where type names were not being properly escaped iOS 193
- Fix overcorrection on removing redundant modifiers #1449
- Added
CaseIterable
conformance so all known cases can be easily iterated. - Added comment to
operationDefinition
to show the original query - Stripped excess whitespace out of
operationDefinition
- Removed force-unwrap when the thing being unwrapped is a double optional
[email protected]
- Fix cache invalidation bug for reload schema which caused outdated results in autocomplete #1446
[email protected]
- Add Dart support for vscode #1385
[email protected]
- Add Dart operation extraction #1385
[email protected]
- Prevent compiler warnings for redundant access-level modifiers when using
--namespace
1241
- Prevent compiler warnings for redundant access-level modifiers when using
[email protected]
- Add
ApolloConfig
type to exports fromapollo
#1413
- Add
[email protected]
- Add error message for service lookup failure #1413
[email protected]
[email protected]
- Add
service:list
and tests #1358 and header #1377 - Update
service:list
test to use a simulated time to prevent relative dates causing snapshot failures #1374 - Update
service:check
to support--markdown
and--json
flags for federated schema #1378 - Exit status code 1 after composition errors in service:push #1403
- Update
service:check
to includegraphCompositionId
in query params for UI #1401
- Add
[email protected]
[email protected]
[email protected]
- Handle
subscribe
inbuildServiceDefinition
and add type inresolverMap
#1047
- Handle
[email protected]
- Add support for Ruby source files using
<<-GRAPHQL...GRAPHQL
heredoc. #1304
- Add support for Ruby source files using
[email protected]
- Relax graphql version, resolve missing types "Boolean", "String" #1355
[email protected]
- Relax graphql version, resolve missing types "Boolean", "String" #1355
[email protected]
- buildSchemaFromSDL - Add support for merging Scalar and Enum resolvers to schema #1345
[email protected]
[email protected]
- Add support for federated service to
service:check
#1308
- Add support for federated service to
[email protected]
- Fix bug causing some editor features to sometimes give stale results #1361
[email protected]
- Remove federation warnings and update types #1332
[email protected]
- buildSchemaFromSDL - support meta fields on abstract types #1330
[email protected]
- update
client:push
to pass the tag / graphVariant #1307
- update
[email protected]
[email protected]
- Update client:push command with new resolver and more output #1290
[email protected]
[email protected]
- Allow configuration of validation rules #1288
[email protected]
- Pin graphql to the ~14.2.x range (#1291)[apollographql#1291]
[email protected]
- Pin graphql to the ~14.2.x range (#1291)[apollographql#1291]
[email protected]
[email protected]
- Fix __typename addition for InlineFragments #1286
[email protected]
- Renamed
useFlowReadOnlyTypes
option touseReadOnlyTypes
#1205
- Renamed
[email protected]
- Added
useReadOnlyTypes
option to use readonly types #1205
- Added
[email protected]
[email protected]
- Document engine requirements in client:check and client:push #1077
[email protected]
[email protected]
- Add env variable to silence TLS errors #1212
[email protected]
[email protected]
- Add new utils and predicates #1251
[email protected]
[email protected]
[email protected]
- Add service:check debuggability #1250
[email protected]
- Relocate debug statements #1245
[email protected]
- Add service:push debuggability #1244
[email protected]
- Add
client:download-schema
command to download schemas from engine to an output file #1108
- Add
[email protected]
- Support local schema files in service:check #1118
[email protected]
[email protected]
- Update
service:check
output for errors and correct pluralization #1178
- Update
[email protected]
- Add git info back to
checkSchema
to fix detail links#1165
- Add git info back to
[email protected]
[email protected]
- Update operation normalization technique to deterministically order fragments within operations. This update affects those users of the operation registry feature of the Apollo Platform. Anyone using the operation registry should re-register their operations with this new version of the
apollo
CLI via theapollo client:push
command. Once all client operations are re-registered, theapollo-server-plugin-operation-manifest
plugin within Apollo Server (which reads the manifest published withapollo client:push
) should be updated to0.1.0-alpha.1
. #1158
- Update operation normalization technique to deterministically order fragments within operations. This update affects those users of the operation registry feature of the Apollo Platform. Anyone using the operation registry should re-register their operations with this new version of the
[email protected]
[email protected]
- remove leading empty lines from generated code #1127
[email protected]
- fix remoteUrl(remove slug) for service:check #1121
[email protected]
- Change the
sortAST
algorithm to sort fragments at the top-level of theDocumentNode
, providing a more deterministic normalization of the operation for use byapollo-engine-reporting
(which consumes this package'sdefaultOperationRegistrySignature
function). This will more correctly combine operations for Engine reporting. This also adds adefaultOperationRegistrySignature
function for use by theapollo-server-plugin-operation-registry
plugin to eventually consume. #1112
- Change the
[email protected]
- JSON flag for service:check output #1079
[email protected]
- Add environment-aware createHash function to apollo-env #1110
[email protected]
, [email protected]
, [email protected]
, [email protected]
, [email protected]
, [email protected]
, [email protected]
, [email protected]
[email protected]
- Use generated Typescript types via client:codegen #1016
- Remove default
--tag=current
for some client commands that used it #1062 - Add missing dependency
@oclif/errors
#1068 - Include targetUrl in the output of the
service:check
command #1072 - Import apollo-env utility types directly instead of treating them as globals #1074
[email protected]
- Import apollo-env utility types directly instead of treating them as globals #1074
[email protected]
- Import apollo-env utility types directly instead of treating them as globals #1074
[email protected]
- Add missing dependencies
@babel/generator
,common-tags
#1071
- Add missing dependencies
[email protected]
[email protected]
- Add missing dependencies
@babel/generator
,common-tags
#1071
- Add missing dependencies
[email protected]
- Add missing dependencies
@babel/generator
,common-tags
#1071
- Add missing dependencies
[email protected]
- Expand the
graphql
peer dependency range ofapollo-graphql
to also include0.13.x
and0.12.x
in addition to14.x
, since theapollo-graphql
package is relied upon byapollo-server-core
which specifies those requirements itself. #1076
- Expand the
[email protected]
[email protected]
[email protected]
- Updated marketplace readme, color schemes, and icon to be prettier #942
[email protected]
- Add
/* eslint-disable */
in generated files header #1017
- Add
[email protected]
- Fix types sometimes being emitted with fields that don't match the underlying data #1008
[email protected]
- Move apollo-graphql package from apollo-server to apollo-tooling
[email protected]
- remove schemaDiff and change types from code/exports #967
[email protected]
- Generate additional case-class like APIs for data containers #943
[email protected]
- Fix core-js dependency by pinning to
3.0.0-beta.3
#961
- Fix core-js dependency by pinning to
apollo-language-server
1.4.1- Fix edge case for empty operations #959
apollo
2.4.1- Bump the apollo-engine-reporting version #950
apollo
2.4.0apollo-language-server
1.4.0- Replace checkOperations mutation with new validateOperations mutation #934
- Include config files into a project's fileSet #897
- Add hook into workspace for communicating out when configs are loaded or when errors are found #897
- Add fn to workspace for reloading a project with a given config URI #897
- Reload project when config file is changed #897
- Update error handling from within the server (send as message). This message can be listened for and handled by the consumer #897
vscode-apollo
1.4.1- Update statusBar to reflect new possible "warning" states #897
[email protected]
- Fixed path building issues on Windows #917
[email protected]
[email protected]
[email protected]
- Added listener for
getStats
to provide service stats for extensions #840
- Added listener for
[email protected]
- Add fallback for git branch calculation #871
[email protected]
[email protected]
- Load the env file earlier during configuration in order to infer the service name before it's required #815
[email protected]
@apollographql/[email protected]
Pass directives from schema modules throughbuildServiceDefinition
#715
[email protected]
- Allow
--no-addTypename
#758
- Allow
[email protected]
[email protected]
[email protected]
[email protected]
- Associate
*.gql
files with graphql language in GraphQLProject #740
- Associate
[email protected]
- Pin event-stream version to 3.3.4 within vscode-apollo commit
[email protected]
[email protected]
- Fix Empty 'errors' list in introspection #741
[email protected]
[email protected]
[email protected]
- Fix go to definition when a local schema file is provided #727
[email protected]
[email protected]
[email protected]
- Create Apollo output channel commit
[email protected]
- Fix edge case when no config is provided #734
[email protected]
[email protected]
[email protected]
[email protected]
- Warn on GraphQL parser exceptions #642
[email protected]
- Fix incorrect error code in cli #691
[email protected]
[email protected]
- Added Python support for vscode #694
[email protected]
[email protected]
- Updated code comments commit -
[email protected]
- Updated code comments commit -
[email protected]
- Fixed codegen message printing number of generated files #682
[email protected]
[email protected]
[email protected]
[email protected]
- Fixed incorrect client identifier commit -
[email protected]
- Fixed incorrect client identifier commit -
[email protected]
[email protected]
- Add apollo config for CI checks commit
[email protected]
- Add watch command before launching extension in dev mode commit
[email protected]
- add alias to
service:download
fromschema:download
commit
- add alias to
[email protected]
- Fixed header parsing commit
[email protected]
[email protected]
[email protected]
[email protected]
@apollographql/apollo-tools
- Add
apollo-env
dependency
- Add
[email protected]
- Respect
--endpoint
and--headers
flags forclient:*
commands commit
- Respect
[email protected]
[email protected]
[email protected]
- Fixed issue with package lockfile commit
[email protected]
[email protected]
- Fix mutations to engine for schema uploads & operation registration commit
[email protected]
[email protected]
[email protected]
- Changed engine queries to use
me
field instead ofservice
to look up services commit
- Changed engine queries to use
[email protected]
[email protected]
- Fix schema tag diagnostics
- Provide ability to go from sdl to operations via references commit
[email protected]
[email protected]
- Fallback to using the engine service from the api key if not specified in configs commit
[email protected]
[email protected]
- fixed missing dotenv dependency #663
[email protected]
[email protected]
- Added better errors around missing services
- Updated config documentation
- Fixed failures with missing service name
NOTE: Many of the updates and changes in this release came from a complete rebuild of the Apollo CLI in preparation for GraphQL summit. Many of these changes can be traced to this commit but aren't tied to a specific pull request, and won't be linked.
[email protected]
- 🚀 Features
- 🐛 Fixes & Changes
- Fixed config file resolution #591
- 💥 Breaking Changes
- Introduced a new
apollo.config.js
format commit - Changed format of
queries:extract
manifest to be more extensible #611 - Changed manifest hash encoding to SHA-256 instead of SHA-512 #611
- Deprecated apollo
schema:*
, andcodegen:*
commands and aliased usage to new commandsapollo codegen:generate
aliases toapollo client:codegen
apollo schema:check
aliases toapollo service:check
apollo schema:download
aliases toapollo service:download
(added 2.0.13)apollo schema:publish
aliases toapollo service:push
apollo plugins:add
aliases toapollo plugins:install
apollo plugins:unlink
andapollo plugins:remove
aliases toapollo plugins:uninstall
- Removed apollo
queries:*
commandsapollo client:check
should be used in place ofapollo queries:check
apollo client:extract
should be used in place ofapollo queries:extract
- Deprecated
--queries
flag in client commands in place of the--includes
flag
- Introduced a new
[email protected]
- Initial release of
apollo-language-server
to supportvscode-apollo
, andapollo
- Supports editor features for...
- Autocompletion of GraphQL documents
- Hover information for fields anr arguments
- Type definitions and references
- Code lenses for open files
- Initial release of
[email protected]
- Initial Release of
vscode-apollo
- Switching of schema tags #632
- Supports all of the editor features exposed by
apollo-language-server
- Initial Release of
[email protected]
- Fixed codegen issues listed below
[email protected]
- Fixed version of
vscode-languageserver
to follow a stable version instead ofnext
- Fixed version of
[email protected]
- Fixed swift enums to conform to Hashable #578
[email protected]
- Fixed
mergeInFieldsFromFragmentSpreads
when flag isn't specified #537
- Fixed
[email protected]
- Fixes formatting of the
schema:download
response to match previous codegen schemas #573
- Fixes formatting of the
[email protected]
- Added
queries:extract
command to write a manifest of client queries #553
- Added
apollo
- #546 Add
outputGlobalTypes
option to specify path for global types (@danilobuerger) - #562 Preserve "__schema" key when outputting JSON schema from
schema:download
@jamesmbourne) - #565 Support for self-signed certificates (@robertomg)
- #546 Add
apollo-codegen-swift
- Treat
mergeInFieldsFromFragmentSpreads
as false in Swift codegen when flag isn't specified. Fixes #537. @martijnwalraven)
- Treat
apollo-codegen-typescript
- #535 [TS] Sort global types so order is not determined by order of appearance (@danilobuerger)
apollo-codegen-typescript
apollo-cli
- #534 Allow to run
apollo codegen:generate --watch
on non tty devices (@trojanowski)
- #534 Allow to run
- Daniel Trojanowski (@trojanowski)
- Danilo Bürger (@danilobuerger)
- Shadaj Laddad (@shadaj)
apollo-language-server
,apollo-vscode
apollo-cli
apollo-cli
,apollo-codegen-typescript
- #525 [TS] Elimate newlines at beginning of file and add newline at end of file (@danilobuerger)
apollo-cli
,apollo-codegen-core
apollo-cli
,apollo-codegen-typescript
,common-test
- #520 [TS] Dedup enums and inputs by using global types file (@danilobuerger)
apollo-codegen-typescript
- #518 [typescript] Only output comment for input if there is one (@danilobuerger)
apollo-cli
,apollo-language-server
,apollo-vscode
apollo-cli
- #511 Stop default flag values from overriding custom config (@klujanrosas)
apollo-cli
,apollo-vscode
apollo-cli
- #524 Fixed broken command links (@danilobuerger)
- Danilo Bürger (@danilobuerger)
- Kenneth Luján Rosas (@klujanrosas)
- Shadaj Laddad (@shadaj)
apollo-language-server
apollo-language-server
,apollo-vscode
apollo-cli
,apollo-codegen-core
,apollo-language-server
,apollo-vscode-webview
,apollo-vscode
apollo-cli
,apollo-language-server
,apollo-vscode
apollo-cli
,apollo-language-server
apollo-language-server
,apollo-vscode
apollo-cli
,apollo-codegen-core
- Shadaj Laddad (@shadaj)
apollo-cli
apollo-cli
,apollo-codegen-core
- Shadaj Laddad (@shadaj)
apollo-cli
,apollo-codegen-core
,apollo-codegen-flow-legacy
,apollo-codegen-flow
,apollo-codegen-scala
,apollo-codegen-swift
,apollo-codegen-typescript-legacy
,apollo-codegen-typescript
- Shadaj Laddad (@shadaj)
apollo-cli
- #473 Queries command (@jbaxleyiii)
- #470 Restore ability to put generated files in a directory relative to source (@mike-marcacci)
- #463 Add back JSON as target (for Apollo Android) (@shadaj)
- #456 Handle bash expansions for the queries argument (@shadaj)
apollo-cli
,apollo-codegen-core
apollo-cli
- #470 Restore ability to put generated files in a directory relative to source (@mike-marcacci)
- #457 Allow legacy targets to be used when manually specified (@shadaj)
apollo-codegen-flow
- Other
apollo-cli
,apollo-codegen-core
- James Baxley (@jbaxleyiii)
- Mat Warger (@mwarger)
- Mike Marcacci (@mike-marcacci)
- Shadaj Laddad (@shadaj)
- Thomas Ladd (@TLadd)
- The TypeScript and Flow targets now use block comments to better handle multiline comments in schemas
- Fix crash when running on a version of Node that already supports Array.flatMap
- Fix issue with
flow-legacy
target being unusable
- BREAKING: The
typescript
andflow
targets now refer to the modern implementations. The deprecated legacy targets are available undertypescript-legacy
andflow-legacy
. - BREAKING: The
--output
parameter to the CLI is now required for all targets. - The TypeScript and Flow targets now support outputting types to either a single file or a directory, where types for each query will be separated