Skip to content

Commit 1b1bf91

Browse files
chore(deps): bump @apollo/server from 5.0.0 to 5.2.0 (#958)
Bumps [@apollo/server](https://github.com/apollographql/apollo-server/tree/HEAD/packages/server) from 5.0.0 to 5.2.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/apollographql/apollo-server/releases"><code>@​apollo/server</code>'s releases</a>.</em></p> <blockquote> <h2><code>@​apollo/server-integration-testsuite</code><a href="https://github.com/5"><code>@​5</code></a>.2.0</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/apollographql/apollo-server/commit/51acbebde7cc2759efacaa9eccb10aa3fee6b368"><code>51acbeb</code></a>]: <ul> <li><code>@​apollo/server</code><a href="https://github.com/5"><code>@​5</code></a>.2.0</li> </ul> </li> </ul> <h2><code>@​apollo/server</code><a href="https://github.com/5"><code>@​5</code></a>.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-server/pull/8161">#8161</a> <a href="https://github.com/apollographql/apollo-server/commit/51acbebde7cc2759efacaa9eccb10aa3fee6b368"><code>51acbeb</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! - Fix an issue where some bundlers would fail to build because of the dynamic import for the optional peer dependency on <code>@yaacovcr/transform</code> introduced in <code>@apollo/server</code> 5.1.0. To provide support for the legacy incremental format, you must now provide the <code>legacyExperimentalExecuteIncrementally</code> option to the <code>ApolloServer</code> constructor.</p> <pre lang="ts"><code>import { legacyExecuteIncrementally } from '@yaacovcr/transform'; <p>const server = new ApolloServer({ // ... legacyExperimentalExecuteIncrementally: legacyExecuteIncrementally, }); </code></pre></p> <p>If the <code>legacyExperimentalExecuteIncrementally</code> option is not provided and the client sends an <code>Accept</code> header with a value of <code>multipart/mixed; deferSpec=20220824</code>, an error is returned by the server.</p> </li> </ul> <h2><code>@​apollo/server-integration-testsuite</code><a href="https://github.com/5"><code>@​5</code></a>.1.0</h2> <h3>Patch Changes</h3> <ul> <li>Updated dependencies [<a href="https://github.com/apollographql/apollo-server/commit/80a1a1af12b326d8c0f900bd85a25e14ee9cd9c0"><code>80a1a1a</code></a>]: <ul> <li><code>@​apollo/server</code><a href="https://github.com/5"><code>@​5</code></a>.1.0</li> </ul> </li> </ul> <h2><code>@​apollo/server</code><a href="https://github.com/5"><code>@​5</code></a>.1.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-server/pull/8148">#8148</a> <a href="https://github.com/apollographql/apollo-server/commit/80a1a1af12b326d8c0f900bd85a25e14ee9cd9c0"><code>80a1a1a</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! - Apollo Server now supports the incremental delivery protocol (<code>@defer</code> and <code>@stream</code>) that ships with <code>graphql@17.0.0-alpha.9</code>. To use the current protocol, clients must send the <code>Accept</code> header with a value of <code>multipart/mixed; incrementalSpec=v0.2</code>.</p> <p>Upgrading to 5.1 will depend on what version of <code>graphql</code> you have installed and whether you already support the incremental delivery protocol.</p> <h2>I use <code>graphql@16</code> without incremental delivery</h2> <p>Continue using <code>graphql</code> v16 with no additional changes. Incremental delivery won't be available.</p> <h2>I use <code>graphql@16</code> but would like to add support for incremental delivery</h2> <p>Install <code>graphql@17.0.0-alpha.9</code> and follow the <a href="https://www.apollographql.com/docs/apollo-server/workflow/requests#incremental-delivery-experimental">&quot;Incremental delivery&quot; guide</a> to add the <code>@defer</code> and <code>@stream</code> directives to your schema. Clients should send the <code>Accept</code> header with a value of <code>multipart/mixed; incrementalSpec=v0.2</code> to get multipart responses.</p> <h2>I use <code>graphql@17.0.0-alpha.2</code> and use incremental delivery</h2> <p>You must upgrade to <code>graphql@17.0.0-alpha.9</code> to continue using incremental delivery. If you'd like to continue providing support for the legacy incremental protocol, install the <a href="https://github.com/yaacovCR/transform"><code>@yaacovcr/transform</code></a> package. Apollo Server will attempt to load this module when the client specifies an <code>Accept</code> header with a value of <code>multipart/mixed; deferSpec=20220824</code>. If this package is not installed, an error is returned by the server.</p> <p>Because Apollo Server now supports multiple versions of the incremental delivery types, the existing incremental delivery types have been renamed with an <code>Alpha2</code> suffix. If you import these types in your code, you will need to add the <code>Alpha2</code> suffix.</p> <pre lang="diff"><code></code></pre> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/apollographql/apollo-server/blob/main/packages/server/CHANGELOG.md"><code>@​apollo/server</code>'s changelog</a>.</em></p> <blockquote> <h2>5.2.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-server/pull/8161">#8161</a> <a href="https://github.com/apollographql/apollo-server/commit/51acbebde7cc2759efacaa9eccb10aa3fee6b368"><code>51acbeb</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! - Fix an issue where some bundlers would fail to build because of the dynamic import for the optional peer dependency on <code>@yaacovcr/transform</code> introduced in <code>@apollo/server</code> 5.1.0. To provide support for the legacy incremental format, you must now provide the <code>legacyExperimentalExecuteIncrementally</code> option to the <code>ApolloServer</code> constructor.</p> <pre lang="ts"><code>import { legacyExecuteIncrementally } from '@yaacovcr/transform'; <p>const server = new ApolloServer({ // ... legacyExperimentalExecuteIncrementally: legacyExecuteIncrementally, }); </code></pre></p> <p>If the <code>legacyExperimentalExecuteIncrementally</code> option is not provided and the client sends an <code>Accept</code> header with a value of <code>multipart/mixed; deferSpec=20220824</code>, an error is returned by the server.</p> </li> </ul> <h2>5.1.0</h2> <h3>Minor Changes</h3> <ul> <li> <p><a href="https://redirect.github.com/apollographql/apollo-server/pull/8148">#8148</a> <a href="https://github.com/apollographql/apollo-server/commit/80a1a1af12b326d8c0f900bd85a25e14ee9cd9c0"><code>80a1a1a</code></a> Thanks <a href="https://github.com/jerelmiller"><code>@​jerelmiller</code></a>! - Apollo Server now supports the incremental delivery protocol (<code>@defer</code> and <code>@stream</code>) that ships with <code>graphql@17.0.0-alpha.9</code>. To use the current protocol, clients must send the <code>Accept</code> header with a value of <code>multipart/mixed; incrementalSpec=v0.2</code>.</p> <p>Upgrading to 5.1 will depend on what version of <code>graphql</code> you have installed and whether you already support the incremental delivery protocol.</p> <h2>I use <code>graphql@16</code> without incremental delivery</h2> <p>Continue using <code>graphql</code> v16 with no additional changes. Incremental delivery won't be available.</p> <h2>I use <code>graphql@16</code> but would like to add support for incremental delivery</h2> <p>Install <code>graphql@17.0.0-alpha.9</code> and follow the <a href="https://www.apollographql.com/docs/apollo-server/workflow/requests#incremental-delivery-experimental">&quot;Incremental delivery&quot; guide</a> to add the <code>@defer</code> and <code>@stream</code> directives to your schema. Clients should send the <code>Accept</code> header with a value of <code>multipart/mixed; incrementalSpec=v0.2</code> to get multipart responses.</p> <h2>I use <code>graphql@17.0.0-alpha.2</code> and use incremental delivery</h2> <p>You must upgrade to <code>graphql@17.0.0-alpha.9</code> to continue using incremental delivery. If you'd like to continue providing support for the legacy incremental protocol, install the <a href="https://github.com/yaacovCR/transform"><code>@yaacovcr/transform</code></a> package. Apollo Server will attempt to load this module when the client specifies an <code>Accept</code> header with a value of <code>multipart/mixed; deferSpec=20220824</code>. If this package is not installed, an error is returned by the server.</p> <p>Because Apollo Server now supports multiple versions of the incremental delivery types, the existing incremental delivery types have been renamed with an <code>Alpha2</code> suffix. If you import these types in your code, you will need to add the <code>Alpha2</code> suffix.</p> <pre lang="diff"><code>import type { - GraphQLExperimentalFormattedInitialIncrementalExecutionResult, + GraphQLExperimentalFormattedInitialIncrementalExecutionResultAlpha2, <ul> <li>GraphQLExperimentalFormattedSubsequentIncrementalExecutionResult,</li> </ul> <ul> <li>GraphQLExperimentalFormattedSubsequentIncrementalExecutionResultAlpha2,</li> </ul> <ul> <li>GraphQLExperimentalFormattedIncrementalResult,</li> </ul> <ul> <li>GraphQLExperimentalFormattedIncrementalResultAlpha2,</li> </ul> <p></code></pre></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/apollographql/apollo-server/commit/7be3686ae62fb04bb4d0bfddb465d5e89631d4e4"><code>7be3686</code></a> Version Packages (<a href="https://github.com/apollographql/apollo-server/tree/HEAD/packages/server/issues/8163">#8163</a>)</li> <li><a href="https://github.com/apollographql/apollo-server/commit/51acbebde7cc2759efacaa9eccb10aa3fee6b368"><code>51acbeb</code></a> Require legacy incremental execute as an <code>ApolloServer</code> option instead of a d...</li> <li><a href="https://github.com/apollographql/apollo-server/commit/ae1be2985814212bc4df3556c930cb84f7773381"><code>ae1be29</code></a> Version Packages (<a href="https://github.com/apollographql/apollo-server/tree/HEAD/packages/server/issues/8155">#8155</a>)</li> <li><a href="https://github.com/apollographql/apollo-server/commit/c9738e2ea052cde5bfff3a85491e4992ae68ee9d"><code>c9738e2</code></a> Version Packages (rc) (<a href="https://github.com/apollographql/apollo-server/tree/HEAD/packages/server/issues/8153">#8153</a>)</li> <li><a href="https://github.com/apollographql/apollo-server/commit/80a1a1af12b326d8c0f900bd85a25e14ee9cd9c0"><code>80a1a1a</code></a> Add support for newer incremental delivery format (<a href="https://github.com/apollographql/apollo-server/tree/HEAD/packages/server/issues/8148">#8148</a>)</li> <li>See full diff in <a href="https://github.com/apollographql/apollo-server/commits/@apollo/server@5.2.0/packages/server">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@apollo/server&package-manager=npm_and_yarn&previous-version=5.0.0&new-version=5.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Christopher Ward <cdurianward@gmail.com>
1 parent 80a1e1d commit 1b1bf91

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"test:integration:local": "docker compose pull && docker compose build && docker compose run --use-aliases api npm run test:integration"
2525
},
2626
"dependencies": {
27-
"@apollo/server": "^5.0.0",
27+
"@apollo/server": "^5.2.0",
2828
"@as-integrations/express5": "^1.1.2",
2929
"@aws-sdk/client-s3": "^3.927.0",
3030
"@bugsnag/js": "^8.6.0",

release-please-config.json

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,22 @@
33
"packages": {
44
".": {
55
"release-type": "node",
6-
"package-name": "5e-srd-api"
6+
"package-name": "5e-srd-api",
7+
"changelog-sections": [
8+
{
9+
"type": "feat",
10+
"section": "Features"
11+
},
12+
{
13+
"type": "fix",
14+
"section": "Bug Fixes"
15+
},
16+
{
17+
"type": "deps",
18+
"section": "Dependencies",
19+
"hidden": false
20+
}
21+
]
722
}
823
}
924
}

0 commit comments

Comments
 (0)