Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency apollo-server-koa to v2 - autoclosed #130

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 15, 2018

This PR contains the following updates:

Package Type Update Change References
apollo-server-koa dependencies major 1.4.0 -> 2.4.8 source

Release Notes

apollographql/apollo-server

v2.4.8

Compare Source

  • No functional changes in this version. The patch version has been bumped to fix the README.md displayed on the npm package for apollo-server as a result of a broken publish. Apologies for the additional noise!

v2.4.7

Compare Source

  • Fix typings which incorrectly included cors as part of the constructor options for apollo-server-express (it should be defined via applyMiddleware) but, conversely, inadvertently omitted the perfectly valid cors option from the apollo-server constructor (where applyMiddleware is not used/available). PR #​2373 Issue #​1882

v2.4.6

Compare Source

v2.4.4

Compare Source

  • Fix typing for ContextFunction incorrectly requiring the context object the function produces to match the parameters of the function PR #​2350

v2.4.3

Compare Source

  • apollo-server-lambda: Fix typings which triggered "Module has no default export" errors. PR #​2230
  • apollo-server-koa: Support OPTIONS requests PR #​2288
  • Add req and res typings to the ContextFunction argument for apollo-server and apollo-server-express. Update ContextFunction return type to allow returning a value syncronously. PR #​2330
  • Type the formatError function to accept an GraphQLError as an argument and return a GraphQLFormattedError PR #​2343

v2.4.2

Compare Source

  • apollo-server-fastify is now on Apollo Server and lives within the apollo-server repository. This is being introduced in a patch version, however it's a major version bump from the last time apollo-server-fastify was published under 1.0.2. PR #​1971
  • Move apollo-graphql package to the apollo-tooling repository PR #​2316

v2.4.1

Compare Source

  • Fix inaccurate total duration in apollo-tracing PR #​2298
  • Avoid importing entire crypto dependency tree if not in Node.js. PR #​2304
  • Allow passing parseOptions to ApolloServerBase constructor. PR #​2289
  • Rename azureFunctions.d.ts to azureFunctions.ts. PR #​2287
  • Require apollo-engine-reporting only if EngineReportingAgent used. PR #​2305

v2.4.0

Compare Source

  • Implement an in-memory cache store to save parsed and validated documents and provide performance benefits for repeat executions of the same document. PR #​2111 (>=2.4.0-alpha.0)
  • Fix: Serialize arrays as JSON on fetch in RESTDataSource. PR #​2219
  • Fix: The privateHeaders configuration for apollo-engine-reporting now allows headers to be specified using any case and lower-cases them prior to comparison. PR #​2276
  • Fix broken apollo-server-azure-functions TypeScript definitions. PR #​2287

v2.3.3

Compare Source

  • apollo-server (only): Stop double-invocation of serverWillStart life-cycle event. (More specific integrations - e.g. Express, Koa, Hapi, etc. - were unaffected.) PR #​2239
  • Avoid traversing graphql-upload module tree in run-time environments which aren't Node.js. PR #​2235

v2.3.2

Compare Source

  • Switch from json-stable-stringify to fast-json-stable-stringify. PR #​2065
  • Fix cache hints of maxAge: 0 to mean "uncachable". #​2197
  • Apply defaultMaxAge to scalar fields on the root object. #​2210
  • Don't write to the persisted query cache until execution will begin. PR #​2227

v2.3.1

Compare Source

  • Provide types for graphql-upload in a location where they can be accessed by TypeScript consumers of apollo-server packages. ccf935f9 Issue #​2092

v2.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 the ApolloServer constructor options. Without explicitly disabling file-uploads, the server will throw 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. By throw-ing when uploads is not explicitly set to false, 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 of apollo-engine-reporting are loaded (an uncommon edge case), ensure that encodedTraces are handled only once rather than once per loaded instance. PR #​2040

v2.2.6

Compare Source

  • apollo-server-micro: Set the Content-type to text/html for GraphQL Playground. PR #​2026

v2.2.5

Compare Source

  • Follow-up on the update to graphql-playground-html in previous release by also bumping the minor version of the graphql-playground-react dependency to 1.7.10 — which is the version requested from the from the CDN bundle by graphql-playground-html. PR #​2037

v2.2.4

Compare Source

  • Fix GraphQL Playground documentation scrolling bug in Safari by updating to latest (rebased) fork of graphql-playground-html. PR #​2037

v2.2.3

Compare Source

  • When generateClientInfo is not used to define the client name, client version and
    client 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 and
    apollographql-client-version respectively). As a last resort, when those headers are not set,
    the query extensions' clientInfo values will be used. PR #​1960

v2.2.2

Compare Source

  • Fixed TypeScript 2.2 compatibility via updated apollo-tooling dependency. Issue #​1951 26d6c739
  • Throw a more specific error when asynchronous introspection query behavior is detected. PR #​1955

v2.2.1

Compare Source

  • Added support for an array of modules on the ApolloServer constructor options. Each element of the modules can point to a module which exports typeDefs and resolvers. These modules can be used in lieu of, or in combination with, directly specifying schema or typeDefs/resolvers on the constructor options. This provides greater modularity and improved organization for logic which might be limited to a specific service. 8f6481e6.
  • Added resolveObject support to query execution. bb67584.
  • Fix broken 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 #​1948

v2.2.0

