Commit graph

194 commits

Author SHA1 Message Date
Jesse Rosenberger
046327068b
Publish
- apollo-engine-reporting@1.0.7
 - apollo-server-azure-functions@2.4.8
 - apollo-server-cloud-functions@2.4.8
 - apollo-server-cloudflare@2.4.8
 - apollo-server-core@2.4.8
 - apollo-server-express@2.4.8
 - apollo-server-fastify@2.4.8
 - apollo-server-hapi@2.4.8
 - apollo-server-integration-testsuite@2.4.8
 - apollo-server-koa@2.4.8
 - apollo-server-lambda@2.4.8
 - apollo-server-micro@2.4.8
 - apollo-server-plugin-base@0.3.7
 - apollo-server-testing@2.4.8
 - apollo-server@2.4.8
 - graphql-extensions@0.5.7
2019-02-26 16:21:42 +02:00
Jesse Rosenberger
a95421f19b
Publish
- apollo-engine-reporting@1.0.6
 - apollo-server-azure-functions@2.4.7
 - apollo-server-cloud-functions@2.4.7
 - apollo-server-cloudflare@2.4.7
 - apollo-server-core@2.4.7
 - apollo-server-express@2.4.7
 - apollo-server-fastify@2.4.7
 - apollo-server-hapi@2.4.7
 - apollo-server-integration-testsuite@2.4.7
 - apollo-server-koa@2.4.7
 - apollo-server-lambda@2.4.7
 - apollo-server-micro@2.4.7
 - apollo-server-plugin-base@0.3.6
 - apollo-server-testing@2.4.7
 - apollo-server@2.4.7
 - graphql-extensions@0.5.6
2019-02-26 13:21:32 +02:00
Jesse Rosenberger
721c4c9b26
Remove dysfunctional coverall badges.
The coverage of various packages is now reported through codecov.io and can
be seen here: https://codecov.io/gh/apollographql/apollo-server/tree/master/packages
2019-02-26 12:12:25 +02:00
Jesse Rosenberger
6d62d2428d
Remove @rc dist-tag suggestions from several package's READMEs. 2019-02-26 11:18:51 +02:00
Jesse Rosenberger
62587e037b Publish
- apollo-engine-reporting@1.0.5
 - apollo-server-azure-functions@2.4.6
 - apollo-server-cloud-functions@2.4.6
 - apollo-server-cloudflare@2.4.6
 - apollo-server-core@2.4.6
 - apollo-server-express@2.4.6
 - apollo-server-fastify@2.4.6
 - apollo-server-hapi@2.4.6
 - apollo-server-integration-testsuite@2.4.6
 - apollo-server-koa@2.4.6
 - apollo-server-lambda@2.4.6
 - apollo-server-micro@2.4.6
 - apollo-server-plugin-base@0.3.5
 - apollo-server-testing@2.4.6
 - apollo-server@2.4.6
 - graphql-extensions@0.5.5
2019-02-22 07:21:47 +00:00
Jesse Rosenberger
750f0010ca Re-align version numbers after 587c660d.
cc @cheapsteak
2019-02-22 06:37:16 +00:00
Chang Wang
879ed19034 Publish
- apollo-cache-control@0.5.2
 - apollo-datasource-rest@0.3.2
 - apollo-engine-reporting@1.0.4
 - apollo-server-azure-functions@2.4.4
 - apollo-server-cloud-functions@2.4.4
 - apollo-server-cloudflare@2.4.4
 - apollo-server-core@2.4.4
 - apollo-server-errors@2.2.1
 - apollo-server-express@2.4.4
 - apollo-server-fastify@2.4.4
 - apollo-server-hapi@2.4.4
 - apollo-server-integration-testsuite@2.4.4
 - apollo-server-koa@2.4.4
 - apollo-server-lambda@2.4.4
 - apollo-server-micro@2.4.4
 - apollo-server-plugin-base@0.3.4
 - apollo-server-testing@2.4.4
 - apollo-server@2.4.4
 - apollo-tracing@0.5.2
 - graphql-extensions@0.5.4
2019-02-21 13:05:33 -05:00
Jesse Rosenberger
e1d7078817
Publish
- apollo-engine-reporting@1.0.3
 - apollo-server-azure-functions@2.4.3
 - apollo-server-cloud-functions@2.4.3
 - apollo-server-cloudflare@2.4.3
 - apollo-server-core@2.4.3
 - apollo-server-express@2.4.3
 - apollo-server-fastify@2.4.3
 - apollo-server-hapi@2.4.3
 - apollo-server-integration-testsuite@2.4.3
 - apollo-server-koa@2.4.3
 - apollo-server-lambda@2.4.3
 - apollo-server-micro@2.4.3
 - apollo-server-plugin-base@0.3.3
 - apollo-server-testing@2.4.3
 - apollo-server@2.4.3
 - graphql-extensions@0.5.3
