Commit graph

1867 commits

Author SHA1 Message Date
Renovate Bot
b5723df0ba chore(deps): update dependency @types/aws-lambda to v8.10.7 2018-06-23 04:29:23 +00:00
Evans Hauser
846579db33
update README's and remove docs for registerServer (fixes #1216) 2018-06-22 17:51:56 -07:00
David Glasser
049a61a368 Send APQ info to traces 2018-06-22 17:25:41 -07:00
Evans Hauser
e62dc4e97d
AS2: Support APQ for Batches (#1234)
* add handling of persisted queries for batched requests

* Update runHttpQuery.ts

* fix prettier
2018-06-22 16:10:01 -07:00
Matías Olivera
76da232c1c Add graphql peer dependency to server integrations (#1232) 2018-06-22 15:55:08 -07:00
Tejas Kumar
7dc280df32 Fix Typo resovers -> resolvers (#1233)
* Fix Typo resovers -> resolvers

* Fix typo migh -> might

* Fix typo resover -> resolver again
2018-06-22 15:53:02 -07:00
Matías Olivera
69185082f0 Export UserInputError from lambda integration (#1230) 2018-06-22 14:35:52 -07:00
Evans Hauser
c8d747b021
Document Reporting to Engine and Add to migration guide (#1223)
* change logging to metrics and add section on Engine

* add to the migration guide

* address feedback and add clarity around logFunction

* address feedback for migration guide
2018-06-22 14:35:27 -07:00
Evans Hauser
98fd7ae1fd
test cache-control set to false after bug from #1217 2018-06-22 12:16:04 -07:00
Evans Hauser
ae14665aea
include test for tracing and add server creation helper method 2018-06-22 11:14:15 -07:00
unicodeveloper
5dfe2b5255 Add file upload section on sidebar 2018-06-22 19:04:53 +01:00
unicodeveloper
5a8043b387 Add meat to the file upload page 2018-06-22 19:00:37 +01:00
unicodeveloper
1bf2313f08 Initial documentation 2018-06-22 15:22:31 +01:00
unicodeveloper
d25aa20a51 Add Lambda docs 2018-06-22 15:17:01 +01:00
unicodeveloper
4b0a8f4e27 Add file upload page 2018-06-22 14:57:57 +01:00
Martijn Walraven
ebacd8fcda Add type dependencies to apollo-server-express 2018-06-22 10:15:59 +02:00
Renovate Bot
17bcf3e7b7 chore(deps): update dependency @types/koa-router to v7.0.30 2018-06-22 06:27:53 +00:00
Evans Hauser
4770f381d3
v2.0.0-rc.2 2018-06-21 19:53:33 -07:00
Matías Olivera
944a641770 Add missing apollo-upload-server dependency (#1221)
* Add missing apollo-upload-server dependency

* Reorder dependencies (drive-by)
2018-06-21 19:36:18 -07:00
Renovate Bot
69c39ccd8e chore(deps): update dependency meteor-theme-hexo to v1.0.15 2018-06-21 23:32:31 +00:00
David Glasser
742fb41bc3 Amortize encoding over each trace 2018-06-21 16:06:36 -07:00
Evans Hauser
3bc09decb4
v2.0.0-rc.1 2018-06-21 15:33:07 -07:00
Evans Hauser
8bd504505d
lambda: fix typings 2018-06-21 15:07:01 -07:00
Renovate Bot
b174f02c9d chore(deps): update dependency @types/node to v9.6.22 2018-06-21 21:32:25 +00:00
Alessio Dionisi
bb4f1c3a36 Apollo Server 2.0: AWS Lambda Integration (#1188)
* initial implementation of aws lambda integration for apollo server 2

* ApolloServer class

* package.json cleanup

* parse json of body

* createHandler function, complete README

* cors options

* update readme

* lambdaApollo tests

* fix tests
2018-06-21 13:54:53 -07:00
Evans Hauser
65d7b100e4
CDN cache-control headers (#1138)
* core: return response object from runHttpQuery

* core: change gqlResponse to graphqlResponse and add custom RequestInit type

* core: add cache-control headers based on the calcualted maxAge

* core: add extensions check during cache-control header creation

* core: create headers when cacheControl is not enabled otherwise pass through extensions

* express: initial tests of CDN cach-contol headers

* core: fixed tests with applyMiddleware and pass cacheControl config

* core: cache hint fixes, ignore when no maxAge, and check for rootKeys

* core: check for hints of length 0

* core: node 10 fails file upload test for some stream reason

* docs: add cdn caching section to features

* add space after // in comments

* fix feedback: proxy alignment and response creation

Adds cache-control toggles for http header calculation and stripping out
the cache control extensions from the respose.

Brings the default calculation of headers in line with the proxy.

* fix links in comments

* fix tests with null dereference

* update cdn docs and migration guide to include latest cdn configuration

* add not for engine migration to set engine to false

* add engine set to false in migration guide

* express: fixed tests

* address feedback to use omit and documentation

* docs: cdn caching is alternative to full response caching

* add back epipe check in upload tests
2018-06-21 13:29:14 -07:00
David Glasser
36c595bd12 Upgrade apollo-engine-reporting to beta.13
Smaller default uncompressedReportSizeTarget
2018-06-21 12:38:36 -07:00
Martijn Walraven
35ac867830 Avoid direct imports of node-fetch 2018-06-21 21:35:37 +02:00
Martijn Walraven
2d624c9b28 Remove direct dependency on node-fetch and add @types/ws 2018-06-21 21:28:31 +02:00
Renovate Bot
aedbd76cee chore(deps): update dependency @types/multer to v1.3.7 2018-06-21 19:26:32 +00:00
Evans Hauser
d1878703d3
Move Uploads to constructor and remove enhanceSchema (#1204)
* move uploads into server constructor

* remove enhanceSchema

* address feedback
2018-06-21 12:16:52 -07:00
Renovate Bot
b78a0f7731 chore(deps): update dependency @types/mocha to v5.2.3 2018-06-21 18:00:50 +00:00
Renovate Bot
e688cef36a chore(deps): update dependency @types/koa-router to v7.0.29 2018-06-21 15:16:52 +00:00
Martijn Walraven
71a403dfa3 Set cached response TTL based on max-age 2018-06-21 16:51:02 +02:00
Martijn Walraven
14247279ec Remove logFunction
We now support custom extensions, which have a much nicer API.
2018-06-21 16:05:48 +02:00
Jesse Rosenberger
22ee1d508e
chore(deps): update dependency meteor-theme-hexo to v1.0.15 2018-06-21 16:45:17 +03:00
Renovate Bot
b6f3e6f23e chore(deps): update dependency @types/chai to v4.1.4 2018-06-21 13:34:38 +00:00
Martijn Walraven
8914b135df Add error handling to RESTDataSource and extract apollo-server-errors
Because apollo-server-core depends on apollo-datasource-rest, we need to extract errors into their own package to avoid a circular dependency.
2018-06-21 15:28:14 +02:00
Evans Hauser
7c622aa2f5
hapi: tests, add types, and fix #1195 (#1211) 2018-06-20 16:34:42 -07:00
Clarence Ngoh
70a0fad754 export UserInputError from express and hapi integrations (#1206) (#1208) 2018-06-20 16:24:32 -07:00
Evans Hauser
9af856c2c8
Typescript Improvements and esModuleInterop fix (#1210)
* add string input to gql tag

* remove esModuleInterop, tested locally

* change IMPORT_FUNCTION to something real

* fix the rest of the tests
2018-06-20 16:21:50 -07:00
renovate[bot]
dcdd2253f6 chore(deps): pin dependency hexo-versioned-netlify-redirects to v1.0.7 (#1203)
This Pull Request updates dependency `hexo-versioned-netlify-redirects` from `^1.0.7` to `v1.0.7`



---

This PR has been generated by [Renovate Bot](https://renovatebot.com).
2018-06-20 23:51:06 +03:00
unicodeveloper
0d863f736f Add file uploads feature section to Apollo Server docs 2018-06-20 19:27:46 +01:00
clarencenpy
406b4fda4b update link to point to the package on npmjs 2018-06-20 19:54:52 +02:00
Jesse Rosenberger
f4bba1de1e
docs: Add version to _config.yml for "Edit on GitHub" on version branches. 2018-06-20 18:31:04 +03:00
Jesse Rosenberger
17582a7f7b
chore(deps): update dependency meteor-theme-hexo to v1.0.14
Not sure if Renovate will catch this due to a misconfiguration on my part.
2018-06-20 18:09:12 +03:00
Jesse Rosenberger
610a8f43f9
Update renovate.json 2018-06-20 15:04:50 +03:00
Jesse Rosenberger
b90b07395f
Update renovate.json
Hopefully these additional hours and the offset won't be problematic for anyone, but they should help me out some.

We'll see!
2018-06-20 15:03:02 +03:00
Jesse Rosenberger
1bad3d4181
Update renovate.json 2018-06-20 15:00:54 +03:00
Martijn Walraven
aa0650c4ae Remove unnecessary workaround for ES5 2018-06-20 12:42:36 +02:00