Skip to content

Commit 48b78b4

Browse files
docs(changelog): add entry for v3.9.2 type-safety and linter fixes
1 parent 2f110d0 commit 48b78b4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.docs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
**Rule:** Semua perubahan struktur, penambahan file, atau pergantian status fitur WAJIB dicatat di sini terlebih dahulu sebelum memperbarui dokumen spesifik di `.docs/`.
55
---
66
---
7+
## [v3.9.2] - 2026-05-28
8+
### Fixed (TypeScript & Linting)
9+
- **Strict Actions Type-Safety:** Refactoring type-safe catch blocks in all server actions to remove any explicit `any` types. Checked for `instanceof Error` dynamically when returning or logging errors.
10+
- **Prisma Actions Typing:** Strongly typed `updateData` variables using `Prisma.BannerHomepageUpdateInput` and `Prisma.KegiatanUpdateInput` instead of `any`.
11+
- **ZodError Bugfix:** Fixed a TypeScript check error in `potensi.action.ts` where `error.errors` was used instead of the correct `error.issues` for `ZodError` properties.
12+
- **Linter Warnings Cleanup:** Removed unused variable `searchParam` in `search.action.ts` to clear linter warnings.
13+
714
## [v3.9.1] - 2026-05-28
815
### Changed (DevOps & Workflow)
916
- **Branch Rename (pr -> dev):** Mengubah nama cabang integrasi/staging dari `pr` menjadi `dev` di seluruh berkas konfigurasi workflow GitHub Actions (`ci.yml`, `docs-sync.yml`), template PR (`PULL_REQUEST_TEMPLATE.md`), berkas kontribusi (`CONTRIBUTING.md`), blueprint arsitektur (`architecture.md`), serta berkas panduan AI (`.cursorrules`, `.agentrules`, dll.) demi memperjelas alur branching dan menghindari kebingungan.

0 commit comments

Comments
 (0)