Skip to content

Changelog

What shipped, release by release.

What each release actually ships, by area. Entries describe implemented behaviour only; planned work lives on the roadmap.
Latest
v0.2.0
Releases
2
Entries
9

v0.2.0

1 area

  1. Codexa runs on Cloudflare

    platform · cloudflare · runtime

    The app moves to Cloudflare Workers, its data to D1, snapshots and hosted sites to R2, project runtimes to one Cloudflare Container per project, presence to Durable Objects and background jobs to Cron Triggers.

    What ships

    Release 0.2.0 moves the whole hosted service onto Cloudflare. Email is the one exception: account emails go through Customer.io. Features work as they did in 0.1.0; this entry lists where each part now runs and what changed as a result.

    Database on D1

    • Accounts, workspaces, projects, project files, billing records and jobs live in Cloudflare D1 (SQLite) instead of PostgreSQL.
    • A file can be up to 1 MB and a project can hold up to 2,000 files. Storage is metered per workspace, as before.

    Snapshots and hosted sites on R2

    • Snapshot contents are stored in Cloudflare R2. The database keeps each snapshot's name, file count and size.
    • Codexa hosting builds the site in the project's container, uploads the output to R2 and serves the live deployment from the Worker. Rollback switches which deployment is live, without rebuilding.

    Runtime on Cloudflare Containers

    • Each project gets its own Cloudflare Container, owned by a Durable Object. It starts on demand for a preview, Run, a command or a build, and stops after 30 minutes without requests.
    • Inside the container the runner works as before: allow-listed commands only, run as an unprivileged user, with output streamed to the Logs panel. The container is the isolation boundary between projects.
    • Previews are served at a per-project preview address that the Worker forwards to that project's container.

    Presence and background jobs

    • "Who's online" in the editor runs on a Durable Object per project, with the same protocol as before.
    • Background jobs (email retries, session and token cleanup, usage roll-ups, runtime sweeps) run from a Cron Trigger every 5 minutes.

    For operators

    • npm run setup logs in to Cloudflare, stores the secrets, deploys and creates the database tables. docs/CLOUDFLARE.md in the repository is the step-by-step guide.
    • Without a custom domain Codexa runs on a workers.dev address. Everything works except live preview, Run and Codexa hosting, and the app says plainly that those need a domain.

    Documentation: Projects, Security, Deployment.

v0.1.0