2019-02-20 19:00:08 +02:00
Jesse Rosenberger
e727a252fe
Replace Slack shields in project README.mds with Spectrum shields. (#2345)
As we're moving the community from Slack to Spectrum, its time to update
these shields from our project README files (which show on npm and in
GitHub) to reflect the new home for conversation.

If you haven't already joined the new Apollo community on Spectrum.chat,
visit https://spectrum.chat/apollo/ to join the discussion!

For more details on the move, checkout the Apollo blog post by @hwillson:

https://blog.apollographql.com/goodbye-slack-hello-spectrum-8fa6b979645b
2019-02-20 17:55:16 +02:00
Ralph
2f773625c0 apollo-server-koa: Respond to OPTIONS (#2288)
Closes #2253
2019-02-19 18:01:17 +02:00
Jesse Rosenberger
c1669c3d74
Publish
- apollo-cache-control@0.5.1
 - apollo-datasource-rest@0.3.1
 - apollo-datasource@0.3.1
 - apollo-engine-reporting-protobuf@0.2.1
 - apollo-engine-reporting@1.0.2
 - apollo-server-azure-functions@2.4.2
 - apollo-server-cache-memcached@0.3.1
 - apollo-server-cache-redis@0.3.1
 - apollo-server-caching@0.3.1
 - apollo-server-cloud-functions@2.4.2
 - apollo-server-cloudflare@2.4.2
 - apollo-server-core@2.4.2
 - apollo-server-express@2.4.2
 - apollo-server-fastify@2.4.2
 - apollo-server-hapi@2.4.2
 - apollo-server-integration-testsuite@2.4.2
 - apollo-server-koa@2.4.2
 - apollo-server-lambda@2.4.2
 - apollo-server-micro@2.4.2
 - apollo-server-plugin-base@0.3.2
 - apollo-server-testing@2.4.2
 - apollo-server@2.4.2
 - apollo-tracing@0.5.1
 - graphql-extensions@0.5.2
2019-02-14 15:25:38 +02:00
Jesse Rosenberger
f988a30e8c
Publish
- apollo-cache-control@0.5.1-rc.0
 - apollo-datasource-rest@0.3.1-rc.0
 - apollo-datasource@0.3.1-rc.0
 - apollo-engine-reporting-protobuf@0.2.1-rc.0
 - apollo-engine-reporting@1.0.2-rc.0
 - apollo-server-azure-functions@2.4.2-rc.0
 - apollo-server-cache-memcached@0.3.1-rc.0
 - apollo-server-cache-redis@0.3.1-rc.0
 - apollo-server-caching@0.3.1-rc.0
 - apollo-server-cloud-functions@2.4.2-rc.0
 - apollo-server-cloudflare@2.4.2-rc.0
 - apollo-server-core@2.4.2-rc.0
 - apollo-server-express@2.4.2-rc.0
 - apollo-server-fastify@2.4.2-rc.0
 - apollo-server-hapi@2.4.2-rc.0
 - apollo-server-integration-testsuite@2.4.2-rc.0
 - apollo-server-koa@2.4.2-rc.0
 - apollo-server-lambda@2.4.2-rc.0
 - apollo-server-micro@2.4.2-rc.0
 - apollo-server-plugin-base@0.3.2-rc.0
 - apollo-server-testing@2.4.2-rc.0
 - apollo-server@2.4.2-rc.0
 - apollo-tracing@0.5.1-rc.0
 - graphql-extensions@0.5.2-rc.0
2019-02-14 15:16:36 +02:00
Ben Newman
4116b2ff4a
Publish
- apollo-engine-reporting@1.0.1
 - apollo-server-azure-functions@2.4.1
 - apollo-server-cloud-functions@2.4.1
 - apollo-server-cloudflare@2.4.1
 - apollo-server-core@2.4.1
 - apollo-server-express@2.4.1
 - apollo-server-hapi@2.4.1
 - apollo-server-integration-testsuite@2.4.1
 - apollo-server-koa@2.4.1
 - apollo-server-lambda@2.4.1
 - apollo-server-micro@2.4.1
 - apollo-server-plugin-base@0.3.1
 - apollo-server-testing@2.4.1
 - apollo-server@2.4.1
 - graphql-extensions@0.5.1
2019-02-12 16:34:47 -05:00
Jesse Rosenberger
a3222ece11
Publish
- apollo-cache-control@0.5.0
 - apollo-datasource-rest@0.3.0
 - apollo-datasource@0.3.0
 - apollo-engine-reporting@1.0.0
 - apollo-graphql@0.1.0
 - apollo-server-azure-functions@2.4.0
 - apollo-server-cache-memcached@0.3.0
 - apollo-server-cache-redis@0.3.0
 - apollo-server-caching@0.3.0
 - apollo-server-cloud-functions@2.4.0
 - apollo-server-cloudflare@2.4.0
 - apollo-server-core@2.4.0
 - apollo-server-express@2.4.0
 - apollo-server-hapi@2.4.0
 - apollo-server-integration-testsuite@2.4.0
 - apollo-server-koa@2.4.0
 - apollo-server-lambda@2.4.0
 - apollo-server-micro@2.4.0
 - apollo-server-plugin-base@0.3.0
 - apollo-server-testing@2.4.0
 - apollo-server@2.4.0
 - apollo-tracing@0.5.0
 - graphql-extensions@0.5.0
2019-02-07 14:08:23 +02:00
Jesse Rosenberger
f74610b290
Publish
- apollo-cache-control@0.5.0-alpha.3
 - apollo-datasource-rest@0.3.0-alpha.3
 - apollo-engine-reporting@1.0.0-alpha.3
 - apollo-graphql@0.0.1-alpha.1
 - apollo-server-azure-functions@2.4.0-alpha.4
 - apollo-server-cloud-functions@2.4.0-alpha.4
 - apollo-server-cloudflare@2.4.0-alpha.4
 - apollo-server-core@2.4.0-alpha.4
 - apollo-server-express@2.4.0-alpha.4
 - apollo-server-hapi@2.4.0-alpha.4
 - apollo-server-integration-testsuite@2.4.0-alpha.4
 - apollo-server-koa@2.4.0-alpha.4
 - apollo-server-lambda@2.4.0-alpha.4
 - apollo-server-micro@2.4.0-alpha.4
 - apollo-server-plugin-base@0.3.0-alpha.4
 - apollo-server-testing@2.4.0-alpha.4
 - apollo-server@2.4.0-alpha.4
 - apollo-tracing@0.5.0-alpha.3
 - graphql-extensions@0.5.0-alpha.4
2019-02-07 13:01:14 +02:00
Dennis Johnson
95949971d4 chore(deps): update dependency @types/koa-bodyparser to a valid 4.2.1… (#2217)
… version

This PR should hopefully correct some typing issues we are currently facing.

The problem:
- this package references v5.0.1 for @types/koa-bodyparser
- when we start our server that also uses koa-bodyparser for non-graphql routes, the type for koa.Request sets the "body" field to:

```
declare module "koa" {
    interface Request {
        body: {} | null | undefined;
        rawBody: {} | null | undefined;
    }
}
```

Which breaks our type defs for koa-bodyparser as we actually want "body" to be set to "any."

The v5.0.1 that was originally placed here is no longer "latest" and they have published a new v4 version that has the correct typing for koa-bodyparser (setting body to any). - https://www.npmjs.com/package/@types/koa-bodyparser

<!--
  Thanks for filing a pull request on GraphQL Server!

  Please look at the following checklist to ensure that your PR
  can be accepted quickly:
-->

TODO:

* [ ] Update CHANGELOG.md with your change (include reference to issue & this PR)
* [x] Make sure all of the significant new logic is covered by tests
* [x] Rebase your changes on master so that they can be merged easily
* [x] Make sure all tests and linter rules pass
2019-02-04 18:10:07 +02:00
Jesse Rosenberger
03283f9ad3
Merge branch 'master' into release-2.4.0 2019-01-29 12:10:13 +02:00
Jesse Rosenberger
5939327edd
Publish
- apollo-server-azure-functions@2.3.3
 - apollo-server-cloud-functions@2.3.3
 - apollo-server-cloudflare@2.3.3
 - apollo-server-core@2.3.3
 - apollo-server-express@2.3.3
 - apollo-server-hapi@2.3.3
 - apollo-server-integration-testsuite@2.3.3
 - apollo-server-koa@2.3.3
 - apollo-server-lambda@2.3.3
 - apollo-server-micro@2.3.3
 - apollo-server-plugin-base@0.2.3
 - apollo-server-testing@2.3.3
 - apollo-server@2.3.3
 - graphql-extensions@0.4.3
2019-01-29 11:51:30 +02:00
renovate[bot]
82674bf129
chore(deps): update dependency koa to v2.7.0 (#2233) 2019-01-28 11:09:34 +00:00
Jesse Rosenberger
d48d0972c5
Publish
- apollo-cache-control@0.4.1
 - apollo-datasource-rest@0.2.2
 - apollo-datasource@0.2.2
 - apollo-engine-reporting@0.2.1
 - apollo-server-azure-functions@2.3.2
 - apollo-server-cache-memcached@0.2.2
 - apollo-server-cache-redis@0.2.2
 - apollo-server-caching@0.2.2
 - apollo-server-cloud-functions@2.3.2
 - apollo-server-cloudflare@2.3.2
 - apollo-server-core@2.3.2
 - apollo-server-express@2.3.2
 - apollo-server-hapi@2.3.2
 - apollo-server-integration-testsuite@2.3.2
 - apollo-server-koa@2.3.2
 - apollo-server-lambda@2.3.2
 - apollo-server-micro@2.3.2
 - apollo-server-plugin-base@0.2.2
 - apollo-server-testing@2.3.2
 - apollo-server@2.3.2
 - apollo-tracing@0.4.1
 - graphql-extensions@0.4.2
2019-01-25 18:48:18 +02:00
Jesse Rosenberger
f045a4d0c9
Publish
- apollo-cache-control@0.5.0-alpha.2
 - apollo-datasource-rest@0.3.0-alpha.2
 - apollo-datasource@0.3.0-alpha.2
 - apollo-engine-reporting@0.3.0-alpha.2
 - apollo-server-azure-functions@2.4.0-alpha.3
 - apollo-server-cache-memcached@0.3.0-alpha.2
 - apollo-server-cache-redis@0.3.0-alpha.2
 - apollo-server-caching@0.3.0-alpha.2
 - apollo-server-cloud-functions@2.4.0-alpha.3
 - apollo-server-cloudflare@2.4.0-alpha.3
 - apollo-server-core@2.4.0-alpha.3
 - apollo-server-express@2.4.0-alpha.3
 - apollo-server-fastify@2.4.0-alpha.3
 - apollo-server-hapi@2.4.0-alpha.3
 - apollo-server-integration-testsuite@2.4.0-alpha.3
 - apollo-server-koa@2.4.0-alpha.3
 - apollo-server-lambda@2.4.0-alpha.3
 - apollo-server-micro@2.4.0-alpha.3
 - apollo-server-plugin-base@0.3.0-alpha.3
 - apollo-server-testing@2.4.0-alpha.3
 - apollo-server@2.4.0-alpha.3
 - apollo-tracing@0.5.0-alpha.2
 - graphql-extensions@0.5.0-alpha.3
2019-01-23 15:58:50 +02:00
Jesse Rosenberger
1d0021933e
Publish
- apollo-server-azure-functions@2.4.0-alpha.2
 - apollo-server-cloud-functions@2.4.0-alpha.2
 - apollo-server-cloudflare@2.4.0-alpha.2
 - apollo-server-core@2.4.0-alpha.2
 - apollo-server-express@2.4.0-alpha.2
 - apollo-server-hapi@2.4.0-alpha.2
 - apollo-server-integration-testsuite@2.4.0-alpha.2
 - apollo-server-koa@2.4.0-alpha.2
 - apollo-server-lambda@2.4.0-alpha.2
 - apollo-server-micro@2.4.0-alpha.2
 - apollo-server-plugin-base@0.3.0-alpha.2
 - apollo-server-testing@2.4.0-alpha.2
 - apollo-server@2.4.0-alpha.2
 - graphql-extensions@0.5.0-alpha.2
2019-01-23 15:04:23 +02:00
Jesse Rosenberger
33d1f82814
Publish
- apollo-cache-control@0.5.0-alpha.1
 - apollo-datasource-rest@0.3.0-alpha.1
 - apollo-datasource@0.3.0-alpha.1
 - apollo-engine-reporting@0.3.0-alpha.1
 - apollo-server-azure-functions@2.4.0-alpha.1
 - apollo-server-cache-memcached@0.3.0-alpha.1
 - apollo-server-cache-redis@0.3.0-alpha.1
 - apollo-server-caching@0.3.0-alpha.1
 - apollo-server-cloud-functions@2.4.0-alpha.1
 - apollo-server-cloudflare@2.4.0-alpha.1
 - apollo-server-core@2.4.0-alpha.1
 - apollo-server-express@2.4.0-alpha.1
 - apollo-server-hapi@2.4.0-alpha.1
 - apollo-server-integration-testsuite@2.4.0-alpha.1
 - apollo-server-koa@2.4.0-alpha.1
 - apollo-server-lambda@2.4.0-alpha.1
 - apollo-server-micro@2.4.0-alpha.1
 - apollo-server-plugin-base@0.3.0-alpha.1
 - apollo-server-testing@2.4.0-alpha.1
 - apollo-server@2.4.0-alpha.1
 - apollo-tracing@0.5.0-alpha.1
 - graphql-extensions@0.5.0-alpha.1
2019-01-16 13:11:21 +02:00
Jesse Rosenberger
7697623789
Publish
- apollo-cache-control@0.5.0-alpha.0
 - apollo-datasource-rest@0.3.0-alpha.0
 - apollo-datasource@0.3.0-alpha.0
 - apollo-engine-reporting@0.3.0-alpha.0
 - apollo-server-azure-functions@2.4.0-alpha.0
 - apollo-server-cache-memcached@0.3.0-alpha.0
 - apollo-server-cache-redis@0.3.0-alpha.0
 - apollo-server-caching@0.3.0-alpha.0
 - apollo-server-cloud-functions@2.4.0-alpha.0
 - apollo-server-cloudflare@2.4.0-alpha.0
 - apollo-server-core@2.4.0-alpha.0
 - apollo-server-express@2.4.0-alpha.0
 - apollo-server-hapi@2.4.0-alpha.0
 - apollo-server-integration-testsuite@2.4.0-alpha.0
 - apollo-server-koa@2.4.0-alpha.0
 - apollo-server-lambda@2.4.0-alpha.0
 - apollo-server-micro@2.4.0-alpha.0
 - apollo-server-plugin-base@0.3.0-alpha.0
 - apollo-server-testing@2.4.0-alpha.0
 - apollo-server@2.4.0-alpha.0
 - apollo-tracing@0.5.0-alpha.0
 - graphql-extensions@0.5.0-alpha.0
2018-12-18 17:14:02 +02:00
Jesse Rosenberger
cf95cf7881
Publish
- apollo-server-azure-functions@2.3.1
 - apollo-server-cloud-functions@2.3.1
 - apollo-server-cloudflare@2.3.1
 - apollo-server-core@2.3.1
 - apollo-server-express@2.3.1
 - apollo-server-hapi@2.3.1
 - apollo-server-integration-testsuite@2.3.1
 - apollo-server-koa@2.3.1
 - apollo-server-lambda@2.3.1
 - apollo-server-micro@2.3.1
 - apollo-server-plugin-base@0.2.1
 - apollo-server-testing@2.3.1
 - apollo-server@2.3.1
 - graphql-extensions@0.4.1
2018-12-13 21:07:29 +02:00
Jesse Rosenberger
3545c32e2a
Publish
- apollo-cache-control@0.4.0
 - apollo-engine-reporting-protobuf@0.2.0
 - apollo-engine-reporting@0.2.0
 - apollo-server-azure-functions@2.3.0
 - apollo-server-cloud-functions@2.3.0
 - apollo-server-cloudflare@2.3.0
 - apollo-server-core@2.3.0
 - apollo-server-express@2.3.0
 - apollo-server-hapi@2.3.0
 - apollo-server-integration-testsuite@2.3.0
 - apollo-server-koa@2.3.0
 - apollo-server-lambda@2.3.0
 - apollo-server-micro@2.3.0
 - apollo-server-plugin-base@0.2.0
 - apollo-server-testing@2.3.0
 - apollo-server@2.3.0
 - apollo-tracing@0.4.0
 - graphql-extensions@0.4.0
2018-12-13 15:29:53 +02:00
Jesse Rosenberger
ef31818629
Publish
- apollo-cache-control@0.4.0-alpha.0
 - apollo-engine-reporting-protobuf@0.2.0-alpha.0
 - apollo-engine-reporting@0.2.0-alpha.0
 - apollo-server-azure-functions@2.3.0-alpha.0
 - apollo-server-cloud-functions@2.3.0-alpha.0
 - apollo-server-cloudflare@2.3.0-alpha.0
 - apollo-server-core@2.3.0-alpha.0
 - apollo-server-express@2.3.0-alpha.0
 - apollo-server-hapi@2.3.0-alpha.0
 - apollo-server-integration-testsuite@2.3.0-alpha.0
 - apollo-server-koa@2.3.0-alpha.0
 - apollo-server-lambda@2.3.0-alpha.0
 - apollo-server-micro@2.3.0-alpha.0
 - apollo-server-plugin-base@0.2.0-alpha.0
 - apollo-server-testing@2.3.0-alpha.0
 - apollo-server@2.3.0-alpha.0
 - apollo-tracing@0.4.0-alpha.0
 - graphql-extensions@0.4.0-alpha.0
2018-12-04 21:12:30 +02:00
Jesse Rosenberger
b5c516c04d
Merge pull request #2054 from apollographql/abernix/throw-when-uploads-on-pre-node-8.5
Upgrade to graphql-upload v8, dropping upload support for Node.js v6.
2018-12-04 14:30:26 +02:00
Jesse Rosenberger
abb8dc58de
Merge branch 'release-vNEXT' into abernix/throw-when-uploads-on-pre-node-8.5 2018-12-04 14:07:57 +02:00
Jesse Rosenberger
ccf0aa5476
Publish
- apollo-cache-control@0.3.4-alpha.0
 - apollo-engine-reporting-protobuf@0.1.1-alpha.0
 - apollo-engine-reporting@0.1.4-alpha.0
 - apollo-server-azure-functions@2.2.7-alpha.0
 - apollo-server-cloud-functions@2.2.7-alpha.0
 - apollo-server-cloudflare@2.2.7-alpha.0
 - apollo-server-core@2.2.7-alpha.0
 - apollo-server-express@2.2.7-alpha.0
 - apollo-server-hapi@2.2.7-alpha.0
 - apollo-server-integration-testsuite@2.2.7-alpha.0
 - apollo-server-koa@2.2.7-alpha.0
 - apollo-server-lambda@2.2.7-alpha.0
 - apollo-server-micro@2.2.7-alpha.0
 - apollo-server-plugin-base@0.1.7-alpha.0
 - apollo-server-testing@2.2.7-alpha.0
 - apollo-server@2.2.7-alpha.0
 - apollo-tracing@0.3.4-alpha.0
 - graphql-extensions@0.3.7-alpha.0
2018-12-04 13:44:00 +02:00
Jesse Rosenberger
1e5cdc6397
Publish
- apollo-server-azure-functions@2.2.6
 - apollo-server-cloud-functions@2.2.6
 - apollo-server-cloudflare@2.2.6
 - apollo-server-core@2.2.6
 - apollo-server-express@2.2.6
 - apollo-server-hapi@2.2.6
 - apollo-server-integration-testsuite@2.2.6
 - apollo-server-koa@2.2.6
 - apollo-server-lambda@2.2.6
 - apollo-server-micro@2.2.6
 - apollo-server-plugin-base@0.1.6
 - apollo-server-testing@2.2.6
 - apollo-server@2.2.6
 - graphql-extensions@0.3.6
2018-12-04 13:35:23 +02:00
Jesse Rosenberger
705256e879
(tests): Re-enable file upload tests for Node.js 10. 🎉🎉🎉
This commit again looks quite complicated, but's merely an over-complication
inflicted by Prettification.  Disabling whitespace differences when viewing
this commit, the functional change here is that we no longer skip many file
upload tests when the (semver) major segment of `process.version` is `10`.

I couldn't be happier to get rid of this exception for file upload tests on
Node.js 10, which was an unfortunate reality of the non-updated
`graphql-upload` module world we previously lived in.

Thanks, @jaydenseric, for the newfound (to us!) Node.js upload support!
2018-11-30 19:41:30 +02:00
Jesse Rosenberger
cd6e575bb7
(tests) Skip file upload tests for NODE_MAJOR_VERSION === 6.
This commit looks way more complicated than it really is thanks to Prettier
trying to be helpful.

All I've done is add `NODE_MAJOR_VERSION === 6` as a version NOT to test
uploads for, in an effort to fix the failing tests (failing appropriately
since Node.js 6 with file uploads throws an error right now and cannot run
uploads anymore.).
2018-11-30 19:04:51 +02:00
Jesse Rosenberger
6dc132e0c6
(tests) Switch to a very explicit Node.js 10 restriction.
I hope to actually remove this limitation, but I'm going to iterate on it
first.  This also just switches to a `NODE_MAJOR_VERSION` constant from the
`apollo-server-integration-testsuite` rather than using the GTE function on
the same input since...math.
2018-11-30 19:00:55 +02:00
Jesse Rosenberger
9c563fae50
Throw error at startup when file uploads are enabled on Node.js < 8.5.0.
Due to changes in the third-party `graphql-upload` package which Apollo
Server utilizes to implement out-of-the-box file upload functionality, we
must drop support for file uploads in versions of the Node.js engine prior
to v8.5.0.  Since file uploads are supported by default in Apollo Server 2.x,
and there is an explicit dependency on `graphql-upload`, we must
prevent users who are affected by this mid-major-release deprecation by
being surprised by the sudden lack of upload support.

By `throw`-ing an error at server startup for affected users, we certainly
are breaking a semantic versioning agreement for these users, however with a
relatively simple ergonomic (setting `uploads: false`) we allow those users
who are NOT utilizing file uploads (as we believe is the case with a
majority) to continue using their version of Node.js until it reaches the
end of its supported lifetime (as dictated by its Long Term Support
agreement with the Node.js Foundation).  If we did not `throw` the error at
server start-up, those affected may not notice since they may update and start
their updated server without noticing the impending chance of failure when
someone tries updating!

Apollo Server 2.x has attempted to maintain full compatibility with versions
of Node.js which are still under Long Term Support agreements with the
Node.js Foundation.  While this continues to mostly be true, file uploads
are an exception which we've now had to make.

Third-party open-source projects must absolutely do what's best for their
project.  From an architecture standpoint, I suspect that we (the designers
behind Apollo Server) are mostly to blame for this.  Namely, it's unfortunate
that we had made such an incredibly coupled integration with a third-party
package that we restricted our users from incrementally adopting the
changes (and new/improved functionality) of, in this particular case,
the `graphql-upload` package.  I hope we can take better care with decisions
like this in the future!

Lastly, this commit also adds documentation to help those affected.
2018-11-30 15:59:57 +02:00
Leonardo Gatica
0c2fbc3dec
feat(uploads): replace apollo-upload-server v5 with graphql-upload v8 2018-11-30 15:45:01 +02:00
Jesse Rosenberger
85e9094f6c
Publish
- apollo-server-azure-functions@2.2.5
 - apollo-server-cloud-functions@2.2.5
 - apollo-server-cloudflare@2.2.5
 - apollo-server-core@2.2.5
 - apollo-server-express@2.2.5
 - apollo-server-hapi@2.2.5
 - apollo-server-integration-testsuite@2.2.5
 - apollo-server-koa@2.2.5
 - apollo-server-lambda@2.2.5
 - apollo-server-micro@2.2.5
 - apollo-server-plugin-base@0.1.5
 - apollo-server-testing@2.2.5
 - apollo-server@2.2.5
 - graphql-extensions@0.3.5
2018-11-29 13:45:34 +02:00
Jesse Rosenberger
ee44bdb716
Publish
- apollo-server-azure-functions@2.2.4
 - apollo-server-cloud-functions@2.2.4
 - apollo-server-cloudflare@2.2.4
 - apollo-server-core@2.2.4
 - apollo-server-express@2.2.4
 - apollo-server-hapi@2.2.4
 - apollo-server-integration-testsuite@2.2.4
 - apollo-server-koa@2.2.4
 - apollo-server-lambda@2.2.4
 - apollo-server-micro@2.2.4
 - apollo-server-plugin-base@0.1.4
 - apollo-server-testing@2.2.4
 - apollo-server@2.2.4
 - graphql-extensions@0.3.4
2018-11-28 15:20:49 +02:00
Jesse Rosenberger
fedc96d239
Update @apollographql/graphql-playground-html to latest version. (#2037)
With any luck, we will no longer necessitate our fork which removed the
`graphql-config` dependency thanks to the work done in:

https://github.com/prisma/graphql-playground/pull/874

🎉

Most notably though, this fixes a documentation scrolling problem with
Safari.
2018-11-28 15:15:53 +02:00
Jesse Rosenberger
1f3801c949
Publish
- apollo-cache-control@0.3.3
 - apollo-datasource-rest@0.2.1
 - apollo-datasource@0.2.1
 - apollo-engine-reporting@0.1.3
 - apollo-server-azure-functions@2.2.3
 - apollo-server-cache-memcached@0.2.1
 - apollo-server-cache-redis@0.2.1
 - apollo-server-caching@0.2.1
 - apollo-server-cloud-functions@2.2.3
 - apollo-server-cloudflare@2.2.3
 - apollo-server-core@2.2.3
 - apollo-server-express@2.2.3
 - apollo-server-hapi@2.2.3
 - apollo-server-integration-testsuite@2.2.3
 - apollo-server-koa@2.2.3
 - apollo-server-lambda@2.2.3
 - apollo-server-micro@2.2.3
 - apollo-server-plugin-base@0.1.3
 - apollo-server-testing@2.2.3
 - apollo-server@2.2.3
 - apollo-tracing@0.3.3
 - graphql-extensions@0.3.3
2018-11-26 20:43:29 +02:00
Jesse Rosenberger
47676e0cd9
Publish
- apollo-cache-control@0.3.2
 - apollo-engine-reporting@0.1.2
 - apollo-server-azure-functions@2.2.2
 - apollo-server-cloud-functions@2.2.2
 - apollo-server-cloudflare@2.2.2
 - apollo-server-core@2.2.2
 - apollo-server-express@2.2.2
 - apollo-server-hapi@2.2.2
 - apollo-server-integration-testsuite@2.2.2
 - apollo-server-koa@2.2.2
 - apollo-server-lambda@2.2.2
 - apollo-server-micro@2.2.2
 - apollo-server-plugin-base@0.1.2
 - apollo-server-testing@2.2.2
 - apollo-server@2.2.2
 - apollo-tracing@0.3.2
 - graphql-extensions@0.3.2
2018-11-13 15:58:57 +02:00
Martijn Walraven
20eb2e9e03 Publish
- apollo-cache-control@0.3.1
 - apollo-engine-reporting@0.1.1
 - apollo-server-azure-functions@2.2.1
 - apollo-server-cloud-functions@2.2.1
 - apollo-server-cloudflare@2.2.1
 - apollo-server-core@2.2.1
 - apollo-server-express@2.2.1
 - apollo-server-hapi@2.2.1
 - apollo-server-integration-testsuite@2.2.1
 - apollo-server-koa@2.2.1
 - apollo-server-lambda@2.2.1
 - apollo-server-micro@2.2.1
 - apollo-server-plugin-base@0.1.1
 - apollo-server-testing@2.2.1
 - apollo-server@2.2.1
 - apollo-tracing@0.3.1
 - graphql-extensions@0.3.1
2018-11-12 14:26:26 +01:00
Renovate Bot
87b4833926 chore(deps): update dependency koa to v2.6.2 2018-11-10 09:54:48 +00:00
Martijn Walraven
6bd73b175f Publish
- apollo-cache-control@0.3.0
 - apollo-datasource-rest@0.2.0
 - apollo-datasource@0.2.0
 - apollo-engine-reporting-protobuf@0.1.0
 - apollo-engine-reporting@0.1.0
 - apollo-server-azure-functions@2.2.0
 - apollo-server-cache-memcached@0.2.0
 - apollo-server-cache-redis@0.2.0
 - apollo-server-caching@0.2.0
 - apollo-server-cloud-functions@2.2.0
 - apollo-server-cloudflare@2.2.0
 - apollo-server-core@2.2.0
 - apollo-server-env@2.2.0
 - apollo-server-errors@2.2.0
 - apollo-server-express@2.2.0
 - apollo-server-hapi@2.2.0
 - apollo-server-integration-testsuite@2.2.0
 - apollo-server-koa@2.2.0
 - apollo-server-lambda@2.2.0
 - apollo-server-micro@2.2.0
 - apollo-server-plugin-base@0.1.0
 - apollo-server-testing@2.2.0
 - apollo-server@2.2.0
 - apollo-tracing@0.3.0
 - graphql-extensions@0.3.0
2018-11-07 08:17:21 -08:00
Jesse Rosenberger
79fe6bf0bf
Publish
- apollo-server-azure-function@2.2.0-alpha.4
 - apollo-server-cloud-functions@2.2.0-alpha.4
 - apollo-server-cloudflare@2.2.0-alpha.4
 - apollo-server-core@2.2.0-alpha.4
 - apollo-server-express@2.2.0-alpha.4
 - apollo-server-hapi@2.2.0-alpha.4
 - apollo-server-integration-testsuite@2.2.0-alpha.4
 - apollo-server-koa@2.2.0-alpha.4
 - apollo-server-lambda@2.2.0-alpha.4
 - apollo-server-micro@2.2.0-alpha.4
 - apollo-server-plugin-base@0.1.0-alpha.4
 - apollo-server-testing@2.2.0-alpha.4
 - apollo-server@2.2.0-alpha.4
 - graphql-extensions@0.3.0-alpha.4
2018-11-06 11:33:35 -08:00
Jesse Rosenberger
5ca4c07bd5
Publish
- apollo-cache-control@0.3.0-alpha.3
 - apollo-engine-reporting-protobuf@0.1.0-alpha.3
 - apollo-engine-reporting@0.1.0-alpha.3
 - apollo-server-cloud-functions@2.2.0-alpha.3
 - apollo-server-cloudflare@2.2.0-alpha.3
 - apollo-server-core@2.2.0-alpha.3
 - apollo-server-express@2.2.0-alpha.3
 - apollo-server-hapi@2.2.0-alpha.3
 - apollo-server-integration-testsuite@2.2.0-alpha.3
 - apollo-server-koa@2.2.0-alpha.3
 - apollo-server-lambda@2.2.0-alpha.3
 - apollo-server-micro@2.2.0-alpha.3
 - apollo-server-plugin-base@0.1.0-alpha.3
 - apollo-server-testing@2.2.0-alpha.3
 - apollo-server@2.2.0-alpha.3
 - apollo-tracing@0.3.0-alpha.3
 - graphql-extensions@0.3.0-alpha.3
2018-11-05 21:36:39 -08:00
Jesse Rosenberger
a6872c2f6c
Publish
- apollo-cache-control@0.3.0-alpha.2
 - apollo-datasource-rest@0.2.0-alpha.2
 - apollo-datasource@0.2.0-alpha.2
 - apollo-engine-reporting@0.1.0-alpha.2
 - apollo-server-cache-memcached@0.2.0-alpha.2
 - apollo-server-cache-redis@0.2.0-alpha.2
 - apollo-server-caching@0.2.0-alpha.2
 - apollo-server-cloud-functions@2.2.0-alpha.2
 - apollo-server-cloudflare@2.2.0-alpha.2
 - apollo-server-core@2.2.0-alpha.2
 - apollo-server-express@2.2.0-alpha.2
 - apollo-server-hapi@2.2.0-alpha.2
 - apollo-server-integration-testsuite@2.2.0-alpha.2
 - apollo-server-koa@2.2.0-alpha.2
 - apollo-server-lambda@2.2.0-alpha.2
 - apollo-server-micro@2.2.0-alpha.2
 - apollo-server-plugin-base@0.1.0-alpha.2
 - apollo-server-testing@2.2.0-alpha.2
 - apollo-server@2.2.0-alpha.2
 - apollo-tracing@0.3.0-alpha.2
 - graphql-extensions@0.3.0-alpha.2
2018-11-05 11:45:46 -08:00
Jesse Rosenberger
0dfa8ed39b
(compat) Avoid TypeScript 3.x features to maintain backwards compatibility.
This mostly reverts fd34771841 along with a
number of slight adjustments to avoid other typing luxuries which were
introduced with TypeScript 3.x.

While the generic `ServerOptionFunction` types and `HandlerArguments`
generic rest argument type were certainly welcome additions to the codebase,
they present a backwards compatibility problem for consumers of Apollo
Server who have not yet made the jump to TypeScript 3.x.

With any luck, when we bump the major version of Apollo Server to 3.x, and
in accordance with semantic versioning, we'll be in the position to
straight-up revert this commit.
2018-11-05 05:24:32 -08:00
Jesse Rosenberger
b98191c431
Avoid Function.prototype.bind when invoking createGraphQLServerOptions.
By avoiding this pattern, we can maintain better typing for users of
TypeScript 2.8, which didn't maintain typings when passing through
`Function.prototype.bind` calls.

Also, personally, this just appears to be more readable.
2018-10-30 12:34:43 +02:00
Jesse Rosenberger
5b83883233
Publish
- apollo-cache-control@0.3.0-alpha.1
 - apollo-datasource-rest@0.2.0-alpha.1
 - apollo-datasource@0.2.0-alpha.1
 - apollo-engine-reporting-protobuf@0.1.0-alpha.1
 - apollo-engine-reporting@0.1.0-alpha.1
 - apollo-server-cache-memcached@0.2.0-alpha.1
 - apollo-server-cache-redis@0.2.0-alpha.1
 - apollo-server-caching@0.2.0-alpha.1
 - apollo-server-cloud-functions@2.2.0-alpha.1
 - apollo-server-cloudflare@2.2.0-alpha.1
 - apollo-server-core@2.2.0-alpha.1
 - apollo-server-env@2.1.0-alpha.1
 - apollo-server-express@2.2.0-alpha.1
 - apollo-server-hapi@2.2.0-alpha.1
 - apollo-server-integration-testsuite@2.2.0-alpha.1
 - apollo-server-koa@2.2.0-alpha.1
 - apollo-server-lambda@2.2.0-alpha.1
 - apollo-server-micro@2.2.0-alpha.1
 - apollo-server-plugin-base@0.1.0-alpha.1
 - apollo-server@2.2.0-alpha.1
 - apollo-tracing@0.3.0-alpha.1
 - graphql-extensions@0.3.0-alpha.1
2018-10-26 21:28:15 +03:00