Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update all non-major dependencies (main) (#6975)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@apollo/client](https://www.apollographql.com/docs/react/) ([source](https://togithub.com/apollographql/apollo-client)) | [`3.6.10` -> `3.7.0`](https://renovatebot.com/diffs/npm/@apollo%2fclient/3.6.10/3.7.0) | [![age](https://badges.renovateapi.com/packages/npm/@apollo%2fclient/3.7.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@apollo%2fclient/3.7.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@apollo%2fclient/3.7.0/compatibility-slim/3.6.10)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@apollo%2fclient/3.7.0/confidence-slim/3.6.10)](https://docs.renovatebot.com/merge-confidence/) | | [@apollo/protobufjs](https://togithub.com/apollographql/protobuf.js) | [`1.2.5` -> `1.2.6`](https://renovatebot.com/diffs/npm/@apollo%2fprotobufjs/1.2.5/1.2.6) | [![age](https://badges.renovateapi.com/packages/npm/@apollo%2fprotobufjs/1.2.6/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@apollo%2fprotobufjs/1.2.6/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@apollo%2fprotobufjs/1.2.6/compatibility-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@apollo%2fprotobufjs/1.2.6/confidence-slim/1.2.5)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>apollographql/apollo-client</summary> ### [`v3.7.0`](https://togithub.com/apollographql/apollo-client/blob/HEAD/CHANGELOG.md#Apollo-Client-370-2022-09-30) [Compare Source](https://togithub.com/apollographql/apollo-client/compare/v3.6.10...v3.7.0) ##### New Features - Implement preview support for the [`@defer` directive](https://togithub.com/graphql/graphql-spec/pull/742). <br/> [@​alessbell](https://togithub.com/alessbell) and [@​benjamn](https://togithub.com/benjamn) in [#​10018](https://togithub.com/apollographql/apollo-client/pull/10018) - Implement `useFragment_experimental` hook, which represents a lightweight live binding into the `ApolloCache`, and never triggers network requests of its own. <br/> [@​benjamn](https://togithub.com/benjamn) in [#​8782](https://togithub.com/apollographql/apollo-client/pull/8782) - Allow registering named fragments with `InMemoryCache` to support using `...NamedFragment` in queries without redeclaring `NamedFragment` repeatedly in every query that uses it. <br/> [@​benjamn](https://togithub.com/benjamn) in [#​9764](https://togithub.com/apollographql/apollo-client/pull/9764) - Support `onError` callback for `useSubscription` hook. <br/> [@​jeroenvisser101](https://togithub.com/jeroenvisser101) in [#​9495](https://togithub.com/apollographql/apollo-client/pull/9495) ##### Improvements - Delay calling `onCompleted` and `onError` callbacks passed to `useQuery` using `Promise.resolve().then(() => ...)` to fix issue [#​9794](https://togithub.com/apollographql/apollo-client/pull/9794). <br/> [@​dylanwulf](https://togithub.com/dylanwulf) in [#​9823](https://togithub.com/apollographql/apollo-client/pull/9823) - Replace `concast.cleanup` method with simpler `concast.beforeNext` API, which promises to call the given callback function just before the next result/error is delivered. In addition, `concast.removeObserver` no longer takes a `quietly?: boolean` parameter, since that parameter was partly responsible for cleanup callbacks sometimes not getting called. <br/> [@​benjamn](https://togithub.com/benjamn) in [#​9718](https://togithub.com/apollographql/apollo-client/pull/9718) - Allow preserving header name capitalization when creating an `HttpLink` with `createHttpLink({ uri, preserveHeaderCase: true })`. Otherwise, header names are converted to lowercase to prevent case-sensitivity bugs. <br/> [@​MrDoomBringer](https://togithub.com/MrDoomBringer) in [#​9891](https://togithub.com/apollographql/apollo-client/pull/9891) - Make queries with a `pollInterval` respect the `no-cache` fetch policy, instead of writing polled results into the cache. <br/> [@​MrDoomBringer](https://togithub.com/MrDoomBringer) in [#​10020](https://togithub.com/apollographql/apollo-client/pull/10020) - Deprecate the `onSubscriptionData` callback in favor of a new `onData` callback for the `useSubscription` hook. Deprecate the `onSubscriptionComplete` callback in favor of a new `onComplete` callback for the `useSubscription` hook.<br/> [@​jerelmiller](https://togithub.com/jerelmiller) in [#​10134](https://togithub.com/apollographql/apollo-client/pull/10134) ##### Potentially disruptive - The optional `subscribeAndCount` testing utility exported from `@apollo/client/testing/core` now takes a single generic `TResult` type parameter, instead of `TData`. This type will typically be inferred from the `observable` argument type, but if you have any explicit calls to `subscribeAndCount<TData>(...)` in your own codebase, you may need to adjust those calls accordingly. <br/> [@​benjamn](https://togithub.com/benjamn) in [#​9718](https://togithub.com/apollographql/apollo-client/pull/9718) </details> <details> <summary>apollographql/protobuf.js</summary> ### [`v1.2.6`](https://togithub.com/apollographql/protobuf.js/blob/HEAD/CHANGELOG.md#​126-httpsgithubcomapollographqlprotobufjsreleasestag126) [Compare Source](https://togithub.com/apollographql/protobuf.js/compare/61c4705936c69a0c3e4a28c51fcfb45c3dde6ee3...ae965b8f1595b7de2f39d60d15cbcf6f02427ff8) #### Other [:hash:](https://togithub.com/apollographql/protobuf.js/commit/e66477bc9abcb1f71aa0440fd23b09361f13bb96) Stop writing version and date to dist files<br /> [:hash:](https://togithub.com/apollographql/protobuf.js/commit/bd5c971461c4e4ee32debe73a1d2e09be3e31301) Actually drop package-lock.json files<br /> [:hash:](https://togithub.com/apollographql/protobuf.js/commit/1d301192c94352d08b7f4341a5ba7667bc154fdc) Revert "Add .npmignore to drop package-lock files"<br /> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/apollographql/apollo-server). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzMi4yMDguMiIsInVwZGF0ZWRJblZlciI6IjMyLjIwOC4yIn0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information