Upgrade all packages to latest stable (Express 5, React 19.3, Vite 8.3, GitHub Actions) - #30
Merged
Merged
Conversation
Co-authored-by: charles2ke <6725706+charles2ke@users.noreply.github.com>
Co-authored-by: charles2ke <6725706+charles2ke@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
charles2ke
September 24, 2026 10:14
View session
charles2ke
marked this pull request as ready for review
September 24, 2026 10:14
There was a problem hiding this comment.
Copilot review overview
🔵 Needs a closer look
Website tooling requires newer Node 20 versions than the currently documented minimum.
Review effort: Lite
Findings: None
What changed in this PR
Upgrades backend, website, and CI dependencies, including migration from Express 4 to Express 5.
Changes:
- Updates npm dependencies and lockfiles.
- Replaces the Express 4 Apollo integration with
@as-integrations/express5. - Updates React, Vite, GitHub Actions, documentation, and examples.
| File | Description |
|---|---|
website/src/backendSamples.js |
Updates the displayed Express integration example. |
website/package.json |
Upgrades website dependencies. |
website/package-lock.json |
Refreshes the website lockfile. |
test/cors.test.js |
Updates the integration import. |
src/index.js |
Uses the Express 5 integration. |
README.md |
Documents the Express 5 stack. |
package.json |
Upgrades backend dependencies. |
package-lock.json |
Refreshes the backend lockfile. |
.github/workflows/deploy-pages.yml |
Updates Pages deployment actions. |
.github/workflows/ci.yml |
Updates CI actions. |
Files not reviewed (1)
- website/package-lock.json: Generated file
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Brings every declared dependency — backend npm, website npm, and pinned GitHub Actions — up to its latest stable release. The only non-cosmetic upgrade is Express 4 → 5, which requires swapping the Apollo integration package.
Backend (
package.json)express^4.21.2→^5.2.1, with@as-integrations/express4replaced by@as-integrations/express5(the express4 integration declares anexpress@^4peer).cors^2.8.5→^2.8.6,graphql^16.10.0→^16.14.2;@apollo/serverand@graphql-tools/schemaranges pinned to current latest.graphqlstays on 16.x deliberately:@apollo/server@5.5.1declarespeer graphql@^16.11.0, sographql@17fails to resolve. 16.14.2 is the newest compatible stable.qsto 6.16.0, which makes the open Dependabot PR Bump qs from 6.15.3 to 6.16.0 in the npm_and_yarn group across 1 directory #29 redundant.The integration swap is the entire code change:
No route, middleware, or query-parsing code needed adjusting — there are no wildcard/optional path patterns, and
req.queryis only read as flat key/value pairs.Website (
website/package.json)react/react-dom→ 19.3.0,@types/react/@types/react-dom→ 19.3.0,@vitejs/plugin-react→ 6.1.1,oxlint→ 1.85.0,vite→ 8.3.0.expressMiddlewarefrom@apollo/server/express4, a subpath Apollo Server 5 no longer exports; updated to@as-integrations/express5so the sample matches the actual stack.CI (
.github/workflows)checkoutv4→v7,setup-nodev4→v7,configure-pagesv5→v6,upload-pages-artifactv3→v5,deploy-pagesv4→v5. Every input and output referenced by the workflows still exists in the new majors;node-version: 22is unchanged.Docs
@as-integrations/express5.