1
0
Fork 0
mirror of https://github.com/vale981/apollo-server synced 2025-03-13 06:26:37 -04:00
Commit graph

785 commits

Author SHA1 Message Date
Renovate Bot
428d619728 chore(deps): update dependency @types/koa-router to v7.0.31 2018-07-28 04:38:01 +00:00
Wout Mertens
11abffb8ce express, koa: don't continue past playground render ()
* server-express: don't continue past playground

* koa: remove extra next call after playground

* update changelog with remove next
2018-07-27 17:13:23 -07:00
Max Nachlinger
0b76e9ef00 Hapi: Pass toolkit to context function ()
* Fix for 

* fix typo in changelog

* Added a few tests proving the response toolkit is passed into the context function
2018-07-27 16:49:55 -07:00
Martijn Walraven
3ba9bb91a4 Publish
- apollo-datasource-rest@0.1.1
2018-07-27 13:59:58 +02:00
Martijn Walraven
c502d678ae Remove memoized results when performing non-GET requests
Closes .
2018-07-27 13:53:22 +02:00
Martijn Walraven
5f20676beb Only deduplicate and cache GET requests
Closes .
2018-07-27 13:39:00 +02:00
Renovate Bot
3ba5440743 chore(deps): update dependency @types/lodash to v4.14.114 2018-07-27 08:01:50 +00:00
Renovate Bot
9acb67fa4e chore(deps): update dependency @types/jest to v23.3.1 2018-07-27 05:59:21 +00:00
Evans Hauser
37d20cfe66
Import engine reporting protobuf and fix reporting readme ()
* Initial revision

* Ensure dist directory exists

* Add envrc for direnv users.

* protobufjs is a runtime dependency

* 0.0.0-beta.2

* update reports.proto with FullTracesReport

* 0.0.0-beta.3

* depend on @types/long

* 0.0.0-beta.4

* instead, do not use long

* 0.0.0-beta.5

* Add Details.variablesJson

* 0.0.0-beta.6

* comment-only update to new field

* 0.0.0-beta.7

* update a-e-reporting readme to reflect production ready state

* update changelog the engine reporting

* reporting-protobuf: prepare -> prepublish
2018-07-26 17:39:11 -07:00
Alireza Ahmadi
e91142d474 Remove unused test block in apollo-server-koa tests () 2018-07-26 14:17:16 -07:00
Jesse Rosenberger
79191397fa docs: Remove @rc dist-tag from apollo-server-express README.md. ()
It is no longer necessary to use the `rc` dist-tag when installing the `apollo-server-express` integration.
2018-07-26 12:20:27 -07:00
Renovate Bot
47dcfdb460 chore(deps): update dependency @types/hapi to v17.0.16 2018-07-26 05:05:32 +00:00
Renovate Bot
46bd6fcb19 chore(deps): update dependency @types/node to v10.5.3 2018-07-25 07:26:16 +00:00
Renovate Bot
2b1933bf5f chore(deps): update dependency redis-mock to v0.29.0 2018-07-24 06:19:29 +00:00
Renovate Bot
bfdc20ac91 chore(deps): update dependency @types/lodash to v4.14.113 2018-07-24 04:38:52 +00:00
Renovate Bot
a78f13a8e0 chore(deps): update dependency node-fetch to v2.2.0 2018-07-23 09:49:42 +00:00
Renovate Bot
385f3ffb0b chore(deps): update dependency @types/aws-lambda to v8.10.8 2018-07-21 05:30:59 +00:00
Renovate Bot
c53ee5bb60 chore(deps): update dependency yup to v0.26.0 2018-07-21 03:07:05 +00:00
Martijn Walraven
95768ddc22 Fix error handling in RESTDataSource 2018-07-20 09:53:13 -07:00
Renovate Bot
496b686240 chore(deps): update dependency ts-jest to v23 2018-07-19 18:28:54 -07:00
Evans Hauser
04e0d5bce0
Publish
- apollo-cache-control@0.2.0
 - apollo-datasource-rest@0.1.0
 - apollo-datasource@0.1.0
 - apollo-engine-reporting@0.0.0
 - apollo-server-cache-memcached@0.1.0
 - apollo-server-cache-redis@0.1.0
 - apollo-server-caching@0.1.0
 - apollo-server-cloudflare@2.0.0-rc.12
 - apollo-server-core@2.0.0
 - apollo-server-env@2.0.0
 - apollo-server-errors@2.0.0
 - apollo-server-express@2.0.0
 - apollo-server-hapi@2.0.0
 - apollo-server-integration-testsuite@2.0.0
 - apollo-server-koa@2.0.0
 - apollo-server-lambda@2.0.0
 - apollo-server-micro@2.0.0
 - apollo-server@2.0.0
 - apollo-tracing@0.2.0
 - graphql-extensions@0.1.0
