2016-07-05 15:01:49 -07:00
# Changelog
2017-08-24 22:36:30 -04:00
### vNEXT
2018-01-09 00:08:01 +01:00
2017-12-22 04:46:02 +00:00
* Fix apollo-server-core runQuery breaks async_hooks tracking [PR #733 ](https://github.com/apollographql/apollo-server/pull/733 )
2018-03-12 20:25:12 +01:00
* Optimize one-time functions [PR# 821 ](https://github.com/apollographql/apollo-server/pull/821 )
2017-12-13 07:11:24 +01:00
### v1.3.0
2018-01-09 00:08:01 +01:00
2017-10-10 22:17:08 +02:00
* Added support for the vhost option for Hapi [PR #611 ](https://github.com/apollographql/apollo-server/pull/611 )
2017-10-16 20:01:56 -07:00
* Include readme for npm packages
2017-12-04 20:42:31 +07:00
* Update peerDependencies version for micro [PR #671 ](https://github.com/apollographql/apollo-server/pull/671 )
2018-01-09 00:08:01 +01:00
* Corrected the hapi example both in the README.md [PR #689 ][issue #689 ]
2017-12-13 07:11:24 +01:00
* Change GraphqlOptions to also accept context as a function [PR #679 ](https://github.com/apollographql/apollo-server/pull/679 )
2017-10-09 21:14:32 +02:00
### v1.1.6
2018-01-09 00:08:01 +01:00
2017-08-24 22:36:30 -04:00
* Fixes bug where CORS would not allow `Access-Control-Allow-Origin: *` with credential 'include', changed to 'same-origin' [Issue #514 ](https://github.com/apollographql/apollo-server/issues/514 )
2017-09-06 23:36:27 +01:00
* Update apollo-server-lambda README to reflect new package name.
2017-10-09 20:19:39 +02:00
* Add support for connectionParams in GraphiQL plugin options [#452 ](https://github.com/apollographql/apollo-server/issues/452 ) [PR 548 ](https://github.com/apollographql/apollo-server/pull/548 )
2017-08-24 22:36:30 -04:00
2017-08-23 21:34:26 -07:00
### v1.1.2
2018-01-09 00:08:01 +01:00
2017-08-23 21:34:26 -07:00
* Fixed bug with no URL query params with GraphiQL on Lambda [Issue #504 ](https://github.com/apollographql/apollo-server/issues/504 ) [PR #512 ](https://github.com/apollographql/apollo-server/pull/503 )
2017-08-15 10:17:31 +02:00
### v1.1.1
2018-01-09 00:08:01 +01:00
2017-08-15 10:18:43 +02:00
* Added support for Azure Functions [#503 ](https://github.com/apollographql/apollo-server/pull/503 )
2017-08-15 10:17:31 +02:00
2017-08-02 13:20:10 +03:00
### v1.1.0
* Added ability to provide custom default field resolvers [#482 ](https://github.com/apollographql/apollo-server/pull/482 )
2017-08-09 16:57:17 +02:00
* Add `tracing` option to collect and expose trace data in the [Apollo Tracing format ](https://github.com/apollographql/apollo-tracing )
2017-07-24 21:02:27 +02:00
* Add support for GraphiQL editor themes in [#484 ](https://github.com/apollographql/apollo-server/pull/484 ) as requested in [#444 ](https://github.com/apollographql/apollo-server/issues/444 )
2017-07-31 18:47:47 +03:00
* Add support for full websocket using GraphiQL [#491 ](https://github.com/apollographql/graphql-server/pull/491 )
2017-08-09 16:57:17 +02:00
* Updated restify lib ([@yucun ](https://github.com/liyucun/ )) in [#472 ](https://github.com/apollographql/apollo-server/issues/472 )
* Updated package apollo-server-micro, updated micro in devDependencies and peerDependencies to ^8.0.1
2017-07-24 21:02:27 +02:00
2017-07-24 11:21:02 +03:00
### v1.0.3
* Revert [#463 ](https://github.com/apollographql/graphql-server/pull/463 ),
because it's a breaking change that shouldn't have been a patch update.
2017-07-31 14:19:19 +02:00
### v1.0.2
2018-01-09 00:08:01 +01:00
2017-07-31 14:19:19 +02:00
* Rename packages from graphql-server- to apollo-server- [#465 ](https://github.com/apollographql/apollo-server/pull/465 ). We'll continue to publish `graphql-server-` packages that depend on the renamed `apollo-server-` packages for the time being, to ensure backwards compatibility.
2017-07-16 22:52:43 -07:00
### v1.0.1
2018-01-09 00:08:01 +01:00
2017-07-16 22:52:43 -07:00
* Fix Express package not calling the callback on completion ([@chemdrew ](https://github.com/chemdrew )) in [#463 ](https://github.com/apollographql/graphql-server/pull/463 )
2017-06-28 22:44:37 -07:00
### v1.0.0
2018-01-09 00:08:01 +01:00
2017-06-28 23:55:39 -07:00
* Add package readmes for Express, Hapi, Koa, Restify ([@helfer ](https://github.com/helfer )) in [#442 ](https://github.com/apollographql/graphql-server/pull/442 )
* Updated & fixed typescript typings ([@helfer ](https://github.com/helfer )) in [#440 ](https://github.com/apollographql/graphql-server/pull/440 )
2017-06-28 22:44:37 -07:00
2017-06-22 11:53:51 -07:00
### v0.9.0
2018-01-09 00:08:01 +01:00
2017-06-13 12:53:38 -04:00
* Allow GraphiQLOptions to be a function ([@NeoPhi ](https://github.com/NeoPhi )) on [#426 ](https://github.com/apollographql/graphql-server/pull/426 )
2017-05-30 18:17:53 -07:00
2017-06-15 21:27:11 -07:00
### v0.8.5
2018-01-09 00:08:01 +01:00
2017-06-15 21:27:11 -07:00
* Fix: graphql-server-micro now properly returns response promises [#401 ](https://github.com/apollographql/graphql-server/pull/401 )
2017-06-13 23:01:14 -07:00
### v0.8.4
2018-01-09 00:08:01 +01:00
2017-06-13 12:04:35 -07:00
### v0.8.3
2018-01-09 00:08:01 +01:00
2017-06-12 23:43:15 -07:00
### v0.8.2
2018-01-09 00:08:01 +01:00
2017-06-13 23:01:14 -07:00
* Fix issue with auto-updating dependencies that caused fibers to update accidentally ([@helfer ](https://github.com/helfer )) on [#425 ](https://github.com/apollographql/graphql-server/pull/425 )
2017-06-12 23:43:15 -07:00
2017-06-12 22:37:04 -07:00
### v0.8.1
2018-01-09 00:08:01 +01:00
2017-06-12 22:37:04 -07:00
* **Security Fix** Ensure queries submitted via HTTP GET run through validation ([@DxCx ](https://github.com/DxCx )) on [#424 ](https://github.com/apollographql/graphql-server/pull/424 )
2017-05-30 18:17:53 -07:00
### v0.8.0
2018-01-09 00:08:01 +01:00
2017-05-12 11:58:08 -04:00
* Persist `window.location.hash` on URL updates [#386 ](https://github.com/apollographql/graphql-server/issues/386 )
2017-05-28 16:38:29 +03:00
* Added support for `graphql-js` > 0.10.0 [#407 ](https://github.com/apollographql/graphql-server/pull/407 )
2018-01-09 00:08:01 +01:00
* Updated `subscriptions-transport-ws` for GraphiQL with subscriptions [#407 ](https://github.com/apollographql/graphql-server/pull/407 )
2017-04-21 09:22:37 -07:00
### v0.7.2
2018-01-09 00:08:01 +01:00
2017-04-21 09:22:37 -07:00
* Fix include passHeader field that was accidentally removed
2017-04-14 10:37:00 -07:00
### v0.7.1
2018-01-09 00:08:01 +01:00
2017-04-14 10:37:00 -07:00
* Fix graphiql fetcher to use endpointURL parameter instead of hardcoded URI.[#365 ](https://github.com/apollographql/graphql-server/issues/356 )
2017-04-10 11:46:16 -07:00
### v0.7.0
2018-01-09 00:08:01 +01:00
2017-04-10 11:46:16 -07:00
* Add Zeit Micro Integration [#324 ](https://github.com/apollographql/graphql-server/issues/324 )
2017-04-09 03:03:40 +03:00
* add support for subscriptionURL to GraphiQL ([@urigo ](https://github.com/urigo ) on [#320 ](https://github.com/apollostack/graphql-server/pull/320 )
2017-01-31 17:42:47 +02:00
* Restify: Fix for calling next() ([@jadkap ](https://github.com/jadkap )) on [#285 ](https://github.com/apollostack/graphql-server/pull/285 )
2017-04-10 11:46:16 -07:00
* **Breaking:** Update all dependencies [#329 ](https://github.com/apollographql/graphql-server/issues/329 )
2017-01-25 10:17:03 -08:00
2017-04-10 11:46:16 -07:00
### v0.6.0
2018-01-09 00:08:01 +01:00
2017-04-10 11:46:16 -07:00
* Add AWS Lambda Integration [PR #247 ](https://github.com/apollostack/graphql-server/pull/247 )
* Update GraphiQL to version 0.9.1 ([@ephemer ](https://github.com/ephemer )) on [#293 ](https://github.com/apollostack/graphql-server/pull/293 )
2017-01-24 12:39:04 +02:00
* **Restify integration** ([@joelgriffith ](https://github.com/joelgriffith )) on [#189 ](https://github.com/apollostack/graphql-server/pull/189 )
2017-01-23 09:45:43 +02:00
* run batched requests in parallel ([@DxCx ](https://github.com/DxCx )) on [#273 ](https://github.com/apollostack/graphql-server/pull/273 )
2016-12-26 15:39:44 -06:00
* Fix GraphiQL options variables. Issue #193 . ([@alanchristensen ](https://github.com/alanchristensen )) on
2018-01-09 00:08:01 +01:00
[PR #255 ](https://github.com/apollostack/apollo-server/pull/255 )
2017-01-25 11:01:20 +01:00
* Allow graphql@0 .9.0 as peerDependency ([@Chris-R3 ](https://github.com/Chris-R3 )) on [PR #278 ](https://github.com/apollostack/graphql-server/pull/278 )
2016-10-12 16:24:43 -07:00
2017-01-18 18:38:16 -08:00
### v0.5.1
2018-01-09 00:08:01 +01:00
2017-01-13 16:35:10 +02:00
* add support for HTTP GET Method ([@DxCx ](https://github.com/DxCx )) on [#180 ](https://github.com/apollostack/graphql-server/pull/180 )
2017-01-07 11:56:22 +08:00
2017-01-12 23:40:36 +08:00
### v0.5.0
2018-01-09 00:08:01 +01:00
2017-01-12 23:40:36 +08:00
* Switch graphql typings for typescript to @types/graphql [#260 ](https://github.com/apollostack/graphql-server/pull/260 )
2017-01-07 11:56:22 +08:00
### v0.4.4
2018-01-09 00:08:01 +01:00
2016-11-15 19:43:41 +02:00
* Update GraphiQL to version 0.8.0 ([@DxCx ](https://github.com/DxCx )) on [#192 ](https://github.com/apollostack/graphql-server/pull/192 )
2016-11-16 07:17:02 +02:00
* Upgrade to GraphQL-js 0.8.1.
2016-10-24 11:04:18 -07:00
2016-10-23 00:07:30 -07:00
### v0.4.2
* **Restructure Apollo Server into 6 new packages, and rename to GraphQL Server** ([@DxCx ](https://github.com/DxCx )) and ([@stubailo ](https://github.com/stubailo )) in [#183 ](https://github.com/apollostack/graphql-server/pull/183 ) and [#164 ](https://github.com/apollostack/graphql-server/pull/183 ).
* There are now 6 packages that make up the GraphQL server family:
2018-01-09 00:08:01 +01:00
* `graphql-server-core`
* `graphql-module-graphiql`
* `graphql-module-operation-store`
* `graphql-server-express`
* `graphql-server-hapi`
* `graphql-server-koa`
2016-10-23 00:07:30 -07:00
* Exports have been renamed. Everything that used to export `apollo*` now exports `graphql*` , for example `apolloExpress` has become `graphqlExpress` .
* The repository is now managed using [Lerna ](https://github.com/lerna/lerna ).
2016-10-22 16:03:00 -07:00
### v0.3.3
2016-10-12 16:24:43 -07:00
* Fix passHeader option in GraphiQL (Both Hapi and Koa)
2016-09-21 23:46:01 +02:00
* Pass `ctx` instead of `ctx.request` to options function in Koa integration ([@HriBB ](https://github.com/HriBB )) in [PR #154 ](https://github.com/apollostack/apollo-server/pull/154 )
2016-09-29 17:46:40 +03:00
* Manage TypeScript declaration files using npm. ([@od1k ](https:/github.com/od1k ) in [#162 ](https://github.com/apollostack/apollo-server/pull/162 ))
2016-10-05 11:02:50 -05:00
* Fix connect example in readme. ([@conrad-vanl ](https://github.com/conrad-vanl ) in [#165 ](https://github.com/apollostack/apollo-server/pull/165 ))
2016-10-17 14:09:21 -03:00
* Add try/catch to formatError. ([@nicolaslopezj ](https://github.com/nicolaslopezj ) in [#174 ](https://github.com/apollostack/apollo-server/pull/174 ))
2016-10-20 21:52:42 -07:00
* Clone context object for each query in a batch.
2016-09-12 18:07:35 -04:00
2016-09-20 12:26:06 -07:00
### v0.3.2
2018-01-09 00:08:01 +01:00
2016-09-20 12:26:06 -07:00
* Added missing exports for hapi integration ([@nnance ](https://github.com/nnance )) in [PR #152 ](https://github.com/apollostack/apollo-server/pull/152 )
2016-09-19 20:23:55 -07:00
### v0.3.1
2018-01-09 00:08:01 +01:00
2016-09-19 20:23:55 -07:00
* Fixed dependency issue with boom package that affected the hapi integration. ([@sammkj ](https://github.com/sammkj ) in [#150 ](https://github.com/apollostack/apollo-server/pull/150 ))
2016-09-12 18:07:35 -04:00
2016-09-09 07:49:23 -05:00
### v0.3.0
2018-01-09 00:08:01 +01:00
2016-09-09 20:22:13 -05:00
* Refactor Hapi integration to improve the API and make the plugins more idiomatic. ([@nnance ](https://github.com/nnance )) in
2018-01-09 00:08:01 +01:00
[PR #127 ](https://github.com/apollostack/apollo-server/pull/127 )
* Fixed query batching with Hapi integration. Issue #123 ([@nnance ](https://github.com/nnance )) in
[PR #127 ](https://github.com/apollostack/apollo-server/pull/127 )
* Add support for route options in Hapi integration. Issue #97 . ([@nnance ](https://github.com/nnance )) in
[PR #127 ](https://github.com/apollostack/apollo-server/pull/127 )
* Camelcase Hapi. Issue #129 . ([@nnance ](https://github.com/nnance )) in
[PR #132 ](https://github.com/apollostack/apollo-server/pull/132 )
2016-09-09 20:30:27 -05:00
* Fix error handling when parsing variables parameter. Issue #130 . ([@nnance ](https://github.com/nnance )) in
2018-01-09 00:08:01 +01:00
[PR #131 ](https://github.com/apollostack/apollo-server/pull/131 )
2016-09-10 17:28:38 -05:00
* Improve logging function. Issue #79 . ([@nnance ](https://github.com/nnance )) in
2018-01-09 00:08:01 +01:00
[PR #136 ](https://github.com/apollostack/apollo-server/pull/136 )
2016-09-12 15:02:41 -07:00
* Output stack trace for errors in debug mode. Issue #111 . ([@nnance ](https://github.com/nnance )) in
2018-01-09 00:08:01 +01:00
[PR #137 ](https://github.com/apollostack/apollo-server/pull/137 )
2016-09-19 12:19:57 -07:00
* Allow to pass custom headers in GraphiQL ([@nicolaslopezj ](https://github.com/nicolaslopezj ) in [#133 ](https://github.com/apollostack/apollo-server/pull/133 )).
2016-09-09 07:49:23 -05:00
### v0.2.6
2018-01-09 00:08:01 +01:00
2016-08-20 20:33:20 -07:00
* Expose the OperationStore as part of the public API. ([@nnance ](https://github.com/nnance ))
2016-08-22 20:19:01 -07:00
* Support adding parsed operations to the OperationStore. ([@nnance ](https://github.com/nnance ))
* Expose ApolloOptions as part of the public API.
2016-08-14 01:18:57 -07:00
### v0.2.5
2018-01-09 00:08:01 +01:00
2016-08-14 01:18:57 -07:00
* Made promise compatible with fibers ([@benjamn ](https://github.com/benjamn ) in [#92 ](https://github.com/apollostack/apollo-server/pull/92 ))
2016-08-05 11:14:56 -07:00
### v0.2.2
2018-01-09 00:08:01 +01:00
2016-08-05 11:14:56 -07:00
* Log server events such as request start etc. with logFunction ([@helfer ](https://github.com/helfer ) in [#78 ](https://github.com/apollostack/apollo-server/pull/78 ))
2016-08-02 10:41:36 -07:00
### v0.2.1
2018-01-09 00:08:01 +01:00
2016-08-02 10:46:29 -07:00
* Complete refactor of Apollo Server using TypeScript. PR [#41 ](https://github.com/apollostack/apollo-server/pull/41 )
2016-09-09 20:22:13 -05:00
* Added Hapi integration ([@nnance ](https://github.com/nnance ) in [#46 ](https://github.com/apollostack/apollo-server/pull/46 ))
2016-08-02 10:46:29 -07:00
* Added Koa integration ([@HriBB ](https://github.com/HriBB ) in [#59 ](https://github.com/apollostack/apollo-server/pull/59 ))
* Changed express integration to support connect as well ([@helfer ](https://github.com/helfer ) in [#58 ](https://github.com/apollostack/apollo-server/pull/58 ))
2016-07-05 15:12:24 -07:00
* Dropped express-graphql dependency
* Dropped support for GET requests, only POST requests are allowed now
* Split GraphiQL into a separate middleware
2016-09-09 20:22:13 -05:00
* Factored out core to support Hapi, Koa and connect implementations
2016-07-05 15:12:24 -07:00
* Added support for query batching
* Added support for query whitelisting / stored queries
* Removed body parsing from express integration. Body must be parsed outside of apollo now
* Added `formatRequest` and `formatResponse` functions to apollo options.
* Removed support for shorthand schema definitions, connectors and mocks (use `graphql-tools` instead)
2016-07-05 15:01:49 -07:00
### v0.1.5
2018-01-09 00:08:01 +01:00
2016-08-14 01:18:57 -07:00
* BUG: Fixed a spelling error with `tracer.submit()` from PR [#26 ](https://github.com/apollostack/apollo-server/pull/26 )
2018-01-09 00:08:01 +01:00
in PR [#31 ](https://github.com/apollostack/apollo-server/pull/31 )
2016-07-05 15:01:49 -07:00
### v.0.1.4
* BUG: Fixed a bug with tracer mocks that would throw a TypeError when using Ava [#26 ](https://github.com/apollostack/apollo-server/pull/26 )
### v0.1.3
* Updated graphql dependency to 0.6.0