Skip to content

Releases

Every release of the CLI and the Starter. A short list per version is in the changelog.

RSS
  1. Walkthrough videos and screenshots for starter.clubedge.live, recorded with the published CLI v0.49.1 in this run. The site pins a release in showcase.lock.json. Only the newest 3 showcase releases are kept.

  2. Walkthrough videos and screenshots for starter.clubedge.live, recorded with the published CLI v0.49.1 in this run. The site pins a release in showcase.lock.json. Only the newest 3 showcase releases are kept.

  3. create-clubedge-app v0.49.1

    cli latest github
    • Starter v0.32.0 by default (#231). Its template schema is still 6. The Starter's release notes cover:
      • A support level for every option and stack, so create, add, and upgrade now warn before a choice below Stable, such as Stripe (Beta) or Cloudflare (Experimental), and the prompts and the MCP server show each option's level.
      • The Starter upgrade workflow a new project gets, which runs the newest CLI with --json --lockfile-only and builds its pull request from the report.
      • pnpm dev with a Hono API and no .env.local on Node 22.23.4, and a Vite + Better Auth project's own e2e job, which both work again.
  4. Clubedge Starter v0.32.0

    starter latest github

    Support levels

    Every module option and every stack has a support level, graded from what CI runs on main (#181):

    • Stable (23): every stack, Supabase, Better Auth and Firebase auth, both caches, the Docker and Vercel deploys, SMTP, every local infrastructure, pg-boss and BullMQ, and both storages. Each runs end to end in CI against the real service or its own local stack or emulator, or in production in a case study.
    • Beta (13): Appwrite, Fly, Railway, Render, Netlify, Resend, Inngest, OpenTelemetry, Sentry, EAS Update, Stripe, Expo push, and native push. They build and test, but run end to end only against a stand-in, or not at all.
    • Experimental (1): Cloudflare, which CI only dry-runs.

    An option below Stable has a note that says what is missing. STABILITY.md says what stays compatible from one release to the next, how an option is retired in three stages, and what an upgrade promises.

    create-clubedge-app 0.49.0 shows the levels in its prompts, warns before a choice below Stable, and returns them over MCP. Earlier CLIs ignore them.

    Upgrade pull requests from the CLI's report

    The Starter upgrade workflow a generated project gets runs the newest CLI's upgrade --json --lockfile-only (#183):

    • pnpm-lock.yaml follows the upgrade without installing anything or running the project's scripts. The project's CI installs and tests the pull request.
    • The pull request takes the Starter before and after, the conflicts, and the lockfile's outcome from the CLI's report, and lists the releases the upgrade crosses, its warnings, and its notes.
    • An upgrade whose lockfile could not follow still opens a pull request that says so.

    It needs create-clubedge-app 0.49.0 or newer, which the workflow's @latest gets.

    Fixes

    • pnpm dev with a Hono API on Node 22.23.4 (#187): Node's --watch stopped at once when .env.local was missing. The API's dev script now loads .env.local itself, when there is one, and the environment still wins over the file. Generated Vite + Hono projects failed their e2e job on it.
    • A Vite + Better Auth project's own CI (#189): its e2e job sets E2E_AUTH_ENABLED, so the browser tests expect the sign-in the app always asks for.
    • The React + Vite app's auth server bundle (#185): Git and ESLint ignore .cache/, where pnpm dev bundles the Better Auth server, so git status stays clean and pnpm lint passes after the first run.

    Also

    • The demo app built for each release asks for an update once a newer release is out (#177).
    • This repository opens a pull request when Expo publishes patch versions (#175), and its emulator walkthrough hides Android's error dialogs (#173). Generated projects get neither.
    • The roadmap lists phases 21 (#171) and 22.

    A project on v0.31.3 gets v0.32.0 with pnpm clubedge upgrade --ref v0.32.0, or from the CLI release that defaults to it.

    • Support levels (#222; issue #221). The CLI reads the level the Starter gives each option and stack (Stable, Beta, Experimental, or Deprecated) and acts on it. Starter v0.31.3, still the default, grades nothing yet; the next Starter release does.
      • create, add, and upgrade warn before a choice below Stable, with its note and a link to the Starter's STABILITY.md, and the prompts show each option's level.
      • An option the Starter no longer offers is refused to new projects, at any level, with its replacement. A project that has it keeps it.
      • upgrade reminds a project of each deprecated option it keeps, with the command that switches, or, for its framework or API, which add cannot change, what new projects use.
      • The MCP server returns each option's level, and refuses the same options.
    • Reports for tools (#224; issue #223), such as a service that opens upgrade pull requests:
      • --json on add, remove, and upgrade prints the change's report on stdout as one JSON document (reportVersion 1): its outcome, the Starter before and after, each file and its conflicts, the lockfile, the install, the releases it crosses, its warnings, and its notes. The log and pnpm's output go to stderr.
      • --lockfile-only updates pnpm-lock.yaml with pnpm install --lockfile-only --ignore-scripts --ignore-pnpmfile, so no script and no .pnpmfile.cjs from the project runs. pnpm still reads the project's .npmrc.
      • The package exports the engine: upgradeProject, addToProject, removeFromProject, readProjectRecord, and parseProjectRecord, with the report's types.
    • Templates of your own (#226; issue #225). --template owner/name creates a project from a fork of the Starter, often private, at its newest release or at --ref. The project records the template, and add, remove, and upgrade work within it.
      • CLUBEDGE_TEMPLATE_TOKEN reads a private template, else GITHUB_TOKEN or GH_TOKEN. The CLI passes CLUBEDGE_TEMPLATE_TOKEN to no command it runs in the project.
      • A template's ref is resolved to its commit before the download, so a project records the commit whose files it got.
  5. Walkthrough videos and screenshots for starter.clubedge.live, recorded with the published CLI v0.48.2 in this run. The site pins a release in showcase.lock.json. Only the newest 3 showcase releases are kept.

    • Starter v0.31.3 by default (#218). Its template schema is still 6. The Starter's release notes cover:
      • Expo 58.0.25's patch versions in the native app, so a new project with it passes expo install --check, which its CI runs: Expo published more SDK 58 patches after v0.31.2.
    • CI upgrades projects from the oldest Starter release of each template schema and from the release before the pin: with no edits, after pnpm up, with a pnpm patch, and with feature edits. Its results are on the site's Upgrades page, updated weekly and after each release (#216; issue #215).

    Full changelog: v0.48.1...v0.48.2

  6. New projects with the native app pass Expo's version check

    Expo published more patch versions for SDK 58 on 2026-11-12, and expo install --check, which the CI of a project with the native app runs, failed on the versions v0.31.2 declares. apps/expo now declares the ones Expo 58.0.25 expects: expo 58.0.25, expo-dev-client 58.0.20 and expo-sqlite 58.0.17 (#167).

    A project on v0.31.2 gets them with pnpm clubedge upgrade --ref v0.31.3, or with pnpm exec expo install --fix in apps/mobile.

  7. create-clubedge-app Upgrade matrix

    cli pre-release github
    • Starter v0.31.2 by default (#214). Its template schema is still 6. The Starter's release notes cover:
      • a new user's first requests at once, which get one users row instead of a 500 for all but one, in the Hono API, the FastAPI API, and the websites; a sync of the profile to an email address another user's row has still fails.
    • Projects from Starter releases before v0.5.0 upgrade (#206; issue #205). They record no modules, since those releases had none, and the CLI refused them as "created before create-clubedge-app 0.5.0", though 0.48.0 had created them. An upgrade now keeps Supabase Auth, S3 storage, and the Redis cache, which those releases built in and v0.5.0 made its first modules, and a note says so; modules that came later start as none. add and remove on such a project say to upgrade first.
    • A dependency you only raised within its range, as pnpm up does, takes the Starter's new major or its removal (#208; issue #207). After pnpm up -r, every upgrade to Starter v0.31.1 left a package.json conflict pnpm cannot read, such as redis ^5.12.2 against the Starter's ^6.3.1, or a dependency the Starter moved to another package. A change that asks for less than your raise, such as a pin below it, still conflicts, and a range both sides raised still takes the higher one.
    • A pnpm patch the change leaves unused is named before it stops pnpm install (#210; issue #209). A patch made on a version the change moves away from stops the install with ERR_PNPM_UNUSED_PATCH. The CLI names it, with the range that leaves it out, skips the install, and says how to keep it: keyed by the package alone, pnpm applies it to whichever version it installs.
    • CI upgrades a project from Starter v0.4.0 and matches it against a fresh one (#206), and the tests that commit to Git have more time on Windows (#210).

    Full changelog: v0.48.0...v0.48.1

  8. A new user's first requests no longer fail

    A user's first requests create its row in the users table. When two arrived at once, the second insert hit the unique index on the email address, and the request failed with a 500. The Starter's WebKit test of the settings page caught it. ensureUserId in packages/db, which the Hono API and the websites use, and ensure_user_id in the FastAPI API now insert without a conflict target, so PostgreSQL settles the race on every unique index: one request inserts the row, and the others read it. upsertUserProfile, the sync the websites run at sign-in, reads the row in the same way (#163).

    An email address another user's row already has still fails, as before: ensureUserId now says why, and the sync still reports it.

    A project on v0.31.1 gets the fix with pnpm clubedge upgrade --ref v0.31.2.

    • Starter v0.31.1 by default (#202). Its template schema is still 6. The Starter's release notes cover:
      • Expo SDK 58's latest patch versions, without which the native app's CI job fails in projects generated from v0.31.0;
      • version 6 of the redis client for the Redis cache, still speaking RESP2;
      • pnpm typecheck checking the browser tests too.
    • add, remove, and upgrade refuse to change a project that still has conflict markers from an earlier change (#198; issue #195). Merging into those files could leave old and new markers interleaved, or carry them forward with exit code 0. The CLI now lists each file with its number of conflict blocks and asks to resolve them first. --force changes the project anyway.
    • Conflict blocks hold only the lines that differ (#199; issue #196), as Git writes them. Lines your version and the Starter's share inside a conflict stay outside the markers, unless what separates two blocks is three lines or fewer, or lines without a letter or digit, such as closing braces and blank lines: those blocks stay one. In two apps built alongside the Starter, 44% and 39% of the lines inside markers were shared.
    • A dependency both sides raised merges to the higher version (#193; issue #191). When the project and the Starter both raised a dependency's ^ or ~ range and both ranges keep the same major (the same minor for ~ and for ^0.x), the merge keeps the higher range, where it left a conflict in package.json that pnpm can't read. Other changes to the same dependency, such as exact versions or a new major, still conflict. This stopped 4 of 30 test upgrades.
    • add, remove, upgrade, and status report what happened, and what to run next (#194; issue #192):
      • status has a Conflicts row with the files left with conflict markers, and its next step is to resolve them.
      • A change ends by saying to resolve any conflicts first, then to review the diff and run pnpm typecheck and the tests: files that merged cleanly can still break the code.
      • --dry-run says how many conflicts the change would leave, in how many files, and exits 2 with --detailed-exit-code, as the change itself would.
      • When GitHub can't list the Starter releases an upgrade crosses, such as past its rate limit, the upgrade says so and links the releases page, instead of leaving the list out.
      • A module new since the project's Starter release names that release, where it named the target.
      • A README generated without its "Generated from" section, as React + Vite projects from older releases are, is no longer called replaced.
      • A file whose merge changes nothing is left out of the change.
    • "Updated N files" counts every file the change writes (#200; issue #197), the lockfile and env files included.
    • A failed scaffold keeps the files that were already in the directory (#165 and issue #153, both by @ahmed-husssain). Rolling back a failed run in an existing directory emptied it; it now removes only the files the run wrote, and the folders that leaves empty.
    • A lockfile with CRLF line endings is customized like one with LF (#189; issue #186, reported by @ahmed-husssain). With CRLF, the apps and packages a project leaves out stayed in its lockfile, and no optional peer was pruned. The Starter checks the lockfile out with LF, so this concerned copies made outside Git, such as one given to --template-dir.
    • deploy keeps the platform's direct database URL when the database doesn't change (#188; issue #187, reported by @ahmed-husssain). A deploy with no env file, after one that supplied a pooled Neon URL, set DATABASE_URL_DIRECT to nothing, and migrations and the jobs worker fell back to the pooled URL.
    • An empty variable with an inline comment is empty (#190, by @ahmed-husssain). DATABASE_URL= # leave blank to use platform Postgres read as the comment, so deploy took it for a hosted database, created none on the platform, and the app failed at startup. A # inside a value, as in PASSWORD=secret#123, stays part of it.
    • pnpm release drafts name who wrote each pull request and list first-time contributors (#185).

    Thanks to everyone who contributed to this release: @ahmed-husssain and @yassine-ahmed.

    Full changelog: v0.47.0...v0.48.0

  9. The native app's CI job passes again

    Expo published new patch versions of SDK 58 on November 12, and expo install --check, which the expo job of a project's ci.yml runs, expects them. The job has failed since in every project generated from v0.31.0 with the native app (--mobile expo). The Starter now asks for them: the fifteen packages the check names, from expo 58.0.24 and expo-router 58.0.31 to expo-updates 58.0.22 (#159).

    A project on v0.31.0 gets them with pnpm clubedge upgrade --ref v0.31.1, or with pnpm exec expo install --fix in apps/mobile.

    Redis 6

    The Redis cache uses version 6 of the redis client (#156). pnpm up --latest installed it, and @clubedge/cache-redis then failed its typecheck: version 6 types its client for RESP3, its new default. The client still asks for RESP2, as version 5 did by default. RESP3 needs Redis 6 or newer on the server, which some hosted services and proxies are not, and the cache and rate limiter don't need it.

    Browser tests in the typecheck

    pnpm typecheck checks the browser tests too, with a new typecheck:e2e script and e2e/tsconfig.json (#154). No tsconfig included e2e/ before, and ESLint does not report names that are not defined, so a spec that lost an import failed only when the browser tests ran. After an upgrade, pnpm typecheck can report errors that were already in a project's own specs.

    • Starter v0.31.0 by default (#183). Its template schema is still 6. The Starter's release notes cover:
      • deploying React + Vite and its API to Cloudflare (--deploy cloudflare), which has not yet run on an account with Workers Paid;
      • downloads by byte range from storage, which browsers ask for to play audio and video;
      • Supabase sessions that the Hono API verifies itself;
      • fixes to the APIs' CORS and to SMTP sends that never answer;
      • browser tests in Chromium, Firefox, and WebKit.
    • On Windows, an argument can no longer run a second command or expand a variable (#176; issue #156, reported by @ahmed-husssain). The CLI ran commands through cmd.exe as one line, where %VAR% is expanded inside quotes, a line break ends the command, and a quote inside an argument can leave & and | outside the quotes. No argument from outside reached these commands, so this closes the gap before one does:
      • A program (.exe, .com) now starts directly, with no shell, so git, node, docker, and uv no longer go through cmd.exe.
      • A batch file (.cmd, .bat), such as the npm shims for pnpm and npx, still needs cmd.exe. Each argument is quoted the way Windows programs split their command line, then escaped for both of cmd.exe's readings. An argument with a line break is refused.
    • Windows device names are refused as project directories (#169, by @biggdawg320, and #171; issue #155, reported by @ahmed-husssain): CON, PRN, AUX, NUL, COM1 to COM9, and LPT1 to LPT9, with or without an extension, which on Windows could create a folder that can't be deleted. The CLI checks the project's own name and each parent folder it would create, in the prompt and in the MCP server's create_project too. Folders that already exist are left alone.
    • The browser opens web addresses only (#175, by @jdotc1; issue #157, reported by @ahmed-husssain). Commands that open a page, such as deploy, neon, and try, hand the system's opener only an http:// or https:// address with a host, and open nothing otherwise.
    • create_project reports progress over MCP (#178) while it installs dependencies. A client that sends a progress token gets a notification when each install starts, every 5 seconds while it runs, and when it ends or fails, so a client that resets its timeout on progress keeps waiting. A client that sends none gets the same result as before.
    • Sponsors (#181, #182): the README has a Sponsors section. Neon supports Clubedge Starter through its Open Source Program.
    • CI runs generated projects' browser checks in Chromium, by name (#180), since the Starter now has three browser projects.
    • @modelcontextprotocol/server 2.4.0 or newer (#173), vitest 5.1.0 (#174), and astral-sh/setup-uv 10.3.3 in CI (#172).

    New contributors

    Thanks to everyone who contributed to this release: @ahmed-husssain, @biggdawg320, @jdotc1, and @yassine-ahmed.

    Full changelog: v0.46.1...v0.47.0

  10. Deploying to Cloudflare

    Choose with --deploy cloudflare, for React + Vite with a Hono or FastAPI API (#149).

    • The whole app on Cloudflare: deploy/cloudflare is one Worker. Cloudflare serves the website's files, and the Worker sends /api to the API's own image, running as a Cloudflare Container, which needs the Workers Paid plan. The first request starts it: the migrator, then the API. It stops after API_IDLE_MINUTES without a request.
    • The website alone, on the free plan: pnpm deploy:cloudflare:website serves the files only. The API runs on another host, at VITE_API_URL, and a cron asks for its health every five minutes, so a host that stops an idle API keeps it running.
    • Deploys: from Cloudflare's own Git integration, with pnpm deploy:cloudflare as the deploy command. The option has no deploy.yml.
    • The Worker's name: the project's, from the root package.json.
    • Where the CLI refuses it: with Next.js and TanStack Start, which would each need a Cloudflare adapter; with Better Auth and the mobile app (Capacitor), which rely on the website's own server; and without a website. Each refusal says why.

    Not deployed for real yet. CI builds the website, tests the Worker, and dry-runs both configurations, and stops short of Cloudflare. The API as a Container needs Workers Paid, which this project's own account does not have. Treat the option as new, and please report what you find.

    Downloads by byte range

    Browsers ask for audio and video in parts, and Safari plays no media from a route that ignores the Range header (#146).

    • download(key, { range }) returns only the bytes of a range, from S3, Supabase Storage, and the local folder. parseByteRange reads a Range header into one, given the object's size.
    • FastAPI has the same: download(key, byte_range) and parse_byte_range.
    • SETUP.md's file storage section shows a route for your stack: 206 with Content-Range for a range, 416 for one past the end, and the whole file otherwise.
    • @clubedge/storage-supabase now asks for supabase-js 2.96.0 or newer.

    Supabase sessions

    With Supabase Auth, the Hono API now verifies each request's access token itself, against the public keys the project publishes, where it asked Supabase Auth on every request (#138). It fetches the keys once and keeps them for ten minutes. A project that still signs with a shared secret is asked of Supabase Auth as before.

    As with any signed token, one whose session ended elsewhere keeps working until it expires, an hour by default. SETUP.md says so.

    Fixes

    • CORS (#134): both APIs allow every method a route can have, where they allowed GET, POST and OPTIONS. A project's first PUT, PATCH or DELETE route no longer fails once pages call the API at its own address.
    • A website at two addresses (#134): FRONTEND_ALIASES on the API lists the other addresses the website is served at, comma-separated, as during a move to a new domain. Both APIs stop at startup on an alias that isn't an absolute URL, and pnpm check:env refuses it.
    • SMTP (#136): a send gives up in seconds on a server that never answers, where it could wait 10 minutes. It waits 10 seconds to connect, 10 for the server's greeting, and 20 of silence during a send. createSmtpEmail takes other values, and SMTP_URL can say its own as a query (?connectionTimeout=30000).
    • The native app (#131): the update screen's note fits on one line.

    Browser tests in three engines

    A generated project's browser tests run in Chromium, Firefox, and WebKit, which is Safari's engine and every browser's on an iPhone (#150). playwright.config.ts has the three, and the project's ci.yml installs and runs them.

    Also

    • pnpm audit --audit-level high passes with no exception: node-forge 1.4.3, systeminformation 5.33.19, and Expo SDK 58's latest patch versions (#144).
    • The roadmap lists what shipped up to v0.30.1 and the candidates for the next phases (#142).
    • Starter v0.30.1 by default (#167). Its template schema is still 6. The Starter's release notes cover:
      • the native app (--mobile expo) reaching its API again: since v0.29.0, each of its calls to the API threw after the API had answered, so the account never loaded, and saving a name or deleting the account failed;
      • getting the fix to installed apps: a new build in the stores, then APP_MINIMUM_VERSION on the API, which sends older installs to the update screen, or an over-the-air update with --ota eas;
      • end-to-end tests of both mobile apps on an Android emulator;
      • Expo SDK 58's latest patch versions.

    Full changelog: v0.46.0...v0.46.1

  11. The native app reaches its API again

    Since v0.29.0, every call the native app (--mobile expo) made to the API threw after the API had answered. Home showed the API offline, the account never loaded, and saving a name or deleting the account failed. The update policy's middleware handed each response back to the API client, which refused Expo's responses. It now leaves them as they are (#129). The mobile app (Capacitor) and the websites were not affected.

    Getting the fix to installed apps

    The fix is in the app's JavaScript, so installed apps need a new build:

    1. Upgrade the project: pnpm clubedge upgrade.
    2. Raise the native app's version, such as pnpm --filter @clubedge/mobile-app set-version 1.0.1, and publish the build to the stores.
    3. Once the stores publish it, set APP_MINIMUM_VERSION to that version on the API. Older installed apps then show the update screen, which can't be dismissed. Builds from v0.29.0 and v0.30.0 show it too, but without the store link: they ask to update from the App Store or Google Play.

    With over-the-air updates (--ota eas), publish an update instead: it reaches installed v0.30.0 builds without a store release.

    The native demo follows the same policy: each release now sends installed demos of an older release to its own.

    Mobile tests

    A new maintainer workflow, Starter mobile, goes through each mobile app on an Android emulator, on every pull request:

    • It generates a project for the app, starts its API, website, and database, and builds the app against them.
    • With Maestro, it creates an account, checks the account the API returns, sets a display name, signs out and in, and deletes the account.
    • Each app's e2e folder has the flow, and a README on running it on your own emulator.

    A test build may call a server on the computer it's built on over plain HTTP: the native app when EXPO_PUBLIC_API_URL is http://, and the mobile app for a WEB_URL of 10.0.2.2 or localhost. Store builds keep https.

    Also

    • Expo SDK 58's latest patch versions: expo 58.0.20, expo-dev-client 58.0.16, expo-router 58.0.27, and expo-web-browser 58.0.7.
    • The websites' react and react-dom start at 19.3.1, the version they use, so the lockfile keeps them on it.
    • Add and remove the apps installed on devices (#161), so a project created without them can take them later, and drop them again, without starting over: pnpm clubedge add mobile expo for the native app, pnpm clubedge add shell capacitor for the shell that packages the website, and pnpm clubedge remove mobile or pnpm clubedge remove shell. The shell needs Starter v0.27.0 or later, and the native app v0.28.0.
      • Adding an app brings its folder, its CI job and the Starter's other sections for it, its dependencies, and its local env file. package.json records it, so later changes and upgrades keep it.
      • The app must fit the project, and the CLI says which project can have it when this one can't. When the project's option for a module is one the app lacks, such as a sign-in the native app doesn't have yet, switch it in the same command: pnpm clubedge add mobile expo auth better-auth.
      • Removing an app deletes the Starter's files and lists what was never the Starter's, such as the shell's android/ and ios/ projects, to delete once you no longer need them.
      • The framework and the API stay as the project was created.
      • When a change keeps a variable in a local env file, the comments above it that you never edited now follow the example's, so a later change that removes the variable removes them too.
    • Module options can name the registry packages only they need (#162), in a new dependencies field. A project without the option leaves them out, such as the notification plugins in projects without push. Stack packs can use it too (stack packs).
    • Starter v0.30.0 by default (#163). Its template schema is still 6. The Starter's release notes cover:
      • store releases for both mobile apps, signed, from your computer or a workflow, with build numbers made from each app's version;
      • push notifications for both apps (--push expo or --push native);
      • over-the-air updates for the native app (--ota eas).

    Full changelog: v0.45.0...v0.46.0

  12. Store releases for both mobile apps

    Each app builds for Google Play and the App Store, signed, from your computer or a workflow. Its build numbers are made from its version, the one the update policy compares: 1.4.2 is build 1004002 in both stores.

    • The native app (apps/mobile):
      • Its version is version in app.json, which pnpm --filter @clubedge/mobile-app set-version 1.5.0 sets. app.config.ts makes both build numbers from it.
      • EAS build profiles in eas.json: development, preview (an APK to share), and production, each with its EAS environment.
      • The Native app release workflow (expo-release.yml) queues EAS builds for both stores or one, with an EXPO_TOKEN secret, and can submit production builds to the stores.
    • The mobile app (apps/shell):
      • Its version is in apps/shell/version.json. Each build writes it into both native projects, with its build number; pnpm --filter @clubedge/shell set-version 1.5.0 sets it.
      • pnpm --filter @clubedge/shell release android builds an App Bundle with Gradle and signs it with your upload key, using jarsigner and SHA-256. release ios builds an IPA that Xcode signs. Both are copied to apps/shell/release/.
      • The Mobile app release workflow (shell-release.yml) does the same on GitHub's runners, with the signing settings as secrets, and can upload the iOS build to TestFlight.

    SETUP.md's "Store releases" sections list each setting and secret.

    Push notifications

    Choose with --push expo or --push native. Notifications go to a signed-in user's phones, so the module needs an auth module and a mobile app.

    • Two ways to send:
      • expo sends through Expo's push service, for the native app, with credentials EAS keeps.
      • native sends straight to FCM and APNs, for both mobile apps, with the API's own credentials.
    • In the apps:
      • A Notifications switch and Send a test notification in Settings.
      • The token is sent again at each start and forgotten at sign-out.
      • A tapped notification opens the screen its url names.
    • In your code: push.send(user, message) on Hono, and push_notifications().send(...) on FastAPI. Tokens the push service refuses for good are removed.
    • One interface: PushProvider in packages/push, with the push_devices table and its own migrations. packages/push-expo and packages/push-native implement it; FCM's HTTP v1 API and APNs over HTTP/2 use only Node.js's crypto, HTTP/2, and fetch. FastAPI has the same in Python.
    • Three routes in the contract and its conformance suite: POST /api/push/devices, POST /api/push/devices/remove, and POST /api/push/test (5 a minute). The Vite frontend's server forwards them.
    • What the CLI refuses: push without a mobile app, and Expo's push service next to the mobile app, which it can't reach. In both cases the CLI says why.

    Over-the-air updates

    Choose with --ota eas, with the native app.

    • With EAS Update, changes to the app's JavaScript and assets reach installed apps without a store release.
    • The app checks when it starts and when it comes back to the foreground (at most every 15 minutes), downloads a new update, and Home offers to restart into it.
    • runtimeVersion follows the app's version, so an update only reaches builds with the same native code.
    • The Native app update workflow (expo-update.yml) publishes an update to a channel.

    Upgrading

    • The native app's version moved from app.config.ts to app.json. Keep the Starter's app.config.ts, and carry your version over with set-version.
    • The mobile app's version moved from its native projects to version.json. A build never takes a native project's version back: the first build after the upgrade stops and names the set-version command that carries it over.
    • The mobile app's Android signing left capacitor.config.ts: pnpm release android signs instead. Capacitor's own cap build android signs with SHA-1, which Java treats as unsigned.

    Also

    • With CLI 0.46.0:
      • A project created without the mobile apps can add them, and remove them again: pnpm clubedge add mobile expo, pnpm clubedge add shell capacitor, pnpm clubedge remove mobile, and pnpm clubedge remove shell.
      • A project leaves out the registry packages that only an unselected option needs, such as the notification plugins in projects without push. Module options list them in dependencies.
    • New packages:
      • The native app: expo-notifications and expo-updates.
      • The mobile app: @capacitor/push-notifications.
      • FastAPI: the push-native dependency group (cryptography and h2), which only images with --push native install.
    • Starter v0.29.0 by default (#159). Its template schema is still 6. The Starter's release notes cover:
      • an update policy for apps installed on phones: a minimum announced for a date, values per platform, and APIs that answer apps below the minimum 426 update_required;
      • a new design for the native app (--mobile expo);
      • splash screens that are never cropped or stretched.
    • package.json merges by key (#158) when add, remove, or upgrade merges the Starter's changes into your project:
      • A key only one side changed takes that side's value, and objects merge key by key, so your dependencies and the Starter's no longer collide line by line.
      • A key both sides changed differently is a conflict, with the usual markers around that key's lines only.
      • Your key order and indentation are kept. A file that doesn't parse, such as one with markers left from an earlier merge, merges by line as before.
    • The Starter pin keeps the release a change came with in notes such as "since CLI 0.44.0, with Starter v0.28.0", which moving the pin to v0.29.0 had changed.
    • CI uses astral-sh/setup-uv 10.3.2 (#154).

    Full changelog: v0.44.0...v0.45.0

  13. An update policy for apps installed on phones

    The API's environment now decides when installed apps must update, may update, or will soon have to, without a new release of the apps.

    • A minimum announced ahead of time: APP_NEXT_MINIMUM_VERSION and APP_NEXT_MINIMUM_VERSION_FROM, a date and time with its time zone. Until that date, apps below it keep working and tell their users when they stop; from then, the API requires it, with no redeploy.
    • Values per platform: every APP_* variable can be set for one platform with _IOS or _ANDROID, such as each store's link in APP_UPDATE_URL_IOS and APP_UPDATE_URL_ANDROID. The apps say which platform they run on (X-App-Platform).
    • The API refuses outdated apps: the apps send their version (X-App-Version) with every request. Below the minimum, both APIs answer 426 update_required on every route but /api/health, /api/ready, and /api/app-version, and every operation in the contract declares it.
    • The apps check more often:
      • They check when they start, when they come back to the foreground (at most every 15 minutes), and whenever the API refuses them.
      • A block is remembered, so it holds when the app next starts offline.
      • Not now hides an available update until a newer one is out, and the warning before a minimum's date until the next day.
    • One update store for both apps, createUpdateChecks in packages/contract, so a slow answer never undoes a block.
    • pnpm check:env reports contradictions, such as a latest version older than the minimum.

    SETUP.md's "Apps installed on phones" has the details. Apps built from an earlier Starter send no version: the API still serves them, and they find a new minimum at their next start.

    A new design for the native app

    apps/mobile gets a new look: the Inter typeface, a palette in light and dark, floating-label fields, grouped settings, and a frosted-glass tab bar.

    • Welcome is the first screen signed out. It and sign-up link to your Terms and Privacy Policy: set links.terms and links.privacy in apps/mobile/src/config/site.json before your first release.
    • Home greets the user and shows the API's status and the app's version at a glance.
    • Settings holds:
      • the profile;
      • a Dark mode switch that holds over the phone's appearance;
      • the password and deleting the account;
      • signing out, of this device or of all of them.
    • The update screens:
      • Update to continue below the minimum.
      • A sheet before an announced minimum's date.
      • A banner on Home when a newer version is out.

    Splash screens

    • The native app's splash mark is no longer cut off at its corners on Android 12 and later.
    • The mobile app's splash screen shows the brand's mark in the middle of its background.
      • On Android, the system draws it, so no screen's shape stretches it.
      • On iOS, it comes from assets/splash.svg.
      • Projects created before this release get it with pnpm --filter @clubedge/shell icons android.

    Also

    • FastAPI reads APP_NEXT_MINIMUM_VERSION_FROM in exactly the form the TypeScript API accepts.
    • New native app packages: expo-blur, expo-font, react-native-svg, phosphor-react-native, and @expo-google-fonts/inter. Icons and font weights are imported one file at a time, which keeps the app small.
    • The native app with Expo: default to Starter v0.28.0 (#151). --mobile expo adds apps/mobile, an Android and iOS app with its own native screens, which calls the project's API (#147):
      • Template schema 6 adds the mobile role: an app with its own screens that calls an API. Like a shell, it runs no server, so it has no Dockerfile or deployment, and deploy leaves it out. Older CLIs refuse a schema 6 Starter and ask for an update.
      • It needs an API, --api hono or --api fastapi: with React + Vite, or without a website. Next.js and TanStack Start have no separate API for it to call, so they refuse --mobile expo. It can sit next to the Capacitor app (--shell capacitor).
      • A mobile stack lists the module options it implements, and the others are refused with it: Expo signs in with Better Auth, Supabase, or nothing.
      • Interactive runs ask about it after the framework and the API.
      • The Starter's release notes cover the app's screens, sign-in, update notice, and builds.
    • Projects without a website (#148): --framework none --api hono (or fastapi), with or without --mobile expo, creates an API, and the native app that calls it directly:
      • Schema 6 slots can be optional. The project records framework: none, so add, remove, and upgrade keep it without a web app.
      • A slot names the files and root scripts only its apps use, left out when it is empty, such as the browser tests, and the slot whose package the root scripts use instead, so pnpm dev starts the API.
      • Templates list the selections they refuse, with the reason (rules). Prompts and add offer only what the rules allow, and a refused option fails with the reason. Without a website, the Starter refuses payments, Inngest, FastAPI with Better Auth, and deploy targets other than Docker and Railway.
      • deploy publishes the API itself: as the public app behind Caddy with Docker Compose, or as one public service on Railway, with Better Auth's URL and secret. Vercel, Netlify, Fly.io, and Render deploy a web app, so they refuse a project without one, and deploy --preview refuses it with the Railway commands for a preview by hand.
    • Audit exceptions per stack (#150): a stack lists the advisories pnpm audit skips because of its dependencies (auditIgnores), and projects without the stack audit them again. The Starter's Expo stack skips two in Expo's development CLI that have no usable fix.
    • The showcase waits for the billing portal's subscription before recording it, so its video no longer ends on a spinner (#146).

    Full changelog: v0.43.1...v0.44.0

  14. A native mobile app

    --mobile expo adds apps/mobile, a native Android and iOS app built with Expo SDK 58 (React 19.3, React Native 0.88) and Expo Router, which calls the same API as the website, with the same contract client.

    • Screens: sign-in, sign-up, and password reset; a dashboard with the account, the API's health, and the app's version; settings for the display name, the password, signing out, and deleting the account, which the App Store requires of apps with sign-up.
    • Sign-in with Better Auth, Supabase, or none.
      • Better Auth stays on the website, and the app keeps its session cookie in the device's secure storage.
      • Supabase keeps the session in the app's storage, and the app sends its access token to the API.
      • Offline, the app stays signed in with the session the device keeps, and signing out forgets it even when the server cannot be reached.
    • The update notice from /api/app-version: Update required below the minimum version, and a notice below the latest.
    • Icons and splash screen from the brand art. app.config.ts takes the app's name, address scheme, and ids from the site config.
    • Native projects are generated when the app is built (expo prebuild), so android/ and ios/ are not committed, and upgrades only change the app's TypeScript and config.
    • CI checks the app's packages against its SDK, bundles it, and builds a release APK.

    Projects without a website

    --framework none --api hono (or fastapi), with or without --mobile expo, creates a project that is only an API, which the native app calls directly.

    • pnpm dev and pnpm start run the API, on port 3001. In development it listens on every interface, so a phone on the same network reaches it.
    • Better Auth runs in the Hono API, at /api/auth, once BETTER_AUTH_SECRET is set; with a website, it still runs in the website's server.
    • Emailed links open the app: confirming a new account opens sign-in, and a password reset opens the app's reset screen, with Better Auth or Supabase (add the app's scheme to Supabase's Redirect URLs).
    • pnpm clubedge deploy publishes the API itself: behind Caddy with Docker Compose, or as the one public service on Railway.
    • Not available without a website: payments, Inngest, FastAPI with Better Auth, and deploy targets other than Docker and Railway.
    • SETUP.md's new section, "Without a website", has the details.

    Also

    • Better Auth 1.7.13.
    • pnpm audit skips two advisories in Expo's development CLI (node-forge, with no fixed release, and zod 3) only in projects with the native app.

    Upgrading

    This release is template schema 6: create projects from it with create-clubedge-app 0.44.0 or newer, which pnpm clubedge upgrade uses. Older versions of the CLI refuse it.

    • try shows Railway's reason when Railway refuses a VM (#144):
      • Before, it said Railway may have changed its free VM and told you to update the CLI, which no update fixes.
      • It now prints Railway's own explanation, then Railway's limits, the usual cause: 3 free VMs per network per day, and no anonymous VMs while Railway is busy.
    • Still on Starter v0.27.1.

    Full changelog: v0.43.0...v0.43.1

    • Upgrades keep each app's own version (#134, by @ahmed-husssain):
      • An app whose version the project changed in apps/*/package.json keeps it, without a conflict on that line.
      • An app whose version the project never touched takes the new Starter's.
      • This completes 0.41.0's version ownership, which covered the root package.json.
    • add, remove, and upgrade that change nothing exit before downloading the Starter (#133, by @ahmed-husssain; issue #132):
      • The cases: upgrade on the pinned Starter's commit or with --ref set to the recorded commit, add with options the project already uses, and remove of modules recorded as none.
      • These commands now work offline. They no longer refuse a project with uncommitted changes, since they change nothing.
      • upgrade --ref <branch> still resolves the branch, which may have moved. remove with an unknown module still fails with Unknown module.
    • Still on Starter v0.27.1.

    Full changelog: v0.42.1...v0.43.0

    • Default to Starter v0.27.1 (#140): new projects carry the Clubedge Starter brand, and their mobile app shows it.
      • Each web app's logo is the new mark, shown whole: the pages no longer round its corners. Each app also has favicon.ico, a new favicon.svg, and an Apple touch icon.
      • The mobile app shows the logo on its pages. The logo was in a .well-known folder, which Android leaves out of an app, so the Vite app now bundles it.
      • The mobile app's icons and splash screens are made from apps/shell/assets/logo.svg instead of Capacitor's default.
      • Upgrading: a logo you replaced comes back as a conflict in logo.svg, so keep yours. The Starter's release notes cover replaced favicons and existing android/ and ios/ projects.

    Full changelog: v0.42.0...v0.42.1

  15. The Clubedge Starter brand

    The three web apps carry the new Clubedge Starter mark: five rounded squares and two circles forming a C, in #2563EB.

    • Logo: public/.well-known/logo.svg, the transparent mark, readable on light and dark backgrounds. The pages no longer round its corners, which suited the old square tile but would cut the mark.
    • Browser tabs: favicon.ico (16, 32 and 48 px) and a new favicon.svg.
    • iOS home screens: a 180 px Apple touch icon.
    • How each app uses them:
      • Next.js picks them up through its file conventions: src/app/favicon.ico, icon.svg and apple-icon.png.
      • TanStack Start links them from its root route, and Vite from index.html.

    Fixes for the mobile app

    • The logo shows inside the app, on the landing page and the dashboard.
      • It was an image under .well-known, a folder Android leaves out of an app.
      • The Vite app now bundles it into its own files. The website still serves the same file, so a logo you replaced keeps working.
    • App icons and splash screens come from apps/shell/assets/logo.svg, the white mark on a blue square, instead of Capacitor's default.
      • The shell makes them when it creates a native project, with Capacitor's asset tool. The tool runs through npx, so the project installs nothing for it.
      • pnpm --filter @clubedge/shell icons makes them again after you change the art.
      • The backgrounds are set at the top of apps/shell/scripts/icons.mjs.
    • The demo APK attached to this release has the new icon and logo. It is debug-signed, so uninstall the previous demo before installing it.

    Upgrading

    • If you replaced the logo, the upgrade reports a conflict in public/.well-known/logo.svg, since an SVG merges as text. Keep your version.
    • If you replaced the favicon, your favicon.ico stays, since images are never merged. The upgrade also adds favicon.svg and the Apple touch icon; in Next.js these are src/app/icon.svg and src/app/apple-icon.png. Replace them with your own as well, because browsers prefer the SVG.
    • If your app already has android/ or ios/, it keeps Capacitor's icon. Put your art in apps/shell/assets/logo.svg, then run pnpm --filter @clubedge/shell icons once.
    • Mobile apps with Capacitor: default to Starter v0.27.0 (#138). --framework vite --api hono --shell capacitor (or --api fastapi) packages the Vite frontend as an Android and iOS app in apps/shell (#135):
      • Template schema 5 adds the shell role: a stack that packages a frontend's static build and runs no server, so it has no Dockerfile or deployment, and deploy leaves it out. Older CLIs refuse a schema 5 Starter and ask for an update.
      • --shell is refused with Next.js and TanStack Start, which render on their own server. Interactive runs ask about a mobile app only after a frontend and its API.
      • apps/shell/.env.local is created from its example (WEB_URL, the website the app calls), and add, remove, and upgrade keep its values.
      • A variant file's clubedge:if blocks are kept or dropped for the selection where the variant lands, like other conditional files'. Before, they stayed in the project.
      • MCP: get_starter_capabilities lists each slot's question, and the tools describe what each role pairs with.
      • CI generates a mobile project from the pinned Starter.
    • Client addresses per platform (#136, #137): deploy tells the app where each client's address is, for Starter v0.27.0's rate limits:
      • CLIENT_IP_HEADER: x-real-ip on Railway and Vercel, cf-connecting-ip on Render (from the Cloudflare edge in front of it), fly-client-ip on Fly.io, x-nf-client-connection-ip on Netlify.
      • TRUSTED_PROXY_HOPS=1 behind Caddy with Docker Compose, and on a frontend's API, which only the frontend's server reaches.
      • Previews and try set them too, and the env file's settings replace both defaults.
    • Docker Compose behind Caddy, with images on GHCR (#136): deploy with the docker option now works for full-stack apps too, and writes:
      • compose.yaml: each app's image (pulled from IMAGE_PREFIX at TAG, or built with --build), behind Caddy, the only service that publishes ports, with automatic HTTPS for DOMAIN.
      • A Caddyfile.
      • .github/workflows/release-images.yml: each published release builds every app for linux/amd64 and linux/arm64 and pushes it to the repository's container registry, tagged with the version, <major>.<minor>, and latest.
      • Running deploy again writes only the files that are missing and never overwrites one you changed. A frontend and API's compose.yaml from an earlier deploy stops it until you move that file away.
    • upgrade keeps the blank line after a section the Starter adds to the local env file between two others (#138).

    Full changelog: v0.41.1...v0.42.0

  16. Mobile apps with Capacitor

    --shell capacitor packages the React + Vite frontend as an Android and iOS app with Capacitor 8, in apps/shell. It needs a Hono or FastAPI API. Next.js and TanStack Start render on their own server and cannot be packaged.

    • Running it:
      • The app's pages load from the device and call the API through your website (WEB_URL), whose server answers the app's origins (MOBILE_ORIGINS).
      • pnpm android and pnpm ios create the native project on first use and open Android Studio or Xcode. The project owns android/ and ios/.
    • Sessions use tokens:
      • Better Auth: its bearer plugin, with the token kept on the device.
      • Supabase: keeps its session in device storage.
      • Firebase: keeps its session in IndexedDB.
      • Appwrite: needs a localhost platform.
    • What the app doesn't do:
      • Emailed links open the website.
      • The app shows no billing, following the app stores' payment rules.
    • Update notice: at startup, the app compares its version with GET /api/app-version.
      • Below APP_MINIMUM_VERSION, it shows a blocking update screen.
      • Below APP_LATEST_VERSION, it shows a notice.
      • Both link to APP_UPDATE_URL.
    • Demo: a demo build has sample data and needs no server. Try it on Android: clubedge-demo.apk is attached to this release, and to every release from now on.
    • CI: a generated project's CI builds a debug APK.

    Mobile projects need create-clubedge-app 0.42.0 or newer: this Starter uses template schema 5.

    Contract changes installed apps survive

    Apps stay installed for months and keep calling the contract they shipped with.

    • GET /api/app-version: both APIs answer it, and the conformance suite checks it.
    • Contract check: a contract CI job compares each pull request's openapi.yaml with its base and fails on changes that break existing clients.
    • Deliberate breaks: label the pull request breaking-contract.

    Client addresses for rate limits

    Rate limits no longer trust the first X-Forwarded-For entry, which a client chooses (#94). Every server reads one of two settings:

    • CLIENT_IP_HEADER: the header your host sets to the client's address.

      Host Value
      Railway, Vercel x-real-ip
      Render cf-connecting-ip
      Fly.io fly-client-ip
      Netlify x-nf-client-connection-ip
    • TRUSTED_PROXY_HOPS: the number of proxies you run in front, such as Caddy.

    • The Vite frontend's server sends the API the one address it found, and the API behind it uses TRUSTED_PROXY_HOPS=1.

    • Bad values: a value that cannot be right stops the server at startup.

    Docker

    • Production files: with create-clubedge-app 0.42.0, pnpm clubedge deploy writes:
      • compose.yaml: the apps behind Caddy, with automatic HTTPS;
      • a Caddyfile;
      • .github/workflows/release-images.yml, which publishes multi-architecture images to GitHub's registry on each release.
    • deploy.yml: Docker projects no longer get one. Its image job is replaced by that workflow.
    • pnpm docker:dev: names docker-compose.yml, so a compose.yaml from deploy never takes its place.

    Upgrading

    • Set the client address setting for your host from the table above. clubedge deploy sets it with CLI 0.42.0. Without it:
      • Next.js reads the last X-Forwarded-For entry.
      • Other servers take the connection's address, so behind a proxy every client shares one count.
    • An API reached only through the Vite frontend's server needs TRUSTED_PROXY_HOPS=1.
    • Docker projects that used the deploy.yml image job: run pnpm clubedge deploy for the release workflow.
    • Default to Starter v0.26.1 (#130): new projects' weekly upgrade workflow opens its pull request when the upgrade leaves conflict markers in a package.json, listing them, instead of stopping without one. It runs upgrade --detailed-exit-code, from 0.41.0. Existing projects get the workflow through their next upgrade pull request.

    Full changelog: v0.41.0...v0.41.1

  17. The upgrade pull request opens when package.json has conflicts

    The weekly upgrade workflow (.github/workflows/clubedge-upgrade.yml) now opens its pull request when the upgrade leaves conflict markers in a package.json (#96, by @NishilRathod; create-clubedge-app#111). Before, it stopped right after the upgrade, because Node and pnpm cannot read such a file, and no pull request was opened.

    • It reads the Starter release from package.json with fs, falling back to the Starter's version in .clubedge/incoming, and runs the upgrade with --detailed-exit-code: a conflicted upgrade opens the pull request, listing the files to resolve, and any other failure stops the run.
    • While a package.json has conflict markers, pnpm install waits, and the pull request says to resolve them, then run pnpm install and commit pnpm-lock.yaml.
    • The pull request's text is written before anything is pushed, and if it cannot be opened, the pushed branch is deleted so the next run tries again instead of skipping the release.

    The workflow needs create-clubedge-app 0.41.0 or newer, which it runs as @latest. Projects get it through their next upgrade pull request: with create-clubedge-app 0.41.0, a project's own version no longer conflicts, so that pull request can open.

    • A package.json with conflict markers no longer breaks the next commands (#122, by @NishilRathod; issue #111):
      • After add, remove, or upgrade leaves markers in a package.json, pnpm install is skipped with the reason: pnpm cannot read the file, so resolve it, then run pnpm install. The conflict report always prints, even when the install fails.
      • pnpm is found from outside the project, so a broken package.json is no longer reported as "pnpm was not found", and an installed pnpm that fails says why.
      • status, doctor, add, remove, upgrade, deploy, neon, and try name the unreadable package.json instead of printing a JSON parse error, and point to git diff --no-index against the Starter's version in .clubedge/incoming.
      • --detailed-exit-code for add, remove, and upgrade: exit 2 when the change left conflicts to resolve, 0 when it was clean. Without it, conflicts still exit 0, as existing projects' upgrade workflow expects. The next Starter release's workflow uses it to open the upgrade pull request even when package.json conflicts.
    • doctor fails on unresolved conflict markers in the project's files, listing them with their block counts (#123, by @ahmed-husssain; issue #109).
    • Projects own their version and README (#125, by @ahmed-husssain; issue #124):
      • New projects start at version 0.1.0, and add, remove, and upgrade keep the project's own version, so the root package.json no longer conflicts on it with every Starter release.
      • A README the project replaced (without the generated ## Generated from section) is kept as it is; the Starter's new README goes to .clubedge/incoming/README.md to compare.
    • CI covers these cases end to end on Linux and Windows (#128).
    • Still on Starter v0.26.0.

    Full changelog: v0.40.0...v0.41.0

    • Every module on React + Vite with FastAPI: default to Starter v0.26.0 (#126). --framework vite --api fastapi now offers the module options Hono got in 0.39.0, each written in Python:
      • --storage s3 (or a local folder with --infra local) and --storage supabase.
      • --cache redis, for the rate limits and cache.
      • --email smtp and --email resend.
      • --observability otel and --observability sentry, with browser error reporting.
      • --payments stripe, on the same tables as the Hono API.
      • --jobs bullmq and --jobs inngest. --jobs pg-boss is still refused for FastAPI: pg-boss has no Python version.
      • The account settings page in full: display name, password change, and account deletion.
      • New Vite + FastAPI projects get the same defaults as the other stacks: S3 storage, Redis cache, and SMTP email.
      • Each module has its own uv dependency group: every project keeps the same uv.lock, and its production image installs only the selected modules' libraries.
    • Rendered Python files keep the two blank lines PEP 8 and ruff format want between top-level definitions when a conditional block is removed (#121). Generating FastAPI projects from Starter v0.26.0 needs this release.
    • The README says the decoupled stacks with Hono support every module (#120).

    Full changelog: v0.39.0...v0.40.0

  18. Every module on React + Vite with FastAPI

    The FastAPI API now has the app modules the Hono API got in v0.25.0, each written in Python and checked against the same contract as Hono:

    Module Options
    File storage S3-compatible (or a local folder with --infra local), Supabase Storage
    Cache and rate limits Redis, memory
    Email SMTP, Resend
    Observability OpenTelemetry, Sentry, plus browser error reporting
    Payments Stripe: billing card, Checkout, customer portal, and verified webhooks, on the same tables as the Hono API
    Background jobs BullMQ, Inngest, with the worker inside the API and a jobs card on the dashboard

    pg-boss is the one exception: it has no Python version, so --jobs pg-boss stays a Hono and full-stack option.

    React + Vite projects with FastAPI also get the full account settings page: display name, password change, and account deletion, which is blocked while a subscription is active.

    New projects with --framework vite --api fastapi get the same defaults as the other stacks: S3 storage, Redis cache, and SMTP email.

    Python dependencies per module

    Each module option has its own uv dependency group. Every project keeps the same uv.lock, so uv sync --locked always passes; development installs every group, and the production image installs only the selected modules' libraries.

    Fixes

    • Inngest on FastAPI sends events with the Dev Server's key when the project sets none (the empty INNGEST_EVENT_KEY blocked every event).
    • Sentry on FastAPI filters forwarding and address headers and leaves database query data and queue payloads out.
    • Shutdown waits at most 25 seconds for running BullMQ jobs; BullMQ retries the rest.

    Generating FastAPI projects needs create-clubedge-app 0.40.0 or newer, which keeps the blank lines Python's formatter requires in rendered files.

    • Every module on React + Vite with Hono: default to Starter v0.25.0 (#118). --framework vite --api hono now offers every module option the full-stack apps have, each running in the API with the matching UI in the frontend:
      • --storage s3 (or a local folder with --infra local) and --storage supabase.
      • --cache redis, for the rate limits and cache.
      • --email smtp and --email resend; Better Auth's emails in the frontend's server use them too.
      • --observability otel and --observability sentry, with browser error reporting.
      • --payments stripe: the billing card, Checkout, the customer portal, and webhooks through the frontend.
      • --jobs pg-boss, --jobs bullmq, and --jobs inngest, with the worker inside the API and a jobs card on the dashboard.
      • New Vite + Hono projects get the same defaults as the full-stack apps: S3 storage, Redis cache, and SMTP email.
      • deploy needs no change: Railway and Docker Compose already send each variable to the service that reads it.
    • Account settings on React + Vite: projects with authentication get the settings page (display name, password change, account deletion). With FastAPI it offers the password change.
    • FastAPI is unchanged: the CLI still refuses the module options it doesn't implement, with the message that names them.
    • Generated React + Vite projects' own CI builds and checks the API's image too.

    Full changelog: v0.38.0...v0.39.0

  19. Every module on React + Vite with Hono

    A React + Vite frontend with the Hono API now has every module the full-stack apps have. Each one runs in the API, with the matching UI in the frontend:

    Module Options
    File storage S3-compatible (or a local folder with --infra local), Supabase Storage
    Cache and rate limits Redis, memory
    Email SMTP, Resend; Better Auth's emails in the frontend's server use it too
    Observability OpenTelemetry, Sentry, plus browser error reporting
    Payments Stripe: billing card, Checkout, customer portal, and verified webhooks
    Background jobs pg-boss, BullMQ, Inngest, with the worker inside the API and a jobs card on the dashboard

    The frontend forwards only the selected modules' routes to the private API, including Stripe's webhook and Inngest's calls. pnpm start now runs that same server instead of vite preview.

    New projects with --framework vite --api hono get the same defaults as the full-stack apps: S3 storage, Redis cache, and SMTP email.

    Account settings on React + Vite

    Projects with authentication get an account settings page on React + Vite: display name, password change, and account deletion, which is blocked while a subscription is active. With FastAPI the page offers the password change. Signing up with required email confirmation now lands on a "check your email" screen.

    FastAPI

    Unchanged. The CLI still refuses the module options it doesn't implement, and it passes the contract as before: a module that is absent answers 404 on its endpoints.

    Fixes

    • Hono images with Sentry no longer crash at startup.
    • Generated React + Vite projects' own CI builds and checks the API image as well as the frontend's.
    • undici is overridden to 6.29.1 for a high-severity denial of service advisory (GHSA-xjj6-f33q-929c).
    • Better Auth on React + Vite keys its rate limits per client address.
    • Security: default to Starter v0.24.2 (#116). It updates Next.js to 16.4.3: 16.0.0 to 16.4.0 have two critical unauthenticated remote code execution advisories and a high denial of service (GHSA-p3m5-59mp-jv5r and related). It also updates Zod to 4.6.7 (GHSA-mrhx-c7xc-m3w5). Every Next.js project from an earlier Starter should run pnpm clubedge upgrade, or raise next to ^16.4.3 in apps/web/package.json and run pnpm install. The Starter release also:
      • gives a separate API the database URL of its --infra (it always pointed at 127.0.0.1:5432/postgres, wrong for supabase, local, and docker);
      • passes the Vite frontend's VITE_* build arguments in docker-compose.yml, and runs the Vite image as an unprivileged user;
      • lists the Firebase, Appwrite, Inngest, Supabase, OpenTelemetry, and Sentry variables in render.yaml.
    • Fixes for a frontend and its API (#115):
      • The database URLs go to apps/api/.env.local, the API's, with --infra neon, neon create|claim|status, add infra neon, try, and doctor. Apps that also declare DATABASE_URL (Better Auth on the Vite frontend) get the same URLs.
      • deploy with Docker: compose.yaml passes the frontend's VITE_* build arguments for every auth provider, not only Supabase. With Better Auth, the frontend gets its auth server's variables.
      • deploy on Railway: with Better Auth, the frontend service gets the API's DATABASE_URL, BETTER_AUTH_URL, and a secret. Each service lists its own unset variables.
      • deploy --preview refuses a frontend and its API with a clear message: it deploys one app.
      • MCP: with infra: neon, create_project warns and plan_project returns nextSteps saying to run pnpm clubedge neon create.
    • The README, roadmap, and 0.35.0–0.37.0 changelog entries describe what shipped; pnpm release leaves dependency bumps out of the release tables (#114).

    Full changelog: v0.37.0...v0.38.0

  20. Security update

    • Next.js 16.4.3: Next.js 16.0.0 to 16.4.0 have two critical unauthenticated remote code execution advisories and a high denial of service (GHSA-p3m5-59mp-jv5r and related). Every Next.js project from an earlier Starter is affected: run pnpm clubedge upgrade, or raise next to ^16.4.3 in apps/web/package.json and run pnpm install.
    • Zod 4.6.7: before 4.6.6, validation can exhaust memory on oversized collections (GHSA-mrhx-c7xc-m3w5).

    A frontend and its API

    • The API's .env.example (Hono and FastAPI) and Better Auth's DATABASE_URL on the Vite frontend now hold the URL for the chosen infrastructure. Before, they always pointed at 127.0.0.1:5432/postgres, which was wrong for --infra supabase (port 54322), local (5433), and docker (the app database).
    • docker-compose.yml passes the frontend's VITE_* build arguments for the selected auth provider. .env files stay out of the image, so nothing was compiled in before.
    • The Vite frontend's image runs as an unprivileged user, like the other images.

    Deploy

    • render.yaml lists the variables check:env requires for Firebase, Appwrite, and Inngest, plus SUPABASE_SECRET_KEY, OpenTelemetry, and Sentry, each with its module.

    Docs and cleanup

    • FastAPI's image bundles the Node migrator: SETUP.md and its Dockerfile say to run node migrate.mjs, not pnpm db:migrate.
    • Removed apps/vite/Caddyfile, unused since v0.24.0.
    • Bump vitest from 5.0.3 to 5.0.5 in the minor-and-patch group (#104).
    • Bump giget from 2.0.0 to 3.3.1 (#69).
    • Bump @types/node from 22.20.5 to 26.6.5 (#68).
    • Default to Starter v0.24.1 (#107).

    Full changelog: v0.35.0...v0.36.0

  21. Security update

    • Updates FastAPI's locked certifi dependency to 2026.10.19, addressing the critical GHSA-6q48-6c7w-9gw2 advisory.

    Preview workflow

    • Skips secret-backed preview deployments for Dependabot pull requests, so dependency update checks can run without unavailable repository secrets.
    • Deploy a frontend and its separate API (#103):
      • --deploy docker generates a Compose setup with the Vite frontend and API as separate services. The frontend is public; the API stays on the internal network, and the generated configuration includes each service's port and health check.
      • --deploy railway provisions the frontend and API services, wires the frontend to the private API URL, configures service variables, and runs database migrations before releasing the API.
      • Deployment capabilities now live in each stack's descriptor, including supported platforms, ports, and health checks. See docs/stack-packs.md.
    • Default to Starter v0.24.0 (#105), which brings all four auth providers to React + Vite with either Hono or FastAPI:
      • Supabase, Better Auth, Firebase, and Appwrite each have frontend flows and API-side token or session verification.
      • Generated-project and auth-flow CI covers every provider with both APIs; Docker and Railway deploy configuration is checked for both combinations.
      • FastAPI now has a committed uv.lock for reproducible Python installs. Pull request previews can also deploy the Vite frontend and API as separate Render services.

    Full changelog: v0.34.0...v0.35.0

  22. Authentication for decoupled stacks

    React + Vite projects can now use Supabase, Better Auth, Firebase, or Appwrite with either the Hono TypeScript API or the FastAPI Python API. Each provider has frontend auth flows and API-side token or session verification.

    Generated project coverage

    The CI matrix exercises both API stacks with all four auth providers, including generated-project checks and auth flows. Deploy configuration checks cover Docker and Railway for the Vite/API combinations.

    Stack pull request previews

    Pull requests can generate and deploy the React + Vite frontend and API as separate Render services. The preview workflow handles existing services and queued Render deployments, and cleans up services when the pull request closes.

    Reproducible FastAPI setup

    The FastAPI app now includes a committed uv.lock so Python dependencies can be installed reproducibly.

    • A FastAPI API: default to Starter v0.23.0 (#101). --framework vite --api fastapi creates the React + Vite frontend with an API in Python, managed with uv:
      • The Starter added it as one folder that describes itself, and this CLI generates it without a code change: the API lands in apps/api as @clubedge/api, and the CLI runs uv sync after pnpm install.
      • Its package.json scripts call uv, ruff, mypy, and pytest, so pnpm dev, pnpm lint, pnpm typecheck, and pnpm test run it like the other apps. pnpm lint and pnpm test now also run each app's own scripts, so apps in other languages are always checked.
      • It passes the same contract suite as the Hono API, against the live server, through clubedge-contract-check.
      • A first version: the app modules are none (cache: memory, deploy: Docker). Install uv first.
    • CI generates the pair from the packed CLI. The smoke check waits for a separate API that starts after its frontend (#100).

    Full changelog: v0.33.0...v0.34.0

  23. A FastAPI API

    --framework vite --api fastapi generates the React + Vite frontend with an API in Python (#69). It is the second API stack, and the test of stack packs: create-clubedge-app needed no change to generate it, because the stack is one folder (apps/api-fastapi) that describes itself.

    • The app: FastAPI on uvicorn, managed with uv. It answers /api/health, /api/ready (PostgreSQL through psycopg) and /api/session, and returns JSON not_found errors, as packages/contract/openapi.yaml describes. Like the Hono API, app.py holds the routes and server.py is the only place that reads the environment.
    • Runs like every app: its package.json scripts call uv, ruff, mypy (strict), and pytest, so pnpm dev, pnpm lint, pnpm typecheck, pnpm test, and pnpm start include it. In generated projects it lives in apps/api as @clubedge/api, and the frontend forwards /api to it.
    • Proven against the contract: its tests run the shared conformance suite against the live server, the same suite the Hono API passes.
    • Production: a python:3.12-slim image with uv. The schema and migrations stay in packages/db: run pnpm db:migrate before a new version starts.
    • A first version: like Hono, the app modules are none (cache: memory, deploy: Docker).

    For every language

    • clubedge-contract-check (@clubedge/contract): starts an API from any command on a spare port, waits for /api/health, runs the conformance suite over HTTP, and stops it.
    • pnpm lint and pnpm test also run each app's own lint and test scripts through turbo, so apps in other languages are always checked.
    • CI sets up uv when an app has a pyproject.toml.
    • A frontend and a separate API: default to Starter v0.22.0 (#98). --framework vite --api hono creates a React + Vite frontend in apps/web and a Hono API in apps/api, joined by one HTTP contract:
      • packages/contract/openapi.yaml is the contract. The frontend calls the API only through the client generated from it, and @clubedge/contract/conformance is the test suite every API passes, in process or over HTTP against any running API.
      • pnpm dev and pnpm start run both, and the frontend forwards /api to the API, so the browser sees one origin. docker compose up --build runs both images.
      • A first version: on these stacks the modules are none (cache: memory, deploy: Docker). deploy explains that it sets up one app and doesn't deploy the pair yet (#96).
      • CI generates the pair from the packed CLI and runs its full pipeline; the smoke check accepts a single-page app's shell for a missing page (#97).
    • Stack packs (template schema 4, #95): a Starter describes each app in its own clubedge.stack.json and each module in clubedge/modules/<id>.json, so adding a stack adds a folder and changes nothing shared. See docs/stack-packs.md.
      • Slots place apps in generated projects: --framework for the web app and --api for a separate API. A frontend needs an API, and a full-stack app takes none.
      • The CLI checks that the selected stacks implement each chosen module option, and only offers those options in prompts and add.
      • Stacks outside Node.js declare a toolchain, such as uv, whose install runs after pnpm install.
      • A slot can name packages only its apps use, left out when it is empty, and its own site config, named after the project (#96).
      • Starters with schema 1 to 3 are read into the same model, so projects created from them still add, remove, and upgrade. Projects generated from the same selection are byte-identical to 0.32.0.

    Full changelog: v0.32.0...v0.33.0

  24. Stack packs

    The Starter now describes itself in packs (template schema 4), so each part is described in one place (#65):

    File Describes
    clubedge.template.json the slots apps land in, the module order, shared files
    clubedge/modules/<id>.json a module: its options, packages, scripts, and shared files
    apps/<name>/clubedge.stack.json an app (a stack): its role, and its own files for each option

    Adding a stack, in any language, adds a folder; nothing shared changes. Projects generated from the same selection are byte-identical to v0.21.0. Needs create-clubedge-app with schema 4 support.

    A frontend and a separate API

    --framework vite --api hono generates a React + Vite frontend and a Hono API that meet at one HTTP contract (#66, #67):

    • packages/contract: openapi.yaml (health, readiness, session, and a JSON error shape), the TypeScript client generated from it, and @clubedge/contract/conformance, the suite every API passes, in process or over HTTP against any running API (API_URL). The contract is left out of projects without a separate API.
    • apps/vite (frontend): React with TanStack Router as a single-page app, with the same landing page and dashboard as the other apps. /api goes to the API through Vite in development and through Caddy in its production image, so the browser sees one origin and cookies stay first-party.
    • apps/api (API): Hono on Node, reusing @clubedge/core and @clubedge/db, bundled with esbuild; its image includes the migrator.
    • pnpm dev and pnpm start run the API alongside the frontend, docker compose up --build runs both, and SETUP.md describes the pair.

    This first version is a thin slice: on these stacks, the app modules are none (cache: memory, deploy: Docker). Modules come to them one at a time.

    Other changes

    • deploy is an app module: each stack lists the platforms it supports.
    • pnpm start runs through turbo, passing the environment through; database commands also read apps/api/.env.local.
    • The browser suite starts a frontend's API as its own server.
    • Pluggable authentication: default to Starter v0.21.0 (#93). Authentication now has four providers behind one interface, so the pages, settings, payments, and jobs stay the same whichever signs users in:
      • --auth supabase and --auth better-auth, as before.
      • --auth firebase (new): Firebase Authentication from the server, with session cookies. pnpm auth:dev starts the Auth Emulator, so development needs no Firebase account. Reset and confirmation emails go through the app's email module.
      • --auth appwrite (new): Appwrite accounts on Appwrite Cloud or your own server, with session cookies and an API key. Appwrite sends its own emails.
      • @clubedge/auth/conformance is one test suite every auth provider passes: sign-up and sign-in, sign-out, reset through the emailed link, password changes that sign out other sessions, and account deletion. The Starter's CI runs it against all four, including Appwrite Cloud.
      • Stripe payments work with every provider.
      • Switch an existing project with pnpm clubedge add auth firebase or pnpm clubedge add auth appwrite. After pnpm clubedge upgrade, run pnpm db:migrate: users.auth_user_id becomes text, since Firebase's and Appwrite's user ids aren't UUIDs.

    Full changelog: v0.31.0...v0.32.0

  25. Pluggable authentication

    Authentication now has four providers behind the same AuthProvider interface, and a conformance suite that proves each one (#63). The pages, the settings page, payments, and jobs work the same whichever provider signs users in; switch with pnpm clubedge add auth <provider>.

    Provider Where accounts live Emails
    supabase Supabase Auth Supabase sends them
    better-auth your own PostgreSQL through the app's email module
    firebase (new) Firebase Authentication; the Auth Emulator in development (pnpm auth:dev) Firebase generates the links, the app's email module sends them
    appwrite (new) Appwrite Cloud or your own Appwrite server Appwrite sends them
    • Firebase:
      • Sessions: run from the server, with HTTP-only session cookies checked for revocation on each request.
      • Development: the Auth Emulator, with no Firebase account.
      • Production: set the project, its Web API key, and a service account; pnpm check:env requires them and refuses the emulator.
    • Appwrite:
      • Sessions: run from the server with an API key (sessions.write, users.read, users.write), and the session's secret in an HTTP-only cookie.
      • Setup: register the app's hostname as a Web platform in the project.
    • With every provider: changing or resetting a password signs out every other session, and Stripe payments work.

    A conformance suite for every provider

    @clubedge/auth/conformance holds 11 tests for the behaviour every auth provider must have:

    • sign-up and sign-in;
    • one answer for a wrong password and an unknown address;
    • sign-out;
    • a reset through the emailed link, once;
    • password changes that sign out other sessions;
    • account deletion after beforeDelete;
    • no account settings without a session.

    The Starter's CI runs it against Better Auth, the local Supabase stack, Firebase's Auth Emulator, and Appwrite Cloud. To add your own provider, implement AuthProvider and run the suite against it.

    Upgrading

    • Run pnpm db:migrate. Migration 0001 changes users.auth_user_id to text, since Firebase's and Appwrite's user ids aren't UUIDs. Existing UUIDs convert to their text form.
    • The reset page and auth callback read every provider's links, and the auth email types and templates live in @clubedge/auth.
    • A fast-xml-parser override fixes a high-severity advisory in a firebase-admin dependency.
    • The local Supabase stack allows 100 emails an hour.

    Create a project with it using the CLI release that moves to Starter v0.21.0.

    • Pluggable background jobs: default to Starter v0.20.0 (#91). The jobs module now has three providers behind one interface, so job definitions, routes, and the dashboard's jobs card stay the same whichever runs them:
      • --jobs pg-boss: jobs in your PostgreSQL, run by a worker in the app server.
      • --jobs bullmq (new): jobs in Redis through BullMQ 6, run by a worker in the app server. It needs --cache redis, so deploy creates Railway's Redis with it.
      • --jobs inngest (new): Inngest calls the app's /api/inngest to run each job, so serverless hosts need no cron. pnpm jobs:dev starts its Dev Server, and check:env requires INNGEST_EVENT_KEY and INNGEST_SIGNING_KEY in production.
      • @clubedge/jobs/conformance is one test suite every provider passes: retries, delays, throttling, timeouts, history, and the worker. SETUP.md shows how to add your own provider with it.
      • runDue's failed now counts every failed attempt, retries included, for every provider.
      • Switch an existing project with pnpm clubedge add jobs bullmq or pnpm clubedge add jobs inngest.
    • The showcase's SaaS walkthrough waits for Stripe's billing portal to be on screen before moving on (#90). Stripe renders the portal's text under a spinner and fades it in, which Playwright counted as visible.

    Full changelog: v0.30.1...v0.31.0

  26. Pluggable background jobs

    The jobs module now has three providers behind the same interface, and a conformance suite that proves each one (#61). Job definitions, routes, and the dashboard's jobs card are the same whichever provider runs them; switch with pnpm clubedge add jobs <provider>.

    Provider Where jobs live and run Best for
    pg-boss Your PostgreSQL, run by a worker in the app server One database to run, any host
    bullmq (new) Redis, through BullMQ 6, run by a worker in the app server; requires --cache redis Long-running hosts that already run Redis (Railway, Fly.io, Docker)
    inngest (new) Inngest, which calls the app's /api/inngest to run each job Serverless hosts (Vercel, Netlify), with no cron to set up
    • BullMQ:
      • Retries: fixed or exponential backoff.
      • Throttling: through deduplication with a TTL.
      • Schedules: cron, as job schedulers.
      • Where no worker runs: the same /api/jobs/run route as pg-boss, called by a scheduler with CRON_SECRET.
    • Inngest:
      • Local development: pnpm jobs:dev starts its Dev Server; open http://localhost:8288 to see every run.
      • Production: set INNGEST_EVENT_KEY and INNGEST_SIGNING_KEY. pnpm check:env requires them and refuses INNGEST_DEV.
      • Job history: the jobs card reads it from Inngest's API.

    A conformance suite for every provider

    @clubedge/jobs/conformance holds ten tests for the behaviour every JobQueue provider must have:

    • output and attempts;
    • the id and attempt number passed to run;
    • retries until retryLimit;
    • delaySeconds;
    • throttling by key;
    • the order and filters of recent();
    • timeouts that abort the job's signal;
    • a worker;
    • refusing jobs that aren't defined.

    The in-memory queue, pg-boss, and BullMQ run them. To add your own provider, implement JobQueue and run the suite against it; SETUP.md shows how.

    Also

    • Behaviour change: runDue's failed counts every failed attempt, retries included, for every provider. pg-boss already did; the in-memory test queue counted jobs.
    • TanStack Start: the CSRF check lets Inngest's signed calls reach /api/inngest, as it does webhooks.
    • CI: the generated-project flow runs with BullMQ (Next.js) and Inngest through its real Dev Server (TanStack Start), and a Redis service runs BullMQ's conformance tests.

    Create a project with it using the CLI release that moves to Starter v0.20.0.

  27. Railway previews, fixed after running them for real on the Starter's own pull requests.

    • deploy --preview sets PORT on the Railway preview environment (#87). The preview's domain sends traffic to port 3000, but a production service without PORT gave the copied environment none: Railway assigned its own port, and the app answered 502.
    • Default to Starter v0.19.1 (#88), which fixes the Railway step of .github/workflows/preview.yml:
      • It works with a workspace token as well as an account token: it no longer runs railway link, which needs an account token, since the Railway CLI targets the project from RAILWAY_PROJECT_ID.
      • It sets PORT=3000 on the pull request's environment, for the same reason as above.
      • The pull request comment lists the Vercel and Railway apps separately when both deploy.
      • Tested on the Starter's pull requests: a Neon branch with the migrations, a Vercel and a Railway preview each answering /api/ready, and cleanup of the branch and the Railway environment on merge.
    • If your project deploys previews to Railway, run pnpm clubedge upgrade to get the fixed preview.yml.

    Full changelog: v0.30.0...v0.30.1

  28. Railway previews work

    Fixes for the Railway step of .github/workflows/preview.yml, found by running it for real on the Starter's own pull requests (#59).

    • Workspace tokens work: the step no longer runs railway link, which needs an account token and failed with "Unauthorized" for a workspace token. The Railway CLI targets the project from RAILWAY_PROJECT_ID, which the step already sets. Account tokens still work.
    • The preview answers: the step sets PORT=3000 on the pull request's environment, the port its domain targets. Before, a production service without PORT gave the copy none, Railway assigned its own port, and the app answered 502.
    • Both URLs in the comment: when Vercel and Railway both deploy, the pull request comment lists each app instead of only the first.

    Tested on #59: a Neon branch with the migrations, a Vercel and a Railway preview, each with /api/ready returning ok, and cleanup of the branch and the Railway environment on merge.

    If you deploy previews to Railway

    Run pnpm clubedge upgrade to get the fixed preview.yml. Create a project with these fixes using the CLI release that moves to Starter v0.19.1.

    • --infra neon gives a project a hosted Neon database with nothing to install and no account (#84):
      • The CLI creates a free database through Neon's claimable Postgres. It writes the pooled DATABASE_URL and the direct DATABASE_URL_DIRECT into apps/web/.env.local, and the next steps include pnpm db:migrate.
      • Neon keeps an unclaimed database for 72 hours. --no-neon creates nothing, and a project is still created when Neon can't be reached.
      • pnpm clubedge add infra neon switches an existing project and creates a database when DATABASE_URL still held the old infrastructure's example value.
    • pnpm clubedge neon shows the database's status and hours left (#84):
      • neon claim opens Neon's page that moves it into your free Neon account. Claiming resets the password, and the CLI says where to copy the new connection strings from.
      • neon create makes a new database, for example after one expired.
    • doctor checks the database URLs (#84): pooled for the app, direct without -pooler, both for the same database. It also warns when a free database has less than a day left.
    • deploy sends DATABASE_URL_DIRECT with a DATABASE_URL from the env file, and derives it from a pooled Neon URL when the file has none. It never sends one next to the platform's own database, repoints one left from an earlier database, and warns before deploying a database that is still unclaimed (#84).
    • deploy --preview deploys the current Git branch next to production on Vercel (a preview deployment) or Railway (an environment copied from production) (#84):
      • With NEON_API_KEY and NEON_PROJECT_ID, the preview gets its own Neon branch, preview/<git branch>, with this branch's migrations applied.
      • On Vercel, the branch's URLs are set as Preview variables of the Git branch, which needs the Vercel project connected to its Git repository.
    • try --infra neon creates the database on your machine and migrates it on the VM. An uploaded Neon project sends its two URLs (#84).
    • Default to Starter v0.19.0 (#85). It adds infra neon, the optional DATABASE_URL_DIRECT that migrations and the jobs worker use, and a preview environment with its own Neon branch for each pull request.

    Full changelog: v0.29.0...v0.30.0

  29. Neon, with nothing to install

    infra neon is a new database option: PostgreSQL hosted on Neon, with no Docker and no account to start (#55).

    • A free database at creation: create-clubedge-app creates one through Neon's claimable Postgres and writes its URLs into apps/web/.env.local. It lasts 72 hours unless you claim it into a free Neon account with pnpm clubedge neon claim. The data stays, but the password is reset, so copy the new connection strings from the Neon console afterward.
    • Your own Neon project: paste its pooled and direct connection strings instead.
    • README and SETUP explain claiming, starting over (pnpm clubedge neon create), and the limits of an unclaimed database (100 MB).

    A direct URL for migrations and jobs

    DATABASE_URL_DIRECT is a new, optional variable for every project (#55). A transaction pooler, such as Neon's -pooler host or Supabase's port 6543, can break migrations and the session state the jobs worker relies on.

    • When DATABASE_URL_DIRECT is set, pnpm db:migrate, Drizzle Kit, the production migrator, and the background jobs worker use it. The app and processes that only enqueue jobs stay on the pooled DATABASE_URL. Without it, nothing changes.
    • pnpm check:env refuses a direct URL that is local, isn't a postgresql:// URL, or points at Neon's pooler.
    • pnpm check:services connects through it.

    A preview environment for each pull request

    Projects with infra neon get .github/workflows/preview.yml (#55). For each pull request it:

    • creates a Neon branch, preview/pr-<number>: a copy of the database made in seconds that shares storage until it changes;
    • applies the pull request's migrations to it, and comments the schema diff on the pull request;
    • deploys a Vercel preview, or a Railway environment copied from production, against the branch, once that platform's token is set;
    • deletes the branch and the Railway environment when the pull request closes.

    It runs once the repository has the NEON_API_KEY secret and the NEON_PROJECT_ID variable; SETUP.md lists the rest. It was tested on this release's own pull requests: a branch per pull request, migrations, the diff comment, and cleanup on merge.

    Also

    • The Starter's CI runs the generated-project flow against a real Neon database for both frameworks: migrations, service checks, sign-up and sign-in, settings, readiness, and a background job. It needs no secret.

    To use it

    Create a project with --infra neon, or switch one with pnpm clubedge add infra neon. Either way, use the CLI release that moves to Starter v0.19.0. To add a direct URL to an existing project, run pnpm clubedge upgrade, then set DATABASE_URL_DIRECT.

    • pnpm clubedge deploy deploys to Netlify and Render (experimental) (#82), so it now covers Railway, Fly.io, Vercel, Netlify, and Render:
      • Netlify: it signs in with netlify login, creates or reuses the site with apps/web as its base directory, imports the production variables from .env.production, the site URL, and a generated BETTER_AUTH_SECRET, then runs netlify deploy --build --prod. The build runs on your machine with the site's variables.
      • Render: it signs in with an API key (RENDER_API_KEY, or pasted from the dashboard page it opens) and builds from your pushed Git branch. It creates or reuses a Docker web service that runs the migrations before each release and checks /api/health, as render.yaml does, on a starter instance, since pre-deploy commands need a paid type. It sets the variables and waits until the deploy is live.
      • On both, DATABASE_URL comes from your provider (Neon, Supabase, ...).
    • Still on Starter v0.18.0.

    Full changelog: v0.28.0...v0.29.0

    • pnpm clubedge deploy deploys to Vercel (experimental) (#80), in projects created with --deploy vercel:
      • It signs in with vercel login when you are signed out, then creates or reuses the project with apps/web as its Root Directory and writes .vercelignore so .env files stay on your machine.
      • It sets the production variables from .env.production (or --env-file), the public URL, and a generated BETTER_AUTH_SECRET, then runs vercel deploy --prod. DATABASE_URL must point at your provider (Neon, Supabase, ...), since Vercel only runs the app.
      • When Vercel names the app something other than <project>.vercel.app, it sets that URL and deploys again, since the build compiles it in.
    • The README opens with the banner the CLI prints (#79).
    • Still on Starter v0.18.0.

    Full changelog: v0.27.0...v0.28.0

    • Default to Starter v0.18.0 (#77), which stops Vercel and Netlify builds when a production variable is missing:
      • On those hosts the platform only runs the app, and the database, Redis, storage, and email come from your providers. pnpm check:env now runs first in the build command of vercel.json and netlify.toml, before migrations.
      • It lists each variable the project's modules need that is unset, points at localhost, or isn't an absolute URL, and stops the build. That includes .env.example's example.com sender in EMAIL_FROM.
      • Generated projects check only their own modules. SKIP_ENV_CHECK=1 builds anyway.
    • If you deploy to Vercel or Netlify: run pnpm clubedge upgrade, then set the variables for every environment you build (Production and Preview).

    Full changelog: v0.26.0...v0.27.0

  30. Vercel and Netlify stop on a missing production variable

    On Vercel and Netlify, the platform only runs the app: the database, Redis, file storage, and email come from your providers (for example Supabase, Upstash, and Cloudflare R2). Until now, a missing key still built and deployed, and the app shipped with features that failed at runtime (#52).

    • pnpm check:env runs first in the build command of vercel.json and netlify.toml, before migrations. It stops the build and lists each variable the project's modules need that is unset, points at localhost, or isn't an absolute URL.
    • What it requires: DATABASE_URL and the public URL (NEXT_PUBLIC_APP_URL or APP_URL) always; then, per module, the Supabase Auth URL and key or BETTER_AUTH_SECRET (32+ characters), REDIS_URL, the storage bucket and access keys, SMTP_URL or RESEND_API_KEY with an EMAIL_FROM that isn't .env.example's example.com placeholder, the Stripe keys and price, and CRON_SECRET for background jobs.
    • Only your modules: a generated project checks only the modules it uses.
    • Escape hatch: SKIP_ENV_CHECK=1 builds anyway.

    Other hosts are unchanged; pnpm check:env works anywhere to check an environment.

    Also

    • Weekly Dependabot updates for the Starter, not passed on to generated projects (#51).

    If you deploy to Vercel or Netlify

    Run pnpm clubedge upgrade, set the variables for every environment you build (Production and Preview on Vercel, production and deploy previews on Netlify), and deploy again.

    Create a project with it using the CLI release that moves to Starter v0.18.0.

    • deploy uses your own databases when the env file has their URLs (#74). The platform hosts everything as before when it doesn't.
      • With DATABASE_URL or REDIS_URL in the env file (Supabase, Neon, Upstash), deploy creates no Railway or Fly database for it, sets your URL, and the platform only runs the app. Each URL counts on its own, so only DATABASE_URL keeps Redis on the platform.
      • deploy reads .env.production from the project's root when there is one and no --env-file is given. An --env-file that doesn't exist is now a clear error.
      • URLs to localhost (a development env file) are ignored with a warning.
      • A later run without the env file keeps the database URL the service already has, instead of creating the platform's database and switching the app over. On Railway, deploy stops before changing anything if it can't list an existing service's variables. On Fly, an existing DATABASE_URL secret skips creating <app>-db.
      • When the app moves from Railway's database to its own, deploy notes that the old one is unused; it never deletes it.
    • The showcase records a try walkthrough on a free Railway VM (#73).
    • pnpm release counts squash-merged pull requests in the changelog draft (#75).
    • Still on Starter v0.17.1.

    Full changelog: v0.25.0...v0.26.0

    • deploy for Fly.io (experimental) (#71): in a project with deploy fly, pnpm clubedge deploy uses Fly's CLI and your Fly login.
      • It creates or reuses the app (fly launch, which writes its name and region into fly.toml; commit it), an unmanaged Postgres app attached as DATABASE_URL (one shared-cpu-1x machine and a 1 GB volume), and Upstash Redis with cache redis.
      • It imports the secrets through stdin: the public URL https://<app>.fly.dev, a BETTER_AUTH_SECRET kept on later runs, and --env-file values; the ones still unset are listed before the build.
      • fly deploy builds the Dockerfile with NEXT_PUBLIC_APP_URL as a build argument, runs the migrations as the release command, and waits for the health checks.
      • Fly's Managed Postgres (from $38/month) is a manual choice: create and attach it before deploying.
    • Weekly Dependabot updates for the CLI's npm dependencies and GitHub Actions (#67). The Starter gets the same, without passing it on to generated projects, which receive updates as upgrade pull requests.
    • Still on Starter v0.17.1.

    Full changelog: v0.24.1...v0.25.0

    • Default to Starter v0.17.1 (#65), which fixes deployed Next.js apps sending sign-in email links and Stripe return URLs to http://localhost:3000: the Dockerfile now takes NEXT_PUBLIC_APP_URL as a build argument, which Railway and Render pass from the service's variables. pnpm clubedge deploy already sets it on Railway.
    • deploy lists the settings still unset before the build instead of after the release, and asks whether to deploy anyway (#64).
    • No more Node DEP0190 warning on Windows: commands that need the shell get one quoted command line (#64).
    • The showcase is re-recorded after each release (#63).

    Full changelog: v0.24.0...v0.24.1

  31. The public URL in Next.js images

    Deployed Next.js images sent sign-in email links and Stripe Checkout return URLs to http://localhost:3000 (#49). Next.js compiles NEXT_PUBLIC_* values into the build, server code included, and the Dockerfile built without NEXT_PUBLIC_APP_URL, so setting it on the platform at runtime changed nothing.

    • Dockerfile: NEXT_PUBLIC_APP_URL is a build argument. Railway and Render pass it from the service's variables, so setting the variable there is enough. Unset, the app falls back to http://localhost:3000 as before.
    • Fly.io: set it under [build.args] in fly.toml (an example is in the file).
    • Docker workflow: set the repository variable NEXT_PUBLIC_APP_URL; the workflow passes it to the build.
    • Project CI: builds the image with a URL of its own and checks it reaches the compiled server code, so this can't regress unnoticed.

    TanStack Start reads APP_URL at runtime and was not affected.

    If you deploy a Next.js project

    Run pnpm clubedge upgrade, check that NEXT_PUBLIC_APP_URL is set to your public URL where the image is built, and deploy again. With pnpm clubedge deploy on Railway, it is already set.

    Create a project with it using CLI 0.24.1 or later.

    • Default to Starter v0.17.0 (#61), which adds:
      • Railway configuration as code: projects that deploy to Railway get .railway/railway.ts (the migrations before each release, the /api/health check) instead of railway.json, which Railway stops reading on 2026-12-01. It names the service after the package, and pnpm clubedge deploy applies it before each release.
      • The deploy workflow on Railway CLI 5.
    • If you deploy to Railway: run pnpm clubedge upgrade, then deploy once with pnpm clubedge deploy (or run railway config apply) before 2026-12-01.

    Full changelog: v0.23.0...v0.24.0

  32. Railway configuration as code

    Railway stops reading railway.json (Config as Code) on 2026-12-01. Projects that deploy to Railway now get .railway/railway.ts instead (#47), Railway's configuration as code:

    • The same settings: the migrations before each release (node /app/migrate.mjs), so a failed migration stops it, and the /api/health check before traffic switches. Railway builds the root Dockerfile by itself.
    • One file for every project: it names the service after the package, read from package.json when Railway evaluates it, as pnpm clubedge deploy creates it. A service with another name: change it in the file.
    • Variables stay where they are: variables: { managed: false }, so the file never touches what deploy, railway variable set, or the dashboard set.

    Applying it

    • With the CLI: pnpm clubedge deploy (CLI 0.23.0 or later) applies the file before each release, and adds Railway's TypeScript SDK (railway) as a dev dependency the first time.
    • Another way: pnpm add -D -w railway, then railway config apply once, with Railway CLI 5.42.1 or newer.

    The deploy workflow moves to Railway CLI 5.

    If you deploy to Railway today

    Run pnpm clubedge upgrade: an unchanged railway.json is removed and .railway/railway.ts added. Then deploy once with pnpm clubedge deploy, or run railway config apply, before 2026-12-01, so the service keeps its migrations and health check.

    Create a project with it using CLI 0.24.0 or later.

    • deploy moves Railway projects to .railway/railway.ts, Railway's configuration as code, which replaces railway.json: Railway stops reading railway.json on 2026-12-01 (#59).
      • When the project has no Railway configuration file, it writes one with the project's own names: the migrations before each release and the /api/health check, as in railway.json. Variables stay as deploy set them.
      • It adds Railway's TypeScript SDK (railway) as a dev dependency, and applies the file with railway config apply before each release. Commit .railway/railway.ts, package.json, and pnpm-lock.yaml.
      • It needs Railway CLI 5.42.1 or newer: an installed railway, else one npx already downloaded, and only then a download.
    • Still on Starter v0.16.1.

    Full changelog: v0.22.0...v0.23.0

    • Add deploy: pnpm clubedge deploy does the first deploy of a project that uses deploy railway, with Railway's CLI and your Railway login (#55).
      • It asks first, then creates or reuses the Railway project, Postgres (and Redis with cache redis), the app's service, and a *.up.railway.app domain.
      • It sets the variables it can: the database references, APP_URL and NEXT_PUBLIC_APP_URL, PORT, and a generated BETTER_AUTH_SECRET that later runs keep. --env-file .env.production adds your provider keys; the ones still unset are listed.
      • It follows the deployment until Railway's final status: the migrations run before the release and /api/health is checked. On a failure it names the logs commands. Running it again reuses everything.
      • Railway only for now; --dry-run shows the plan.
    • Default to Starter v0.16.1 (#57): both Dockerfiles install dependencies in the build stage, so node_modules is no longer copied between stages, which made builds slow and timed out a first build on Railway.
    • Release drafts list a Starter pin pull request once (#54).

    Full changelog: v0.21.0...v0.22.0

  33. Faster Docker builds

    Both Dockerfiles (Dockerfile for Next.js and apps/start/Dockerfile for TanStack Start) now install dependencies in the build stage itself (#45). Before, a separate stage installed them and the whole node_modules tree was copied into the build stage: hundreds of thousands of small files. On Railway's builder that copy alone took almost four minutes, and a first build ran past Railway's build deadline.

    • node_modules is no longer copied between stages, on every platform: Docker, Fly.io, Railway, and Render.
    • The install layer is still cached until a dependency changes.
    • The production image is the same.

    If you changed your Dockerfile

    pnpm clubedge upgrade merges the change with your edits. If you added steps to the deps stage, move them into the builder stage, after pnpm install.

    Create a project with it using CLI 0.22.0 or later, and update an existing one with pnpm clubedge upgrade (projects on Starter v0.16.0 get it as a pull request from the upgrade workflow).

    • Default to Starter v0.16.0 (#52), which adds:
      • Starter upgrades as pull requests: every project gets .github/workflows/clubedge-upgrade.yml, which checks every Monday for a newer Starter release and opens a pull request with pnpm clubedge upgrade's result, the release notes, and anything left to resolve, so the project's own CI tests the upgrade before it is merged.
      • GitHub Actions on their Node 24 versions in ci.yml and deploy.yml, with Linux jobs on Ubuntu 24.04.
      • Steadier tests: PGlite starts once per test file, with room for slow CI runners.
    • Release tooling for maintainers (#51): pnpm release patch|minor|major opens the release pull request with a drafted changelog, pnpm release tag publishes it, and the Starter pin workflow opens a pull request when the Starter publishes a release.
    • CI names the generated project's failing check, in an annotation and the job summary (#50).

    Full changelog: v0.20.0...v0.21.0

  34. Starter upgrades as pull requests

    Every project now gets .github/workflows/clubedge-upgrade.yml (#43). Each Monday, or when you run it from the Actions tab, it runs pnpm clubedge upgrade with the newest CLI. When a newer Starter release is out, it opens a pull request:

    • What changed: the upgrade merged into your code, with the lockfile updated. Your edits are kept; files you never changed take the new version.
    • What to look at: a link to the release notes, the files with conflict markers to resolve, and the upgrade output. The Starter's whole new version of each conflicted file is kept as the run's starter-versions artifact.
    • Tested before you merge: your own CI runs on the pull request.

    It opens one pull request per release, and never runs in this repository. Delete the file to turn it off.

    One setting: Settings → Actions → General → Allow GitHub Actions to create and approve pull requests, or a CLUBEDGE_UPGRADE_TOKEN secret (a fine-grained token with contents and pull requests write), which also lets the pull request start your CI by itself.

    Current GitHub Actions

    ci.yml and deploy.yml use the Node 24 versions of their actions (#43): checkout v7, setup-node v7, pnpm/action-setup v6, upload-artifact v7, and Docker's setup-buildx v4, login v4, metadata v6, build-push v7. Linux jobs run on ubuntu-24.04, ahead of ubuntu-latest moving to Ubuntu 26.

    Steadier tests

    PGlite starts once per test file, with room for slow CI runners (#42). The payments and local database tests run in about half the time.

    Create a project with it using CLI 0.21.0 or later, and update an existing one with pnpm clubedge upgrade. From this release on, projects also get the next upgrades as pull requests.

    • Conflicts are easier to resolve after add, remove, and upgrade:
      • The Starter's whole new version of each conflicted file is saved in .clubedge/incoming/<file>, and the report prints a git diff --no-index command to compare it with yours. Files left for you to check by hand get theirs too, when the Starter has one. Git ignores the folder; each change replaces the previous change's files.
      • Without a module on the command line, the add and remove menus pick several modules at once; add then asks for each one's option, and the changes apply together.
    • Sharing a try preview:
      • When the app is ready, try asks whether to share it. Claiming the VM, a free Railway sign-up, is what makes the URL work for anyone, so it opens the claim page. --claim does that without asking; scripts are never asked.
      • The closing message explains Railway's "Access denied" page and prints a port-forward command that opens the app at http://localhost:3000 from any network.
      • try --status shows the last VM's preview, time left, and claim link. It connects only while the VM is running, so it never creates a new one.
    • Release workflow: GitHub Actions on their Node 24 versions, Linux jobs on Ubuntu 24.04, a sturdier wait for npm in the smoke tests, and GitHub Release pages created from this changelog.
    • Still on Starter v0.15.0.

    Full changelog: v0.19.1...v0.20.0

  35. A patch release for try. The default Starter stays at v0.15.0.

    Fixed

    • Who can open the preview: try now says it as Railway does. Until you claim the VM, only the IP address that created it can open the preview. Another device on mobile data, a VPN, or anyone you send the link to gets Railway's "Access denied" page. Claiming makes the URL shareable.

    Full changelog: v0.19.0...v0.19.1

  36. Phase 16: try the project you're working on. The default Starter stays at v0.15.0.

    What's new

    • pnpm clubedge try inside a project: uploads the project to a free, temporary Railway VM and runs it there, so you can share work in progress without deploying.
    • Only what Git would commit is uploaded: tracked files, plus untracked ones that are not ignored. .env files (other than examples), node_modules and build output never leave your machine, and if Git cannot list a repository's files, nothing is uploaded. --dry-run lists the files.
    • Runs like a new project: on the VM, the env file is made from .env.example, then the local database (infra local), migrations and the app start behind the preview URL. Projects that need Docker or Supabase Auth are refused, with the pnpm clubedge add command that switches them.
    • The preview opens in your browser once the app is ready. --no-open turns that off.
    pnpm clubedge try             # upload and run this project
    pnpm clubedge try --dry-run   # list what would be uploaded

    Full changelog: v0.18.0...v0.19.0

  37. Phase 15: try a project without setting anything up. The default Starter stays at v0.15.0.

    What's new

    • try (experimental): creates a new project on a free, temporary Railway VM instead of your machine, then prints its preview URL and the link to claim the VM. No Railway account, database, or Docker needed.
    • What runs there: the VM has no Docker, so the project uses --infra local (PGlite) and Better Auth, with email off. --framework and other module flags apply as usual; --infra other than local and --auth supabase are rejected.
    • Safe by default: it asks before creating anything (--yes agrees), keeps its own SSH key in the CLI's config directory apart from ~/.ssh, and connects only to Railway's known host key. If Railway rotates it, CLUBEDGE_RAILWAY_HOST_KEY adds the new one.
    • The VM: lasts 60 minutes and can be claimed for 24 hours after, which moves it into a Railway account. Until then, the preview opens only from your network. Railway allows 3 free VMs per network per day, and can change or pause its free VM.
    pnpm dlx @clubedge/create-clubedge-app try
    pnpm dlx @clubedge/create-clubedge-app try --framework tanstack-start

    Full changelog: v0.17.0...v0.18.0

  38. Phase 14: the default Starter moves to v0.15.0. The CLI's own code is unchanged; everything new comes from the Starter.

    What's new in generated projects

    • A docs-style dashboard in both Next.js and TanStack Start, with the layout and colors of the Clubedge docs.
    • Sidebar: a section switcher (Dashboard, plus Settings when an auth provider is selected), the dashboard's sections with the one in view highlighted, links to the setup guide and the repository, and an account card with Settings and Sign out. It collapses with its button or Ctrl/⌘+B.
    • The page in a rounded card that scrolls on its own, under a top bar with Home, GitHub, and a light and dark switch.
    • Phones: a slim top bar opens the sidebar as a drawer from the right.
    pnpm dlx @clubedge/create-clubedge-app my-app
    pnpm clubedge upgrade   # existing projects
  39. A docs-style dashboard

    The dashboard in both apps now has the layout and colors of the Clubedge docs (#40):

    • Layout. The sidebar sits on the page background, and the page sits beside it in a rounded card that scrolls on its own, with a thin scrollbar. The sidebar collapses with its button or Ctrl/⌘+B, and the dashboard remembers it.
    • Sidebar. A section switcher at the top (Dashboard, plus Settings when an auth provider is selected), the dashboard's sections with the one in view highlighted as you scroll, links to the setup guide and the repository, and an account card at the bottom with the user's email and Settings and Sign out buttons.
    • Top bar. Home and GitHub links, and a menu with a light and dark switch.
    • Phones. A slim bar at the top opens the sidebar as a drawer from the right. The drawer closes by itself if the window grows to the desktop layout.
    • Colors. The docs' neutral palette with the Clubedge blue, scoped to the dashboard: apps/web/src/app/dashboard/_components/dashboard-palette.css for Next.js and the end of apps/start/src/styles.css for TanStack Start. Other pages keep the @clubedge/ui theme, which is unchanged.

    If you changed the dashboard

    • dashboard-shell.tsx replaces app-sidebar.tsx in both apps, and account-button.tsx is now the sidebar's account card. pnpm clubedge upgrade merges the new files with your edits and marks the lines both sides changed.
    • The dashboard page passes the switcher entries and the account card to the shell; edit them there.

    Tests

    • The settings browser test opens the settings page from the sidebar's account card.

    Create a project with it using CLI 0.17.0 or later, and update an existing one with pnpm clubedge upgrade.

  40. Phase 13: the default Starter moves to v0.14.0. The CLI's own code is unchanged; everything new comes from the Starter's manifest.

    What's new in generated projects

    • Account settings page at /settings when an auth provider is selected. Users can set a display name, change their password, which signs out their other sessions, and delete their account. Deletion is blocked while a subscription is active. Supabase projects set SUPABASE_SECRET_KEY to allow deletion.
    • Browser error reporting with observability on. Uncaught errors, unhandled rejections, and render errors caught by the new error pages are all reported. With otel they go through /api/client-errors; with sentry they go to Sentry's browser SDK, loaded only when a DSN is set.
    • Sentry source maps: builds with SENTRY_AUTH_TOKEN, SENTRY_ORG, and SENTRY_PROJECT upload the browser source maps to Sentry, then delete them so they are never served.
    • Auth emails through the jobs queue when both email and background jobs are selected, with retries and backoff.
    pnpm dlx @clubedge/create-clubedge-app my-app --auth better-auth --observability sentry
    pnpm clubedge upgrade   # existing projects
  41. Account settings

    A settings page at /settings, linked from the dashboard, when an auth provider is selected (#38):

    • Profile. Users set or clear a display name.
    • Password. Changing it needs the current password, and signs out the user's other sessions with both Better Auth and Supabase.
    • Delete account. It needs the password, and removes the user's profile and the data that depends on it before the auth account goes. If that cleanup fails, the account is kept so the user can try again. With payments, an active subscription has to be cancelled first. Supabase needs its secret key for this: set SUPABASE_SECRET_KEY.
    • Password checks are limited to 10 a minute per user, and are refused while the rate limiter is unavailable.

    Browser errors and source maps

    When observability is on, errors in the browser are reported like server errors (#37):

    • What is reported. Uncaught errors, unhandled promise rejections, and render errors stopped by an error boundary. New error pages (app/error.tsx for Next.js, the root route's errorComponent for TanStack Start) show a "Try again" message and report the error.
    • Where it goes. With otel, the browser posts reports to /api/client-errors, which keeps only the expected fields, drops query strings, caps their size, and rate-limits each address. With sentry, the page loads Sentry's browser SDK only when a DSN is set; the settings are read at runtime, not baked into the build.
    • Source maps. Sentry builds with SENTRY_AUTH_TOKEN, SENTRY_ORG, and SENTRY_PROJECT set make source maps for the browser bundle, upload them, and delete them so they are never served.

    Auth emails through the jobs queue

    With both email and background jobs selected, verification and password-reset emails are sent by a send-email job with retries and backoff, so a slow or failing email provider never delays sign-up (#36).

    Tests

    • Unit tests for the new auth provider methods (password change, account deletion), the profile helpers on PGlite, the client error report parser, the bounded request-body reader, and the source map upload.
    • Browser tests for the settings page with Better Auth and Supabase, and for browser error reports reaching a fake collector.
    • CI prints the page snapshot of a failed browser test and uploads its trace.

    Also

    • Pages hydrate in development on 127.0.0.1 (allowedDevOrigins).
    • Links styled as buttons use buttonVariants, as the shadcn docs recommend, instead of Button rendering a link.

    Create a project with it using CLI 0.16.0 or later, and update an existing one with pnpm clubedge upgrade.

  42. Phase 11: commands for living with a generated project. The default Starter stays v0.13.1.

    What's new

    • status shows the project's Starter release, framework, modules, and Git state, whether a newer Starter release exists, and the command to run next. It asks npm for the newest release and still works offline.
    • doctor checks Node.js and pnpm against the project's versions, installed dependencies, the lockfile, and the env file against the example. It then runs pnpm check:services, and --no-services skips that. It exits with an error when a check fails, so it also works in CI.
    • Several modules in one change: add email resend payments stripe and remove storage payments apply as one merge. Requirements are checked after every change, so related changes such as Supabase Auth with Supabase Storage work together.
    • Conflict summary: after a change, each conflicted file is listed with its number of conflict blocks.
    • Upgrade summary: upgrade lists the Starter releases it crosses, with the sections of their release notes, before merging.

    Fixes

    • A finished command no longer exits with an error when Windows briefly locks the downloaded Starter's temporary folder.

    CI

    • Generated projects are tested on macOS as well as Linux and Windows.
    • The release workflow waits up to 15 minutes for npm to serve a new version.
    pnpm clubedge status
    pnpm clubedge doctor
    pnpm clubedge add email resend payments stripe
  43. Patch release. Defaults to Starter v0.13.1.

    Fix

    • In projects with background jobs or observability, a configuration error at startup, such as a missing DATABASE_URL, no longer stops the server. Pages that need no database keep working, and the error is reported once.

    Existing projects can pick up the fix with:

    pnpm clubedge upgrade
  44. Fix

    • In projects with background jobs or observability, a configuration error at startup, such as a missing or invalid DATABASE_URL or an invalid OTEL_* or SENTRY_* value, no longer stops the server. Before, every page answered "Internal Server Error", the landing page and /api/health included. Now the error is reported once, the jobs worker or observability stays off, and pages that need no database keep working. (#33)

    Tests

    • Unit tests for the jobs and observability startup hooks with invalid settings.
    • CI now starts every generated project with an empty DATABASE_URL and requires /api/health and the landing page to answer.

    Existing projects get the fix with pnpm clubedge upgrade once CLI 0.14.1 is published.

  45. Defaults to Starter v0.13.0, which adds observability.

    What's new

    • Observability (--observability otel|sentry).
      • Every request is traced, along with calls through the email, storage, and payments composition roots.
      • Server errors and failed background jobs are reported once each, with the request's method and path.
      • otel exports over OTLP to any collector or vendor; sentry uses Sentry's Node.js SDK.
      • Nothing is sent until OTEL_EXPORTER_OTLP_ENDPOINT or SENTRY_DSN is set.
      • The rest of the app only calls small hooks in @clubedge/core, so the vendor SDK stays in one package.
    • --observability needs no CLI code: the flag, help text, and prompt come from the Starter's manifest.

    Tests

    • CI generates an observability project, and the change-modules job adds the observability module to an existing project.
    • The release smoke test includes --observability otel.
    pnpm dlx @clubedge/create-clubedge-app my-app --observability otel

    Existing projects can add it with pnpm clubedge add observability otel or pnpm clubedge add observability sentry.

  46. Observability

    A new optional module, observability, with the options otel, sentry, and none (default):

    • Hooks in @clubedge/core. reportError, traced, and withSpans have no dependencies and default to the console. The rest of the app calls only these, so the vendor SDK stays in its provider package, and none removes it completely.
    • Two providers.
      • otel: OpenTelemetry over OTLP/HTTP to any collector or vendor. Traces go to /v1/traces, and errors go to /v1/logs as ERROR log records and are recorded on their span.
      • sentry: @sentry/node 11. Spans from Next.js and pg-boss become Sentry spans, and no user details, cookies, query strings, or request bodies are sent.
    • What is traced and reported.
      • Every request, plus calls through the email, storage, and payments composition roots (email.send, storage.upload, and so on).
      • Server errors from pages, routes, server actions, and server functions, along with handled errors and failed background jobs. Each error is reported once, with the request's method and path.
    • Startup. Next.js uses instrumentation.ts with onRequestError. TanStack Start uses a Nitro plugin plus request and server-function middleware.
    • Nothing is sent until configured: set OTEL_EXPORTER_OTLP_ENDPOINT or SENTRY_DSN.

    Tests

    • Unit tests use in-memory exporters for OpenTelemetry and an in-memory transport for Sentry.
    • A browser test checks that request traces reach a fake collector and a fake Sentry, for both frameworks.

    Also

    • Existing console.error calls in the apps and in Better Auth now go through reportError, and failed job attempts are reported with the job's name.

    Not yet included: browser error reporting, and Sentry source maps.

    Create a project with it using CLI 0.14.0 or later: pnpm dlx @clubedge/create-clubedge-app my-app --observability otel.

  47. Defaults to Starter v0.12.0, which adds background jobs.

    What's new

    • Background jobs (--jobs pg-boss). Jobs are stored in the project's PostgreSQL by pg-boss and run by a worker inside the app server, with retries, timeouts, and cron schedules. On Vercel and Netlify, where no server keeps running, a scheduler calls /api/jobs/run instead. Job code depends on a provider-neutral JobQueue interface.
    • --jobs needs no CLI code: the flag, help text, and prompt come from the Starter's manifest.

    Fixes

    • Generated lockfiles are no longer rejected as broken when pruning an optional peer leaves a package with no dependencies, such as pg-pool once pg is pruned for --jobs none. Such entries are now written as {}, the way pnpm writes them.

    Tests

    • CI generates a jobs project, and the change-modules job adds the jobs module to an existing project.
    • The release smoke test includes --jobs pg-boss.
    pnpm dlx @clubedge/create-clubedge-app my-app --jobs pg-boss

    Existing projects can add it with pnpm clubedge add jobs pg-boss.

  48. Background jobs

    A new optional module, jobs, with the options pg-boss and none (default):

    • Jobs in your PostgreSQL. pg-boss stores jobs in the project's own database and manages its tables in the pgboss schema, so there is no new service.
    • A worker inside the app server. instrumentation.ts starts it in Next.js, and a Nitro plugin starts it in TanStack Start, in pnpm dev and in production. No deploy target needs a second process.
    • Retries, timeouts, and schedules come from each job's definition (defineJob), with backoff and cron expressions.
    • Serverless hosts. On Vercel and Netlify the worker is off, and a scheduler calls GET /api/jobs/run with CRON_SECRET to run the jobs that are due.
    • Dashboard card. Queues a sample job and lists the user's recent runs.
    • Provider-neutral. Job definitions, routes, and the card depend on the JobQueue interface in @clubedge/jobs, so another queue can be added without a refactor.

    Tests

    • Unit tests run pg-boss's real SQL against PGlite.
    • A browser test queues the sample job and waits for the worker, against Docker, the Supabase stack, and the no-Docker PGlite server, for both frameworks.

    Also

    • TanStack Start's vite.config.ts sets Nitro's serverDir to ./src/nitro, so Nitro runs any plugins in src/nitro/plugins at startup.
    • ROADMAP.md marks phases 7 to 9 done and splits Phase 10 into 10.1 (jobs) and 10.2 (observability).

    Create a project with it using CLI 0.13.0 or later: pnpm dlx @clubedge/create-clubedge-app my-app --jobs pg-boss.

  49. Defaults to Starter v0.11.0, which adds payments.

    What's new

    • Payments (--payments stripe): Stripe Checkout, the customer portal, and verified webhooks that keep a subscriptions table in sync. Billing code depends on a provider-neutral PaymentProvider interface, so other providers can be added without a refactor. Requires --auth supabase or --auth better-auth.
    • --payments needs no CLI code: the flag, help text, and prompt come from the Starter's manifest.
    • CI and the release smoke test now generate and check payments projects, and the change-modules job adds the payments module to an existing project.
    pnpm dlx @clubedge/create-clubedge-app my-app --auth better-auth --payments stripe

    Existing projects can add it with pnpm clubedge add payments stripe.

  50. Highlights

    • Payments. create-clubedge-app 0.12.0 adds --payments stripe (it needs an auth module), and pnpm clubedge add payments stripe adds it to an existing project:

      • A billing card on the dashboard: checkout for each plan, then the plan, its status, and its renewal date, and "Manage billing" opens Stripe's customer portal.
      • /api/webhooks/payments: verifies every webhook's signature, applies each event once, and reads the subscription's current state from Stripe. Retried and out-of-order deliveries are safe.
      • Plans are defined in src/config/plans.ts with the app's own ids, and each maps to a Stripe price (STRIPE_PRICE_<PLAN>).
      • Access checks: server code calls getBilling().subscriptionFor(userId) and isEntitled.
    • Provider-neutral by design. @clubedge/payments holds the PaymentProvider interface, the billing logic, and the subscriptions and payment_events tables, with their own migrations. Every row records its provider. @clubedge/payments-stripe is the only Stripe code, and each app's src/server/payments.ts is the only file that names it. Another provider is a new package implementing the interface; billing logic, tables, routes, and pages stay the same.

    • Tested end to end. CI runs the whole flow in both frameworks with a real database:

      1. sign up and start checkout;
      2. a signed webhook is applied once, a duplicate changes nothing, and a forged one is refused;
      3. the dashboard shows the plan;
      4. the billing portal opens.

      It uses a stand-in for Stripe's API, with webhooks signed exactly as Stripe signs them.

    Other changes

    • upsertUserProfile returns the user's id, and ensureUserId reads before writing.
    • TanStack Start's cross-site check skips /api/webhooks/, whose handlers verify signatures.
    • check:services checks the Stripe key with a read-only request.
    • The production migrator from v0.10.0 applies the payment migrations automatically.

    Compatibility

    Use create-clubedge-app 0.12.0 or newer to scaffold this release.

  51. Highlights

    • Deployment. Defaults to Starter v0.10.0 (commit 9d8fec71):

      pnpm dlx @clubedge/create-clubedge-app my-app --deploy fly    # or railway, render, vercel, netlify
      pnpm clubedge add deploy vercel                               # in an existing project
      • --deploy docker|fly|railway|render|vercel|netlify: each option adds that platform's config. Migrations run before release where the platform supports it, and during the build on Vercel and Netlify.
      • A migrator in the production image: node /app/migrate.mjs, for release and pre-deploy commands.
      • A manual deploy workflow: with docker, it publishes the image to your repository's GitHub Container Registry.
      • A readiness endpoint: /api/ready checks the database, next to /api/health.

      --deploy comes from the Starter's manifest; the CLI has no deploy-specific code.

    • Tested: CI generates Fly.io and Vercel projects, and the release smoke test generates a Netlify one.

  52. Highlights

    • Deployment module. create-clubedge-app 0.11.0 adds --deploy (also available later with pnpm clubedge add deploy <option>):

      Option Adds Migrations
      docker (default) The production image, for any container host A one-off node /app/migrate.mjs task before rollout
      fly fly.toml The release command, before the new version replaces the old
      railway railway.json The pre-deploy command
      render A render.yaml Blueprint listing the project's variables The pre-deploy command (paid instance types)
      vercel apps/web/vercel.json During the build
      netlify apps/web/netlify.toml During the build

      TanStack Start builds for Vercel and Netlify without code changes, because its build detects the platform. SETUP has a guide per platform and a production variable list matching the project's modules.

    • A migrator in the production image. node /app/migrate.mjs applies every package's migrations with only DATABASE_URL, so platforms can migrate before a release goes live. It includes only the migrations of the project's modules, and skips migrations already applied.

    • A manual deploy workflow. .github/workflows/deploy.yml deploys on demand with the chosen platform's tooling. With docker, it publishes the image to the repository's GitHub Container Registry (ghcr.io/<owner>/<repository>), without any secret.

    • Readiness endpoint. /api/ready returns 200 when the database answers and 503 otherwise. /api/health stays the liveness check, so a database blip doesn't restart the app.

    Tested

    CI runs the image's migrator twice against PostgreSQL. It also checks each platform's config, builds TanStack Start with the Vercel and Netlify presets, lints every platform's deploy workflow with actionlint, and checks /api/ready with and without a database.

    Compatibility

    Use create-clubedge-app 0.11.0 or newer to scaffold this release.

  53. Highlights

    • Email, password reset, and email verification. Defaults to Starter v0.9.0 (commit e858d0b5):

      pnpm dlx @clubedge/create-clubedge-app my-app                   # --email smtp is the default
      pnpm dlx @clubedge/create-clubedge-app my-app --email resend
      pnpm clubedge add email resend                                  # in an existing project
      • Email module: --email smtp|resend|none. Local projects use Mailpit or the Supabase inbox, and without a provider, emails are printed to the log in development.
      • Password reset: "Forgot password?" for both Supabase Auth and Better Auth.
      • Email verification: for Better Auth, optionally required before sign-in.
    • Modules come from the Starter. Any --<module> <option> flag is validated against the Starter's manifest, and the help text and the customize prompt list the Starter's own modules. --email is the first module to use this: the CLI has no email-specific code.

    Fixes

    • Switching between modules that use different environment variables (for example smtp to resend) no longer leaves a doubled blank line in .env.local.
  54. Highlights

    • Email module. create-clubedge-app 0.10.0 adds --email:

      Option What the project gets
      smtp (default) Any provider's SMTP endpoint (SMTP_URL), or a local inbox
      resend Resend's HTTP API (RESEND_API_KEY), without an SDK
      none No email packages, files, or variables

      Server code calls email.send({ to, subject, text, html }) from @/server/email.

      • Without a provider configured: development prints emails, links included, to the server log, and production refuses to send.
      • Local inboxes: --infra docker adds Mailpit (inbox at http://localhost:8025), and --infra supabase routes the app's email to the stack's inbox.
      • pnpm check:services: verifies SMTP or the Resend key without sending anything.
    • Password reset. "Forgot password?" works with both auth providers:

      • Better Auth emails a one-hour, single-use link through the email module.
      • Supabase sends its own email.
      • The form answers the same way for every address, and response times don't reveal whether an account exists.
    • Email verification for Better Auth. New accounts get a confirmation link. BETTER_AUTH_REQUIRE_EMAIL_VERIFICATION=true refuses sign-in until the link is opened.

    • Tested with real emails. CI reads the messages from Mailpit and from the Supabase inbox, then runs password reset (and required verification for Better Auth) in the browser for both frameworks.

    Fixes

    • Session lost after the auth callback (Next.js). The callback redirected to a URL built from request.url, which can name a different host than the browser used (for example localhost for 127.0.0.1 in development). The session cookies it had just set didn't reach that host, so Supabase confirmation and reset links lost their session. The callback now redirects with a relative path.

    Compatibility

    Use create-clubedge-app 0.10.0 or newer to scaffold this release. It reads --email from this Starter's manifest.

  55. Highlights

    • pnpm clubedge in every new project. Defaults to Starter v0.8.0 (commit 0b77577a), whose projects have a clubedge script:

      pnpm clubedge add                    # choose a module and option from a list
      pnpm clubedge add auth better-auth
      pnpm clubedge remove storage
      pnpm clubedge upgrade
    • Menus for add and remove. Without a module or option, they ask for them. Each module shows its current option, and only options the project can use are offered (for example, Supabase Storage only with Supabase Auth). Without a terminal, missing arguments remain an error.

    • Shorter suggestions. Messages suggest pnpm clubedge ... in projects that have the script, and the screen after creating a project points to it.

    • Tested on Windows. CI runs the CLI's checks and tests on Windows. It also generates projects there, changes a module, requires an exact match with a fresh project, and installs, lints, typechecks, tests, and builds them.

  56. Highlights

    • pnpm clubedge in every project. A root script runs the latest create-clubedge-app inside the project:

      pnpm clubedge add                    # choose a module and option from a list
      pnpm clubedge add auth better-auth   # add a module or switch its option
      pnpm clubedge remove storage
      pnpm clubedge upgrade                # move to the newest Starter release

      These commands merge the change into your code instead of overwriting it. Files you never touched are updated, your edits are kept, and lines you both changed get conflict markers. They need a clean Git tree, so git diff shows the result. The README's command section describes them.

    • Windows unit tests. The maintainer workflow runs the typecheck and unit tests on Windows, covering the local PGlite server, folder storage, and scripts.

    Compatibility

    Use create-clubedge-app 0.9.0 or newer to scaffold this release. The script calls @latest, so a project's pnpm clubedge also uses the newest CLI.

  57. Highlights

    Change a project after creating it, and keep it current with the Starter. Your own edits are merged, not overwritten.

    cd my-app
    pnpm dlx @clubedge/create-clubedge-app add auth better-auth      # add a module, or switch an option
    pnpm dlx @clubedge/create-clubedge-app remove storage
    pnpm dlx @clubedge/create-clubedge-app@latest upgrade            # move to the newest Starter release
    pnpm dlx @clubedge/create-clubedge-app upgrade --ref v0.8.0      # or a specific tag, branch, or commit
    • add / remove change one module. upgrade moves the project to a newer Starter release with the same modules, and records the new version.
    • How the merge works: the CLI renders your project as it was generated (from the Starter commit and modules recorded in package.json) and as it would be after the change, then merges the difference into your code:
      • Files you never touched are updated, added, or deleted.
      • Files you edited keep your edits. Lines that both sides changed get <<<<<<< yours / >>>>>>> clubedge markers.
      • Your own files are never touched.
    • .env.local keeps your values. Generated defaults follow the change (for example DATABASE_URL when switching to --infra local), unused defaults are removed, and new variables are added in place.
    • Safe by default: the project must be committed first, so git diff shows the result and you can undo it. --dry-run previews the change, and --force skips the check.
    • Upgrades never add services: modules a newer Starter introduces start as none where possible.

    Fixes

    • A Starter fetched with --ref now records its commit, so those projects can be changed and upgraded later.
    • Creating a project directly under a Windows drive root (D:\my-app) no longer fails with EPERM.

    Defaults to Starter v0.7.0 (commit 3b811476).

  58. Highlights

    • No-Docker local mode with --infra local. pnpm dev also starts PostgreSQL (PGlite, PostgreSQL compiled to WebAssembly) and applies the migrations, and files go to a local folder, so a new project runs with nothing installed:

      pnpm dlx @clubedge/create-clubedge-app my-app --infra local --auth better-auth
      cd my-app
      pnpm dev
      --infra Local services
      docker (default) Docker Compose: PostgreSQL, plus Redis and S3-compatible storage
      supabase The Supabase CLI's local stack
      local No Docker: PGlite and a local folder
      none Your own or hosted services
    • Smaller installs. Optional peer links to packages that only left-out modules installed are removed from the generated lockfile. Projects without --infra local don't download PGlite, and projects without Better Auth don't install its optional peers.

    • Defaults to Starter v0.7.0 (commit 3b811476).

  59. Highlights

    • No-Docker local mode. create-clubedge-app 0.7.0 adds --infra local, so a project runs its development services with nothing installed:

      pnpm dlx @clubedge/create-clubedge-app my-app --infra local --auth better-auth
      cd my-app
      pnpm dev   # starts the app and a local PostgreSQL, and applies the migrations
      Service Local mode
      PostgreSQL packages/local-db runs PGlite, PostgreSQL compiled to WebAssembly, and serves it over the PostgreSQL protocol on 127.0.0.1:5433. The app, migrations, and Drizzle Kit keep using DATABASE_URL. Data is kept in .data/pglite.
      File storage Uploads go to .data/storage while STORAGE_DIRECTORY is set (@clubedge/storage/file-system).
      Cache Process memory.

      pnpm infra:up runs the database on its own, and pnpm infra:reset deletes .data/. pnpm check:services checks the database and the folder. Better Auth works fully offline; Supabase Auth and Supabase Storage still need a Supabase project.

    • Safe with several connections. PGlite has a single session, so the local server makes clients take turns: a client keeps the session for a whole request (through Sync, including across Flush) and while its transaction is open. A client that disconnects mid-transaction has it rolled back. The off-the-shelf PGlite socket server can mix up statements from concurrent connections, so the Starter ships its own small server, tested against postgres.js.

    • Tested end to end in CI. For both frameworks, local-mode projects start the database, migrate, pass check:services, and complete a Better Auth sign-up, sign-out, and sign-in in the browser. A restart then confirms that the data was kept.

    Changes

    • Folder storage safety. Uploads stream to a temporary file and are renamed when complete, and keys that would leave the folder (including through symbolic links) are rejected.
    • Every infra option sets dev. A manifest test guards core scripts against removal by the CLI.

    Compatibility

    Use create-clubedge-app 0.7.0 or newer to scaffold this release. Older CLIs don't offer --infra local, and without 0.7.0's lockfile pruning every generated project would also download PGlite.

  60. Highlights

    • Local services with --infra. Choose how a new project runs its services on your machine. The environment examples point at them, so the app works right after pnpm infra:up and pnpm db:migrate.

      Option What the project gets
      docker (default) docker-compose.dev.yml with PostgreSQL, plus Redis and S3-compatible storage when those modules are selected. Scripts: infra:up, infra:down, infra:reset, infra:logs
      supabase supabase/config.toml for the Supabase CLI's local stack (PostgreSQL, Auth, Storage, Studio). Scripts: infra:up, infra:down, infra:reset, infra:status
      none No local service files or scripts
      pnpm dlx @clubedge/create-clubedge-app my-app
      cd my-app
      pnpm infra:up && pnpm db:migrate && pnpm check:services && pnpm dev
    • pnpm check:services in every project checks each configured service with a real round trip.

    • Module-defined scripts. Module options can set root package.json scripts. Scripts that only belong to options you left out are removed.

    • Defaults to Starter v0.6.0 (commit bf5a5e80).

    Fixes

    • Tag verification on Windows. Scaffolding a downloaded Starter release failed on Windows, because the annotated tag resolved to the tag object instead of its commit. The default scaffold from the bundled Starter was not affected.
  61. Highlights

    • Local infrastructure as a module. create-clubedge-app 0.6.0 adds --infra to choose how a new project runs its services on your machine. The environment examples point at the chosen services, so a project works right after pnpm infra:up and pnpm db:migrate.

      Option What the project gets
      docker (default) docker-compose.dev.yml with PostgreSQL 17, plus Redis with cache=redis and S3-compatible storage (adobe/s3mock, bucket app) with storage=s3. Ports listen on 127.0.0.1 only, and health checks make infra:up wait until the services are ready. Scripts: infra:up, infra:down, infra:reset, infra:logs.
      supabase supabase/config.toml for the Supabase CLI's local stack: PostgreSQL, Auth, Storage, Studio, and an inbox that captures email. Email confirmation is off locally, and the app bucket is created when Supabase Storage is selected. Scripts: infra:up, infra:down, infra:reset, infra:status.
      none No service definitions or infra:* scripts. Bring your own or hosted services.
    • pnpm check:services. Checks every configured service with a real round trip: a PostgreSQL query (plus Better Auth's tables when used), a Redis write and read, and an S3 upload, download, and delete. It retries for 30 seconds while services start and exits non-zero on failure.

    • Tested with real services in CI. For both frameworks:

      • Docker projects start their services, migrate, pass check:services, and complete a Better Auth sign-up, sign-out, and sign-in in the browser.
      • Supabase projects start the local Supabase stack, then complete the same flow with Supabase Auth, which is now tested end to end for the first time.

    Changes

    • Path-style S3 with a custom endpoint. storage-s3 uses path-style addressing by default when a custom endpoint is set (s3mock, MinIO, R2). Pass forcePathStyle: false to turn it off.
    • Playwright database. Playwright uses an explicitly set DATABASE_URL instead of always replacing it.
    • Documentation. README and SETUP have a "Local services" section matching the chosen option.
    • No MinIO. Local S3 storage uses adobe/s3mock, because MinIO no longer publishes free community Docker images.

    Compatibility

    Use create-clubedge-app 0.6.0 or newer to scaffold this release. Module-defined scripts such as infra:up are new in 0.6.0, and older CLIs do not apply them.

  62. Highlights

    • Choose your services. --auth, --storage, and --cache select modules, and interactive runs offer to customize them after the framework question. Anything left out is removed completely: its package, provider SDK, environment variables, documentation, and lockfile entries.

      Flag Options
      --auth supabase (default), better-auth, none
      --storage s3 (default), supabase (needs Supabase Auth), none
      --cache redis (default; memory without REDIS_URL), memory
      pnpm dlx @clubedge/create-clubedge-app my-app --auth none --storage none --cache memory
    • Better Auth. --auth better-auth keeps users and sessions in your own PostgreSQL.

    • Invalid combinations fail before anything is written, with an explanation such as "Supabase Storage needs Supabase Auth (--auth supabase)."

    • Docs that match the project. README, SETUP, AGENTS, env examples, and CI keep only the sections for the chosen framework and modules.

    • Provenance records the modules in package.json and the README.

    • Defaults to Starter v0.5.0 (commit d9375c2c).

    Compatibility

    • Reads template schemas 1 to 3. Starter releases before v0.5.0 offer no module choices.
    • Older CLI versions cannot scaffold Starter v0.5.0 or newer; they stop with a request to update.

    Verification

    The published package generated four projects, each verified for its recorded framework, Starter pin, and auth module, then installed, typechecked, tested, and built: Next.js and TanStack Start with the defaults, minimal Next.js (--auth none --storage none --cache memory), and TanStack Start with Better Auth.

  63. Highlights

    • Optional modules. Template schema 3 describes authentication, file storage, and caching as modules. create-clubedge-app 0.5.0 uses it for --auth, --storage, and --cache; anything left out is removed completely, including its package, provider SDK, environment variables, documentation, and lockfile entries.

      Module Options
      auth supabase (default), better-auth, none
      storage s3 (default), supabase (needs Supabase Auth), none
      cache redis (default; memory without REDIS_URL), memory
    • Better Auth. packages/auth-better-auth keeps users and sessions in your own PostgreSQL, in auth_* tables with their own migrations. It has the same behavior as Supabase Auth: rate-limited sign-in, profile sync, and a protected dashboard.

    • One package per provider. auth-supabase, auth-better-auth, storage-s3, storage-supabase, and cache-redis hold the provider SDKs; auth, storage, and cache keep only interfaces and in-memory implementations.

    • Documentation that matches the project. README, SETUP, AGENTS, the env examples, and CI keep only the sections for the chosen framework and modules.

    Fixes

    • Dashboard protection with run-time configuration (Next.js). Auth settings were inlined at build time, so an image built without them but run with them served a prerendered dashboard without an auth check. Settings are now read at run time, and the dashboard always renders per request (#8).
    • Generated projects' CI. Since v0.4.0, generated projects inherited CI jobs for both apps and failed. ci.yml now covers the project's single app; the Starter's two-framework and module checks live in a maintainer-only workflow (#9).
    • Cache helpers without Redis. cacheGet and cacheSet now use process memory when REDIS_URL is unset; previously they silently did nothing (#8).

    Breaking changes for forks

    • Provider imports moved: @clubedge/auth/supabase is now @clubedge/auth-supabase; @clubedge/storage/s3 is now @clubedge/storage-s3; @clubedge/storage/supabase is now @clubedge/storage-supabase; the Redis helpers moved to @clubedge/cache-redis.
    • STORAGE_PROVIDER is removed. A project uses one storage provider, chosen when it is created.
    • Each provider module validates its own environment variables (parseEnv); src/env/server.ts keeps only the core variables. isAuthConfigured in the Next.js app is now a function.
    • The TanStack Start route tree (routeTree.gen.ts) is generated, no longer committed.
    • db:generate, db:migrate, and db:check run in every package with migrations.

    Compatibility

    Scaffolding this release needs create-clubedge-app 0.5.0 or newer, because the manifest uses schema 3.

  64. Highlights

    • Choose your framework. --framework next|tanstack-start scaffolds the Starter as a Next.js or TanStack Start app. Interactive runs ask which one to use; Next.js stays the default.
    • Same layout either way. The chosen app lives in apps/web as @clubedge/web, with its environment example and Dockerfile at the project root, so root scripts, Docker commands, and browser tests work the same for both frameworks.
    • Frozen installs keep working. pnpm-lock.yaml is updated to match the chosen app.
    • Provenance now records the framework in the generated package.json and README.
    • Defaults to Starter v0.4.0 (commit fc01d33b), which adds the TanStack Start app and template schema 2.

    Compatibility

    • Reads template schema 1 and 2. Starter releases before v0.4.0 offer only next.
    • Older CLI versions cannot scaffold Starter v0.4.0 or newer; they stop with a request to update.

    Verification

    The published package generated a Next.js and a TanStack Start project, verified the recorded framework and Starter pin, and installed, typechecked, tested, and built both.

  65. Highlights

    • TanStack Start version of the starter. apps/start is the same application as apps/web (Next.js), built on the same packages with no changes to them: landing page, login, dashboard guard, rate-limited sign-in and sign-up, user profile sync, security headers, and /api/health.
      • Auth forms post to server routes that answer with 303 redirects, so they work without JavaScript.
      • Request middleware refreshes sessions, rejects cross-site requests, and sets security headers.
      • Production output is a self-contained Nitro bundle, with its own Dockerfile.
    • Template schema 2. clubedge.template.json lists every framework's app, env example, and Dockerfile. create-clubedge-app 0.4.0 uses it for --framework next|tanstack-start. Generated projects always get the chosen app in apps/web as @clubedge/web.
    • One browser suite for both apps. The Playwright tests moved to e2e/; E2E_APP=start pnpm test:e2e runs them against the TanStack app.
    • CI covers both apps: E2E, Docker build and health check, and production builds made with the env examples copied into place, as in generated projects.

    Breaking changes for forks

    • scripts/start-standalone.mjs moved to apps/web/scripts/start-standalone.mjs.
    • Browser tests moved from apps/web/e2e/ to e2e/.
    • pnpm build runs turbo run build for every app, and pnpm start delegates to @clubedge/web's start script.

    Fixes

    • The TanStack Start env example no longer sets NODE_ENV, which made vite build emit development JSX when the example was copied into place (#6).

    Compatibility

    Scaffold this release with create-clubedge-app 0.4.0 or newer. Older CLI versions stop with a request to update, because the manifest uses schema 2.

  66. Highlights

    • Defaults to Clubedge Starter v0.3.0 (60f16919), which adds the clubedge.template.json template manifest.
    • Rewritten in TypeScript, organized into argument parsing, planning, execution, and steps.
    • The pinned Starter is bundled into the package, so the default scaffold no longer downloads from GitHub or requires Git.
    • Reads the Starter's template manifest and refuses Starters with a newer template schema, with guidance to update the CLI.
    • New options: --dry-run, --yes, and --template-dir.
    • Removes everything it wrote when scaffolding fails, instead of leaving a partial project.
    • Checks the Node.js version up front and falls back to corepack pnpm when pnpm is not on the path.
    • Never copies local environment files, dependencies, or build output from a template directory.

    Install

    pnpm dlx @clubedge/create-clubedge-app@0.3.0 my-app
  67. Highlights

    • Adds clubedge.template.json, a versioned template manifest (schema version 1) that tells create-clubedge-app where the app, site config, env example, and Docker image live, and which files stay out of generated projects.
    • Adds a manifest test that fails when a referenced path is missing or the Docker image name drifts from the package scripts.
    • Updates the contributing conventions for the manifest.

    Compatibility

    Generated with create-clubedge-app 0.3.0 or newer. Older CLI versions still scaffold this release through their legacy path.

  68. Tested against Clubedge Starter v0.2.0 (commit db15901d).

    • Publish the default Starter pin in the clubedge field of package.json. The CLI and release workflow read it from there, and the npm registry exposes it so the website always shows the Starter each CLI version scaffolds.
    • Optionally trigger a website rebuild after a release when the SITE_DEPLOY_HOOK secret is configured.
    pnpm dlx @clubedge/create-clubedge-app my-app
  69. Tested against Clubedge Starter v0.2.0 (commit db15901d).

    • Default to Starter v0.2.0: project identity in site.json, dashboard protection, rate-limited sign-in and sign-up, and lazy environment validation.
    • Write the project name to apps/web/src/config/site.json instead of replacing strings in source files. Starter v0.1.x refs keep the previous behavior.
    pnpm dlx @clubedge/create-clubedge-app my-app
  70. Added

    • Project identity in apps/web/src/config/site.json (name, description, service id, links).
    • /dashboard protection with getPageUser() and sign-out controls.
    • Rate limiting for sign-in and sign-up, with an in-memory fallback when Redis is not configured.
    • Same-origin validation for post-login redirects; next is preserved through the auth flow.
    • users profile sync on sign-in, sign-up, and email callback.

    Changed

    • Server environment is validated on first use; the app builds without DATABASE_URL.
    • requireUser() throws a 401 AppError.
    • Default post-login destination is /dashboard.

    Breaking changes for forks

    • env from @/env/server → getServerEnv()
    • db from @/db → getDb()
    • createRateLimiter() no longer returns null

    Generate a project

    pnpm dlx @clubedge/create-clubedge-app my-app --ref v0.2.0
  71. Bump CLI version to 0.1.13. Tested against Clubedge Starter v0.1.1 (commit 0be0c18d).

  72. Verify the default Starter tag resolves to commit 4334121e4ce46a331d7c542c6025fdfe2b8c0657, record Starter provenance in generated projects, and smoke-test the published npm package after release.

  73. Use the tested Clubedge Starter v0.1.0 release by default. Generated projects record CLI and Starter provenance. CI validates the pinned release and performs scheduled compatibility checks against Starter main.

  74. First versioned Clubedge Starter release. This release is the tested default reference for create-clubedge-app 0.1.4.