2018-07-19 12:49:55 -07:00
Renovate Bot
317d61ac00 chore(deps): update dependency redis-mock to v0.28.0 2018-07-19 14:39:18 +00:00
Martijn Walraven
08bede84ac Rename apollo-server-redis and apollo-server-memcached 2018-07-18 18:30:09 -07:00
Martijn Walraven
cf8c8b80ce Allow overrides to lower the TTL 2018-07-18 17:32:24 -07:00
Martijn Walraven
c4d3a93e7b Make initialize method in data sources optional 2018-07-18 16:46:46 -07:00
Martijn Walraven
a117c92232 Publish
- apollo-server-redis@0.1.0-rc.12
2018-07-18 10:34:29 -07:00
Martijn Walraven
ca26c40ef5 Use dataloader to batch gets in apollo-server-redis 2018-07-18 10:32:35 -07:00
Martijn Walraven
19dbc36436 Publish
- apollo-datasource-rest@0.1.0-rc.12
 - apollo-server@2.0.0-rc.12
 - apollo-server-express@2.0.0-rc.12
 - apollo-server-koa@2.0.0-rc.12
2018-07-18 08:45:24 -07:00
Martijn Walraven
3308b897d4 Make overridden TTL trump all headers 2018-07-17 21:12:26 -07:00
Martijn Walraven
eeeea09ce5 Publish
- apollo-cache-control@0.2.0-rc.4
 - apollo-datasource-rest@0.1.0-rc.11
 - apollo-datasource@0.1.0-rc.11
 - apollo-engine-reporting@0.0.0-rc.5
 - apollo-server-caching@0.1.0-rc.11
 - apollo-server-cloudflare@2.0.0-rc.11
 - apollo-server-core@2.0.0-rc.11
 - apollo-server-env@2.0.0-rc.11
 - apollo-server-errors@2.0.0-rc.11
 - apollo-server-express@2.0.0-rc.11
 - apollo-server-hapi@2.0.0-rc.11
 - apollo-server-integration-testsuite@2.0.0-rc.11
 - apollo-server-koa@2.0.0-rc.11
 - apollo-server-lambda@2.0.0-xrc.11
 - apollo-server-memcached@0.1.0-rc.11
 - apollo-server-micro@2.0.0-rc.11
 - apollo-server-redis@0.1.0-rc.11
 - apollo-server@2.0.0-rc.11
 - apollo-tracing@0.2.0-rc.4
 - graphql-extensions@0.1.0-rc.5
2018-07-17 16:11:33 -07:00
Martijn Walraven
6470b61037 Set callbackWaitsForEmptyEventLoop = false for Lambda 2018-07-17 16:01:26 -07:00
Martijn Walraven
16ea9f95b6 Still use TTL override * 2 for responses that can be revalidated 2018-07-17 15:58:25 -07:00
Martijn Walraven
52c9c04c5d Ignore cache control header when overriding TTL 2018-07-17 15:51:03 -07:00
Evans Hauser
337d66252c
lambda: fix cors documentation and default allowed headers () 2018-07-17 15:37:34 -07:00
Evans Hauser
9518c0ff1a
Publish
- apollo-cache-control@0.2.0-rc.3
 - apollo-datasource-rest@0.1.0-rc.10
 - apollo-datasource@0.1.0-rc.10
 - apollo-engine-reporting@0.0.0-rc.4
 - apollo-server-caching@0.1.0-rc.10
 - apollo-server-cloudflare@2.0.0-rc.10
 - apollo-server-core@2.0.0-rc.10
 - apollo-server-env@2.0.0-rc.10
 - apollo-server-errors@2.0.0-rc.10
 - apollo-server-express@2.0.0-rc.10
 - apollo-server-hapi@2.0.0-rc.10
 - apollo-server-integration-testsuite@2.0.0-rc.10
 - apollo-server-koa@2.0.0-rc.10
 - apollo-server-lambda@2.0.0-xrc.10
 - apollo-server-memcached@0.1.0-rc.10
 - apollo-server-micro@2.0.0-rc.10
 - apollo-server-redis@0.1.0-rc.10
 - apollo-server@2.0.0-rc.10
 - apollo-tracing@0.2.0-rc.3
 - graphql-extensions@0.1.0-rc.4
2018-07-17 10:55:45 -07:00
Evans Hauser
0144d4b2db
Publish
- apollo-cache-control@0.2.0-rc.2
 - apollo-datasource-rest@0.1.0-rc.9
 - apollo-datasource@0.1.0-rc.9
 - apollo-engine-reporting@0.0.0-rc.3
 - apollo-server-caching@0.1.0-rc.9
 - apollo-server-cloudflare@2.0.0-rc.9
 - apollo-server-core@2.0.0-rc.9
 - apollo-server-env@2.0.0-rc.9
 - apollo-server-errors@2.0.0-rc.9
 - apollo-server-express@2.0.0-rc.9
 - apollo-server-hapi@2.0.0-rc.9
 - apollo-server-integration-testsuite@2.0.0-rc.9
 - apollo-server-koa@2.0.0-rc.9
 - apollo-server-lambda@2.0.0-xrc.9
 - apollo-server-memcached@0.1.0-rc.9
 - apollo-server-micro@2.0.0-rc.9
 - apollo-server-redis@0.1.0-rc.9
 - apollo-server@2.0.0-rc.9
 - apollo-tracing@0.2.0-rc.2
 - graphql-extensions@0.1.0-rc.3
2018-07-17 10:44:15 -07:00
Renovate Bot
5fc879e988 chore(deps): update dependency tslint to v5.11.0 2018-07-17 10:37:51 +00:00
Renovate Bot
1d34f1065a chore(deps): update dependency @types/jest to v23.3.0 2018-07-17 05:42:38 +00:00
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 () 2018-07-16 16:15:10 -07:00
Evans Hauser
fa6c973f36
Fix and Export Extension and Playground Types ()
* 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