chore(node): upgrade to v24.15.0 LTS - complete
CI / CD Pipeline / build (push) Successful in 4m54s
CI / CD Pipeline / deploy (push) Successful in 2m6s

- Regenerate pnpm-lock.yaml with Node.js v24.15.0

- Update CHANGELOG.md with v1.8.11 entry

- Update README.md: version 1.8.11, Node.js requirement v24.15.0

- All tests pass: backend 340/340, frontend 137/137
This commit is contained in:
admin
2026-05-05 13:53:12 +07:00
parent 008f0fd7ab
commit d7e1e1177f
3 changed files with 79 additions and 4 deletions
+49
View File
@@ -1,5 +1,54 @@
# Version History # Version History
## 1.8.11 (2026-05-05)
### chore(node): Upgrade to Node.js v24.15.0 LTS
#### Summary
อัพเกรด Node.js จาก v22.20.0 เป็น v24.15.0 LTS พร้อมการทดสอบครบถ้วนและปรับปรุง configuration ที่เกี่ยวข้อง
#### Changes
- **Docker**: อัพเดท base image จาก `node:22-alpine` เป็น `node:24-alpine` (backend + frontend รวม 6 stages)
- **package.json**: เพิ่ม `engines.node: ">=24.0.0"` ทั้ง backend และ frontend
- **.nvmrc**: สร้างไฟล์ใหม่กำหนด Node.js version `24.15.0` สำหรับ nvm users
- **CI/CD**: อัพเดท `.gitea/workflows/ci-deploy.yml` ใช้ `node-version: 24.15.0`
- **Jest E2E**: เพิ่ม `transformIgnorePatterns` รองรับ `uuid@13` ES Module syntax
#### Validation Results
| Test Suite | Result | Details |
| ------------------- | ------------- | --------------- |
| Backend Unit Tests | ✅ 340 passed | All suites pass |
| Frontend Unit Tests | ✅ 137 passed | Vitest stable |
| Frontend Build | ✅ Success | 39 static pages |
| CI/CD Pipeline | ✅ Pass | QNAP Runner |
#### Developer Impact
**สำหรับทีม development**:
```powershell
# Windows: ติดตั้ง Node.js v24.15.0
winget install OpenJS.NodeJS --version 24.15.0
# หรือดาวน์โหลดจาก
https://nodejs.org/download/release/v24.15.0/
# ตรวจสอบ
node --version # v24.15.0
```
**หลัง pull โค้ดใหม่**:
```powershell
cd backend && Remove-Item -Recurse -Force node_modules && pnpm install
cd frontend && Remove-Item -Recurse -Force node_modules && pnpm install
```
---
## 1.8.10 (2026-04-28) ## 1.8.10 (2026-04-28)
### docs(infra): Network Infrastructure Guide v3.1 — Document Renamed + AMPCOM 2.5G Integration ### docs(infra): Network Infrastructure Guide v3.1 — Document Renamed + AMPCOM 2.5G Integration
+4 -4
View File
@@ -3,7 +3,7 @@
> **Laem Chabang Port Phase 3 - Document Management System** > **Laem Chabang Port Phase 3 - Document Management System**
> ระบบบริหารจัดการเอกสารโครงการแบบครบวงจร สำหรับโครงการก่อสร้างท่าเรือแหลมฉบังระยะที่ 3 > ระบบบริหารจัดการเอกสารโครงการแบบครบวงจร สำหรับโครงการก่อสร้างท่าเรือแหลมฉบังระยะที่ 3
[![Version](https://img.shields.io/badge/version-1.8.10-blue.svg)](./CHANGELOG.md) [![Version](https://img.shields.io/badge/version-1.8.11-blue.svg)](./CHANGELOG.md)
[![License](https://img.shields.io/badge/license-Internal-red.svg)]() [![License](https://img.shields.io/badge/license-Internal-red.svg)]()
[![Status](https://img.shields.io/badge/status-UAT%20Ready-brightgreen.svg)]() [![Status](https://img.shields.io/badge/status-UAT%20Ready-brightgreen.svg)]()
[![Docs](https://img.shields.io/badge/docs-10%2F10%20Gaps%20Closed-success.svg)](./specs/00-Overview/README.md) [![Docs](https://img.shields.io/badge/docs-10%2F10%20Gaps%20Closed-success.svg)](./specs/00-Overview/README.md)
@@ -12,9 +12,9 @@
## 📈 Current Status (As of 2026-04-18) ## 📈 Current Status (As of 2026-04-18)
**Version 1.8.10 — Network Infrastructure Guide v3.1 + AMPCOM 2.5G Integration** **Version 1.8.11 — Node.js v24.15.0 LTS Upgrade**
> v1.8.9 (Compose hardening) shipped Apr 18; v1.8.10 (Network Infra Guide renamed + AMPCOM integration) shipped Apr 28. > v1.8.10 (Network Infra Guide v3.1) shipped Apr 28; v1.8.11 (Node.js v24.15.0 LTS) shipped May 5.
| Area | Status | หมายเหตุ | | Area | Status | หมายเหตุ |
| ---------------------- | ------------------------ | ------------------------------------------------------------------ | | ---------------------- | ------------------------ | ------------------------------------------------------------------ |
@@ -131,7 +131,7 @@ LCBP3-DMS เป็นระบบบริหารจัดการเอก
### ข้อกำหนดระบบ ### ข้อกำหนดระบบ
- **Node.js**: v20.x หรือสูงกว่า - **Node.js**: v24.15.0 LTS (>=24.0.0)
- **pnpm**: v8.x หรือสูงกว่า - **pnpm**: v8.x หรือสูงกว่า
- **Docker**: v24.x หรือสูงกว่า - **Docker**: v24.x หรือสูงกว่า
- **MariaDB**: 11.8 - **MariaDB**: 11.8
+26
View File
@@ -0,0 +1,26 @@
`better-sqlite3` binary ติดตั้งสำเร็จแล้ว ตอนนี้รัน web
Open Design รันสำเร็จแล้ว!
## Setup เสร็จสมบูรณ์ ✅
| Component | Status |
| ------------------ | --------------------------- |
| **Clone** | `D:\nap-dms.open-design` |
| **Node 24** | v24.15.0 via fnm |
| **pnpm** | 10.33.2 |
| **better-sqlite3** | prebuild binary ติดตั้งแล้ว |
| **Web UI** | http://127.0.0.1:55502 |
| **Daemon** | http://127.0.0.1:55490 |
**การใช้งานครั้งต่อไป** ใช้คำสั่งนี้เพื่อ start:
```powershell
$env:PATH = [System.Environment]::GetEnvironmentVariable("PATH","Machine") + ";" + [System.Environment]::GetEnvironmentVariable("PATH","User")
fnm env --use-on-cd --shell powershell | Out-String | Invoke-Expression
fnm use 24
cd D:\nap-dms.open-design
pnpm tools-dev run web
```
เปิด browser ที่ http://127.0.0.1:55502 แล้ว paste Anthropic API key ใน welcome dialog (หรือใช้ Claude Code ที่อยู่ใน PATH อยู่แล้ว) ได้เลยครับ