Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (main) (#6975)
Browse files Browse the repository at this point in the history
[![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/>
[@&#8203;alessbell](https://togithub.com/alessbell) and
[@&#8203;benjamn](https://togithub.com/benjamn) in
[#&#8203;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/>
[@&#8203;benjamn](https://togithub.com/benjamn) in
[#&#8203;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/>
[@&#8203;benjamn](https://togithub.com/benjamn) in
[#&#8203;9764](https://togithub.com/apollographql/apollo-client/pull/9764)

-   Support `onError` callback for `useSubscription` hook. <br/>
[@&#8203;jeroenvisser101](https://togithub.com/jeroenvisser101) in
[#&#8203;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
[#&#8203;9794](https://togithub.com/apollographql/apollo-client/pull/9794).
<br/>
[@&#8203;dylanwulf](https://togithub.com/dylanwulf) in
[#&#8203;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/>
[@&#8203;benjamn](https://togithub.com/benjamn) in
[#&#8203;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/>
[@&#8203;MrDoomBringer](https://togithub.com/MrDoomBringer) in
[#&#8203;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/>
[@&#8203;MrDoomBringer](https://togithub.com/MrDoomBringer) in
[#&#8203;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/>
[@&#8203;jerelmiller](https://togithub.com/jerelmiller) in
[#&#8203;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/>
[@&#8203;benjamn](https://togithub.com/benjamn) in
[#&#8203;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#&#8203;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
renovate[bot] committed Sep 30, 2022
1 parent 63ef4b7 commit 0e42833
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 17 deletions.
47 changes: 32 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -52,7 +52,7 @@
"apollo-server-types": "file:packages/apollo-server-types"
},
"devDependencies": {
"@apollo/client": "3.6.10",
"@apollo/client": "3.7.0",
"@graphql-codegen/cli": "2.6.4",
"@graphql-codegen/typescript-operations": "2.5.3",
"@graphql-tools/mock": "8.7.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/apollo-reporting-protobuf/package.json
Expand Up @@ -28,6 +28,6 @@
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"dependencies": {
"@apollo/protobufjs": "1.2.5"
"@apollo/protobufjs": "1.2.6"
}
}

0 comments on commit 0e42833

Please sign in to comment.