All Versions
171
Latest Version
Avg Release Cycle
27 days
Latest Release
-

Changelog History
Page 1

  • v4.0.0

    🗄 > ⚠️ 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.1

    January 23, 2020

    2020-01-23

  • v4.0.0-beta.0

    January 17, 2020

    2020-01-17

  • v3.2.0-beta.1

    January 16, 2020

    2020-01-16

  • v3.2.0-beta.0

    November 06, 2019

    2019-11-06

  • v3.2.0-alpha.0

    September 26, 2019

    2019-09-26

  • v3.1.4

    April 03, 2020

    2020-04-03

  • v3.1.3

    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

    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
  • v3.1.2-beta.1

    October 01, 2019

    2019-10-01