Repository navigation
v0.24.0
Minor Changes
-
9e63557: New
seamless owner-codecommand prints a one-time code for the owner of a local stack, so the first admin finishes registering without reading container logs. Register in the browser with the owner address, and when the page asks for a code, runnpx seamless-cli owner-codefrom the project directory. It waits for the auth server, readsOWNER_EMAILfromauth/.envordocker-compose.yml(or takes an address), and only talks to a local auth server.seamless initnow ends with that step, and the generated AGENTS.md names it in its first admin section. -
59d583d: Applications now read their service token as
SEAMLESS_SERVICE_TOKEN, the name the managed portal already uses and the auth server's own name for it since 0.19.0. The generated auth server environment uses it too.seamless init: the generateddocker-compose.ymlgives theapiservice (or a full-stackwebservice)SEAMLESS_SERVICE_TOKEN, with a comment saying it is the same secret as theauthservice's. Connecting a managed application writesSEAMLESS_SERVICE_TOKENintoapi/.env, and the values printed when there is noapi/directory use the new name.seamless add: the backend's.envgetsSEAMLESS_SERVICE_TOKEN, and the printed Node, Go, Rust and Python code reads it.seamless verify: the Express and Fastify reference apps readSEAMLESS_SERVICE_TOKEN, and the Next.js starter is given both names so starters from before the rename still run.
Existing projects keep working. When a project's
.envalready hasAPI_SERVICE_TOKENand notSEAMLESS_SERVICE_TOKEN,seamless addandseamless init(connecting a managed application) updateAPI_SERVICE_TOKENin place, say so, and print code that reads that name, rather than adding a second variable the app does not read.The starters in
seamless-templatesthat readSEAMLESS_SERVICE_TOKENrequire this version.
Patch Changes
-
e781293:
seamless org members addnow says the user is already a member when the instance answers 409, instead of a bareRequest failed (409).(an organization's creator is a member automatically, so adding yourself afterorg createhits this). A 404 on add no longer claims the organization is missing when it is the user. The otherorganduserscommands name the action that failed and include the instance's own error message, for exampleCould not update member (400: Organization must keep at least one owner). -
a672c49: New projects scaffold auth server v0.19.1, admin dashboard v0.10.0 and seamless-templates v0.20.0. The auth server includes the fixes for GHSA-9jg2-jjqq-3346 and GHSA-66gq-4pwg-33jq, and the starters are on the SDKs that work with its cross-device magic link confirmation.
The generated auth server environment now holds the service token as
SEAMLESS_SERVICE_TOKEN, the auth server's own name for it since 0.19.0, instead ofAPI_SERVICE_TOKEN. The auth server's.env.examplecarries a placeholder under the new name, and the server refuses to start when the two names hold different values, so writing only the old name leftseamless init --auth=local(which clones the auth server's main branch) unable to start. Re-running against an existingauth/.envreads either name.