Skip to content

Latest commit

 

History

History
80 lines (54 loc) · 2.2 KB

CHANGELOG.md

File metadata and controls

80 lines (54 loc) · 2.2 KB

vNEXT

4.0.2

  • Bump package versions
  • Replace old imports using apollo-link-ddp to @swydo/apollo-link-ddp

4.0.1

  • Import from @swydo/scoped package
  • Use named arguments for graphql methods
  • Bump apollo and graphql versions

4.0.0

  • Upgrade to Apollo Client 3 (#392)
  • Avoid attribute errors when accessing connection (#368)
  • Verify that return is a function before executing in onStop

3.0.0

  • Add support for Apollo Gateway #356

2.2.0

  • Support async iterators in latest Node (and Meteor) versions #351

2.1.0

  • Compile apollo-link-ddp browser code with babel #300

2.0.1

  • Expose createGraphQLPublication on the server #276
  • The client module has been marked as lazy, so if using the Meteor package, DDPLink will only be included in the bundle when imported #277
  • Remove graphql dependency from apollo-link-ddp, saving ~250kb ca42d2cb1

2.0.0

  • Move client code to stand-alone npm package #207

1.4.0

  • Add HTTP support #168
  • Add a DDP retry switch #186
  • Allow custom DDP message observer #198
  • Add ddpConnection to the resolver context #268

1.3.0

  • Add ability to pass a client context to the server context via ddpContext key.
    // client
    apolloClient.query({
        query,
        context: { ddpContext: { foo: 'bar' } }
    });
    
    // server
    const context = (previousContext, ddpContext) => ({
        ...previousContext,
        foo: ddpContext.foo
    });
    
    setup({
        schema,
        context,
    });

1.2.0

  • Remove support for Optics, because as of 2018-01-31 it's no longer operational

1.1.0

  • Add context option to server setup

1.0.0

  • Support Apollo Client 2.0 with subscriptions