David Glasser
519b6fd056
v2.0.0-beta.9
2018-06-13 11:47:30 -07:00
Evans Hauser
0178840837
express, hapi: export ApolloServer
2018-06-13 11:21:16 -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
3e93524ac3
v2.0.0-beta.6
2018-06-11 15:54:01 -07: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
c5892f6fcd
Disable failing file upload test
2018-06-11 13:59:04 +02:00
Martijn Walraven
4a068cff74
Add engines field with node >= 8 in package.json
2018-06-11 13:21:51 +02:00
Martijn Walraven
1e1b49ec29
Update devDependencies, including typescript
2018-06-11 12:13:03 +02:00
Evans Hauser
4c6352aad7
v2.0.0-beta.5
2018-06-07 14:50:13 -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
b07b9e8e8b
core,express: export gql tag directly to align with client
2018-06-06 11:02:01 -07:00
Evans Hauser
5079246bc4
apollo-server,core,hapi,express: bump package to newest beta.4
2018-06-04 10:16:54 -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
David Glasser
836616bd04
Turn on noUnusedLocals and noUnusedParameters ( #1126 )
2018-06-01 15:16:16 -07:00
Evans Hauser
db3316cbac
Merge branch 'version-2' into refactor-2.0
2018-06-01 13:36:34 -07:00
Evans Hauser
4405405321
hapi,express: fix graphql playground subscriptitionPath argument for typing
2018-06-01 12:34:49 -07:00
Evans Hauser
ec7394d1b3
apollo-server,core,hapi,express: bump package to newest beta
2018-06-01 12:34:49 -07:00
David Glasser
66189657b3
Rename ApolloServer.request to graphQLServerOptionsForRequest
2018-05-31 00:14:59 -07:00
Evans Hauser
63d0f72115
core: error resurfacing for merged schemas that hide errors in a CombineErrors
2018-05-30 22:40:27 -07:00
Evans Hauser
c5ba902277
express: add fallback for file uploads middleware if not enabled
2018-05-30 22:38:37 -07:00
Evans Hauser
4609ee94a5
core: evaluate context per request and differ error until caught in runQuery
2018-05-30 16:02:48 -07:00
Evans Hauser
da316908d2
runQuery accepts Request object that variants create ( #1108 )
...
* core: runQuery accepts Request object that integrations create
* core: add changelog for Requst in runQuery
* adonis: correct request object passed to runQuery
* core: change convertHttpMessageToRequest to convertNodeHttpToRequest
2018-05-29 21:37:38 -07:00
Evans Hauser
5412885cc0
apollo-server 2: uploads as schema enhancement fulfilled in registerServer ( #1071 )
...
* apollo-server-core: add file upload hooks and configuration
* apollo-server-core: make requestOptions and fileUploadsConfig public fields in ApolloServerBase
* apollo-server-express: initial fileuploads middleware
* apollo-server-hapi: initial file uploads middleware
* core: remove fileuploads from constructor and add merge capabilities
* express: add fileuploads to registerServer and single test
* hapi: add fileuploads schema merge to registerServer
* express: add check for EPIPE and ignore it due to upload server issue
* core: add scalar Upload to server construction
2018-05-29 15:58:52 -07:00
Evans Hauser
43d545f8ab
apollo-server-core: add request object to runHttpQuery for access to headers ( #1096 )
2018-05-24 15:43:17 -07:00
Evans Hauser
5b98a075b8
apollo-server-express: move import of apollo-server in tests to a require
2018-05-24 14:27:06 -07:00
Evans Hauser
9342658ac8
apollo-server-express: remove circular devDependeny on apollo-server for tests
2018-05-24 14:14:36 -07:00
Evans Hauser
f1fa8ade8a
apollo-server-express: tests constructor, registerServer options, and basic queries
2018-05-23 23:09:17 -07:00
Evans Hauser
1f784636d9
apollo-server: move health check into variant's registerServer call
2018-05-22 21:58:37 -07:00
Evans Hauser
712a562858
package.json: beta.2 for apollo-server, beta.1 for core/express, beta.0 for hapi
2018-05-22 11:16:59 -07:00
Evans Hauser
84e763358e
package.json: remove node and graphql types from root and unnecessary variants
2018-05-21 15:31:57 -07:00
Evans Hauser
072aef410b
tsconfig: remove typeRoots from tsconfig and automatic retreival of node types
2018-05-21 15:29:37 -07:00
Evans Hauser
138a0b55f2
build: readd @types/node and type configuration for tsconfig
2018-05-20 21:05:11 -07:00
Evans Hauser
aad7c39001
build: update dependencies and remove extra node typings
2018-05-20 03:52:54 -07:00
Evans Hauser
0e4848d5e1
apollo-server: subscriptions options condensed to on option and ensure subscriptions path is set
2018-05-11 17:30:52 -07:00
Evans Hauser
db47867ccb
apollo-server-core: move subscriptions out of constructor into listen function
2018-05-11 15:54:24 -07:00
Evans Hauser
d08f862063
apollo-server-express: add bodyParserConfig option to the listen method to configure bodyParser
2018-05-11 15:54:23 -07:00
Evans Hauser
7dee30095e
apollo-server-express: fix tests to include error code
2018-05-11 15:53:18 -07:00
James Baxley
aaac1c8ff8
initial full beta
2018-05-11 15:53:16 -07:00
James Baxley
a55336598c
cloudflare
2018-05-11 15:53:14 -07:00
James Baxley
68dec79529
clean up and move pieces around
2018-05-11 15:53:14 -07:00
Evans Hauser
541476f3be
accept non application/json for simple get requests with ?query=
2018-05-11 15:53:11 -07:00
Evans Hauser
05fd515d5c
default apollo-server offers graphiql at all endpoints if request not application/json
2018-05-11 15:53:11 -07:00
Evans Hauser
cb09fef524
Errors: latest codes and add exports to the apollo-server package
2018-05-11 15:53:10 -07:00
Evans Hauser
0e68e2ec4f
errors: send stack in debug, codes, make ApolloErrors
2018-05-11 15:53:07 -07:00
Renovate Bot
d8fecdc5c8
chore(deps): update dependency @types/body-parser to v1.17.0
2018-04-25 08:02:19 +00:00
David Glasser
b32e89c060
v1.3.6
2018-04-24 11:35:14 -07:00
Jesse Rosenberger
9d0e7b6866
v1.3.5
2018-04-18 16:10:04 +03:00