Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

Releases: fusionjs/fusion-plugin-apollo

v2.0.0-9

03 May 17:27
97fd3f3
Compare
Choose a tag to compare
v2.0.0-9 Pre-release
Pre-release

Changelog

  • Add token for passing body parser config (#188)

v2.0.0-8

12 Apr 17:05
61b31b6
Compare
Choose a tag to compare
v2.0.0-8 Pre-release
Pre-release

Changelog

Highlighted Changes

  • Use unescape exported from fusion-core (#185)

v2.0.0-7

11 Apr 21:22
57fa2c7
Compare
Choose a tag to compare
v2.0.0-7 Pre-release
Pre-release

Changelog

Highlighted Changes

  • Move cache extraction into after await next (#183)

v2.0.0-6

11 Apr 00:53
cf52ed9
Compare
Choose a tag to compare
v2.0.0-6 Pre-release
Pre-release

Changelog

Highlighted Changes

  • Update flow to 0.96 and fix flow error (#179)

v2.0.0-5

09 Apr 22:54
e91d3fa
Compare
Choose a tag to compare
v2.0.0-5 Pre-release
Pre-release

Changelog

Highlighted Changes

  • Allow to use an external graphQL server (#175)

Other Changes

  • Merge logic from fusion-apollo-universal-client, export multiple plugins (#177)

v2.0.0-4

03 Apr 21:12
3fadf61
Compare
Choose a tag to compare
v2.0.0-4 Pre-release
Pre-release

Changelog

No pull requests in this release

v2.0.0-3

29 Mar 16:49
227198b
Compare
Choose a tag to compare
v2.0.0-3 Pre-release
Pre-release

Changelog

Highlighted Changes

  • Revert "Add support for graphql middleware" (#171)
  • Simplify usage of schema token (#170)

v2.0.0-2

28 Mar 16:38
76d9bbd
Compare
Choose a tag to compare
v2.0.0-2 Pre-release
Pre-release

Changelog

  • Add support for graphql middleware (#168)

v2.0.0-1

20 Mar 00:55
226351d
Compare
Choose a tag to compare
v2.0.0-1 Pre-release
Pre-release

Changelog

Highlighted Changes

  • Fix tree shaking (#164)

v2.0.0-0

19 Mar 18:43
e6726a4
Compare
Choose a tag to compare
v2.0.0-0 Pre-release
Pre-release

Changelog

Highlighted Changes

  • Refactor into a render plugin rather than an app wrapper (#159)

Migration Guide

v2.0.0

The 2.0.0 release also marks a refactor from fusion-apollo as an app wrapper into fusion-plugin-apollo which is implemented as a plugin to be
registered on the RenderToken. We also consolidated the code from fusion-apollo-universal-server into this module. The migration looks like this:

+import {RenderToken} from 'fusion-core';
+import App from 'fusion-react';
-import App from 'fusion-apollo';
+import ApolloPlugin from 'fusion-plugin-apollo';
-import ApolloServer from 'fusion-plugin-apollo-server';

export default async function main() {
  const app = new App();
+ app.register(RenderToken, ApolloPlugin);
- app.register(ApolloServer); // apollo-server 2.0 now integrated by default
- app.middleware(require('koa-bodyparser')()); // Body parsing for /graphql route is included by default now with apollo-server 2
}