Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Apollo GraphQL packages #8

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 26, 2019

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
apollo-boost ^0.1.24 -> ^0.4.0 age adoption passing confidence
react-apollo 2.3.3 -> 2.5.8 age adoption passing confidence

Release Notes

apollographql/apollo-client (apollo-boost)

v0.4.9

Compare Source

v0.4.8

Compare Source

v0.4.7

Compare Source

v0.4.6

Compare Source

v0.4.4

Compare Source

v0.4.3

Compare Source

v0.4.2

Compare Source

v0.4.1

Compare Source

v0.4.0

Compare Source

v0.3.1

Compare Source

v0.3.0

Compare Source

v0.1.28

Compare Source

v0.1.27

Compare Source

v0.1.26

Compare Source

v0.1.25

Compare Source

apollographql/react-apollo (react-apollo)

v2.5.8

Compare Source

2.5.8 (2019-06-21)
Bug Fixes
  • Makes the use of apollo-client 2.6.3's ObservableQuery.resetQueryStoreErrors
    method optional, for people who can't update to react-apollo's new
    apollo-client peer dep of 2.6.3.
    @​hwillson in #​3151

v2.5.7

Compare Source

Improvements
  • Make sure MockedProvider is using the proper CJS/ESM bundle, when
    referencing ApolloProvider.

    @​jure in #​3029.
  • Adjust the ApolloContext definition to play a bit more nicely with
    React.createContext types.

    @​JoviDeCroock in #​3018
  • The result of a mutation is now made available to the wrapped component,
    when using the graphql HOC.

    @​andycarrell in #​3008
  • Check equality of stringified variables in the MockLink to improve
    debugging experience used by MockedProvider.

    @​evans in #​3078
