+5
.changeset/clever-plants-greet.md
+5
.changeset/clever-plants-greet.md
···+Update `subscriptionExchange` to receive `FetchBody` instead. In the usual usage of `subscriptionExchange` (for instance with `graphql-ws`) you can expect no breaking changes. However, the `key` and `extensions` field has been removed and instead the `forwardSubscription` function receives the full `Operation` as a second argument.
+5
.changeset/slow-glasses-attend.md
+5
.changeset/slow-glasses-attend.md
+4
-7
docs/advanced/subscriptions.md
+4
-7
docs/advanced/subscriptions.md
······
-1
packages/core/src/exchanges/subscription.test.ts
-1
packages/core/src/exchanges/subscription.test.ts
+12
-23
packages/core/src/exchanges/subscription.ts
+12
-23
packages/core/src/exchanges/subscription.ts
·········* @returns An {@link ObservableLike} object issuing {@link ExecutionResult | ExecutionResults}./** This is called to create a subscription and needs to be hooked up to a transport client. */···-// This excludes the query's name as a field although subscription-transport-ws does accept it since it's optional
+1
-1
packages/core/src/internal/fetchOptions.ts
+1
-1
packages/core/src/internal/fetchOptions.ts
+4
packages/core/src/types.ts
+4
packages/core/src/types.ts
···+* @see {@link https://github.com/graphql/graphql-over-http/blob/1928447/spec/GraphQLOverHTTP.md#request-parameters} for the GraphQL over HTTP spec
+1
-4
packages/core/src/utils/operation.ts
+1
-4
packages/core/src/utils/operation.ts
+3
-2
packages/core/src/utils/request.ts
+3
-2
packages/core/src/utils/request.ts
···