Luchanso / new-year-chain

Blockchain for your new year resolution
1 stars 0 forks source link

fix(deps): update apollo graphql packages #24

Open renovate[bot] opened 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change
apollo-boost dependencies minor 0.1.23 -> 0.4.3
graphql-tag dependencies patch 2.10.0 -> 2.10.1
react-apollo dependencies minor 2.3.3 -> 2.5.8

Release Notes

apollographql/apollo-client ### [`v0.4.3`](https://togithub.com/apollographql/apollo-client/compare/v0.4.2...v0.4.3) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v0.4.2...v0.4.3) ### [`v0.4.2`](https://togithub.com/apollographql/apollo-client/compare/v0.4.1...v0.4.2) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v0.4.1...v0.4.2) ### [`v0.4.1`](https://togithub.com/apollographql/apollo-client/compare/v0.4.0...v0.4.1) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v0.4.0...v0.4.1) ### [`v0.4.0`](https://togithub.com/apollographql/apollo-client/compare/v0.3.1...v0.4.0) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v0.3.1...v0.4.0) ### [`v0.3.1`](https://togithub.com/apollographql/apollo-client/compare/v0.3.0...v0.3.1) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v0.3.0...v0.3.1) ### [`v0.3.0`](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.28...v0.3.0) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.28...v0.3.0) ### [`v0.1.28`](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.27...apollo-boost@0.1.28) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.27...apollo-boost@0.1.28) ### [`v0.1.27`](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.26...apollo-boost@0.1.27) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.26...apollo-boost@0.1.27) ### [`v0.1.26`](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.25...apollo-boost@0.1.26) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.25...apollo-boost@0.1.26) ### [`v0.1.25`](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.24...apollo-boost@0.1.25) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.24...apollo-boost@0.1.25) ### [`v0.1.24`](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.23...apollo-boost@0.1.24) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-boost@0.1.23...apollo-boost@0.1.24)
apollostack/graphql-tag ### [`v2.10.1`](https://togithub.com/apollostack/graphql-tag/blob/master/CHANGELOG.md#v2101) [Compare Source](https://togithub.com/apollostack/graphql-tag/compare/v2.10.0...v2.10.1) - Fix failures in IE11 by avoiding unsupported (by IE11) constructor arguments to `Set` by [rocwang](https://togithub.com/rocwang) in [#​190](https://togithub.com/apollographql/graphql-tag/pull/190)
apollographql/react-apollo ### [`v2.5.8`](https://togithub.com/apollographql/react-apollo/releases/2.5.8) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.7...v2.5.8) #### 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](https://togithub.com/hwillson) in [#​3151](https://togithub.com/apollographql/react-apollo/pull/3151) ### [`v2.5.7`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​257-2019-06-21) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.6...v2.5.7) ##### Improvements - Make sure `MockedProvider` is using the proper CJS/ESM bundle, when referencing `ApolloProvider`.
[@​jure](https://togithub.com/jure) in [#​3029](https://togithub.com/apollographql/react-apollo/pull/3029). - Adjust the `ApolloContext` definition to play a bit more nicely with `React.createContext` types.
[@​JoviDeCroock](https://togithub.com/JoviDeCroock) in [#​3018](https://togithub.com/apollographql/react-apollo/pull/3018) - The result of a mutation is now made available to the wrapped component, when using the `graphql` HOC.
[@​andycarrell](https://togithub.com/andycarrell) in [#​3008](https://togithub.com/apollographql/react-apollo/pull/3008) - Check equality of stringified variables in the `MockLink` to improve debugging experience used by `MockedProvider`.
[@​evans](https://togithub.com/evans) in [#​3078](https://togithub.com/apollographql/react-apollo/pull/3078) ##### Bug Fixes - Removed leftover `apollo-client@beta` peer dep.
[@​brentertz](https://togithub.com/brentertz) in [#​3064](https://togithub.com/apollographql/react-apollo/pull/3064) - Stop setting optional input to `null`, when using the `graphql` HOC.
[@​ZhengYuTay](https://togithub.com/ZhengYuTay) in [#​3056](https://togithub.com/apollographql/react-apollo/pull/3056) - Fix typescript error caused by `query` being mandatory in the `fetchMore` signature.
[@​HsuTing](https://togithub.com/HsuTing) in [#​3065](https://togithub.com/apollographql/react-apollo/pull/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](https://togithub.com/hwillson) in [#​3107](https://togithub.com/apollographql/react-apollo/pull/3107) - Reorder `Subscription` component code to avoid setting state on unmounted component.
[@​jasonpaulos](https://togithub.com/jasonpaulos) in [#​3139](https://togithub.com/apollographql/react-apollo/pull/3139) - Fix component stuck in `loading` state for `network-only` fetch policy.
[@​jasonpaulos](https://togithub.com/jasonpaulos) in [#​3126](https://togithub.com/apollographql/react-apollo/pull/3126) ### [`v2.5.6`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​256-2019-05-22) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.5...v2.5.6) ##### 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: ```js 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: ```js 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`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​255-2019-04-22) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.4...v2.5.5) ##### Improvements - Export the Apollo Context provider (`ApolloContext`).
[@​MrLoh](https://togithub.com/MrLoh) in [#​2961](https://togithub.com/apollographql/react-apollo/pull/2961) ### [`v2.5.4`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​254-2019-04-05) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.3...v2.5.4) ##### Bug Fixes - Fixes `Could not find "client" in the context of ApolloConsumer` errors when using `MockedProvider`.
[@​hwillson](https://togithub.com/hwillson) in [#​2907](https://togithub.com/apollographql/react-apollo/pull/2907) - Ensure `Query` components using a `fetchPolicy` of `no-cache` have their data preserved when the components tree is re-rendered.
[@​hwillson](https://togithub.com/hwillson) in [#​2914](https://togithub.com/apollographql/react-apollo/pull/2914) ##### Improvements - Documentation updates.
[@​afenton90](https://togithub.com/afenton90) in [#​2932](https://togithub.com/apollographql/react-apollo/pull/2932) ### [`v2.5.3`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​253) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.2...v2.5.3) ##### Bug Fixes - Fixed an infinite loop caused by using `setState` in the `onError` / `onCompleted` callbacks of the `Query` component.
[@​chenesan](https://togithub.com/chenesan) in [#​2751](https://togithub.com/apollographql/react-apollo/pull/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](https://togithub.com/MerzDaniel) in [#​2718](https://togithub.com/apollographql/react-apollo/pull/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](https://togithub.com/Glennrs) in [#​2840](https://togithub.com/apollographql/react-apollo/pull/2840) ##### Improvements - `MockedProvider` now accepts a `childProps` prop that can be used to pass props down to a child component.
[@​miachenmtl](https://togithub.com/miachenmtl) in [#​2482](https://togithub.com/apollographql/react-apollo/pull/2482) - `onCompleted` callbacks now use a destructuring-friendly type definition.
[@​jozanza](https://togithub.com/jozanza) in [#​2496](https://togithub.com/apollographql/react-apollo/pull/2496) - `@connection` directives are now properly stripped from `MockedResponse`'s, when using `MockedProvider`.
[@​ajmath](https://togithub.com/ajmath) in [#​2523](https://togithub.com/apollographql/react-apollo/pull/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](https://togithub.com/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](https://togithub.com/ajmath) in [#​2524](https://togithub.com/apollographql/react-apollo/pull/2524) - Improvements to the `graphql` HOC generics for `fetchMore` and `refetch`.
[@​EricMcRay](https://togithub.com/EricMcRay) in [#​2525](https://togithub.com/apollographql/react-apollo/pull/2525) - The `ApolloProvider` / `ApolloConsumer` implementations have been refactored to use [React 16.3's new context API](https://reactjs.org/docs/context.html).
[@​wzrdzl](https://togithub.com/wzrdzl) in [#​2540](https://togithub.com/apollographql/react-apollo/pull/2540) - All `dependencies` and `devDependencies` have been updated to their latest versions, and related Typescript changes have been applied.
[@​hwillson](https://togithub.com/hwillson) in [#​2873](https://togithub.com/apollographql/react-apollo/pull/2873) ### [`v2.5.2`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#v252) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.1...v2.5.2) ##### 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](https://togithub.com/benjamn) in [#​2825](https://togithub.com/apollographql/react-apollo/pull/2832) ##### Improvements - Add [`examples/rollup`](https://togithub.com/apollographql/react-apollo/tree/master/examples/rollup) to enable application-level bundle measurement and demonstrate Rollup configuration best practices.
[@​benjamn](https://togithub.com/benjamn) in [#​2839](https://togithub.com/apollographql/react-apollo/pull/2839) - Bundle size reductions inspired by `examples/rollup` app.
[@​benjamn](https://togithub.com/benjamn) in [#​2842](https://togithub.com/apollographql/react-apollo/pull/2842) ### [`v2.5.1`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​251) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.5.0...v2.5.1) ##### 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](https://togithub.com/hwillson) in [#​2825](https://togithub.com/apollographql/react-apollo/pull/2825) ### [`v2.5.0`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​250) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.4.1...v2.5.0) ##### 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](https://togithub.com/apollographql/react-apollo/pull/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](https://togithub.com/hwillson) in [#​2788](https://togithub.com/apollographql/react-apollo/pull/2788) ### [`v2.4.1`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​241) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.4.0...v2.4.1) ##### 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](https://togithub.com/sujeetsr) in [#​2716](https://togithub.com/apollographql/react-apollo/pull/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](https://togithub.com/apollographql/react-apollo/pull/2753) ### [`v2.4.0`](https://togithub.com/apollographql/react-apollo/blob/master/Changelog.md#​240) [Compare Source](https://togithub.com/apollographql/react-apollo/compare/v2.3.3...v2.4.0) ##### Bug Fixes - Invoke `onCompleted`/`onError` even if `Mutation` unmounts.
[PR #​2710](https://togithub.com/apollographql/react-apollo/pull/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: ```js import { walkTree } from 'react-apollo/walkTree'; ```

Renovate configuration

:date: Schedule: At any time (no schedule defined).

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

:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

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



This PR has been generated by Renovate Bot. View repository job log here.