Software Engineering · Global
Supabase changed its config default. Check what your scripts assume.
New Supabase projects use JSON with comments in CLI 3.4.0. Existing TOML projects can stay put, but scaffolding and CI scripts deserve a check.
By Launchr Space ·
An engineer runs the same project scaffolder twice in a month. The first repo has a Supabase TOML file, and the second has a JSON file with comments. The CLI knows what to do. A hand-written CI step that reads a port from a hard-coded path may not. That is the practical edge of Supabase CLI 3.4.0, released November 24.
New default, not a forced conversion
On new projects, the initialization command now creates a config.jsonc file in the supabase directory instead of config.toml. The settings are the same, and the new file links to a JSON Schema so compatible editors can flag invalid values or offer completions. Existing TOML projects are not converted automatically. Supabase says CLI 3.1.0 and later can read JSONC; older versions can miss it and run with defaults.
That makes version drift a more important risk than file preference. If a developer bootstraps a project with a current CLI but a CI job still picks up an older version, the first symptom may be a different setting or port, not a clean error explaining what went wrong.
Test two fresh checkouts
Pick one existing TOML project and initialize one disposable project with the newer CLI. Run the exact same build and local environment setup that a new engineer or a branch preview would use. Search shared workflows, Dockerfiles, developer scripts, and onboarding docs for assumptions about the old filename. For code that genuinely needs to read the config, use a parser that supports comments and trailing commas in JSONC and follow the documented precedence rules.
Pin or explicitly manage supported CLI versions across workstations and CI, then add config validation before the local stack or deployment starts. If a dependency cannot yet handle JSONC, using the documented conversion command to keep TOML is a reasonable temporary choice. The goal is one predictable configuration in each environment, not a mass rewrite of repositories that already work.