8 areas

  1. Platform foundation

    accounts · api

    Accounts with email verification and password reset, hashed sessions, personal workspaces and the API conventions every endpoint follows.

    What ships

    The first public release of Codexa, 0.1.0, ships the account and API foundation that every other area builds on.

    Accounts

    • Email/password sign-up with verification emails and single-use, expiring tokens.
    • Password reset with the same token mechanism.
    • Sessions as httpOnly cookies; session tokens stored hashed with expiry and revocation.
    • GitHub sign-in when the operator configures an OAuth app; the sign-in page shows the button only in that case.
    • A personal workspace for every account.

    API conventions

    • All JSON endpoints under /api/v1/*, authentication under /api/auth/*, inbound webhooks under /api/webhooks/*.
    • One error shape everywhere: { error: { code, message, details? } } with 400/401/402/403/404/409/429/500.
    • Every handler authenticates, checks workspace role or project access on the server, and validates bodies with zod.
    • Rate limiting on auth, AI and public form endpoints with Retry-After.

    Operator configuration

    Capabilities that depend on external services (email, GitHub, AI providers, Stripe, Razorpay, Vercel, E2B) are detected from server environment variables and rendered as explicit "not configured" states in the product when missing.

    See the API overview and API reference.

  2. Workspace and editor

    editor · projects · snapshots

    Projects from templates with stored files and a storage quota, the Monaco editor with tabs, search and diagnostics, snapshots with diffs and restore, activity and share links.

    What ships

    Projects

    • Starter templates in three families: React + Vite + TypeScript + Tailwind, static HTML/CSS/JS, Node + Express.
    • Files stored in the database with a per-workspace storage quota. (In 0.1.0 that database was PostgreSQL; since 0.2.0 files live in Cloudflare D1 and snapshot contents in R2.)
    • Project settings, soft delete, duplicate (copies variable names, not values).
    • Encrypted environment variables with masked reads and logged reveals.
    • Share links with view or edit access and optional expiry.
    • Activity history.

    Editor

    • Monaco served from Codexa (no CDN), with tabs, file explorer, quick open (Ctrl/Cmd+P), in-file find/replace, project-wide search (Ctrl/Cmd+Shift+F), diagnostics for TypeScript/JavaScript/JSON/CSS, diff view, autosave and Ctrl/Cmd+S.

    Snapshots

    • Named checkpoints with per-file diffs against the current files.
    • One-click restore; the pre-restore state is kept as a snapshot.
    • Automatic snapshot before every AI run.

    Collaboration

    • Realtime presence over WebSockets showing who is viewing which file. Concurrent editing is not included; last save wins.

    Documentation: Projects, Editor.

  3. AI agent

    ai · agent

    Provider abstraction for Anthropic and OpenAI, Build/Ask/Fix modes, tool-based edits, sandbox validation, a two-attempt repair loop and streamed progress.

    What ships

    What ships

    • Provider abstraction with adapters for Anthropic and OpenAI, plus a mock provider for tests. The operator configures the key and default model; without a key the product shows a not configured state and the API returns ai_not_configured.
    • Modes: Build (full tools), Ask (read-only tools), Fix (repair prompt).
    • Tools: list_files, read_file, search_files, write_file, edit_file, delete_file, run_command (allow-listed install/build/test/typecheck), get_logs, propose_plan, finish.
    • Stages streamed over SSE: queued, loading_context, planning, working, validating, repairing, done; events stage, text, tool_call, tool_result, file_change, plan, usage, done, error.
    • Bounds per run: 8,000-character prompt, 40 tool calls, 60 turns, 25 minutes, 16k output tokens per call, 2 repair attempts, 2 provider retries.
    • Snapshot before the first write; review diff, revert and cancel.
    • Conversations per project with the last ten messages as history.
    • Usage recorded against workspace AI request and token quotas, checked before the provider is called.

    Documentation: AI agent, Generations API.

  4. Runtime and previews

    runtime · sandbox · preview

    The runner service with allow-listed commands, sandboxed execution, a host-based preview proxy and streamed logs. Since 0.2.0 the hosted service runs each project in its own Cloudflare Container.

    What ships

    Runner service

    • A separate service (not the Next.js process) that materialises project files and runs commands.
    • Default driver: unprivileged user, Linux user/PID/mount/network namespaces, cgroup memory and process limits, per-command timeouts.
    • Optional Docker and E2B drivers selected by operator configuration.
    • Since 0.2.0, Codexa's hosted service runs the runner inside one Cloudflare Container per project; the container is the isolation boundary and commands run as an unprivileged user. The drivers above remain for self-hosted runners.
    • Allow-listed commands only: install, build, test, typecheck and the template's dev command.

    Previews

    • Start/stop a runtime per project; GET /runtime reports the session and whether the runner is reachable.
    • Host-based proxy mapping one hostname to one sandbox.
    • Logs streamed over SSE (stdout, stderr, system) into the Logs panel.
    • File sync from the editor into the running sandbox.
    • Viewport controls for phone, tablet and desktop widths.
    • Runtime minutes metered against the plan.

    Documentation: Troubleshooting, Security.

  5. Deployments

    deployment · hosting

    Codexa static hosting with build logs, history and rollback; a Vercel adapter that needs a token; CNAME instructions for custom domains.

    What ships

    Codexa hosting

    • Builds in a fresh sandbox and serves the static output at a subdomain. Since 0.2.0 the build runs in the project's Cloudflare Container and the output is served from R2.
    • Build log per deployment, deployment history, one-click rollback without rebuilding.
    • Supports Vite + React and static projects. Node + Express projects are not deployable to static hosting; Next.js is not available yet.

    Vercel

    • Adapter that uploads files and environment variables through the Vercel API using a workspace token.
    • Implemented but not yet verified end-to-end against real accounts; the Deploy panel states this.

    Custom domains

    • Domains recorded per project with CNAME instructions. Automatic verification and certificate issuance are on the roadmap.

    Documentation: Deployment, Custom domains.

  6. Integrations

    integrations · github · database

    GitHub OAuth with import and push, PostgreSQL and Supabase connections with a schema browser and SQL runner, and tested workspace connections for AI, payments, email and hosting.

    What ships

    GitHub

    • OAuth connection (when the operator configures the app), repository import into a new project, commit and push of project files, status endpoint.

    Databases

    • Connections to your own PostgreSQL and Supabase databases, with credentials encrypted at rest and tested on creation. (These are your app's databases; Codexa's own data lives in Cloudflare D1 since 0.2.0.)
    • Schema browser from information_schema.
    • SQL runner with a confirmation step for destructive statements (confirmation_required).

    Workspace connections

    • OpenAI, Anthropic, Stripe, Razorpay, Resend and Vercel connections with provider-specific connection tests and masked reads.

    Documentation: Integrations, Databases, GitHub.

  7. Billing and teams

    billing · teams · admin

    Free, Pro, Team and Enterprise plans in INR and USD, Stripe and Razorpay with idempotent webhooks, server-side usage limits, team roles and the staff admin area.

    What ships

    Plans and billing

    • Free, Pro, Team and Enterprise plans defined in one configuration, priced in INR and USD with monthly and annual intervals.
    • Stripe Checkout and billing portal for USD; Razorpay orders for INR.
    • Inbound webhooks verified by signature and deduplicated by event id.
    • Usage limits enforced on the server before each metered action: AI requests and tokens, runtime minutes, deployments, storage, projects, members. Exceeding a limit returns 402 quota_exceeded.

    Teams

    • Team workspaces with owner/admin/editor/viewer roles and email invitations.

    Admin

    • Staff-only area for users, workspaces, subscriptions, provider health, jobs, deployments, support tickets, abuse reports, audit logs and feature flags.

    Documentation: Billing, Webhooks.

  8. Public website

    website · docs · search

    Marketing pages, documentation, learning center, help center, changelog, roadmap and site-wide search built from a markdown content system.

    What ships

    Content system

    • Markdown with validated frontmatter under content/ for docs, guides, tutorials, blog, help and changelog, loaded through a swappable ContentSource interface.
    • Reading time, headings for the table of contents and related articles computed at load time.

    Pages

    • Documentation with sidebar, breadcrumbs, previous/next, table of contents, "edit on GitHub" and last-updated dates.
    • Developer pages: API overview, reference generated from a hand-maintained registry and verified against the route files on disk, authentication, projects, generations, deployments and webhooks. SDK and CLI pages state that neither is available yet.
    • Learning center: blog, guides, tutorials, glossary, webinars (none recorded yet) and newsletter.
    • Help center, FAQ, changelog and roadmap.

    Search

    • A MiniSearch index over docs, guides, tutorials, blog, help, changelog, glossary and templates served from GET /api/v1/search, with a Cmd/Ctrl+K dialog, category filters, keyboard navigation and recent searches.

    Documentation: Developers.

Get release notes by email

Subscribe to the newsletter to hear when a new release lands.

Product updates only. No third-party marketing. Unsubscribe with one click from any email.