All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
7.0.0 / 2020-11-17
- Update to mlabs-http v2.
- Update graphql to v15 and graphql-tools to v7.
- Update all dependencies.
- License to MIT.
- (Breaking) GraphQL Voyager.
6.4.0 / 2020-03-17
- Better error logging.
- Export Apollo Server error constructors from apollo-server-core.
- Set Apollo Server
debug
option to true.- Required to support better error logging.
- Skip error middleware when no errors.
- Use @koa-router over koa-router.
- Update to prom-client v12.
6.3.0 / 2019-06-28
- Pass
createSchema
options tomakeExecutableSchema
. - Pass
remoteResolvers
to mergeSchemas asresolvers
remoteResolvers
option tocreateServer
.gqlRemoteResolvers
to registered dependencies viaremoteResolvers
6.2.0 / 2019-04-11
- Open source under the Apache License, Version 2.0!
6.1.0 / 2019-04-08
execSchema
function.- New
gqlExec
dependency wrappingexecSchema
. health
function forfetchRemoteSchema
.useScopedServer
boolean (default true) added toregisterServer
options.
gqlContext
registered dependency:gqlContext
is no longer registered inapolloServerFromContainer
.- Registered as function, injected with a scoped container.
gqlContext
is now a function which accepts Koa context.- Context state has convenience functions
getDep
andgetDeps
wrappingcontainer.resolve
.
6.0.0 / 2019-03-08
- (Breaking) Apollo Server updated to version 2.
- (Breaking)
graphqlKoa
has new options and behavior. See docs for details. - Better error handling and logging.
createServer
.fetchRemoteSchema
andfetchRemoteSchemas
.- Server support for
mergeSchemas
via new options. - Server support for subscriptions and uploads (no direct client support yet).
- New dependencies registered with
registerServer
:apolloServer
apolloServerStart
apolloServerStop
installApolloServerSubscriptionHandlers
gqlSchemas
- (Breaking) GraphiQL (use GraphQL Playground instead).
- (Breaking)
registerServer
no longer registersgqlSchema
.
- Use
client
notname
log property.
5.0.1 / 2018-12-17
- Update to makenew-node-lib v5.3.0.
5.0.0 / 2018-11-29
- (Breaking) Rename
schema
dependency togqlSchema
.
registerServer
function.- Log errors on server.
- Pass additional options of
koaGraphql
tographqlKoa
.
4.0.0 / 2018-10-20
- (Breaking) Clients registered with
registerClient
orregisterClients
now require aregistry
dependency. - Automatic retries with
retry
option. healthQuery
option.- Client metrics with
collectClientMetrics
andmetricPrefix
, andmetricRegistry
options. - Client logging options:
logProps
willLogOptions
willLogResponseProps
willLogResponseData
getLogResponseProps
getLogResponseData
responseLogLevel
3.0.0 / 2018-10-04
GraphQLClient
(moved from mlabs-graphql-client).
- (Breaking) Update to graphql version 14 and graphql-tools version 4.
- Import unfetch and use ponyfill.
- Update to makenew-node-lib v5.1.0.
2.0.3 / 2018-07-25
- Set default GraphQL Playground option
'request.credentials': 'same-origin'
to meet expected behavior.
2.0.2 / 2018-07-16
- Missing react peer dependencies.
2.0.1 / 2018-07-12
- Missing
Bearer
string in authorization header.
2.0.0 / 2018-05-30
- GraphQL playground endpoint.
- (Breaking) Update graphql-tools to version 3.
- Update to makenew-node-lib v4.7.1.
1.1.0 / 2018-03-27
- Export
examples
to use in examplr. - Serve GraphQL Voyager.
- Change default
fetchPolicy
tono-cache
. - Update all Apollo and GraphQL dependencies.
- Update to mlabs-graphql-client to v2.2.1.
- Update to makenew-node-lib v4.6.0.
1.0.1 / 2018-01-19
- Update to mlabs-graphql-client to v2.2.0.
- Update to makenew-node-lib v4.1.12.
- Initial release.