Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Oct 21, 2025

This PR was opened by the Changesets release 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.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

@apollo/[email protected]

Minor Changes

  • #8148 80a1a1a Thanks @jerelmiller! - Apollo Server now supports the incremental delivery protocol (@defer and @stream) that ships with [email protected]. To use the current protocol, clients must send the Accept header with a value of multipart/mixed; incrementalSpec=v0.2.

    Upgrading to 5.1 will depend on what version of graphql you have installed and whether you already support the incremental delivery protocol.

    I use graphql@16 without incremental delivery

    Continue using graphql v16 with no additional changes. Incremental delivery won't be available.

    I use graphql@16 but would like to add support for incremental delivery

    Install [email protected] and follow the "Incremental delivery" guide to add the @defer and @stream directives to your schema. Clients should send the Accept header with a value of multipart/mixed; incrementalSpec=v0.2 to get multipart responses.

    I use [email protected] and use incremental delivery

    You must upgrade to [email protected] to continue using incremental delivery. If you'd like to continue providing support for the legacy incremental protocol, install the @yaacovcr/transform package. Apollo Server will attempt to load this module when the client specifies an Accept header with a value of multipart/mixed; deferSpec=20220824. If this package is not installed, an error is returned by the server.

    Because Apollo Server now supports multiple versions of the incremental delivery types, the existing incremental delivery types have been renamed with an Alpha2 suffix. If you import these types in your code, you will need to add the Alpha2 suffix.

    import type {
    - GraphQLExperimentalFormattedInitialIncrementalExecutionResult,
    + GraphQLExperimentalFormattedInitialIncrementalExecutionResultAlpha2,
    
    - GraphQLExperimentalFormattedSubsequentIncrementalExecutionResult,
    + GraphQLExperimentalFormattedSubsequentIncrementalExecutionResultAlpha2,
    
    - GraphQLExperimentalFormattedIncrementalResult,
    + GraphQLExperimentalFormattedIncrementalResultAlpha2,
    
    - GraphQLExperimentalFormattedIncrementalDeferResult,
    + GraphQLExperimentalFormattedIncrementalDeferResultAlpha2,
    
    - GraphQLExperimentalFormattedIncrementalStreamResult,
    + GraphQLExperimentalFormattedIncrementalStreamResultAlpha2,
    } from '@apollo/server';

    Incremental delivery types for the [email protected] version are now available using the Alpha9 suffix:

    import type {
      GraphQLExperimentalFormattedInitialIncrementalExecutionResultAlpha9,
      GraphQLExperimentalFormattedSubsequentIncrementalExecutionResultAlpha9,
      GraphQLExperimentalFormattedIncrementalResultAlpha9,
      GraphQLExperimentalFormattedIncrementalDeferResultAlpha9,
      GraphQLExperimentalFormattedIncrementalStreamResultAlpha9,
      GraphQLExperimentalFormattedCompletedResultAlpha9,
      GraphQLExperimentalPendingResultAlpha9,
    } from '@apollo/server';

@apollo/[email protected]

Patch Changes

@apollo/[email protected]

Patch Changes

@apollo-librarian
Copy link

apollo-librarian bot commented Oct 21, 2025

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: d9271a052187d9ebacb47f58
Build Logs: View logs

@jerelmiller jerelmiller merged commit c9738e2 into main Oct 21, 2025
16 of 17 checks passed
@jerelmiller jerelmiller deleted the changeset-release/main branch October 21, 2025 17:15
@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants