Skip to content

perf: dependency updates 20260418#23

Merged
weaponsforge merged 5 commits into
devfrom
perf/dependency-updates-20260418
Apr 18, 2026
Merged

perf: dependency updates 20260418#23
weaponsforge merged 5 commits into
devfrom
perf/dependency-updates-20260418

Conversation

@weaponsforge
Copy link
Copy Markdown
Owner

@weaponsforge weaponsforge commented Apr 18, 2026

Summary

  • Update dependencies and run npm audit fix
  • Regenerate the OpenAPI yml and json files, syncing with the latest library updates
  • Promote using Node LTS v24.11.0
  • Add CLAUDE.md file

Library Updates

Library Old New
@asteasolutions/zod-to-openapi 8.1.0 8.5.0
@eslint/js 9.32.0 10.0.1
@redocly/cli 2.1.0 2.28.1
@types/cookie-parser 1.4.9 1.4.10
@types/express 5.0.3 5.0.6
@types/node 24.1.0 25.6.0
cors 2.8.5 2.8.6
dotenv 17.2.1 17.4.2
eslint 9.32.0 10.2.1
express 5.1.0 5.2.1
express-rate-limit 8.0.1 8.3.2
globals 16.3.0 17.5.0
mongoose 8.16.5 9.4.1
nodemon 3.1.10 3.1.14
ph-municipalities 1.4.6 1.4.7
tsx 4.20.3 4.21.0
typescript 5.8.3 6.0.3
typescript-eslint 8.38.0 8.58.2
yaml 2.8.1 2.8.3
zod 4.0.10 4.3.6

Summary by CodeRabbit

  • Chores

    • Updated Node.js runtime to v24.11.0 across all environments
    • Upgraded core dependencies including Express, Mongoose, Zod, and ESLint
    • Bumped package version to 1.1.2
  • Documentation

    • Improved OpenAPI schema for timestamp fields (now using date-time format)
    • Added comprehensive development documentation
  • Bug Fixes

    • Enhanced error propagation and traceability in seeding processes

- Update @asteasolutions/zod-to-openapi 8.1.0 -> 8.5.0
- Update @eslint/js 9.32.0 -> 10.0.1
- Update @redocly/cli 2.1.0 -> 2.28.1
- Update @types/cookie-parser 1.4.9 -> 1.4.10
- Update @types/express 5.0.3 -> 5.0.6
- Update @types/node 24.1.0 -> 25.6.0
- Update cors 2.8.5 -> 2.8.6
- Update dotenv 17.2.1 -> 17.4.2
- Update eslint 9.32.0 -> 10.2.1
- Update express 5.1.0 -> 5.2.1 ->
- Update express-rate-limit 8.0.1 -> 8.3.2
- Update globals 16.3.0 -> 17.5.0
- Update mongoose 8.16.5 -> 9.4.1
- Update nodemon 3.1.10 -> 3.1.14
- Update ph-municipalities 1.4.6 -> 1.4.7
- Update tsx 4.20.3 -> 4.21.0
- Update typescript 5.8.3 -> 6.0.3
- Update typescript-eslint 8.38.0 -> 8.58.2
- Update yaml 2.8.1 -> 2.8.3
- Update zod 4.0.10 -> 4.3.6
- Fix lint errors
- Bump version patch to v1.1.2
@weaponsforge weaponsforge merged commit 574f4b9 into dev Apr 18, 2026
1 of 2 checks passed
@weaponsforge weaponsforge deleted the perf/dependency-updates-20260418 branch April 18, 2026 07:55
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 18, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8eec3d69-a3b6-485f-9c7f-8fa4eb15c129

📥 Commits

Reviewing files that changed from the base of the PR and between ac6d3c5 and 2023b70.

⛔ Files ignored due to path filters (1)
  • server/package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (11)
  • .github/workflows/lint.yml
  • .github/workflows/release.yml
  • CLAUDE.md
  • README.md
  • server/.nvmrc
  • server/Dockerfile
  • server/package.json
  • server/public/openapi.json
  • server/public/openapi.yaml
  • server/src/scripts/seed/main.ts
  • server/tsconfig.json

📝 Walkthrough

Walkthrough

Node.js runtime upgraded from version 22.14.0 to 24.11.0 across CI/CD workflows, Docker, and configuration files. Dependencies updated to latest compatible versions. OpenAPI schema metadata fields reformatted to use date-time. Seeding script refactored with explicit type annotations and enhanced error propagation.

Changes

Cohort / File(s) Summary
Node.js Runtime Version Updates
.github/workflows/lint.yml, .github/workflows/release.yml, server/.nvmrc, server/Dockerfile, README.md
Updated Node.js from 22.14.0 to 24.11.0 across CI/CD workflows, development configuration, and Docker base image; added npm version recommendation (11.6.1) in README.
Package Dependencies
server/package.json
Bumped version to 1.1.2, raised engines.node constraint to >=24, and updated multiple production and dev dependencies including Express, Mongoose, Zod, TypeScript tooling, and linting packages.
OpenAPI Schema Format Updates
server/public/openapi.json, server/public/openapi.yaml
Changed createdAt and updatedAt field format from "date" to "date-time" across Island, Region, Province, Municipality, and Stats resource schemas.
Seeding Script Improvements
server/src/scripts/seed/main.ts
Removed untyped variable declarations, introduced explicit SeedingResult and TMunicipality[] types, block-scoped statsBarangays variable, and enhanced error propagation with { cause: err } parameter in catch blocks.
Development Documentation
CLAUDE.md
Added new repository guidance file covering project structure, npm commands, Docker usage, request lifecycle, key abstractions, data model hierarchy, validation/OpenAPI generation, response formats, deployment configuration, and ESM module setup.
TypeScript Configuration
server/tsconfig.json
Removed baseUrl setting and simplified @/* path alias from multi-line array to explicit ./src/* target.
Dependency Documentation
README.md
Updated documented minimum Node.js LTS requirement from v22 to v24 and bumped versions for core libraries (Express, Mongoose, Zod, Nodemon, tsx, ESLint, Zod-to-OpenAPI, Redocly CLI).

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Possibly related PRs

Poem

🐰 From version twenty-two, we hop to twenty-four,
Node.js now leaps faster than before!
Date-times flow where dates once lay,
Types align in every way,
Seeding errors now trace their cause,
Our fields embrace the date-time clause! 🌱

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch perf/dependency-updates-20260418

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@weaponsforge weaponsforge mentioned this pull request Apr 18, 2026
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