Bug Fixes
  • Removed leftover apollo-client@beta peer dep.

    @​brentertz in #​3064
  • Stop setting optional input to null, when using the graphql HOC.

    @​ZhengYuTay in #​3056
  • Fix typescript error caused by query being mandatory in the fetchMore signature.

    @​HsuTing in #​3065
  • Fixes an issue that caused the Query component to get stuck in an always
    loading state, caused by receiving an error (meaning subsequent valid
    responses couldn't be handled). The Query component can now handle an
    error in a response, then continue to handle a valid response afterwards.

    @​hwillson in #​3107
  • Reorder Subscription component code to avoid setting state on unmounted
    component.

    @​jasonpaulos in #​3139
  • Fix component stuck in loading state for network-only fetch policy.

    @​jasonpaulos in #​3126

v2.5.6

Compare Source

Improvements
  • Both the Query component and graphql HOC now accept a
    returnPartialData prop. This is an important new feature, that should
    help address a lot of open Apollo Client / React Apollo issues, so we'll
    explain it here with an example. Before this release, if you run a query
    that looks like:

    const GET_MEMBER = gql`
      query GetMember($id: ID!) {
        member(id: $id) {
          id
          name
        }
      }
    `;

    in one component, the results are cached, then you run a superset query like
    the following in another component:

    const GET_MEMBER_WITH_PLANS = gql`
      query GetMemberWithPlans($id: ID!) {
        member(id: $id) {
          id
          name
          plans {
            id
            title
            duration
          }
        }
      }
    `;

    Apollo Client will not re-use the partial data that was cached from the first
    query, when it preps and displays the second component. It can't find a
    cache hit for the full second query, so it fires the full query over the
    network.

    With this release, if you set a returnPartialData prop to true on the
    second component, the data available to that component will be
    automatically pre-loaded with the parts of the query that can be found in the
    cache, before the full query is fired over the network. This means you can
    do things like showing partial data in your components, while the rest of the
    data is being loaded over the network.

v2.5.5

Compare Source

Improvements

v2.5.4

Compare Source

Bug Fixes
  • Fixes Could not find "client" in the context of ApolloConsumer errors when
    using MockedProvider.

    @​hwillson in #​2907
  • Ensure Query components using a fetchPolicy of no-cache have their
    data preserved when the components tree is re-rendered.

    @​hwillson in #​2914
Improvements

v2.5.3

Compare Source

Bug Fixes
  • Fixed an infinite loop caused by using setState in the
    onError / onCompleted callbacks of the Query component.

    @​chenesan in #​2751
  • Fixed an issue that prevented good results from showing up in a Query
    component, after an error was received, variables were adjusted, and then
    the good data was fetched.

    @​MerzDaniel in #​2718
  • Fixed an issue that prevented Query component updates from firing (under
    certain circumstances) due to the internal lastResult value (that's used
    to help prevent unnecessary re-renders) not being updated.

    @​Glennrs in #​2840
Improvements
  • MockedProvider now accepts a childProps prop that can be used to pass
    props down to a child component.

    @​miachenmtl in #​2482

  • onCompleted callbacks now use a destructuring-friendly type definition.

    @​jozanza in #​2496

  • @connection directives are now properly stripped from MockedResponse's,
    when using MockedProvider.

    @​ajmath in #​2523

  • MockedProvider has been updated to stop setting a default resolvers
    value of {}, which means by default Apollo Client 2.5 local resolver
    functionality is not enabled when mocking with MockedProvider. This allows
    @client fields to be passed through the mocked link chain, like people
    were used to before AC 2.5. When using this default mode you will see a
    dev only warning message about this like:

    Found @​client directives in query but no client resolvers were specified.
    You can now pass apollo-link-state resolvers to the ApolloClient
    constructor.

    This message can be safely ignored. If you want to use MockedProvider
    with AC 2.5's new local resolver functionality, you can pass your local
    resolver map into the MockedProvider resolvers prop.

    @​ajmath in #​2524

  • Improvements to the graphql HOC generics for fetchMore and refetch.

    @​EricMcRay in #​2525

  • The ApolloProvider / ApolloConsumer implementations have been refactored
    to use React 16.3's new context API.

    @​wzrdzl in #​2540

  • All dependencies and devDependencies have been updated to their latest
    versions, and related Typescript changes have been applied.

    @​hwillson in #​2873

v2.5.2

Compare Source

Bug Fixes
  • Export Context type from types.ts instead of walkTree.ts,
    to reenable import { Context } from 'react-apollo' (which has been
    broken since 2.4.0).

    @​benjamn in #​2825
Improvements

v2.5.1

Compare Source

Bug Fixes
  • Make sure MockedProvider enables Apollo Client 2.5's local state handling,
    and allow custom / mocked resolvers to be passed in as props, and used with
    the created test ApolloClient instance.

    @​hwillson in #​2825

v2.5.0

Compare Source

Improvements
  • Ready to be used with Apollo Client 2.5 and its new local state management
    features, as well as many overall code improvements to help reduce the React
    Apollo bundle size.

    #​2758
  • A function can now be set as a MockedResponse result when using
    MockedProvider, such that every time the mocked result is returned,
    the function is run to calculate the result. This opens up new testing
    possibilities, like being able to verify if a mocked result was actually
    requested and received by a test.

    @​hwillson in #​2788

v2.4.1

Compare Source

Improvements
  • Adds a onSubscriptionComplete prop to the Subscription component, that
    can be passed a callback to be called when the subscription observable
    is completed.

    @​sujeetsr in #​2716

  • During server-side rendering, ObservableQuery objects created in
    previous rendering passes will now be preserved in later passes (within
    the same getDataFromTree or getMarkupFromTree call), so that errors
    can be handled properly when using the errorPolicy: "all" option.

    PR #​2753

v2.4.0

Compare Source

Bug Fixes
  • Invoke onCompleted/onError even if Mutation unmounts.

    PR #​2710
Improvements
  • The walkTree function has been deprecated, since there's no way to
    make its behavior consistent with the latest versions of React. To save
    bundle size, walkTree is no longer exported from react-apollo,
    though you can still access it as follows:
    import { walkTree } from 'react-apollo/walkTree';

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 renovate bot force-pushed the renovate/apollo-graphql-packages branch from 32de4ea to e697d10 Compare May 22, 2019 21:58
@renovate renovate bot changed the title Update dependency apollo-boost to ^0.3.0 Update dependency apollo-boost to ^0.4.0 May 22, 2019
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from e697d10 to 0848d69 Compare August 10, 2019 08:53
@renovate renovate bot changed the title Update dependency apollo-boost to ^0.4.0 Update Apollo GraphQL packages Aug 10, 2019
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 0848d69 to 1b883f8 Compare September 5, 2019 03:54
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 1b883f8 to 72d13f8 Compare October 4, 2019 10:59
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 72d13f8 to cf3194b Compare November 11, 2019 14:59
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from cf3194b to 2883f4b Compare November 21, 2019 11:07
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 2883f4b to 240e3df Compare December 14, 2019 18:45
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 240e3df to 9e18702 Compare December 22, 2019 02:55
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 9e18702 to 9420eaf Compare December 30, 2019 20:56
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 9420eaf to 36c3ef0 Compare January 18, 2020 22:57
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 36c3ef0 to 376b6ed Compare February 9, 2020 02:57
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 376b6ed to cc51aea Compare February 20, 2020 06:57
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from cc51aea to 2eb4d6c Compare March 14, 2020 17:59
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from c90dff1 to 1387698 Compare May 8, 2020 07:55
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 1387698 to 29a87f9 Compare May 15, 2020 11:56
@renovate renovate bot changed the title Update Apollo GraphQL packages Update dependency apollo-boost to ^0.4.0 Jul 1, 2020
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 29a87f9 to 3643bb1 Compare May 9, 2021 22:02
@renovate renovate bot changed the title Update dependency apollo-boost to ^0.4.0 Update Apollo GraphQL packages May 9, 2021
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 3643bb1 to 209ec11 Compare May 15, 2021 19:28
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 209ec11 to 44f6b16 Compare June 6, 2021 20:24
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 44f6b16 to 8e87796 Compare June 15, 2021 12:08
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 8e87796 to 693c3c6 Compare October 19, 2021 01:01
@renovate renovate bot changed the title Update Apollo GraphQL packages Update dependency apollo-boost to ^0.4.0 Nov 20, 2022
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 693c3c6 to da47dda Compare March 18, 2023 19:54
@renovate renovate bot changed the title Update dependency apollo-boost to ^0.4.0 Update Apollo GraphQL packages Mar 18, 2023
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from da47dda to 4458c1e Compare August 31, 2023 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants