← All posts

Supabase CLI 3.4.0: new projects get config.jsonc, not config.toml

Since Supabase CLI v3.4.0 (24 November 2026), supabase init writes supabase/config.jsonc instead of config.toml. Existing projects are untouched, but scripts, CI steps and coding agents that expect config.toml need to look for both.

Since Supabase CLI v3.4.0, released on 24 November 2026, supabase init creates supabase/config.jsonc for new projects instead of supabase/config.toml. Same settings, same keys, written as JSON with comments, with a $schema line at the top so editors validate it without an extension. Supabase's changelog is clear that "existing projects keep config.toml, and it stays fully supported". So nothing you already have breaks. What can break is anything that assumes the TOML file is there.

Supabase names the usual suspects: a third-party tool, script, CI step or Dockerfile that reads supabase/config.toml directly to look up project_id or a port. On a project created with 3.4.0 or later, in their words, "that file doesn't exist". A grep project_id supabase/config.toml in a deploy script fails, or worse, returns nothing and carries on.

Why this matters more when an agent is driving

Claude Code, Cursor, Lovable and Bolt have all seen years of Supabase projects with config.toml. Ask one to "add an auth redirect URL to the Supabase config" or "change the local API port" on a fresh project and it may well go looking for, or create, supabase/config.toml. Here's the catch from the changelog: a config.json or config.jsonc takes precedence over config.toml. If both exist, the CLI reads the JSON one, and the agent's TOML edit is silently not the config in use. That's a classic "works on its machine, not on mine" afternoon.

Two more lines from the release worth knowing. CLI 3.1.0 (9 November) was the first to read config.jsonc, and older versions "run with default settings" instead of failing, so a CI job pinned to an old supabase/setup-cli version can quietly start with the wrong ports or auth settings. And v3.4.0 adds a nudge toward the experimental local stack that shows at most once every 7 days, only in interactive terminals or "when a coding agent runs the CLI". Don't be surprised when your agent starts suggesting SUPABASE_EXPERIMENTAL_STACK=1; it's optional.

What to check today

Run ls supabase/config.* in each project. One file is the healthy state.

  • Only config.toml: you're on the old format and nothing changed. Nothing to do.
  • Only config.jsonc: make sure every script, Dockerfile and CI step that reads the config looks for config.jsonc and config.json as well, and that CI uses CLI 3.1.0 or later. supabase config validate (CLI 3.2.0 and later) catches mistakes.
  • Both: decide which one is real. Move the other's changes across, delete it, and tell your agent which file to edit, for example in CLAUDE.md or your Cursor rules.

If you'd rather stay on TOML for a new project, run supabase config convert --to toml right after supabase init (CLI 3.3.0 or later). It writes config.toml and moves config.jsonc to config.jsonc.bak. If a local setting works but production doesn't match, our page on apps that work locally and 500 live covers where we look next.

Quick answers

Does Supabase CLI 3.4.0 still create config.toml in November 2026?

No. Since Supabase CLI v3.4.0, released on 24 November 2026, supabase init creates supabase/config.jsonc for new projects. It holds the same settings and keys as config.toml, written as JSON with comments.

Do existing Supabase projects have to move from config.toml to config.jsonc?

No. Supabase says existing projects keep config.toml, it stays fully supported, and the CLI never converts a project unless you ask it to with supabase config convert.

What happens if a Supabase project has both config.toml and config.jsonc?

The JSON file wins. Supabase's changelog says a config.json or config.jsonc takes precedence over config.toml, and having both config.json and config.jsonc is an error. Edits made to config.toml are then not the ones the CLI uses.

How do I keep config.toml for a new Supabase project after CLI 3.4.0?

Run supabase config convert --to toml right after supabase init. It needs CLI 3.3.0 or later, writes config.toml and moves config.jsonc to config.jsonc.bak.

Is your app affected? Get a $199 audit

Not sure whether this touches your app? That is exactly what the audit answers.

  • A recorded video walkthrough of your app, by the person who would fix it
  • Written findings: what is broken or exposed, and why
  • A fixed price for the fix, before any work starts
Book my $199 audit

Book my audit

$199. Fixed price, agreed up front.

Ask a question first

No payment and no obligation, just an answer.