chore(voucher): upgrade @apollo/server v4→v5, @as-integrations/next v3→v4#508
Open
chore(voucher): upgrade @apollo/server v4→v5, @as-integrations/next v3→v4#508
Conversation
…3→v4 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Upgrades Apollo Server and the Next.js Apollo integration used by the apps/voucher application to supported (non‑EOL) major versions, updating the workspace lockfile accordingly.
Changes:
- Bump
@apollo/serverfrom v4 to v5 inapps/voucher. - Bump
@as-integrations/nextfrom v3 to v4 inapps/voucher. - Regenerate
pnpm-lock.yamlto reflect the new dependency graph.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/voucher/package.json | Updates Apollo Server and Next.js integration dependency ranges for the voucher app. |
| pnpm-lock.yaml | Updates resolved versions and transitive dependencies for the new Apollo packages. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…rver v5 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades Apollo Server and its Next.js integration in
apps/voucher:@apollo/server:^4.7.1→^5.0.0(resolved: 5.5.0)@as-integrations/next:^3.1.0→^4.0.0(resolved: 4.1.0)Motivation: Apollo Server v4 is End of Life. Tracked in blinkbitcoin/blink-wip#635 (parent: blinkbitcoin/blink-wip#631).
What changed
Only
apps/voucher/package.jsonandpnpm-lock.yaml. No source code changes required — the voucher app's usage ofApolloServerandstartServerAndCreateNextHandleris fully compatible with v5.Breaking changes reviewed (Apollo Server v4 → v5)
Full migration guide: https://www.apollographql.com/docs/apollo-server/migration/
^16.6.0in package.json — resolved version already satisfies this@as-integrations/express4status400ForVariableCoercionErrorsnow defaults totruestartStandaloneServerno longer uses ExpressprecomputedNonceoption removed from landing page pluginsformatErrorcallbackformatErrorinapp/api/graphql/route.tsworks as-isnew ApolloServer({...}))typeDefs,resolvers,formatErrorall work identicallyfetchinstead ofnode-fetchfor built-in pluginsBreaking changes reviewed (@as-integrations/next v3 → v4)
Release notes: https://github.com/apollo-server-integrations/apollo-server-integration-next/releases/tag/v4.0.0
@apollo/server≥ v5startServerAndCreateNextHandlerAPIVerification
pnpm install --filter voucher— clean install ✅tsc --noEmit— no Apollo-related type errors ✅ (pre-existing test type issues unrelated to this change)Files
apps/voucher/package.json— version bumpspnpm-lock.yaml— lockfile updateCloses blinkbitcoin/blink-wip#635
🤖 Generated with Claude Code