Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update react-apollo in / from 2.0.1 to 2.2.3 #207

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependencies[bot]
Copy link

@dependencies dependencies bot commented Sep 30, 2018

Dependencies.io has updated react-apollo (a npm dependency in /) from "2.0.1" to "2.2.3".

2.2.3

Bug Fixes

  • Mutation errors are now properly returned as a render prop, when using
    a default errorPolicy of all.
    amacleay in #2374
  • <Mutation /> refetchQueries triggered by name (string) will now use the correct variables.
    fracmal in #2422

Improvements

  • Replace the lodash dependency with lodash.flowright (since that's the
    only non-dev lodash function we're dependent on). Dev lodash
    dependencies have also been updated to use their individual module
    equivalent.
    hwillson in #2435
  • Removed rollup-plugin-babel-minify as it's no longer being used.
    hwillson in #2436
  • Small getDataFromTree.ts logic adjustment to avoid unnecessary calls
    when a falsy element is encountered.
    HOUCe in #2429
  • graphql 14 updates.
    hwillson in #2437
  • All example apps (included in the repo) have been updated to work with the
    latest version of React Apollo.
    hwillson in #2439

Typescript

  • Fix lodash typings.
    williamboman in #2430
  • Typings: added context to MutationOptions.
    danilobuerger in #2354
  • Typings: more MutationOptions changes/fixes.
    danilobuerger in #2340
  • Remove allowSyntheticDefaultImports use. Typescript's
    allowSyntheticDefaultImports compiler option is something we'd like to
    start using, but we jumped the gun a bit by introducing it in
    apollographql/react-apollo@9a96519.
    Including it means that anyone who wants to use Typescript with React
    Apollo would have to also include it in their own local tsconfig.json, to
    be able to handle default imports properly. This is because we're also using
    Typescript's es2015 module option, which means
    allowSyntheticDefaultImports has to be enabled explicitly. We've
    switched back to using a combination of import * as X and require
    syntax, to work with default imports. We'll re-introduce
    allowSyntheticDefaultImports use in React Apollo 3.
    hwillson in #2438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant