Commit graph

1833 commits

Author SHA1 Message Date
Martijn Walraven
ce38b63cfa Fix CachePolicy typing 2018-07-16 18:43:54 -07:00
Martijn Walraven
4aa21b75a7 Allow specifying cacheOptions per-request or in a data source method 2018-07-16 18:43:54 -07:00
Martijn Walraven
2592060375 Interpret paths with a leading slash relative to the base URL 2018-07-16 18:43:54 -07:00
Martijn Walraven
15705b9919 Pass in DataSourceConfig object instead of positional args 2018-07-16 18:43:54 -07:00
Martijn Walraven
62cc5cece1 Add result memoization to RESTDataSource 2018-07-16 18:43:54 -07:00
Martijn Walraven
3975255718 Re-organize RESTDataSource tests 2018-07-16 18:43:54 -07:00
Martijn Walraven
14ef4a4f37 Allow overriding TTL in HTTPCache 2018-07-16 18:43:54 -07:00
Martijn Walraven
58ae199b67 Allow specifying custom cache keys 2018-07-16 18:43:54 -07:00
Martijn Walraven
d1947de9b8 Only take full request instead of convenience arguments 2018-07-16 18:43:54 -07:00
Evans Hauser
e04a570f7e
pin internal dependencies (#1361) 2018-07-16 16:15:10 -07:00
Evans Hauser
fa6c973f36
Fix and Export Extension and Playground Types (#1360)
* export playground types

* make playground configuration recursively partial
2018-07-16 15:49:20 -07:00
Martijn Walraven
8a588929d4 Add optional cf property to RequestInit 2018-07-16 13:54:30 -07:00
Martijn Walraven
a59167ddef Add optional url property to ResponseInit 2018-07-16 13:53:50 -07:00
Yichang Liu
cd1a4630f8 fix: add url for cached response (#1355) 2018-07-16 13:47:12 -07:00
renovate[bot]
3b3c50a1ab chore(deps): pin dependencies (#1346) 2018-07-16 09:56:51 -07:00
Renovate Bot
c836c01c2f chore(deps): update dependency multer to v1.3.1 2018-07-14 08:04:20 +00:00
Renovate Bot
62cadcd405 chore(deps): update dependency koa to v2.5.2 2018-07-14 06:30:43 +00:00
Renovate Bot
159b09f531 chore(deps): update dependency hapi to v17.5.2 2018-07-14 04:10:45 +00:00
Evans Hauser
db6fdd32f1
Publish
- apollo-cache-control@0.2.0-rc.1
 - apollo-datasource-rest@2.0.0-rc.8
 - apollo-datasource@2.0.0-rc.8
 - apollo-engine-reporting@0.0.0-rc.2
 - apollo-server-caching@2.0.0-rc.8
 - apollo-server-cloudflare@2.0.0-rc.8
 - apollo-server-core@2.0.0-rc.8
 - apollo-server-env@2.0.0-rc.8
 - apollo-server-errors@2.0.0-rc.8
 - apollo-server-express@2.0.0-rc.8
 - apollo-server-hapi@2.0.0-rc.8
 - apollo-server-integration-testsuite@2.0.0-rc.8
 - apollo-server-koa@2.0.0-rc.8
 - apollo-server-lambda@2.0.0-xrc.8
 - apollo-server-memcached@2.0.0-rc.8
 - apollo-server-micro@2.0.0-rc.8
 - apollo-server-redis@2.0.0-rc.8
 - apollo-server@2.0.0-rc.8
 - apollo-tracing@0.2.0-rc.1
 - graphql-extensions@0.1.0-rc.2
2018-07-13 17:49:39 -07:00
Alessio Dionisi
3ba5d0a89f Apollo Server 2.0: AWS Lambda, handle OPTIONS method (#1344)
* handle OPTIONS http method

* readme updated

* remove endpoint from playground options

* lambda fix cors for playground and readme typo

* Revert "remove endpoint from playground options"

This reverts commit d5799846b0d99148f201e532e6eb9d408ab618e1.
2018-07-13 17:45:17 -07:00
Evans Hauser
ae9da10e62
Merge pull request #1125 from apollographql/version-2
Apollo Server 2.0
2018-07-13 17:25:42 -07:00
Evans Hauser
c800071afa
update changelog for RC's and betas 2018-07-13 17:22:16 -07:00
Evans Hauser
2c2360083a
Merge branch 'master' into version-2 2018-07-13 17:06:31 -07:00
Jesse Rosenberger
281760b397
docs: Update blog URLs to reference blog.apollographql.com.
This updates all blog URLs in the documentation to use blog.apollographql.com
as the domain, rather than dev-blog.apollodata.com.
2018-07-13 16:39:42 -07:00
Jesse Rosenberger
3b0acd4646
docs: Update blog URLs to reference blog.apollographql.com. (#1349)
This updates all blog URLs in the documentation to use blog.apollographql.com
as the domain, rather than dev-blog.apollodata.com.
2018-07-13 16:33:01 -07:00
Evans Hauser
9862b5cfce
Merge branch 'master' into version-2 2018-07-13 14:41:24 -07:00
Evans Hauser
7d7fef69a1
Merge pull request #1348 from apollographql/merge-master
Merge master
2018-07-13 14:40:13 -07:00
Jesse Rosenberger
5bd48b0ba2
chore: Remove outdated/incorrect badges.
These aren't used anymore, or are pointing to the wrong repository! In other words, likely a copy-paste failure from the past.
2018-07-13 14:33:57 -07:00
Jesse Rosenberger
17ed370ddd
Update meteor-theme-hexo to the latest version. 2018-07-13 13:47:54 -07:00
Evans Hauser
c18c7a3af7
remove unused tests 2018-07-13 13:37:12 -07:00
Evans Hauser
467b224219
fix hapi readme 2018-07-13 13:35:53 -07:00
Evans Hauser
31e93d0d55
remove setup 2018-07-13 13:33:58 -07:00
Evans Hauser
b7c5ceaade
fix export of hapi middleware 2018-07-13 13:23:45 -07:00
Evans Hauser
c00918b868
remove apollo-server-fastify 2018-07-13 13:20:39 -07:00
Evans Hauser
c3cee59985
Merge branch 'master' into version-2 2018-07-13 13:20:00 -07:00
Evans Hauser
170f072f96
bring version-2 up to date 2018-07-13 13:14:19 -07:00
Jesse Rosenberger
7f11c605a1
Fix broken link to CDN guide, which is now on /docs/.
It only lived here for one day, but this particular link wasn't updated!
2018-07-13 12:06:23 -07:00
Evans Hauser
bc84547f9b
v1.4.0 2018-07-13 11:46:55 -07:00
Aditya Pratap Singh
8d5baecc52 feat(fastify): Integrate apollo-fastify plugin (#1013)
* Integrate apollo-fastify plugin #626

* #626 Fix typescript issues

* #626 Update changelog

* #626 Update README

* #626 Fix the breaking tests

* #626 Fix code review comments

* #626 Run Hapi tests only for node 8 and 9

* #626 Run Hapi tests only for node 8 and 9

* #626 Commit package.lock in working state

* #626 Use npm instead of yarn for node 4

* Revert package-lock and circle ci test job steps

* #626 Bump the version
2018-07-13 11:37:44 -07:00
Najeeb Rifaat
d3aedd31e6 fix(hapi16_support): add hapi 16 next() invocation [closes #744] (#743)
* chore(hapi16_support): add hapi 16 next() invocation

* run lint fix

* update changelog
2018-07-13 11:30:47 -07:00
Evans Hauser
d4a8e1ac7f
Throw error in applyMiddleware for vanilla apollo-server (#1345)
applyMiddleware is not a public api for apollo-server, so it should not
be used an direct people to the apollo-server-express integration.
2018-07-13 10:50:50 -07:00
Garanzha Dmitriy
8bcb66622d Add skipValidation option. (#839)
* Don't validate if query is already an AST.

* Skip validation option.
2018-07-13 10:44:10 -07:00
Evans Hauser
fbf6c6b226
update playground to include #1319 2018-07-13 10:43:38 -07:00
unicodeveloper
2775eebc54 Merge branch 'abernix/follow-up-1270' into version-2 2018-07-13 10:25:54 -07:00
unicodeveloper
a31501ff66 DeleteD 2018-07-13 10:25:42 -07:00
Jake Dawkins
b5039f3aaf Added option to disable rewriting URL for GraphiQL (#1047)
* added option to disable rewriting url for graphiql

* updated docs

* added link to PR in changelog
2018-07-13 10:25:23 -07:00
Jason Lengstorf
bf06caf1be docs: add note about passing context as a function (#757)
* docs: add note about passing context as a function

We realized today (by mistake) that the value of `context` in `GraphQLOptions` can be a function. Adding a note to the docs so it doesn't surprise anyone else.

* docs: update context as a function docs

- fix description per @n1ru4l's feedback
- add a code example of instantiating a new class in the context for each request
2018-07-13 10:17:02 -07:00
Evans Hauser
990d915aec
Apollo Server 2: Remove formatParams (#1331)
* remove formatParams

* remove formatParams from documentation

* check for valid query string after persisted query mapping

* fix sentence about different logging and label extensions as experimental

* mark graphql-extensions as more experimental
2018-07-13 09:44:13 -07:00
Evans Hauser
78dcf4fccf
remove calculate headers as a function (#1337) 2018-07-13 09:43:28 -07:00
Renovate Bot
f6e48bb9c0 chore(deps): update dependency koa to v2.5.2 2018-07-12 08:48:38 +00:00