Changelog — February 23, 2026
Configurable auth cookie domain for Coolify preview deployments, fixes for invalid AUTH_BASE_URL during Docker build, and new conductor/worktree tooling for workspace setup.
✨ New Features
- Configurable Auth Cookie Domain — Added
AUTH_COOKIE_DOMAINenvironment variable so preview URLs on Coolify can scope session cookies to their own FQDN, instead of being hardcoded to.e-do.studio. This unblocks authentication on ephemeral preview deployments without affecting production.#PR-232
🐛 Bug Fixes
-
Force-dynamic on Invite Page — Added
export const dynamic = 'force-dynamic'to the invite page to prevent Next.js from pre-rendering it at Docker build time, where$COOLIFY_FQDNis not yet substituted and causesAUTH_BASE_URL=https://(empty hostname), crashing betterAuth during SSG.#PR-232 -
Invalid AUTH_BASE_URL Handling — Added URL validation with a
localhostfallback in betterAuth initialisation. WhenAUTH_BASE_URLresolves to an empty hostname (e.g. during Docker builds without theCOOLIFY_FQDNenv var), the server no longer crashes. Also removed a duplicatedynamicexport.#PR-232
📦 Dependencies & Infrastructure
- Conductor & Worktree Setup — Added
conductor.jsonandscripts/worktree.shto standardise workspace bootstrapping across contributors. Updated.gitignoreandpackage.jsonaccordingly. A follow-up commit added apnpm buildstep to the conductor setup so workerdist/files are compiled as part of the automated environment setup.
By Théo Daguier