diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bce357af6f..8852947c690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -185,6 +185,7 @@ the query extensions' `clientInfo` values will be used. [PR #1960](https://githu - Azure functions support [Issue #1752](https://github.com/apollographql/apollo-server/issue/1752) [PR #1753](https://github.com/apollographql/apollo-server/pull/1753) [PR #1948](https://github.com/apollographql/apollo-server/pull/1948) - Allow JSON parsing in `RESTDataSource` of Content Type `application/hal+json`. [PR #185](https://github.com/apollographql/apollo-server/pull/1853) - Add support for a `requestAgent` configuration parameter within the `engine` configuration. This can be utilized when a proxy is necessary to transmit tracing and metrics data to Apollo Engine. It accepts either an [`http.Agent`](https://nodejs.org/docs/latest-v8.x/api/http.html#http_class_http_agent) or [`https.Agent`](https://nodejs.org/docs/latest-v8.x/api/https.html#https_class_https_agent) and behaves the same as the `agent` parameter to Node.js' [`http.request`](https://nodejs.org/docs/latest-v8.x/api/http.html#http_http_request_options_callback). [PR #1879](https://github.com/apollographql/apollo-server/pull/1879) +- Exposed `graphqlExpress`, `ExpressGraphQLOptionsFunction`, and `graphqlConnect` from `apollo-server-express`. [PR #1907](https://github.com/apollographql/apollo-server/pull/1907) ### v2.1.0 diff --git a/packages/apollo-server-express/src/index.ts b/packages/apollo-server-express/src/index.ts index dca6d3bd9e2..c467216ebe0 100644 --- a/packages/apollo-server-express/src/index.ts +++ b/packages/apollo-server-express/src/index.ts @@ -29,5 +29,11 @@ export { ApolloServerExpressConfig, } from './ApolloServer'; +// Express middleware +export * from './expressApollo'; + +// Connect middleware. +export * from './connectApollo'; + export { CorsOptions } from 'cors'; export { OptionsJson } from 'body-parser';