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

Changelog History
Page 1

  • v4.0.0 Changes

    July 20, 2020

    ๐Ÿ—„ > โš ๏ธ Deprecation Notice โš ๏ธ

    โšก๏ธ > Please note that as of version 4.0.0 you should prefer to import React hooks and testing utilities from @apollo/client. While we still have separate @apollo/react-hooks and @apollo/react-testing packages for ease of migration, they are no longer under active development, as they simply re-export from @apollo/client. React Apollo's graphql HOC (@apollo/react-hoc) and render proper components (@apollo/react-components) are in maintenance mode, meaning they will continue to receive important bug fixes, but will not be updated with new functionality.

    ๐Ÿ’ฅ Breaking Changes

    • React Apollo 4.0.0 only works with @apollo/client 3.x; it does not work with apollo-client 2.x. If you are using apollo-client and are not ready to update to @apollo/client, please use React Apollo 3.x.

    • โœ… Due to changes made in Apollo Client, the previous SSR testing pattern of:

      return getDataFromTree(app).then(() => {
        const markup = ReactDOM.renderToString(app);
        expect(markup).toMatch(/Waldo/);
      });
    

    will no longer work (ReactDOM.renderToString(app) will just return the initial loading state of the component under test). Instead, we can leverage the markup returned when getDataFromTree's Promise resolves:

      return getDataFromTree(app).then(markup => {
        expect(markup).toMatch(/Waldo/);
      });
    
    • ๐Ÿ— We are no longer building UMD versions of React Apollo.

    ๐Ÿ‘Œ Improvements

    • ๐Ÿ“ฆ The React Apollo project now uses @apollo/client, which means it no longer houses Apollo's React hooks or testing utilities. @apollo/react-hooks and @apollo/react-testing can continue to be used, but their functionality is now re-exported from the @apollo/client package. If you're only using Apollo's React hooks, we recommend using @apollo/client directly, and dropping your dependency on @apollo/react-hooks.
  • v4.0.0-beta.2 Changes

    July 10, 2020

    2020-07-10

  • v4.0.0-beta.1 Changes

    January 23, 2020

    2020-01-23

  • v4.0.0-beta.0 Changes

    January 17, 2020

    2020-01-17

  • v3.2.0-beta.1 Changes

    January 16, 2020

    2020-01-16

  • v3.2.0-beta.0 Changes

    November 06, 2019

    2019-11-06

  • v3.2.0-alpha.0 Changes

    September 26, 2019

    2019-09-26

  • v3.1.4 Changes

    April 03, 2020

    2020-04-03

  • v3.1.3 Changes

    October 15, 2019
    • โช Revert the changes made in #3497, which have lead to problems with onCompleted being called more often than necessary. @hwillson in 0901f4a
  • v3.1.2 Changes

    October 01, 2019

    ๐Ÿ› Bug Fixes

    • ๐Ÿ‘‰ Make sure SSR is fully disabled when using ssr: false and ssrMode: true. @maapteh in #3515
    • ๐Ÿ›  Fixed MockLink's broken newData function handling. @pawelkleczek in #3539
    • ๐Ÿ›  Fixed an issue that prevented networkStatus from changing ready at the end of pagination. @mu29 in #3514