Skip to content

v0.4.0 — Build fix + full-stack CI

Choose a tag to compare

@innotelinc innotelinc released this 08 Aug 04:25
· 152 commits to master since this release

What's changed

Build fix (critical) — Restored a working production build on Next.js 16.3.0, which was crashing while prerendering synthetic error routes (_global-error, _not-found) and pages-router status pages (framework bug vercel/next.js #86177/#86178).

  • patches/next+16.3.0.patch applied via patch-package (postinstall hook) — skips static generation of the broken synthetic/status routes
  • force-dynamic root layout; custom not-found.tsx and global-error.tsx pages
  • Dockerfile copies patches/ before npm ci so the fix applies in Docker builds

CI/CD

  • New full-stack Dockerfile.full build check job (Asterisk + FreePBX, 45–90 min) — runs weekly and via manual dispatch, deliberately not on every PR
  • workflow_dispatch trigger and weekly schedule added
  • docker compose validation for the full-stack compose file

Lint & tooling

  • Switched ESLint to eslint-config-next flat configs directly (FlatCompat was broken on ESLint 9); fixed all lint errors (set-state-in-effect, unused vars/imports across API routes and libs)

Docs & config

  • README updated with the build workaround, error pages, and release process
  • Removed NODE_ENV from env example files (Next.js warns against setting it)

Images

  • Portal: ghcr.io/innotelinc/pbx-portal:0.4.0 (and latest)
  • Full-stack: ghcr.io/innotelinc/pbx-portal:0.4.0-fullstack