Zitadel NextGen 0.8.0
0.8.0 adds invitations, makes the CLI scriptable by agents, and runs the local server on Windows. Install it with npx @zitadel/cli@latest, or run zitadel upgrade in a project. NextGen is still a preview: until 1.0.0, a minor release can include breaking changes, and this one has several in the CLI's output.
What's new
- Invitations.
zitadel invitation createprints a link that grants a project role, and a signed-in user can accept or decline it. More - A scriptable CLI. Every command takes its whole invocation as JSON with
--input, every list and get takes--fields, and JSON comes only with--json. More useSession()in React. Your own components can read who is signed in, from one read the page shares. More- Project members.
GET /projects/{project_id}/memberslists everyone with a role on a project and how they hold it. More - Windows. The local server starts on Windows, and
setupanddoctorwork there. More - Fixes. The API returns timestamps in UTC whatever zone the server runs in (#3213),
zitadel doctor --fixrestores a missing.zitadel/secret(#3210),deployno longer marks a release dirty because of an uncommitted file outside.zitadel/(#3205), a401fromzitadel apinames the server and secret it used (#3206),deploywarns about a dead per-theme logo URL (#3203), andzitadel setupcreates Next.js apps on 16.4.6, with its security fixes (#3033).
On the way: OAuth for your apps
A release can now carry OAuth settings, and a server started with oauth.enabled serves each issuer's metadata and accepts authorization code requests (#2885, #3075). The console shows an application and its OAuth clients at /applications/{application_id} (#3214), and @zitadel/config exports a webApplication() preset (#3076). zitadel deploy cannot send OAuth settings yet, and deploying with it turns a project's OAuth off.
Upgrading from 0.7.0
- Upgrade a self-hosted server, then run
zitadel upgradeto set every@zitadel/*package to0.8.0. - Breaking: pass
--jsonwherever a script parses the CLI's JSON: off a terminal,getcommands and created or updated resources now print plain text (more). - Breaking:
zitadel api --input <path>is nowzitadel api --file <path>, and an update with:=nullneeds--forcewhen nothing can ask (more). - Breaking:
--fieldsnow cuts--jsontoo,version --jsonandcommands --jsonprint their result asdata, and a refused command line no longer carriesdetails.original(more). - Breaking: invitations report
responded_byandresponded_atin place ofaccepted_byandaccepted_at(more).
Every change since 0.7.0 is in the release notes on GitHub.