OlivierJM / react-github-api

Using GitHub API with GraphQL
https://repo-query.netlify.com/
MIT License
7 stars 1 forks source link

Update dependency apollo-client to v2.4.12 #59

Closed renovate[bot] closed 5 years ago

renovate[bot] commented 5 years ago

This PR contains the following updates:

Package Type Update Change References
apollo-client dependencies patch 2.4.7 -> 2.4.12 source

Release Notes

apollographql/apollo-client ### [`v2.4.12`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Client-2412) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-client@2.4.11...apollo-client@2.4.12) ##### Apollo Client (2.4.12) - Support `ApolloClient#stop` method for safe client disposal.
[PR #​4336](https://togithub.com/apollographql/apollo-client/pull/4336) ### [`v2.4.11`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Client-2411) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-client@2.4.10...apollo-client@2.4.11) - Added explicit dependencies on the [`tslib`](https://www.npmjs.com/package/tslib) package to all client packages to fix [Issue #​4332](https://togithub.com/apollographql/apollo-client/issues/4332). ##### Apollo Client (2.4.11) - Reverted some breaking changes accidentally released in a patch version (2.4.10). [PR #​4334](https://togithub.com/apollographql/apollo-client/pull/4334) ### [`v2.4.10`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Client-2410) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-client@2.4.9...apollo-client@2.4.10) ##### Apollo Client (2.4.10) - The `apollo-client` package no longer exports a `printAST` function from `graphql/language/printer`. If you need this functionality, import it directly: `import { print } from "graphql/language/printer"` - Query polling now uses a simpler scheduling strategy based on a single `setTimeout` interval rather than multiple `setInterval` timers. The new timer fires at the rate of the fastest polling interval, and queries with longer polling intervals fire whenever the time elapsed since they last fired exceeds their desired interval.
[PR #​4243](https://togithub.com/apollographql/apollo-client/pull/4243) ##### Apollo Cache In-Memory (1.4.1) - The `optimism` npm package has been updated to a version (0.6.9) that provides its own TypeScript declarations, which should fix problems like [Issue #​4327](https://togithub.com/apollographql/apollo-client/issues/4327).
[PR #​4331](https://togithub.com/apollographql/apollo-client/pull/4331) - Error messages involving GraphQL queries now print the queries using `JSON.stringify` instead of the `print` function exported by the `graphql` package, to avoid pulling unnecessary printing logic into your JavaScript bundle.
[PR #​4234](https://togithub.com/apollographql/apollo-client/pull/4234) - The `QueryKeyMaker` abstraction has been removed, meaning that cache results for non-identical queries (or sub-queries) with equivalent structure will no longer be cached together. This feature was a nice optimization in certain specific use cases, but it was not worth the additional complexity or bundle size.
[PR #​4245](https://togithub.com/apollographql/apollo-client/pull/4245) ##### Apollo Utilities (1.1.1) - The `flattenSelections` helper function is no longer exported from `apollo-utilities`, since `getDirectiveNames` has been reimplemented without using `flattenSelections`, and `flattenSelections` has no clear purpose now. If you need the old functionality, use a visitor: ```ts import { visit } from "graphql/language/visitor"; function flattenSelections(selection: SelectionNode) { const selections: SelectionNode[] = []; visit(selection, { SelectionSet(ss) { selections.push(...ss.selections); } }); return selections; } ``` ### [`v2.4.9`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Client-249) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-client@2.4.8...apollo-client@2.4.9) ##### Apollo Client (2.4.9) - Apollo Client has been updated to use `graphql` 14.x as a dev dependency.
[@​hwillson](https://togithub.com/hwillson) in [#​4233](https://togithub.com/apollographql/apollo-client/pull/4233) - The `onClearStore` function can now be used to register callbacks that should be triggered when calling `clearStore`.
[@​joe-re](https://togithub.com/joe-re) in [#​4082](https://togithub.com/apollographql/apollo-client/pull/4082) - Make `isApolloError` available for external use.
[@​FredyC](https://togithub.com/FredyC) in [#​4223](https://togithub.com/apollographql/apollo-client/pull/4223) - The `QueryManager` now calls `complete` on the observables used by Apollo Client's Subscription handling. This gives finite subscriptions a chance to handle cleanup.
[@​sujeetsr](https://togithub.com/sujeetsr) in [#​4290](https://togithub.com/apollographql/apollo-client/pull/4290) - Documentation updates.
[@​lifedup](https://togithub.com/lifedup) in [#​3931](https://togithub.com/apollographql/apollo-client/pull/3931)
[@​Dem0n3D](https://togithub.com/Dem0n3D) in [#​4008](https://togithub.com/apollographql/apollo-client/pull/4008)
[@​anand-sundaram-zocdoc](https://togithub.com/anand-sundaram-zocdoc) in [#​4009](https://togithub.com/apollographql/apollo-client/pull/4009)
[@​mattphoto](https://togithub.com/mattphoto) in [#​4026](https://togithub.com/apollographql/apollo-client/pull/4026)
[@​birge](https://togithub.com/birge) in [#​4029](https://togithub.com/apollographql/apollo-client/pull/4029)
[@​mxstbr](https://togithub.com/mxstbr) in [#​4127](https://togithub.com/apollographql/apollo-client/pull/4127)
[@​Caerbannog](https://togithub.com/Caerbannog) in [#​4140](https://togithub.com/apollographql/apollo-client/pull/4140)
[@​jedwards1211](https://togithub.com/jedwards1211) in [#​4179](https://togithub.com/apollographql/apollo-client/pull/4179)
[@​nutboltu](https://togithub.com/nutboltu) in [#​4182](https://togithub.com/apollographql/apollo-client/pull/4182)
[@​CarloPalinckx](https://togithub.com/CarloPalinckx) in [#​4189](https://togithub.com/apollographql/apollo-client/pull/4189)
[@​joebernard](https://togithub.com/joebernard) in [#​4206](https://togithub.com/apollographql/apollo-client/pull/4206)
[@​evans](https://togithub.com/evans) in [#​4213](https://togithub.com/apollographql/apollo-client/pull/4213)
[@​danilobuerger](https://togithub.com/danilobuerger) in [#​4214](https://togithub.com/apollographql/apollo-client/pull/4214)
[@​stubailo](https://togithub.com/stubailo) in [#​4220](https://togithub.com/apollographql/apollo-client/pull/4220)
[@​haysclark](https://togithub.com/haysclark) in [#​4255](https://togithub.com/apollographql/apollo-client/pull/4255)
[@​shelmire](https://togithub.com/shelmire) in [#​4266](https://togithub.com/apollographql/apollo-client/pull/4266)
[@​peggyrayzis](https://togithub.com/peggyrayzis) in [#​4280](https://togithub.com/apollographql/apollo-client/pull/4280)
[@​caydie-tran](https://togithub.com/caydie-tran) in [#​4300](https://togithub.com/apollographql/apollo-client/pull/4300) ##### Apollo Utilities (1.1.0) - Transformation utilities have been refactored to work with `graphql` 14.x. GraphQL AST's are no longer being directly modified.
[@​hwillson](https://togithub.com/hwillson) in [#​4233](https://togithub.com/apollographql/apollo-client/pull/4233) ##### Apollo Cache In-Memory (1.4.0) - The speed and memory usage of optimistic reads and writes has been improved dramatically using a new layering technique that does not require copying the non-optimistic contents of the cache.
[PR #​4319](https://togithub.com/apollographql/apollo-client/pull/4319/) - The `RecordingCache` abstraction has been removed, and thus is no longer exported from `apollo-cache-inmemory`.
[PR #​4319](https://togithub.com/apollographql/apollo-client/pull/4319/) - Export the optimism `wrap` function using ES2015 export syntax, instead of CommonJS.
[@​ardatan](https://togithub.com/ardatan) in [#​4158](https://togithub.com/apollographql/apollo-client/pull/4158) ### [`v2.4.8`](https://togithub.com/apollographql/apollo-client/blob/master/CHANGELOG.md#Apollo-Client-248) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/apollo-client@2.4.7...apollo-client@2.4.8) ##### Apollo Client (2.4.8) - Documentation and config updates.
[@​justinanastos](https://togithub.com/justinanastos) in [#​4187](https://togithub.com/apollographql/apollo-client/pull/4187)
[@​PowerKiKi](https://togithub.com/PowerKiKi) in [#​3693](https://togithub.com/apollographql/apollo-client/pull/3693)
[@​nandito](https://togithub.com/nandito) in [#​3865](https://togithub.com/apollographql/apollo-client/pull/3865) - Schema/AST tranformation utilities have been updated to work properly with `@client` directives.
[@​justinmakaila](https://togithub.com/justinmakaila) in [#​3482](https://togithub.com/apollographql/apollo-client/pull/3482) ##### Apollo Cache In-Memory (1.3.12) - Avoid using `DepTrackingCache` for optimistic reads. [PR #​4521](https://togithub.com/apollographql/apollo-client/pull/4251) - When creating an `InMemoryCache` object, it's now possible to disable the result caching behavior introduced in [#​3394](https://togithub.com/apollographql/apollo-client/pull/3394), either for diagnostic purposes or because the benefit of caching repeated reads is not worth the extra memory usage in your application: ```ts new InMemoryCache({ resultCaching: false }) ``` Part of [PR #​4521](https://togithub.com/apollographql/apollo-client/pull/4251).

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!".

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



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