graphql-cli icon indicating copy to clipboard operation
graphql-cli copied to clipboard

fix(deps): update apollo graphql packages (major)

Open renovate[bot] opened this issue 4 years ago • 0 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/react-hooks 3.1.5 -> 4.0.0 age adoption passing confidence
apollo-server-express (source) 2.25.3 -> 3.13.0 age adoption passing confidence

Release Notes

apollographql/react-apollo (@​apollo/react-hooks)

v4.0.0

Compare Source

⚠️ Deprecation Notice ⚠️

Please note that this is the final version of all React Apollo packages, and that this repository is going to be archived. React Apollo functionality is now directly available from @apollo/client >= 3. While using the @apollo/react-X packages will still work, we recommend using the following imports from @apollo/client directly instead:

  • old: @apollo/react-components --> new: @apollo/client/react/components
  • old: @apollo/react-hoc --> new: @apollo/client/react/hoc
  • old: @apollo/react-ssr --> new: @apollo/client/react/ssr
  • old: @apollo/react-testing --> new: @apollo/client/testing
  • old: @apollo/react-hooks --> new: @apollo/client
Breaking Changes
  • React Apollo 4.0.0 is dependent on @apollo/client >= 3. If you are using apollo-client 2.x and are not ready to update to @apollo/client, please use React Apollo 3.x.

  • The react-apollo package has been fully removed. Please use @apollo/client or @apollo/react-X packages directly.
    @​hwillson in #​4037

  • 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.

apollographql/apollo-server (apollo-server-express)

v3.13.0

Compare Source

v3.12.1

Compare Source

v3.12.0

Compare Source

v3.11.1

Compare Source

v3.11.0

Compare Source

v3.10.4

Compare Source

v3.10.3

Compare Source

v3.10.2

Compare Source

v3.10.1

Compare Source

v3.10.0

Compare Source

v3.9.0

Compare Source

v3.8.2

Compare Source

v3.8.1

Compare Source

v3.8.0

Compare Source

v3.7.0

Compare Source

v3.6.8

Compare Source

v3.6.7

Compare Source

v3.6.6

Compare Source

v3.6.5

Compare Source

v3.6.4

Compare Source

v3.6.3

Compare Source

v3.6.2

Compare Source

v3.6.1

Compare Source

v3.6.0

Compare Source

v3.5.0

Compare Source

v3.4.1

Compare Source

v3.4.0

Compare Source

v3.3.0

Compare Source

v3.2.0

Compare Source

v3.1.2

Compare Source

v3.1.1

Compare Source

v3.1.0

Compare Source

v3.0.2

Compare Source

v3.0.1

Compare Source

v3.0.0

Compare Source

v2.26.2

Compare Source

v2.26.1

Compare Source

v2.26.0

Compare Source

v2.25.4

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Aug 22 '21 05:08 renovate[bot]