Compare Source

  • New request pipeline, including support for plugins which can implement lifecycle hooks at various stages of a request. PR #​1795.
  • Introduce new apollo-server-testing utilities. PR #​1909
  • Fix mocks configuration to allow disabling of mocks by using mocks: false, even if mockEntireSchema is true. PR #​1835
  • Update graphql-playground-html to 1.7.8. PR #​1855
  • Bring back Azure functions support Issue #​1752 PR #​1753
  • Allow an optional function to resolve the rootValue, passing the DocumentNode AST to determine the value. PR #​1555
  • Follow-up on the work in PR #​1516 to also fix missing insertion cursor/caret when a custom GraphQL configuration is specified which doesn't specify its own cursorShape property. PR #​1607
  • Azure functions support Issue #​1752 PR #​1753 PR #​1948
  • Allow JSON parsing in RESTDataSource of Content Type application/hal+json. PR #​185
  • Add support for a requestAgent configuration parameter within the engine configuration. This can be utilized when a proxy is necessary to transmit tracing and metrics data to Apollo Engine. It accepts either an http.Agent or https.Agent and behaves the same as the agent parameter to Node.js' http.request. PR #​1879

v2.1.0

Compare Source

  • Updated the google-cloud-functions package to handle null paths PR #​1674
  • Update link inside Authentication Docs PR #​1682
  • Fix making sure all headers are getting reported to Engine properly when using privateHeaders PR #​1689
  • (experimental, subject to change/removal) Provide ability to specify client info in traces #​1631

v2.0.7

Compare Source

  • Fix #​1581 apollo-server-micro top level error response #​1619
  • Switch ApolloServerBase.schema from private access to protected access. #​1610
  • Add toggle for including error messages in reports #​1615
  • Fix apollo-server-cloud-functions tests #​1611

v2.0.6

Compare Source

  • Update graphql-playground-html to 1.7.4 #​1586
  • Add support for graphql-js v14 by augmenting typeDefs with the @cacheControl directive so SDL validation doesn't fail #​1595
  • Add node-fetch extensions typing to RequestInit #​1602

v2.0.5

Compare Source

  • Google Cloud Function support #​1402 #​1446
  • Switch to a fork of apollo-upload-server to fix missing core-js dependency. #​1556

v2.0.4

Compare Source

  • apollo-server: Release due to failed build and install

v2.0.3

Compare Source

  • apollo-server: failed publish
  • pass payload into context function for subscriptions #​1513
  • Add option to mock the entire schema(i.e. sets preserveResolvers) PR #​1546

v2.0.2

Compare Source

  • Release with Lerna 3 due
  • Hapi: Allow additional route options to be passed to Hapi.js plugin. PR #​1384
  • express, koa: remove next after playground #​1436
  • Hapi: Pass the response toolkit to the context function. #​1407
  • update apollo-engine-reporting-protobuf to non-beta #​1429
  • playground would use its own settings as default #​1516
  • Lambda: Look in event.path first when picking endpoint for GraphQL Playground #​1527
  • Fix to allow enabling GraphQL Playground in production with custom config #​1495

v2.0.1

Compare Source

  • This version failed to publish fully/correctly and should not be used.

v2.0.0

Compare Source

  • Fix and Export Extension and Playground Types #​1360
  • Pin internal dependencies #​1361

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@renovate renovate bot added the renovate label Dec 15, 2018
@rye
Copy link
Member

rye commented Dec 15, 2018

Test failure:

file:///home/circleci/project/modules/node_modules/@frogpond/ccci-stolaf-college/v1/index.mjs:1
TypeError: graphqlKoa is not a function

@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch 2 times, most recently from fb344a1 to 2511ff9 Compare December 15, 2018 22:31
@rye
Copy link
Member

rye commented Dec 15, 2018

We need to follow this guide in order to accomplish the upgrade.

@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch from 2511ff9 to 894e13e Compare December 15, 2018 22:33
@rye
Copy link
Member

rye commented Dec 15, 2018

See also apollographql/apollo-server#1308

@hawkrives
Copy link
Member

@rye do you think we should merge the three graphql-related PRs into one "upgrade graphql stack" pr for this effort?

@rye
Copy link
Member

rye commented Dec 15, 2018

@hawkrives, that sounds like a good idea, but the v2 upgrade here will require some reworking.

@hawkrives
Copy link
Member

@rye yeah, I can't tell how tricky the other two will be. first instinct says they'll just update, but 🤷‍♀️

@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch from 894e13e to b818843 Compare December 22, 2018 21:43
@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch 2 times, most recently from 97c1e16 to 5d6eded Compare January 29, 2019 09:54
@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch from 5d6eded to 7e516c2 Compare February 7, 2019 12:30
@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch 4 times, most recently from ad35467 to 74ca225 Compare February 22, 2019 07:29
@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch from 74ca225 to aaf757b Compare February 26, 2019 11:50
@renovate renovate bot force-pushed the renovate/apollo-server-koa-2.x branch from aaf757b to 9dc6c45 Compare February 26, 2019 15:08
@renovate renovate bot changed the title Update dependency apollo-server-koa to v2 Update dependency apollo-server-koa to v2 - autoclosed Mar 4, 2019
@renovate renovate bot closed this Mar 4, 2019
@renovate renovate bot deleted the renovate/apollo-server-koa-2.x branch March 4, 2019 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants