Commit graph

1855 commits

Author SHA1 Message Date
Evans Hauser
83c866e8d4
core: add graphql-tag as export 2018-06-12 23:13:04 -07:00
Evans Hauser
afcd1709f3
core, integrations: break apart coupling of introspection and gui enable 2018-06-12 23:11:06 -07:00
Evans Hauser
db8eba871f
v2.0.0-beta.8 2018-06-12 17:54:55 -07:00
Evans Hauser
ba31cf7a44
Integrations export their own ApolloServer (#1161)
* feat: ApolloServer is created and exported by all variants

* docs: add initial docs around exporting ApolloServer

* feat: export gql from integrations

* docs: change apollo-server examples to use express with registerServer

* server: remove registerExpressServer

* core, docs: comment functions, fix api reference, context creation more like middleware args

* docs: fix integrationed typo
2018-06-12 17:46:56 -07:00
David Glasser
df8e487368 v2.0.0-beta.7 2018-06-11 18:45:23 -07:00
David Glasser
dbfa57c95d dep on express (there is an import), other tweaks 2018-06-11 18:44:55 -07:00
David Glasser
3e93524ac3 v2.0.0-beta.6 2018-06-11 15:54:01 -07:00
Evans Hauser
a7cd3a43e8 Apollo Server 2:Automatic Persisted Queries (#1149) 2018-06-11 15:44:20 -07:00
David Glasser
ff90e5cf2f upgrade apollo-engine-reporting (better error handling) 2018-06-11 15:19:30 -07:00
Martijn Walraven
1af0577767 Install npm@6 in CI 2018-06-11 17:55:21 +02:00
Martijn Walraven
e4164c8892 Enable esModuleInterop and fix imports
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html
2018-06-11 14:25:59 +02:00
Martijn Walraven
2f44a42bb8 Remove Object.setPrototypeOf workaround for error subclasses on ES5 2018-06-11 14:00:47 +02:00
Martijn Walraven
c5892f6fcd Disable failing file upload test 2018-06-11 13:59:04 +02:00
Martijn Walraven
df30e4207f Fix Circle CI config 2018-06-11 13:32:10 +02:00
Martijn Walraven
301e144d23 Test on Node 8 and 10 on Circle CI 2018-06-11 13:22:13 +02:00
Martijn Walraven
4a068cff74 Add engines field with node >= 8 in package.json 2018-06-11 13:21:51 +02:00
Martijn Walraven
0aff6c8c40 Update compilation target to ES2017 and fix issus 2018-06-11 13:06:31 +02:00
Martijn Walraven
5a1598c99a Remove deprecated supertest-as-promised 2018-06-11 12:17:10 +02:00
Martijn Walraven
1e1b49ec29 Update devDependencies, including typescript 2018-06-11 12:13:03 +02:00
Martijn Walraven
b5eab35807 Remove duplicate common dependencies to avoid Lerna warnings 2018-06-11 11:57:00 +02:00
Renovate Bot
00a1824e0d chore(deps): update dependency sinon to v5.1.1 2018-06-09 07:35:50 +00:00
David Glasser
32968bf5ec Update to apollo-tracing which works with new handler ordering 2018-06-08 12:18:51 -07:00
Clarence Ngoh
5f307928a2 Add BadUserInputError as extension of ApolloError (#1143)
* Add BadUserInputError and TransientError as extensions of ApolloError

* remove TransientError

* update test so that properties end up under `error.extensions.exception`

* update documentation to talk about BadUserInputError

* check for properties after formatApolloErrors has been called

* fixed highlighted lines for docs

* export BadUserInputError from `apollo-server`

* fixed highlighted lines for docs

* export BadUserInputError from `apollo-server`

* update changelog
2018-06-08 10:39:23 -07:00
Renovate Bot
2dc8baf760 chore(deps): update dependency @types/node to v9.6.21 2018-06-08 06:32:40 +00:00
Evans Hauser
4c6352aad7
v2.0.0-beta.5 2018-06-07 14:50:13 -07:00
Evans Hauser
a04bea3fe2
cloudflare: set as private while permissions are worked out 2018-06-07 14:38:32 -07:00
Evans Hauser
f9cd6ce7c1
docs: fix comments about gql-tag 2018-06-07 14:21:40 -07:00
Evans Hauser
63b8b22d53
docs: correct headers on 2.0 migration guide 2018-06-07 11:55:12 -07:00
Evans Hauser
62a4e04cf6
docs: convert import to requires (#1150) 2018-06-07 11:40:41 -07:00
David Glasser
b2fb680812 update engine reporting dependencies 2018-06-06 18:32:08 -07:00
Evans Hauser
8601919ad9
server,express,hapi: bump graphql-playground and express type versions 2018-06-06 12:03:21 -07:00
Evans Hauser
701a84de73
Merge pull request #1146 from apollographql/server-2.0/gql-tag
Apollo Server 2.0: use graphql-tag in apollo-server
2018-06-06 11:52:09 -07:00
Evans Hauser
2ba5da9a59
docs: using an existing schema added to migration guide 2018-06-06 11:42:25 -07:00
Evans Hauser
9e87f405ed
core: add changelog for gql-tag change 2018-06-06 11:36:49 -07:00
Evans Hauser
adfe69cb6a
core: display only first 200 characters of schema on gql error 2018-06-06 11:36:49 -07:00
Evans Hauser
1bfead6586
docs: remove section on resolvers 2018-06-06 11:36:49 -07:00
Evans Hauser
5b4644fbfd
docs: add missing gql tags and add comments that gql is necessary for apollo-server 2018-06-06 11:21:05 -07:00
Evans Hauser
b07b9e8e8b
core,express: export gql tag directly to align with client 2018-06-06 11:02:01 -07:00
Renovate Bot
b8b267e1b3 chore(deps): update dependency sinon to v5.1.0 2018-06-06 08:29:45 +00:00
Renovate Bot
8e3e370c53 chore(deps): update dependency @types/express to v4.16.0 2018-06-05 07:30:52 +00:00
Evans Hauser
4c8fa03825
Merge pull request #1136 from apollographql/server-2.0/additional-docs
Apollo Server 2: Additional Docuementation
2018-06-04 14:50:12 -07:00
Evans Hauser
3deceffe93
docs: add section on logging under features 2018-06-04 14:35:39 -07:00
Evans Hauser
311c927c83
docs: add information around setting up additional middleware in migration/api 2018-06-04 14:34:20 -07:00
Evans Hauser
9ec6ecc8bb
docs: unindent getting started code 2018-06-04 14:33:18 -07:00
Evans Hauser
5079246bc4
apollo-server,core,hapi,express: bump package to newest beta.4 2018-06-04 10:16:54 -07:00
Yihong
04d0322d0c apollo-server: Fix registerServer path argument (#1133)
* core: add test for context as async function

* core,express: add support and test of context as async function

* Update apollo-server.md

Fix style for `registerServer`.
2018-06-04 09:49:21 -07:00
Evans Hauser
1e70a446b2
Enable Apollo Server 2 to have async context + test (#1129)
* core: add test for context as async function

* core,express: add support and test of context as async function
2018-06-04 09:46:55 -07:00
Renovate Bot
7d9a978683 chore(deps): update dependency @types/restify to v5.0.9 2018-06-02 11:17:30 +00:00
Renovate Bot
302902d80b chore(deps): update dependency @types/mocha to v5.2.1 2018-06-02 09:27:42 +00:00
Renovate Bot
e57bf2a742 chore(deps): update dependency @types/koa to v2.0.46 2018-06-02 07:30:10 +00:00