TypeScript Migration, Prisma Upgrade & Security Fixes
🎨 Improvements
- server: Converted
custom-server.jsto TypeScript (custom-server.ts) for consistent type safety across the codebase - compiled to JS during Docker build via dedicatedtsconfig.server.json
🔄 Changed
- database: Upgraded Prisma ORM from v5 to v6 (v6.19.3) for continued security patches and bug fixes
- SSO: Migrated SSO credential decryption from deprecated
$usemiddleware to$extendsquery extension API - auth: Upgraded better-auth from v1.4.17 to v1.5.6 with SSO hardening, Prisma adapter fixes, and security improvements
- dependencies: Updated all patch/minor dependencies - Next.js, React, Tailwind CSS, Zod, AWS SDK, Vitest and 20+ other packages
🗑️ Removed
- auth: Removed deprecated
@better-auth/clipackage (replaced bynpx authCLI)
🔧 CI/CD
- Docker: Prisma CLI version in Dockerfile is now dynamically read from
package.jsonat build time instead of being hardcoded, ensuring automatic version sync
🐳 Docker
- Image:
skyfay/dbackup:v1.4.3 - Also tagged as:
latest,v1 - Platforms: linux/amd64, linux/arm64