Update dependency apollo-server-koa to v2 - autoclosed #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.4.0
->2.4.8
Release Notes
apollographql/apollo-server
v2.4.8
Compare Source
README.md
displayed on the npm package forapollo-server
as a result of a broken publish. Apologies for the additional noise!v2.4.7
Compare Source
cors
as part of the constructor options forapollo-server-express
(it should be defined viaapplyMiddleware
) but, conversely, inadvertently omitted the perfectly validcors
option from theapollo-server
constructor (whereapplyMiddleware
is not used/available). PR #2373 Issue #1882v2.4.6
Compare Source
v2.4.4
Compare Source
v2.4.3
Compare Source
apollo-server-lambda
: Fix typings which triggered "Module has no default export" errors. PR #2230apollo-server-koa
: Support OPTIONS requests PR #2288req
andres
typings to theContextFunction
argument for apollo-server and apollo-server-express. UpdateContextFunction
return type to allow returning a value syncronously. PR #2330formatError
function to accept an GraphQLError as an argument and return a GraphQLFormattedError PR #2343v2.4.2
Compare Source
apollo-server-fastify
is now on Apollo Server and lives within theapollo-server
repository. This is being introduced in a patch version, however it's a major version bump from the last timeapollo-server-fastify
was published under1.0.2
. PR #1971apollo-graphql
package to theapollo-tooling
repository PR #2316v2.4.1
Compare Source
crypto
dependency tree if not in Node.js. PR #2304parseOptions
toApolloServerBase
constructor. PR #2289azureFunctions.d.ts
toazureFunctions.ts
. PR #2287apollo-engine-reporting
only ifEngineReportingAgent
used. PR #2305v2.4.0
Compare Source
>=2.4.0-alpha.0
)RESTDataSource
. PR #2219privateHeaders
configuration forapollo-engine-reporting
now allows headers to be specified using any case and lower-cases them prior to comparison. PR #2276apollo-server-azure-functions
TypeScript definitions. PR #2287v2.3.3
Compare Source
apollo-server
(only): Stop double-invocation ofserverWillStart
life-cycle event. (More specific integrations - e.g. Express, Koa, Hapi, etc. - were unaffected.) PR #2239graphql-upload
module tree in run-time environments which aren't Node.js. PR #2235v2.3.2
Compare Source
json-stable-stringify
tofast-json-stable-stringify
. PR #2065maxAge: 0
to mean "uncachable". #2197defaultMaxAge
to scalar fields on the root object. #2210v2.3.1
Compare Source
graphql-upload
in a location where they can be accessed by TypeScript consumers ofapollo-server
packages. ccf935f9 Issue #2092v2.3.0
Compare Source
BREAKING FOR NODE.JS <= 8.5.0 ONLY: To continue using Apollo Server 2.x in versions of Node.js prior to v8.5.0, file uploads must be disabled by setting
uploads: false
on theApolloServer
constructor options. Without explicitly disabling file-uploads, the server willthrow
at launch (with instructions and a link to our documentation).This early deprecation is due to changes in the third-party
graphql-upload
package which Apollo Server utilizes to implement out-of-the-box file upload functionality. While, in general, Apollo Server 2.x aims to support all Node.js versions which were under an LTS policy at the time of its release, we felt this required an exception. Bythrow
-ing whenuploads
is not explicitly set tofalse
, we aim to make it clear immediately (rather than surprisingly) that this deprecation has taken effect.While Node.js 6.x is covered by a Long Term Support agreement by the Node.js Foundation until April 2019, there are substantial performance (e.g. V8 improvements) and language changes (e.g. "modern" ECMAScript support) offered by newer Node.js engines (e.g. 8.x, 10.x). We encourage all users of Apollo Server to update to newer LTS versions of Node.js prior to the "end-of-life" dates for their current server version.
We intend to drop support for Node.js 6.x in the next major version of Apollo Server.
For more information, see PR #2054 and our documentation.
v2.2.7
Compare Source
apollo-engine-reporting
: When multiple instances ofapollo-engine-reporting
are loaded (an uncommon edge case), ensure thatencodedTraces
are handled only once rather than once per loaded instance. PR #2040v2.2.6
Compare Source
apollo-server-micro
: Set theContent-type
totext/html
for GraphQL Playground. PR #2026v2.2.5
Compare Source
graphql-playground-html
in previous release by also bumping the minor version of thegraphql-playground-react
dependency to1.7.10
— which is the version requested from the from the CDN bundle bygraphql-playground-html
. PR #2037v2.2.4
Compare Source
graphql-playground-html
. PR #2037v2.2.3
Compare Source
generateClientInfo
is not used to define the client name, client version andclient reference ID, Apollo Server will now default to the values present in the HTTP headers
of the request (
apollographql-client-name
,apollographql-client-reference-id
andapollographql-client-version
respectively). As a last resort, when those headers are not set,the query extensions'
clientInfo
values will be used. PR #1960v2.2.2
Compare Source
apollo-tooling
dependency. Issue #195126d6c739
v2.2.1
Compare Source
modules
on theApolloServer
constructor options. Each element of themodules
can point to a module which exportstypeDefs
andresolvers
. These modules can be used in lieu of, or in combination with, directly specifyingschema
ortypeDefs
/resolvers
on the constructor options. This provides greater modularity and improved organization for logic which might be limited to a specific service.8f6481e6
.resolveObject
support to query execution.bb67584
.apollo-server-cloud-functions
in 2.2.0 caused by missing TypeScript project references which resulted in the package not being published to npm in compiled form. PR #1948v2.2.0
Compare Source
apollo-server-testing
utilities. PR #1909mocks: false
, even ifmockEntireSchema
istrue
. PR #1835graphql-playground-html
to 1.7.8. PR #1855rootValue
, passing theDocumentNode
AST to determine the value. PR #1555cursorShape
property. PR #1607RESTDataSource
of Content Typeapplication/hal+json
. PR #185requestAgent
configuration parameter within theengine
configuration. This can be utilized when a proxy is necessary to transmit tracing and metrics data to Apollo Engine. It accepts either anhttp.Agent
orhttps.Agent
and behaves the same as theagent
parameter to Node.js'http.request
. PR #1879v2.1.0
Compare Source
privateHeaders
PR #1689v2.0.7
Compare Source
apollo-server-micro
top level error response #1619ApolloServerBase.schema
from private access to protected access. #1610apollo-server-cloud-functions
tests #1611v2.0.6
Compare Source
graphql-playground-html
to 1.7.4 #1586graphql-js
v14 by augmenting typeDefs with the@cacheControl
directive so SDL validation doesn't fail #1595node-fetch
extensions typing toRequestInit
#1602v2.0.5
Compare Source
apollo-upload-server
to fix missingcore-js
dependency. #1556v2.0.4
Compare Source
v2.0.3
Compare Source
v2.0.2
Compare Source
v2.0.1
Compare Source
v2.0.0
Compare Source
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!
".🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot. View repository job log here.