Commit graph

2231 commits

Author SHA1 Message Date
Sam Horton
16cd16d91a clarify typedefs API (#1389)
Add more accurate type information and example of using `typeDefs` in the `ApolloServer` constructor.
2018-07-25 22:40:32 +02:00
David Baumgold
2cf6617dbb Consistent lists in CHANGELOG.md (#1418)
Because VS Code likes to auto-format files
2018-07-25 15:39:22 +02: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
6e0fe2483e chore(deps): update dependency sinon to v6.1.4 2018-07-23 11:52:01 +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
Jesse Rosenberger
e9ed926052
docs: Remove leftover Git merge conflict delineation.
Fixes my bad from daf6ffefa1.
2018-07-19 15:17:07 -07:00
Jesse Rosenberger
daf6ffefa1
docs: Fix link to "GraphQL Playground" in "What's new?" guide. 2018-07-19 15:01:11 -07:00
Jesse Rosenberger
67e047887f
docs: fix link to "Fetching data with resolvers.". 2018-07-19 15:00:24 -07:00
Jesse Rosenberger
3ce81e2c00
docs: Fix link to makeExecutableSchema. 2018-07-19 15:00:24 -07:00
Jesse Rosenberger
820908ce77
docs: Remove intro paragraph about the "What's new?" page.
I don't think we need to explain what the "What's new" page is about in so many words.
2018-07-19 14:50:54 -07:00
Jesse Rosenberger
a4b6114bbb
docs: Move the instructions for migrating into the 2.0 section.
Most eyes will go to this section, so it seems best to include these important instructions there.
2018-07-19 14:45:35 -07:00
Jesse Rosenberger
836654d6ca
docs: Correct the structure of the whats-new.md.
This corrects the headings to be properly tiered/nested within each other, rather than having "2.0" at the same level as its features.

It also makes some slight wording changes, but more are to follow.
2018-07-19 14:24:44 -07:00
Jesse Rosenberger
4dda3b7140
docs: Remove reference to rc (release candidate) dist-tag.
Apollo Server 2.0 is now officially released and published to the `latest` tag!
2018-07-19 14:04:45 -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
Prosper Otemuyiwa
ca35b9fe1c Docs: Remove all RC references in Apollo Server 2 documentation (#1377)
* Remove rc from getting-started

* Remove rc from migration engine

* Remove RC references from migration 2 dot

* Remove rc references

* Remove RC references and correct spellings

* Remove RC references from Essentials

* Remove all RC references
2018-07-19 12:44:02 -07:00
Jesse Rosenberger
b3c80f3b2e
docs: Hyphenate "in-memory". 2018-07-19 10:52:58 -07:00
Jesse Rosenberger
c94116e9a6
docs: Fix various links in the Apollo Server 2 documentation. (#1375)
Many of these links have changed as a result of page shuffling on other
repositories, such as the Engine documentation.
2018-07-19 10:52:07 -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
4f7b6e0ca1 Revert Lerna to 2.x to avoid CI build failures 2018-07-18 14:35:18 -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
8f85252949 Update to Lerna 3.0 2018-07-18 08:43:47 -07:00
Dan Dascalescu
e37f4beafa Mocking: fix typo 2018-07-18 06:24:02 -07:00
Martijn Walraven
3308b897d4 Make overridden TTL trump all headers 2018-07-17 21:12:26 -07:00
Jesse Rosenberger
c31b02972a
Revert "docs: Switch the order of versions back."
This reverts commit 5ae12be1fb.
2018-07-17 17:21:03 -07:00
Jesse Rosenberger
5ae12be1fb
docs: Switch the order of versions back. 2018-07-17 17:16:47 -07:00
Evans Hauser
967f4c8f3c
docs: switch config versions and remove version for master (#1370) 2018-07-17 16:35:43 -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
b9f8216e5f
update changelog to include rc 8-10 2018-07-17 15:43:10 -07:00
Evans Hauser
337d66252c
lambda: fix cors documentation and default allowed headers (#1367) 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
fc95bcbf68 chore(deps): update dependency @types/mocha to v5.2.5 2018-07-17 08:51:26 +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