All Versions
172
Latest Version
Avg Release Cycle
34 days
Latest Release
1369 days ago

Changelog History
Page 7

  • v2.1.0-alpha.1 Changes

    • ๐Ÿ”„ Change package to produce ES2015 as module and commonjs for main #1576
    • ๐Ÿ‘‰ Make Query component work with getDataFromTree by defining fetchData [#1579]
    • โž• Added back in support for browser / main bundles #1578
  • v2.1.0-alpha.0 Changes

    • ๐Ÿ†• NEW FEATURES

      • Added <Query /> component #1398
      • Add <ApolloConsumer /> component #1399 #1484
      • Added support for Preact when using getDataFromTree #1561
    • ๐Ÿ’ฅ BREAKING CHANGES [Removal of deprecated code]

    • ๐Ÿ’ฅ BREAKING CHANGES [TypeScript and Flow only]

      • typescript - graphql parameterized types streamlined for a) full typing; and b) ease of use; and c) consistency. New parameterized is: graphql<TProps,TData, TGraphQLVariables, TChildProps> where none are required and full typing only requires the first three params (TChildProps can be derived). #1402
      • Rename type ProviderProps to ApolloProviderProps #1467
      • Rename getDataFromTree type QueryResult to QueryTreeResult #1467
      • Rename type QueryProps to GraphqlQueryControls #1467 #1478
    • ๐Ÿ›  Fixes and Improvements

      • Fixed bug where link error prevents future requests
      • Fixed stack traces on non chrome browsers #1568
      • Fixed bug #1412 where the MockedProvider ignored variables when doing matching. This is potentially breaking because tests could break for which the variables don't match #1501
      • Update all dependencies, scripts' usage, prettier and typescript setup #1402
      • Tests are now linted and verified valid typescript #1402
      • Typescript - updated types for consistency and potential to pass through all types e.g. TProps, TData, TGraphQLVariables #1402
      • Typescript - added ChildDataProps and ChildMutateProps for optional stronger typed usage version of ChildProps #1402
      • Typescript - fix graphql HOC inference #1402
      • Made prettier solely responsible for formatting, removed all formatting linting rules from tslint #1452
      • Convert Query.test to tsx and parameterize types for Query #1462
      • Remove copied shallowEqual code and delegate to fbjs #1465
      • Update rollup configurations, refine package exports #1467
      • Removed unused gzip script #1468
      • Minify umd and ensure umd name consistency #1469
      • Converted test/test-utils/test-utils.test.js to test/test-utils.test.tsx #1475
      • Updates to examples/typescript #1471
      • Mutation test cleanup #1480
      • Removed react-native from the test suite #1451
      • Add client to Query's QueryResult #1488
      • Disregard falsy elements when walking tree in SSR #1495
      • Removed the key variables from the render prop result in the <Query /> #1497
      • Added <Subscription /> component #1483
      • Render callback should be typed with TData #1519
  • v2.0.4 Changes

    • rolled back on the lodash-es changes from #1344 due to build errors reported on slack #1393
  • v2.0.3 Changes

    • ๐Ÿ‘‰ Use lodash-es to allow lodash functions to be used in ES modules #1344
    • turn back on flow checking
  • v2.0.2 Changes

    • ๐Ÿ›  upgraded required apollo-client for bugfix for subscriptions
    • โž• add component name in unhandled error message #1362
    • โฌ†๏ธ upgraded flow support to 0.59.0 :tada: #1354
    • skip null / undefined items on SSR if present #1355
  • v2.0.1 Changes

    • ๐Ÿ›  fix skip on component update #1330
    • Correctly provide the generic cache type to ApolloProvider #1319
    • Correctly initializes component state as null (not undefined) #1300
  • v2.0.0 Changes

    • ๐Ÿ’ฅ BREAKING: removed cleanupApolloState as it is no longer needed!
    • Exported getDataFromTree on the client
    • โœ‚ Removed redux from peer dependencies. Issue #1223 PR #1224
    • ๐Ÿ‘Œ Support arrays being returned from render in SSR #1158
    • ๐Ÿ‘Œ Support passing an updater function to setState in SSR mode #1263
  • v2.0.0-beta.0 Changes

    • โฌ†๏ธ upgrade to Apollo Client 2.0
    • โœ‚ remove direct dependencies on Apollo Client, graphql-tag
    • ๐Ÿ›  fix skip on component update.
    • ๐Ÿ›  Fix: ensure client option can be used with mutation query #1145
    • Made OptionProps.data's TResult partial #1231
  • v1.4.16 Changes

    • โฌ†๏ธ upgrade to react-16
    • ๐Ÿ›  fix shallowEqual bug.
    • โž• Added notifyOnNetworkStatusChange to QueryOpts and MutationOpts Typesccript definitions #1034
    • โž• Added variables types with Typescript #997
    • Made ChildProps.data non-optional #1143
  • v1.4.15 Changes

    • ๐Ÿ›  Fix: handle calling refetch in child componentDidMount
    • ๐Ÿ›  Fix: ensure options gets up to date props #1025
    • ๐Ÿ›  Fix: ensure queryRecycler exists before using it
    • ๐Ÿคก MockNetworkInterface match mock requests regardless of variable order #973
    • ๐Ÿ‘ Allow to pass removeTypenames to MockedProvider #1001