From 0e42833409236ce91f2d2bd90f3db8f2d2765eec Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Fri, 30 Sep 2022 19:23:09 +0000
Subject: [PATCH] chore(deps): update all non-major dependencies (main) (#6975)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![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
apollographql/apollo-client
###
[`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).
[@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.
[@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.
[@benjamn](https://togithub.com/benjamn) in
[#9764](https://togithub.com/apollographql/apollo-client/pull/9764)
- Support `onError` callback for `useSubscription` hook.
[@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).
[@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.
[@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.
[@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.
[@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.
[@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(...)` in your own codebase, you may need to
adjust those calls accordingly.
[@benjamn](https://togithub.com/benjamn) in
[#9718](https://togithub.com/apollographql/apollo-client/pull/9718)
apollographql/protobuf.js
###
[`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
[:hash:](https://togithub.com/apollographql/protobuf.js/commit/bd5c971461c4e4ee32debe73a1d2e09be3e31301)
Actually drop package-lock.json files
[:hash:](https://togithub.com/apollographql/protobuf.js/commit/1d301192c94352d08b7f4341a5ba7667bc154fdc)
Revert "Add .npmignore to drop package-lock files"
---
### 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.
---
- [ ] 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).
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
---
package-lock.json | 47 +++++++++++++------
package.json | 2 +-
.../apollo-reporting-protobuf/package.json | 2 +-
3 files changed, 34 insertions(+), 17 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 10e535ae50f..5183ff6da12 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -31,7 +31,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",
@@ -112,9 +112,9 @@
}
},
"node_modules/@apollo/client": {
- "version": "3.6.10",
- "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.6.10.tgz",
- "integrity": "sha512-zow8+Z7Wz8OeH+8bhIxqPtqqXY87APoUbXlaXD/rgs3O9ijSyHSbUt3E4DnkLNP9q3+/OsRWY+Mx+WxkQQ4oig==",
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.7.0.tgz",
+ "integrity": "sha512-hp4OvrH1ZIQACRYcIrh/C0WFnY7IM7G6nlTpC8DSTEWxfZQ2kvpvDY0I/hYmCs0oAVrg26g3ANEdOzGWTcYbPg==",
"dev": true,
"dependencies": {
"@graphql-typed-document-node/core": "^3.1.1",
@@ -125,6 +125,7 @@
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.16.1",
"prop-types": "^15.7.2",
+ "response-iterator": "^0.2.6",
"symbol-observable": "^4.0.0",
"ts-invariant": "^0.10.3",
"tslib": "^2.3.0",
@@ -180,9 +181,9 @@
"dev": true
},
"node_modules/@apollo/protobufjs": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.5.tgz",
- "integrity": "sha512-lVQa3Fytdvbx40VbBNgW1gkr2HR+MFIfXHsiQ8W8C8escqpVYvIMGoq8lZJLObicdiYEB3Uwpk+hiznz8Vbb8A==",
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.6.tgz",
+ "integrity": "sha512-Wqo1oSHNUj/jxmsVp4iR3I480p6qdqHikn38lKrFhfzcDJ7lwd7Ck7cHRl4JE81tWNArl77xhnG/OkZhxKBYOw==",
"hasInstallScript": true,
"dependencies": {
"@protobufjs/aspromise": "^1.1.2",
@@ -18552,6 +18553,15 @@
"node": ">=10"
}
},
+ "node_modules/response-iterator": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/response-iterator/-/response-iterator-0.2.6.tgz",
+ "integrity": "sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.8"
+ }
+ },
"node_modules/restore-cursor": {
"version": "3.1.0",
"dev": true,
@@ -20926,7 +20936,7 @@
"version": "3.3.2",
"license": "MIT",
"dependencies": {
- "@apollo/protobufjs": "1.2.5"
+ "@apollo/protobufjs": "1.2.6"
}
},
"packages/apollo-server": {
@@ -21279,9 +21289,9 @@
},
"dependencies": {
"@apollo/client": {
- "version": "3.6.10",
- "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.6.10.tgz",
- "integrity": "sha512-zow8+Z7Wz8OeH+8bhIxqPtqqXY87APoUbXlaXD/rgs3O9ijSyHSbUt3E4DnkLNP9q3+/OsRWY+Mx+WxkQQ4oig==",
+ "version": "3.7.0",
+ "resolved": "https://registry.npmjs.org/@apollo/client/-/client-3.7.0.tgz",
+ "integrity": "sha512-hp4OvrH1ZIQACRYcIrh/C0WFnY7IM7G6nlTpC8DSTEWxfZQ2kvpvDY0I/hYmCs0oAVrg26g3ANEdOzGWTcYbPg==",
"dev": true,
"requires": {
"@graphql-typed-document-node/core": "^3.1.1",
@@ -21292,6 +21302,7 @@
"hoist-non-react-statics": "^3.3.2",
"optimism": "^0.16.1",
"prop-types": "^15.7.2",
+ "response-iterator": "^0.2.6",
"symbol-observable": "^4.0.0",
"ts-invariant": "^0.10.3",
"tslib": "^2.3.0",
@@ -21322,9 +21333,9 @@
}
},
"@apollo/protobufjs": {
- "version": "1.2.5",
- "resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.5.tgz",
- "integrity": "sha512-lVQa3Fytdvbx40VbBNgW1gkr2HR+MFIfXHsiQ8W8C8escqpVYvIMGoq8lZJLObicdiYEB3Uwpk+hiznz8Vbb8A==",
+ "version": "1.2.6",
+ "resolved": "https://registry.npmjs.org/@apollo/protobufjs/-/protobufjs-1.2.6.tgz",
+ "integrity": "sha512-Wqo1oSHNUj/jxmsVp4iR3I480p6qdqHikn38lKrFhfzcDJ7lwd7Ck7cHRl4JE81tWNArl77xhnG/OkZhxKBYOw==",
"requires": {
"@protobufjs/aspromise": "^1.1.2",
"@protobufjs/base64": "^1.1.2",
@@ -27111,7 +27122,7 @@
"apollo-reporting-protobuf": {
"version": "file:packages/apollo-reporting-protobuf",
"requires": {
- "@apollo/protobufjs": "1.2.5"
+ "@apollo/protobufjs": "1.2.6"
}
},
"apollo-server": {
@@ -35270,6 +35281,12 @@
"integrity": "sha512-J1l+Zxxp4XK3LUDZ9m60LRJF/mAe4z6a4xyabPHk7pvK5t35dACV32iIjJDFeWZFfZlO29w6SZ67knR0tHzJtQ==",
"dev": true
},
+ "response-iterator": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/response-iterator/-/response-iterator-0.2.6.tgz",
+ "integrity": "sha512-pVzEEzrsg23Sh053rmDUvLSkGXluZio0qu8VT6ukrYuvtjVfCbDZH9d6PGXb8HZfzdNZt8feXv/jvUzlhRgLnw==",
+ "dev": true
+ },
"restore-cursor": {
"version": "3.1.0",
"dev": true,
diff --git a/package.json b/package.json
index 5ceedb07b16..89736dccb2f 100644
--- a/package.json
+++ b/package.json
@@ -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",
diff --git a/packages/apollo-reporting-protobuf/package.json b/packages/apollo-reporting-protobuf/package.json
index d034205ddda..d5a730257d8 100644
--- a/packages/apollo-reporting-protobuf/package.json
+++ b/packages/apollo-reporting-protobuf/package.json
@@ -28,6 +28,6 @@
},
"homepage": "https://github.com/apollographql/apollo-server#readme",
"dependencies": {
- "@apollo/protobufjs": "1.2.5"
+ "@apollo/protobufjs": "1.2.6"
}
}