Skip to content

Commit

Permalink
Version Packages (#7661)
Browse files Browse the repository at this point in the history
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @apollo/server@4.9.0

### Minor Changes

- [#7617](#7617)
[`4ff81ca50`](4ff81ca)
Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Introduce
new `ApolloServerPluginSubscriptionCallback` plugin. This plugin
implements the [subscription callback
protocol](https://github.com/apollographql/router/blob/dev/dev-docs/callback_protocol.md)
which is used by Apollo Router. This feature implements subscriptions
over HTTP via a callback URL which Apollo Router registers with Apollo
Server. This feature is currently in preview and is subject to change.

    You can enable callback subscriptions like so:

    ```ts
import { ApolloServerPluginSubscriptionCallback } from
'@apollo/server/plugin/subscriptionCallback';
    import { ApolloServer } from '@apollo/server';

    const server = new ApolloServer({
      // ...
      plugins: [ApolloServerPluginSubscriptionCallback()],
    });
    ```

Note that there is currently no tracing or metrics mechanism in place
for callback subscriptions. Additionally, this plugin "intercepts"
callback subscription requests and bypasses some of Apollo Server's
internals. The result of this is that certain plugin hooks (notably
`executionDidStart` and `willResolveField`) will not be called when
handling callback subscription requests or when sending subscription
events.

For more information on the subscription callback protocol, visit the
docs:

<https://www.apollographql.com/docs/router/executing-operations/subscription-callback-protocol/>

### Patch Changes

- [#7659](#7659)
[`4784f46fb`](4784f46)
Thanks [@renovate](https://github.com/apps/renovate)! - Update
graphql-http dependency

## @apollo/server-integration-testsuite@4.9.0

### Patch Changes

- [#7659](#7659)
[`4784f46fb`](4784f46)
Thanks [@renovate](https://github.com/apps/renovate)! - Update
graphql-http dependency

- Updated dependencies
\[[`4ff81ca50`](4ff81ca),
[`4784f46fb`](4784f46)]:
    -   @apollo/server@4.9.0

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] committed Jul 27, 2023
1 parent 4ff81ca commit 1235611
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 36 deletions.
23 changes: 0 additions & 23 deletions .changeset/cuddly-lemons-dance.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/tough-buttons-sniff.md

This file was deleted.

8 changes: 4 additions & 4 deletions package-lock.json

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

9 changes: 9 additions & 0 deletions packages/integration-testsuite/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @apollo/server-integration-testsuite

## 4.9.0

### Patch Changes

- [#7659](https://github.com/apollographql/apollo-server/pull/7659) [`4784f46fb`](https://github.com/apollographql/apollo-server/commit/4784f46fb580cdcd4359a86180def7d221856480) Thanks [@renovate](https://github.com/apps/renovate)! - Update graphql-http dependency

- Updated dependencies [[`4ff81ca50`](https://github.com/apollographql/apollo-server/commit/4ff81ca508d46eaafa4aa7c265cf2ba2c4421524), [`4784f46fb`](https://github.com/apollographql/apollo-server/commit/4784f46fb580cdcd4359a86180def7d221856480)]:
- @apollo/server@4.9.0

## 4.8.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/integration-testsuite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/server-integration-testsuite",
"version": "4.8.1",
"version": "4.9.0",
"description": "Test suite for Apollo Server integrations",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -28,7 +28,7 @@
"dependencies": {
"@apollo/cache-control-types": "^1.0.3",
"@apollo/client": "^3.6.9",
"@apollo/server": "4.8.1",
"@apollo/server": "4.9.0",
"@apollo/utils.keyvaluecache": "^2.1.0",
"@apollo/utils.createhash": "^2.0.0",
"@apollo/usage-reporting-protobuf": "^4.1.1",
Expand Down
27 changes: 27 additions & 0 deletions packages/server/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @apollo/server

## 4.9.0

### Minor Changes

- [#7617](https://github.com/apollographql/apollo-server/pull/7617) [`4ff81ca50`](https://github.com/apollographql/apollo-server/commit/4ff81ca508d46eaafa4aa7c265cf2ba2c4421524) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Introduce new `ApolloServerPluginSubscriptionCallback` plugin. This plugin implements the [subscription callback protocol](https://github.com/apollographql/router/blob/dev/dev-docs/callback_protocol.md) which is used by Apollo Router. This feature implements subscriptions over HTTP via a callback URL which Apollo Router registers with Apollo Server. This feature is currently in preview and is subject to change.

You can enable callback subscriptions like so:

```ts
import { ApolloServerPluginSubscriptionCallback } from '@apollo/server/plugin/subscriptionCallback';
import { ApolloServer } from '@apollo/server';

const server = new ApolloServer({
// ...
plugins: [ApolloServerPluginSubscriptionCallback()],
});
```

Note that there is currently no tracing or metrics mechanism in place for callback subscriptions. Additionally, this plugin "intercepts" callback subscription requests and bypasses some of Apollo Server's internals. The result of this is that certain plugin hooks (notably `executionDidStart` and `willResolveField`) will not be called when handling callback subscription requests or when sending subscription events.

For more information on the subscription callback protocol, visit the docs:
https://www.apollographql.com/docs/router/executing-operations/subscription-callback-protocol/

### Patch Changes

- [#7659](https://github.com/apollographql/apollo-server/pull/7659) [`4784f46fb`](https://github.com/apollographql/apollo-server/commit/4784f46fb580cdcd4359a86180def7d221856480) Thanks [@renovate](https://github.com/apps/renovate)! - Update graphql-http dependency

## 4.8.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/server",
"version": "4.8.1",
"version": "4.9.0",
"description": "Core engine for Apollo GraphQL server",
"type": "module",
"main": "dist/cjs/index.js",
Expand Down

0 comments on commit 1235611

Please sign in to comment.