From 6699c9ce0b2b8e43a4a18dbf267d29cc0d5cc4dd Mon Sep 17 00:00:00 2001 From: David Blass Date: Mon, 22 Jul 2019 11:13:08 -0400 Subject: [PATCH 1/2] Add graphql as a peerDependency of apollo-cache and graphql-anywhere. --- packages/apollo-cache/package.json | 3 +++ packages/graphql-anywhere/package.json | 3 +++ 2 files changed, 6 insertions(+) diff --git a/packages/apollo-cache/package.json b/packages/apollo-cache/package.json index 3fa7608bfde..97846897e6b 100644 --- a/packages/apollo-cache/package.json +++ b/packages/apollo-cache/package.json @@ -38,5 +38,8 @@ "dependencies": { "apollo-utilities": "file:../apollo-utilities", "tslib": "^1.9.3" + }, + "peerDependencies": { + "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" } } diff --git a/packages/graphql-anywhere/package.json b/packages/graphql-anywhere/package.json index a1a1f0c05a0..5fd4f4c007b 100644 --- a/packages/graphql-anywhere/package.json +++ b/packages/graphql-anywhere/package.json @@ -44,5 +44,8 @@ "apollo-utilities": "file:../apollo-utilities", "ts-invariant": "^0.3.2", "tslib": "^1.9.3" + }, + "peerDependencies": { + "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0" } } From 1ed4bc741a716096347195cb3e583dbb8d5c010a Mon Sep 17 00:00:00 2001 From: hwillson Date: Tue, 13 Aug 2019 05:53:31 -0400 Subject: [PATCH 2/2] Changelog update --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b7e346e3597..3e7b48fc05f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ - Modify `ObservableQuery` to allow queries with `notifyOnNetworkStatusChange` to be notified when loading after an error occurs.
[@jasonpaulos](https://github.com/jasonpaulos) in [#4992](https://github.com/apollographql/apollo-client/pull/4992) +- Add `graphql` as a `peerDependency` of `apollo-cache` and + `graphql-anywhere`.
+ [@ssalbdivad](https://github.com/ssalbdivad) in [#5081](https://github.com/apollographql/apollo-client/pull/5081) - Documentation updates.
[@raibima](https://github.com/raibima) in [#5132](https://github.com/apollographql/apollo-client/pull/5132)
[@hwillson](https://github.com/hwillson) in [#5141](https://github.com/apollographql/apollo-client/pull/5141)