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 ( #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
467b224219
fix hapi readme
2018-07-13 13:35:53 -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
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
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
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
Adam Zionts
11b867114e
Move gui
option into constructor and use playground
( #1297 )
...
* Add a wider diversity of `gui` options
Although I know we want to remain less tied to the GraphQL Playground
GUI options, we definitely want to support a wider variety of options to
be passed in. This adds support for specifying partial options either
statically or dynamically for the gui, which can be extended to allow
for a wider array of guis than only GraphQL playground.
* Add boolean option and configuration for tabs
* move gui setting into ApolloServer Constructor
* document playground configuration in the constructor
* update playground types and fixed micro + koa integrations
* change gui to playground
* docs: change gui to playground
* fix logic for playground creation
2018-07-11 15:42:00 -07:00
Martijn Walraven
f055d282e0
Extract abstract DataSource superclass into apollo-datasource package
2018-07-11 15:29:46 -07:00
C. T. Lin
299018fd5c
[apollo-server-koa] use exported bodyParser.Options type instead of inferred type ( #1334 )
2018-07-11 15:00:16 -07:00
Martijn Walraven
54a8fac80b
RESTDataSource: Serialize request bodies that have a toJSON method as JSON
2018-07-11 14:31:32 -07:00
uosl
1022ae17ed
RESTDataSource: Do not serialize body values that aren't objects ( #1316 )
2018-07-11 13:53:56 -07:00
Martijn Walraven
c200df05d3
RESTDataSource: Add data to errors thrown for error responses
...
Closes #1311 .
2018-07-11 13:49:35 -07:00
Evans Hauser
de4760ba3b
Expose Cors option from vanilla ApolloServer constructor ( #1335 )
...
* add cors option to apollo-server's constructor
* docs: add cors option to costructor for apollo-server
* expose CorsOptions from vanilla and express integrations
* Update apollo-server.md
2018-07-11 13:46:51 -07:00
Gauthier Rodaro
ecc56690df
RESTDataSource: add didReceiveResponse method ( #1325 )
2018-07-11 06:17:03 -07:00
Radu Achim
e83dcbc433
Round the ttl to an integer so that redis doesn't b0rk ( #1323 )
...
Fixes #1306 .
2018-07-10 09:50:06 -07:00
Prosper Otemuyiwa
61b4939327
Enable GraphQLUpload for Apollo Server 2.0 ( #1322 )
...
* export GraphQLUpload
* fix GraphQLScalar typing
2018-07-10 05:36:34 +01:00
Evans Hauser
13b796fe34
Publish
...
- apollo-cache-control@0.2.0-rc.0
- apollo-datasource-rest@2.0.0-rc.7
- apollo-engine-reporting@0.0.0-rc.1
- apollo-server-caching@2.0.0-rc.7
- apollo-server-cloudflare@2.0.0-rc.7
- apollo-server-core@2.0.0-rc.7
- apollo-server-env@2.0.0-rc.7
- apollo-server-errors@2.0.0-rc.7
- apollo-server-express@2.0.0-rc.7
- apollo-server-hapi@2.0.0-rc.7
- apollo-server-integration-testsuite@2.0.0-rc.7
- apollo-server-koa@2.0.0-rc.7
- apollo-server-lambda@2.0.0-rc.7
- apollo-server-memcached@2.0.0-rc.7
- apollo-server-micro@2.0.0-rc.7
- apollo-server-redis@2.0.0-rc.7
- apollo-server@2.0.0-rc.7
- apollo-tracing@0.2.0-rc.0
- graphql-extensions@0.1.0-rc.1
2018-07-09 19:32:59 -07:00
Evans Hauser
e29f8048e4
Enable engine reporting in Lambda ( #1313 )
...
* add disableInterval option to engine reporting
* set engine options for lambda
* lambda: add comment on constructor
* lambda: update readme typo and include callout to use graphql.js
* disableInterval -> sendReportsImmediately
* use sendReportsImmediately correctly and fix compilation
* uses new Header to fix different header combination, fixes #1301
* add apollo-server-env dependency
* fix logic error in engine reporting
2018-07-09 19:29:05 -07:00
Martijn Walraven
f551e2bb44
Use apq prefix for persisted query caching
2018-07-09 19:28:21 -07:00