apollographql/apollo-client
### [`v1.3.5`](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.4...apollo-cache@1.3.5)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.4...apollo-cache@1.3.5)
### [`v1.3.4`](https://togithub.com/apollographql/apollo-client/compare/apollo-utilities@1.3.3...apollo-utilities@1.3.4)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.2...apollo-cache@1.3.4)
### [`v1.3.2`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Utilities-132)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.1...apollo-cache@1.3.2)
- Reimplement `isEqual` without pulling in massive `lodash.isequal`.
[@benjamn](https://togithub.com/benjamn) in [#4924](https://togithub.com/apollographql/apollo-client/pull/4924)
### [`v1.3.1`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Utilities-131)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.3.0...apollo-cache@1.3.1)
- The `isEqual` function has been reimplemented using the `lodash.isequal` npm package, to better support circular references. Since the `lodash.isequal` package is already used by `react-apollo`, this change is likely to decrease total bundle size.
[@capaj](https://togithub.com/capaj) in [#4915](https://togithub.com/apollographql/apollo-client/pull/4915)
### [`v1.3.0`](https://togithub.com/apollographql/apollo-client/compare/v1.2.1...v1.3.0)
[Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.2.1...v1.3.0)
apollographql/apollo-link
### [`v1.2.14`](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.13...apollo-link@1.2.14)
[Compare Source](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.13...apollo-link@1.2.14)
### [`v1.2.13`](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.12...apollo-link@1.2.13)
[Compare Source](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.12...apollo-link@1.2.13)
### [`v1.2.12`](https://togithub.com/apollographql/apollo-link/blob/master/CHANGELOG.md#apollo-link-1212)
[Compare Source](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.11...apollo-link@1.2.12)
- Avoid importing `graphql/language/printer` for `getKey`.
[@benjamn](https://togithub.com/benjamn) in [#992](https://togithub.com/apollographql/apollo-link/pull/992)
- Documentation updates.
[@jsjoeio](https://togithub.com/jsjoeio) in [#1044](https://togithub.com/apollographql/apollo-link/pull/1044)
- Bump `apollo-utilities` to reduce total bundle size.
[@salzhrani](https://togithub.com/salzhrani) in [#1044](https://togithub.com/apollographql/apollo-link/pull/1058)
apollographql/graphql-tag
### [`v2.11.0`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2110-2020-07-28)
[Compare Source](https://togithub.com/apollographql/graphql-tag/compare/a73bc250d8f3fdd1304c77d1102138171a29b266...v2.11.0)
- `package.json` `sideEffects` changes to clearly identify that `graphql-tag` doesn't have side effects.
[@hwillson](http://github.com/hwillson) in [#313](https://togithub.com/apollographql/graphql-tag/pull/313)
### [`v2.10.4`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2104-2020-07-08)
[Compare Source](https://togithub.com/apollographql/graphql-tag/compare/v2.10.3...a73bc250d8f3fdd1304c77d1102138171a29b266)
- Bump dev/peer deps to accommodate `graphql` 15.
[@adriencohen](https://togithub.com/adriencohen) in [#299](https://togithub.com/apollographql/graphql-tag/pull/299)
### [`v2.10.3`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2103-2020-02-05)
[Compare Source](https://togithub.com/apollographql/graphql-tag/compare/v2.10.2...v2.10.3)
- Further adjustments to the TS `index.d.ts` declaration file.
[@Guillaumez](https://togithub.com/Guillaumez) in [#289](https://togithub.com/apollographql/graphql-tag/pull/289)
### [`v2.10.2`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2102-2020-02-04)
[Compare Source](https://togithub.com/apollographql/graphql-tag/compare/v2.10.1...v2.10.2)
- Update/fix the existing TS `index.d.ts` declaration file.
[@hwillson](https://togithub.com/hwillson) in [#285](https://togithub.com/apollographql/graphql-tag/pull/285)
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)
Renovate configuration
:date: Schedule: "after 11pm,before 6am" in timezone Europe/Warsaw.
:vertical_traffic_light: Automerge: Disabled due to failing status checks.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:ghost: 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 contains the following updates:
1.2.1
->1.3.5
1.5.1
->1.6.6
2.5.1
->2.6.10
1.2.11
->1.2.14
2.10.1
->2.11.0
2.5.4
->2.5.8
Release Notes
apollographql/apollo-client
### [`v1.3.5`](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.4...apollo-cache@1.3.5) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.4...apollo-cache@1.3.5) ### [`v1.3.4`](https://togithub.com/apollographql/apollo-client/compare/apollo-utilities@1.3.3...apollo-utilities@1.3.4) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.2...apollo-cache@1.3.4) ### [`v1.3.2`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Utilities-132) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-cache@1.3.1...apollo-cache@1.3.2) - Reimplement `isEqual` without pulling in massive `lodash.isequal`.[@benjamn](https://togithub.com/benjamn) in [#4924](https://togithub.com/apollographql/apollo-client/pull/4924) ### [`v1.3.1`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Utilities-131) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.3.0...apollo-cache@1.3.1) - The `isEqual` function has been reimplemented using the `lodash.isequal` npm package, to better support circular references. Since the `lodash.isequal` package is already used by `react-apollo`, this change is likely to decrease total bundle size.
[@capaj](https://togithub.com/capaj) in [#4915](https://togithub.com/apollographql/apollo-client/pull/4915) ### [`v1.3.0`](https://togithub.com/apollographql/apollo-client/compare/v1.2.1...v1.3.0) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v1.2.1...v1.3.0)
apollographql/apollo-link
### [`v1.2.14`](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.13...apollo-link@1.2.14) [Compare Source](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.13...apollo-link@1.2.14) ### [`v1.2.13`](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.12...apollo-link@1.2.13) [Compare Source](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.12...apollo-link@1.2.13) ### [`v1.2.12`](https://togithub.com/apollographql/apollo-link/blob/master/CHANGELOG.md#apollo-link-1212) [Compare Source](https://togithub.com/apollographql/apollo-link/compare/apollo-link@1.2.11...apollo-link@1.2.12) - Avoid importing `graphql/language/printer` for `getKey`.[@benjamn](https://togithub.com/benjamn) in [#992](https://togithub.com/apollographql/apollo-link/pull/992) - Documentation updates.
[@jsjoeio](https://togithub.com/jsjoeio) in [#1044](https://togithub.com/apollographql/apollo-link/pull/1044) - Bump `apollo-utilities` to reduce total bundle size.
[@salzhrani](https://togithub.com/salzhrani) in [#1044](https://togithub.com/apollographql/apollo-link/pull/1058)
apollographql/graphql-tag
### [`v2.11.0`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2110-2020-07-28) [Compare Source](https://togithub.com/apollographql/graphql-tag/compare/a73bc250d8f3fdd1304c77d1102138171a29b266...v2.11.0) - `package.json` `sideEffects` changes to clearly identify that `graphql-tag` doesn't have side effects.[@hwillson](http://github.com/hwillson) in [#313](https://togithub.com/apollographql/graphql-tag/pull/313) ### [`v2.10.4`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2104-2020-07-08) [Compare Source](https://togithub.com/apollographql/graphql-tag/compare/v2.10.3...a73bc250d8f3fdd1304c77d1102138171a29b266) - Bump dev/peer deps to accommodate `graphql` 15.
[@adriencohen](https://togithub.com/adriencohen) in [#299](https://togithub.com/apollographql/graphql-tag/pull/299) ### [`v2.10.3`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2103-2020-02-05) [Compare Source](https://togithub.com/apollographql/graphql-tag/compare/v2.10.2...v2.10.3) - Further adjustments to the TS `index.d.ts` declaration file.
[@Guillaumez](https://togithub.com/Guillaumez) in [#289](https://togithub.com/apollographql/graphql-tag/pull/289) ### [`v2.10.2`](https://togithub.com/apollographql/graphql-tag/blob/master/CHANGELOG.md#v2102-2020-02-04) [Compare Source](https://togithub.com/apollographql/graphql-tag/compare/v2.10.1...v2.10.2) - Update/fix the existing TS `index.d.ts` declaration file.
[@hwillson](https://togithub.com/hwillson) in [#285](https://togithub.com/apollographql/graphql-tag/pull/285)
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)
Renovate configuration
:date: Schedule: "after 11pm,before 6am" in timezone Europe/Warsaw.
:vertical_traffic_light: Automerge: Disabled due to failing status checks.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.