Skip to content

Fix Apollo Server 5 and graphql-subscriptions 3 compatibility#7858

Merged
pubkey merged 7 commits intorenovate/major-apollo-graphql-packagesfrom
copilot/sub-pr-7701-again
Feb 19, 2026
Merged

Fix Apollo Server 5 and graphql-subscriptions 3 compatibility#7858
pubkey merged 7 commits intorenovate/major-apollo-graphql-packagesfrom
copilot/sub-pr-7701-again

Conversation

Copy link
Contributor

Copilot AI commented Feb 19, 2026

Apollo Server 5 moved Express integration to separate packages, and graphql-subscriptions 3 renamed asyncIterator to asyncIterableIterator.

Changes:

  • Added @as-integrations/express5@1.1.2 dependency (Apollo Server 5 no longer includes Express middleware)
  • Updated import: @apollo/server/express4@as-integrations/express5
  • Replaced pubsub.asyncIterator() with pubsub.asyncIterableIterator() in server and test helper

Example:

// Before
import { expressMiddleware } from '@apollo/server/express4';
return pubsub.asyncIterator('streamHero');

// After
import { expressMiddleware } from '@as-integrations/express5';
return pubsub.asyncIterableIterator('streamHero');

Files modified:

  • examples/graphql/package.json
  • examples/graphql/server/index.js
  • test/helper/graphql-server.ts

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits February 19, 2026 10:25
@renovate renovate bot force-pushed the renovate/major-apollo-graphql-packages branch from 332e675 to 41731a1 Compare February 19, 2026 10:28
Co-authored-by: pubkey <8926560+pubkey@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Feb 19, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • www.apollographql.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title [WIP] Update Apollo GraphQL packages to latest versions Fix Apollo Server 5 and graphql-subscriptions 3 compatibility Feb 19, 2026
Copilot AI requested a review from pubkey February 19, 2026 10:36
@renovate renovate bot force-pushed the renovate/major-apollo-graphql-packages branch from 41731a1 to e56d172 Compare February 19, 2026 12:05
@pubkey pubkey marked this pull request as ready for review February 19, 2026 12:27
@pubkey pubkey merged commit d9e6db3 into renovate/major-apollo-graphql-packages Feb 19, 2026
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments