Commit graph

324 commits

Author SHA1 Message Date
Renovate Bot
38be32b4fc chore(deps): update dependency @types/connect to v3.4.32 2018-04-17 07:21:05 +00:00
Jesse Rosenberger
b8ab085aff
Add comment in code about reasoning behind #921.
It's probably helpful for posterity to leave some additional color in
the code to avoid the possibilit of someone inadvertently changing it
without considering the indirect possibilities.

cc @daffl (thanks!)

Ref: https://github.com/apollographql/apollo-server/pull/921
Ref: https://github.com/expressjs/express/issues/3473
2018-04-11 12:18:12 +03:00
David Luecke
ff154828e7 Import Restify dynamically in tests (#921) 2018-04-11 12:11:28 +03:00
Jonathan Jalouzot
afe5df4b4b FIX: Incorrect Content-Type for apollo-server-adonis (#910)
* FIX: Incorrect Content-Type for apollo-server-adonis

* feat: use response.type rather response.header

* Update CHANGELOG.md
2018-04-11 11:46:07 +03:00
Jesse Rosenberger
c2bba6b867
Convert Buffer.byteLength to string before assigning to Content-Length. (#956)
This change seems necessary in order to meet the new type definitions for
`res.setHeader` which mandate that the argument be a string, or an array of
strings.  Those type definitions were introduced via the `@types/node@9`
series of typing updates provided in [0], [1], [2].

With any luck, this will fix the failures being exhibited in CircleCI
tests[3] after we landed those typing updates.

[0]: https://github.com/apollographql/apollo-server/pull/907
[1]: https://github.com/apollographql/apollo-server/pull/927
[2]: https://github.com/apollographql/apollo-server/pull/939
[3]: https://circleci.com/gh/apollographql/apollo-server/1587
2018-04-11 11:17:55 +03:00
Renovate Bot
a546cde881 chore(deps): update dependency @types/koa to v2.0.45 2018-04-08 05:01:33 +00:00
Renovate Bot
cb8d763c1d chore(deps): update dependency @types/aws-lambda to v0.0.35 2018-04-07 06:37:48 +00:00
Renovate Bot
fb0e4332fd chore(deps): update dependency @adonisjs/fold to v4.0.8 2018-04-05 06:36:37 +00:00
Renovate Bot
84f93b201f chore(deps): update dependency hapi to v17.3.1 2018-04-03 06:52:51 +00:00
Renovate Bot
06451b198d chore(deps): update dependency hapi to v17.3.0 2018-03-31 07:01:32 +00:00
David Glasser
d4751e2f04 Update status badges for Circle correctly 2018-03-28 14:03:32 -07:00
David Glasser
80bce88b5b Update status badges for Circle 2018-03-28 14:01:46 -07:00
David Glasser
bd2504e04b v1.3.4 2018-03-28 13:57:11 -07:00
David Glasser
7d1165f1e0
All: allow cacheControl: {defaultMaxAge: 5}. (#922) 2018-03-28 13:56:22 -07:00
Renovate Bot
ebf892f8cc chore(deps): update dependency typescript to v2.8.1 2018-03-28 09:01:57 +00:00
Renovate Bot
273d5349b4 chore(deps): update dependency @types/graphql to v0.12.7 2018-03-28 07:03:40 +00:00
David Glasser
0f7c1c53b4
Update CHANGELOG for all releases back to v1.1.3 (#915)
There were many missing releases and bullet points as well as inaccurate
ones. For example, it was impossible to figure out that users of Hapi 16 who
want to use Apollo Cache Control needed to use precisely version 1.2.0 of
apollo-server-hapi (which wasn't even mentioned).

Link to CHANGELOG from all READMEs. Add READMEs for the graphql-server-*
packages. Add an explanation of our versioning system to the top of
CHANGELOG.md.
2018-03-27 09:22:13 -07:00
Jesse Rosenberger
19d04ff7f7
v1.3.3 2018-03-26 17:20:44 +03:00
Dan Dean
279054cd99 GRAPHIQL_VERSION 0.11.2 → 0.11.11
This just bumps the version of of GraphiQL to the latest bugfix release.
2018-03-26 15:40:09 +03:00
Renovate Bot
a4e2e3e893 chore(deps): update dependency @types/graphql to v0.12.6 2018-03-23 07:02:17 +00:00
Renovate Bot
abb946a123 chore(deps): update dependency @types/aws-lambda to v0.0.34 2018-03-23 06:48:37 +00:00
Renovate Bot
01c6bce7e8 chore(deps): update dependency hapi to v17.2.3 2018-03-16 13:13:56 +00:00
renovate[bot]
5eae20e92f chore(deps): update dependency @types/graphql to v0.12.5 (#887) 2018-03-16 14:06:15 +02:00
Lukwago Allan
c9a372839d Re-export out GraphQLOptions in apollo-server-express (#871)
* Export `GraphQLOptions` type directly from `apollo-server-express`.

Directly export `GraphQLOptions` from the `apollo-server-express` (and
synonymously, `graphql-server-express`) main module, rather than exporting
it only from `./expressApollo`.
2018-03-16 12:48:40 +02:00
Jesse Rosenberger
3a0608ebc5
Tick off Prettier checkmarks, which were present on CI but not locally. (#880)
For reasons unbeknownst to me, the changes below were only being complained
about in the CI environment but _not_ when I ran `npm run lint` locally.

It seems partially related to the OS its ran on, so I imagine there might be
some other sub-dependency at play here.  In an effort to fix this, I just
spawned a Ubuntu docker image, checked out this repository and ran the same
`npm run lint`.  This produced identical results to Travis, so I ran
`npm run lint-fix`, then saved the `git diff` results and have applied this
locally.

This should allow us to re-enable `prettier` in CI, though I have plans to
separate that from the actual `npm test` runs.  This should result in a better
workflow for managing PRs.
2018-03-16 10:25:07 +02:00
Renovate Bot
d50b6b6fb2 chore(deps): update dependency graphql to v0.13.1 2018-03-13 16:01:14 +00:00
Sashko Stubailo
281392c3f0 Update to graphql@0.12 (#726)
* Update peer deps and tests for 0.12
* v1.3.2
2018-03-13 17:10:37 +02:00
renovate[bot]
8324a46903 chore(deps): update dependency express to v4.16.3 (#874) 2018-03-13 16:36:45 +02:00
Marvin Hagemeister
9e8984c2ee Inline all possible functions that are used only once (#821)
* Inline isFunction type-guard

* Don't redefine functions on doRunQuery

* Update CHANGELOG
2018-03-12 21:25:12 +02:00
renovate[bot]
6f3e373049 chore(deps): update dependency @types/koa-bodyparser to v4 (#777) 2018-03-12 21:00:55 +02:00
Matt Donovan
715ce7b98f Fix sample in Azure function README.md (#747)
* Fix sample in Azure function README.md

The sample was missing a parameter in the calls to the apollo server. I also added a note about a current issue with local development of Azure functions on Macs.

* docs(apollo-server-azure): Remove schema option from graphiql

* Remove testing note Re: Azure functions on macOS.
2018-03-12 18:33:13 +02:00
Renovate Bot
f27dc434c5 chore(deps): update dependency hapi to v17.2.2 2018-03-07 10:28:55 +00:00
Renovate Bot
05e035388d chore(deps): update dependency hapi to v17.2.1 2018-03-01 11:00:49 +00:00
Renovate Bot
92aa04523f chore(deps): update dependency @types/aws-lambda to v0.0.33 2018-02-27 07:35:54 +00:00
Renovate Bot
15202a7f4b chore(deps): update dependency typescript to v2.7.2 2018-02-16 08:00:58 +00:00
Renovate Bot
968e3cf5a9 chore(deps): update dependency connect to v3.6.6 2018-02-15 08:01:05 +00:00
Renovate Bot
1354b48394 chore(deps): update dependency @types/aws-lambda to v0.0.32 2018-02-14 07:00:51 +00:00
Renovate Bot
836e1b91f3 chore(deps): update dependency koa to v2.5.0 2018-02-12 11:00:57 +00:00
Renovate Bot
c76fda519a chore(deps): update dependency @adonisjs/sink to v1.0.16 2018-02-09 08:00:46 +00:00
Renovate Bot
24d177ce89 chore(deps): update dependency @adonisjs/fold to v4.0.7 2018-02-09 07:01:26 +00:00
Renovate Bot
b7c1ad5a92 chore(deps): update dependency @adonisjs/sink to v1.0.15 2018-02-08 11:03:55 +00:00
Renovate Bot
26ae47a373 chore(deps): update dependency @adonisjs/sink to v1.0.14 2018-02-08 08:01:22 +00:00
Renovate Bot
a15da79e70 chore(deps): update dependency @adonisjs/bodyparser to v2.0.2 2018-02-08 06:49:12 +00:00
Renovate Bot
08cde128ad chore(deps): update dependency @types/koa to v2.0.44 2018-02-07 08:01:06 +00:00
Renovate Bot
2f0ab7809c chore(deps): update dependency @types/express to v4.11.1 2018-02-02 07:01:00 +00:00
Renovate Bot
a2ebf00cb4 chore(deps): update dependency typescript to v2.7.1 2018-02-01 08:01:38 +00:00
Renovate Bot
72099bd77c chore(deps): update dependency @types/aws-lambda to v0.0.31 2018-01-31 07:35:01 +00:00
Renovate Bot
2beb79d1b6 chore(deps): update dependency koa-router to v7.4.0 2018-01-30 13:19:27 +00:00
Renovate Bot
1ed9e74a86 chore(deps): update dependency @types/aws-lambda to v0.0.30 2018-01-29 10:09:00 +00:00
Renovate Bot
92f25cb8be chore(deps): update dependency @types/aws-lambda to v0.0.29 2018-01-24 09:09:24 +00:00