Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Bump @apollo/react-testing from 3.1.4 to 4.0.0 in /gsa #3

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

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Sep 24, 2020

Bumps @apollo/react-testing from 3.1.4 to 4.0.0.

Changelog

Sourced from @apollo/react-testing's changelog.

4.0.0 (2020-07-20)

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

3.1.3 (2019-10-15)

  • Revert the changes made in #3497, which have lead to problems with onCompleted being called more often than necessary. @hwillson in 0901f4a

3.1.2 (2019-10-01)

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.

... (truncated)

Commits
  • 9eab63a Publish
  • 4dca878 Changelog update, prep for publish
  • 95799e7 chore(deps): update dependency typescript to v3.9.7
  • 53db70c chore(deps): update dependency typescript to v3.9.6
  • 8aa002c chore(deps): update dependency lerna to v3.22.1
  • 1708124 Merge pull request #4037 from apollographql/export-from-ac
  • 7b5cff8 Publish
  • 15f16e4 README updates
  • be05ae7 Changelog update
  • 2f5d937 Simplify the package.json
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 24, 2020
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/gsa/apollo/react-testing-4.0.0 branch from a86b20d to 56743f0 Compare September 30, 2020 12:27
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 17, 2022

Dependabot tried to update this pull request, but something went wrong. We're looking into it, but in the meantime you can retry the update by commenting @dependabot rebase.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants