Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 29, 2025

Bumps @apollo/server from 5.0.0 to 5.1.0.

Release notes

Sourced from @​apollo/server's releases.

@​apollo/server-integration-testsuite@​5.1.0

Patch Changes

  • Updated dependencies [80a1a1a]:
    • @​apollo/server@​5.1.0

@​apollo/server@​5.1.0

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 {

... (truncated)

Changelog

Sourced from @​apollo/server's changelog.

5.1.0

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,

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 29, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build ed413e7a-2770-4357-b8c6-347a50ba3fb3

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 88.927%

Totals Coverage Status
Change from base Build ae8bc88a-2d3b-4e9f-82a6-14ac63c176ba: 0.0%
Covered Lines: 7324
Relevant Lines: 8236

💛 - Coveralls

@kamilmysliwiec kamilmysliwiec merged commit 92a95ec into master Oct 29, 2025
4 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/apollo/server-5.1.0 branch October 29, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants