Skip to content

feat: Upgrade Node.js from 18.x to 24.x LTS#5

Draft
devin-ai-integration[bot] wants to merge 1 commit into
devin/1775585183-todo-appfrom
devin/1777385791-upgrade-node-to-v24
Draft

feat: Upgrade Node.js from 18.x to 24.x LTS#5
devin-ai-integration[bot] wants to merge 1 commit into
devin/1775585183-todo-appfrom
devin/1777385791-upgrade-node-to-v24

Conversation

@devin-ai-integration
Copy link
Copy Markdown
Contributor

Summary

Upgrades the Node.js runtime from 18.x (EOL) to 24.x LTS (Krypton, v24.15.0).

Changes

  • .nvmrc: 1824
  • package.json engines: >=18.0.0 <19.0.0>=24.0.0 <25.0.0
  • better-sqlite3: ^9.6.0^12.9.0 (v9 has no prebuilt binaries for Node 24 and fails to compile)
  • package-lock.json: regenerated with npm 11.12.1
  • README.md: all Node 18 references updated to Node 24

Review & Testing Checklist for Human

  • Verify better-sqlite3 v12.x API is backward-compatible with existing usage (it is — the sync API is unchanged, but worth a spot-check)
  • Run npm test locally with Node 24 to confirm all 53 tests pass
  • Start the app (npm run dev) and verify the UI loads and CRUD operations work

Notes

  • All 53 existing tests pass on Node 24
  • Lint (eslint) passes clean
  • UI tested manually — app loads, seeded data displays, stats bar and filters work correctly
  • The only dependency requiring a major version bump was better-sqlite3 (v9 → v12) due to native addon compilation requirements for Node 24
  • Deprecation warnings for eslint@8, supertest@6, and superagent@8 are pre-existing and unrelated to this upgrade

Link to Devin session: https://app.devin.ai/sessions/caf1ccb8c62e44bc854f6add6724b29c
Requested by: @clivingston-cognition

- Update .nvmrc from 18 to 24
- Update package.json engines to >=24.0.0 <25.0.0
- Upgrade better-sqlite3 from ^9.6.0 to ^12.9.0 (required for Node 24 compatibility)
- Update README documentation to reflect Node 24
- All 53 tests passing, lint clean, UI verified working

Co-Authored-By: Chris Livingston <chris.livingston@cognition.ai>
@devin-ai-integration
Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant