From 4437297109916cbdc471118aecafe7bcf3507478 Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Mon, 15 Feb 2021 13:20:30 +0000 Subject: [PATCH 1/5] Bump version of `@apollographql/graphql-playground-react` to v1.7.35. This version brings a number of [Updates] from the upstream fork but also improves the support for `graphql@15` features like interfaces implementing interfaces, while maintaining support for the Apollo Query Planner pane and avoiding some upstream dependency bumps to Redux dependencies which resulted in the inability to "Save" settings on the Settings panel. [Updates]: https://github.com/apollographql/graphql-playground/compare/b0e8c3a~...5c7a815 --- packages/apollo-server-core/src/playground.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apollo-server-core/src/playground.ts b/packages/apollo-server-core/src/playground.ts index 668a6db789d..76aa445f83a 100644 --- a/packages/apollo-server-core/src/playground.ts +++ b/packages/apollo-server-core/src/playground.ts @@ -10,7 +10,7 @@ export { // This specifies the version of `graphql-playground-react` that will be served // from `graphql-playground-html`. It's passed to ``graphql-playground-html`'s // renderPlaygroundPage` via the integration packages' playground configuration. -const playgroundVersion = '1.7.33'; +const playgroundVersion = '1.7.35'; // https://stackoverflow.com/a/51365037 type RecursivePartial = { From 57ee63c75b5a9e4851627099fb7c32d1459bc572 Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Wed, 24 Feb 2021 10:12:26 +0200 Subject: [PATCH 2/5] Update packages/apollo-server-core/src/playground.ts --- packages/apollo-server-core/src/playground.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/apollo-server-core/src/playground.ts b/packages/apollo-server-core/src/playground.ts index 76aa445f83a..f78968820a4 100644 --- a/packages/apollo-server-core/src/playground.ts +++ b/packages/apollo-server-core/src/playground.ts @@ -10,7 +10,7 @@ export { // This specifies the version of `graphql-playground-react` that will be served // from `graphql-playground-html`. It's passed to ``graphql-playground-html`'s // renderPlaygroundPage` via the integration packages' playground configuration. -const playgroundVersion = '1.7.35'; +const playgroundVersion = '1.7.38'; // https://stackoverflow.com/a/51365037 type RecursivePartial = { From ac08c3e60d4bfd35dace813ca1d9df3f0a35da1e Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Wed, 24 Feb 2021 10:12:46 +0200 Subject: [PATCH 3/5] Add clarity to how the Playground packages work. --- packages/apollo-server-core/src/playground.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/packages/apollo-server-core/src/playground.ts b/packages/apollo-server-core/src/playground.ts index f78968820a4..a6abef98ad6 100644 --- a/packages/apollo-server-core/src/playground.ts +++ b/packages/apollo-server-core/src/playground.ts @@ -7,9 +7,16 @@ export { RenderPageOptions as PlaygroundRenderPageOptions, } from '@apollographql/graphql-playground-html/dist/render-playground-page'; -// This specifies the version of `graphql-playground-react` that will be served -// from `graphql-playground-html`. It's passed to ``graphql-playground-html`'s -// renderPlaygroundPage` via the integration packages' playground configuration. +// This specifies the React version of our fork of GraphQL Playground, +// `@apollographql/graphql-playground-react`. It is related to, but not to +// be confused with, the `@apollographql/graphql-playground-html` package which +// is a dependency of Apollo Server's various integration `package.json`s files. +// +// The HTML (stub) file renders a `