Skip to content

Zitadel NextGen v0.8.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 03:00
100bb1c

Generated Release Facts

This section is maintained by release automation. Edit product notes outside this block.

Release commit: 100bb1cfd854

Container Images

Image Reference
container ghcr.io/zitadel/nextgen:0.8.0
container ghcr.io/zitadel/nextgen:latest

npm Packages

Package Version
@zitadel/cli 0.8.0
@zitadel/server 0.8.0
@zitadel/server-linux-x64 0.8.0
@zitadel/server-linux-arm64 0.8.0
@zitadel/server-darwin-x64 0.8.0
@zitadel/server-darwin-arm64 0.8.0
@zitadel/server-win32-x64 0.8.0
@zitadel/api 0.8.0
@zitadel/config 0.8.0
@zitadel/components 0.8.0
@zitadel/sdk-core 0.8.0
@zitadel/sdk-next 0.8.0
@zitadel/sdk-nuxt 0.8.0
@zitadel/sdk-react 0.8.0
@zitadel/sdk-vue 0.8.0
@zitadel/sdk-angular 0.8.0
@zitadel/sdk-solid 0.8.0
@zitadel/sdk-svelte 0.8.0
@zitadel/sdk-qwik 0.8.0
@zitadel/sdk-sveltekit 0.8.0
@zitadel/sdk-solid-start 0.8.0
@zitadel/sdk-qwik-router 0.8.0
@zitadel/sdk-tanstack-start 0.8.0
@zitadel/testing 0.8.0

Package Changes

Minor Changes

  • @zitadel/cli, @zitadel/config: #3245 f3c80dc - zitadel api reads its JSON body from --file <path> (or --file - for stdin), matching the body flag on the create and update commands and freeing --input for a whole invocation as JSON. The flows README that ships into customer projects names the new flag.

    Breaking: api --input <path> is now api --file <path>.

  • @zitadel/cli: #3245 f3c80dc - version, commands, which, help and autocomplete answer --json with the same envelope as every other command, and a flag they refuse is the failure envelope with its exit code instead of oclif's whole error object. They still take their own flags (commands --hidden, --tree, --columns, help --nested-commands, autocomplete --refresh-cache).

    Breaking: version --json and commands --json print their result as the envelope's data, and commands --json holds its list under data.result.

  • @zitadel/cli: #3245 f3c80dc - A command line the CLI refuses, including a flag typed twice, is one coded failure with the command's help as its next step, like every other failure, and no longer repeats the framework's own error text in the --json envelope.

    Breaking: a script that read details.original from such a failure no longer finds it.

  • @zitadel/cli: #3245 f3c80dc - Every command that prints a list or a record takes --fields, and it cuts the records under --json as well as the table: user list --fields id,email --json and variable get NAME --fields value --json return only those paths, and a field the command does not carry is refused with the ones it does.

    Breaking: --json ignored --fields before, so a script that passed it and read the whole record must stop passing it.

  • @zitadel/cli: #3245 f3c80dc - Every command now takes its whole invocation as one JSON document with --input (inline JSON, @file.json or - for stdin), also spelled --flags-file and --cli-input-json: the keys are the command's flag names, args holds the positionals, and only the global flags may stand beside it. A document cannot set server, env, env-file, project or cwd, so one read from elsewhere cannot point the run's credentials at another server or project; a document that is not JSON is refused without quoting its text, and a file that is not a regular file of at most 8 MB is refused.

  • @zitadel/cli: #2929 7f682da - zitadel invitation create, list, get and cancel invite people into a project with a shareable link, under "Users and access" in zitadel --help. create asks who the invitation is for and which role it grants, then prints the link, which expires in 72 hours; --replaces makes a new link for an earlier invitation. list leaves accepted invitations out unless --status asks for them, and --status can be repeated. cancel names who the invitation is for and its role before it asks, removes an expired or declined invitation as well as a pending one, refuses an accepted one with E_VALIDATION, and without an id offers the pending, expired and declined invitations to pick from. create and cancel report an anonymous invitation_created or invitation_cancelled event once the server confirms, carrying the role and a random journey ID, never a name, an invitation ID or the link; cancelling an expired or declined invitation reports none.

  • @zitadel/cli: #3245 f3c80dc - variable get, invitation get, a resource's get, and a created or updated resource print the same plain text off a terminal as on one, and --json is the one way to get JSON.

    Breaking: these commands printed JSON when stdout was not a terminal, so a script that parsed it without --json must now pass --json.

  • @zitadel/cli: #3245 f3c80dc - An update that sets a field to null removes it, so it now asks first on a terminal and needs --force when nothing can be asked, as a deletion does, and a refused one sends nothing. Every list also reports truncated beside next_page_token, true exactly when more remain.

    Breaking: a script that updated with :=null must now pass --force.

  • @zitadel/cli, @zitadel/sdk-core, @zitadel/sdk-react: #3264 caf1506 - @zitadel/sdk-react now tells your own components who is signed in: the useSession() hook returns the session's status and the user's identity, shares one server read across the page and offers refresh(). Outside components, sessionStore() gives route guards and loaders the same read, and getSession() makes a single one. zitadel setup points React apps' agents at the hook.

  • @zitadel/server: #3214 7642a50 - The console shows an application at /applications/{application_id}: each OAuth client with its client ID, type, grant types, redirect URIs and document as JSON or YAML. The page is read-only and opened by its URL; the console does not list applications yet. GET /applications/{application_id} now also accepts a console session with access to the project.

  • @zitadel/server: #3073 f764fd6 - Invitations record who accepted or declined them and when as responded_by and responded_at, replacing accepted_by and accepted_at; status says which. Declining keeps the invitation's metadata, so administrators still see who a declined link was for, and DELETE /projects/{project_id}/invitations/{id} now also removes a declined or expired invitation. GET /projects/{project_id}/invitations takes status more than once to match any of several statuses (for example status=pending&status=expired&status=rejected), and expand=inviter adds the creator to each invitation as inviter.

  • @zitadel/server: #3073 f764fd6 - A signed-in platform user redeems an invitation link: POST /invitations/lookup shows the project, role and expiry, and names the inviter in inviter so the invited user can see who invited them without access to the inviter's account. POST /invitations/accept grants the invitation's role and POST /invitations/reject declines it. The inviter can neither accept (inv.self_accept) nor decline (inv.self_reject) their own invitation, and accepting is refused with inv.inviter_not_admin when the user who created the invitation no longer administers the project. Every unknown or finished token answers the same 404. Accepting sends invitation.accepted, with authz.granted when the role is new, and declining sends invitation.rejected.

  • @zitadel/server: #3075 a72fa58 - Every issuer still answers 404 until a project can turn OAuth on. Once one can, the authorization endpoint /oauth/<project_id>/authorize accepts authorization code requests from registered applications and sends the browser to the login page. A request must send state, a code challenge must use S256, and OpenID Connect scopes are ignored for now. Each request records an auth.request.created event.

  • @zitadel/server, @zitadel/api: #2885 727e952 - A release bundle's oauth: { "enabled": true } now takes effect: the server stores it as an OAuth settings revision, GET /oauth_settings/{oauth_settings_id} reads that revision back instead of answering 501, and every new revision is recorded as an oauth_settings.created event. On a server started with oauth.enabled, each primary origin the release is deployed to serves the project's RFC 8414 metadata at /.well-known/oauth-authorization-server/oauth/<project_id>. The console's release detail lists the pinned OAuth settings. The platform project's issuer follows oauth.enabled itself: the server's own platform release carries the OAuth settings, so a restart keeps them.

    OAuth stays on only while the deployed release carries oauth. zitadel deploy cannot send it yet and a new release does not copy it from the previous one, so deploying with the CLI turns a project's OAuth off, with no warning.

  • @zitadel/server, @zitadel/api: #2897 51050fc - The API reference now describes GET /projects/{project_id}/members, which lists everyone with a role on a project, with each person's strongest role and how they hold it, and an optional relation filter. It answers 501 until the list itself ships.

  • @zitadel/server, @zitadel/api: #2898 44bd34c - The API now lists everyone with a role on a project. GET /projects/{project_id}/members lists each person once, with their strongest role (viewer, editor or admin) and every way they hold it: as an active member of the team that owns the project, which gives admin, through a grant to them, or through a grant to a team they belong to. Pass relation to list only people with at least that role; relation=admin gives the same people as GET /projects/{project_id}/admins. Expired grants and people who left a team are left out, and the list is ordered by user id and paginated with page_token.

    Both lists now show every member to every caller who may read them, with each team named. Before, a person whose access came only through a team the caller was not in was left out, so an admin added by a direct grant did not see the project's owners, and a project secret saw only people with a grant of their own. Like the authorization check, a direct user grant is listed only while that user is active.

  • @zitadel/config: #3076 a242dac - @zitadel/config exports webApplication(), which builds an application document for a web app: one confidential OAuth client that signs users in with the authorization code grant and returns them to the redirect URIs you pass. APPLICATION_PRESETS lists the preset names. Both are also exported from @zitadel/config/application-presets, which runs in the browser.

Patch Changes

  • @zitadel/cli: #3206 8adf043 - zitadel api says which server it called and which secret it sent when the server answers 401, and its help shows how to update a user (zitadel api updateUser <user_id> -F attributes.age=1). A secret belongs to the project on one server, so the hint points at ZITADEL_URL, ZITADEL_PROJECT_SECRET, --env and --env-file.

  • @zitadel/cli: #3203 0d82cf5 - deploy and deploy --dry-run now warn when theme.light.logo_url or theme.dark.logo_url is a public https URL that does not serve an image, and name the field. Before, only the top-level logo_url and hero_url were checked.

  • @zitadel/cli: #3210 8884826 - zitadel doctor --fix restores a missing .zitadel/secret from the project's credentials in .env.development.local and the origins the server reports, so a deleted secret no longer loops between doctor --fix and setup, which skips an app that is already set up. When .env.development.local does not hold the credentials, the repair says what is missing.

  • @zitadel/cli: #3245 f3c80dc - FORCE_COLOR=0 and FORCE_COLOR=false now turn colour off, as the variable's convention says, instead of forcing it on.

  • @zitadel/cli: #3183 ac397d4 - The CLI names its hosted server once, preview.zitadel.com, and reads it everywhere: the default server, the examples and hints, and the check for the hosted cloud. A host under zitadel.cloud is no longer taken for the hosted cloud.

  • @zitadel/cli: #3245 f3c80dc - An id of . or .., and a control character in an id or in an api path value, is refused as a validation failure before a request is made, and api sends a path id without surrounding whitespace.

  • @zitadel/cli: #3033 5901843 - zitadel setup now creates Next.js apps on Next.js 16.4.6 instead of 16.4.2, which lacked the security fixes in 16.4.5, React, Vue, Solid, Svelte and Qwik apps with create-vite 9.3.4, and Qwik Router apps with create-qwik 2.0.0-rc.5.

  • @zitadel/cli: #3205 2cd806d - deploy no longer records a release as built from an uncommitted tree because of a file outside .zitadel/. A modified package.json or app file leaves the release clean, so the next deploy --dry-run still shows a diff.

  • @zitadel/cli: #3181 179776f - A failure of the local server now carries the same hint and next commands from every command, not only the server commands. A malformed runtime record or admin file found in a parent folder points its recovery commands at that folder, a server that no longer answers points zitadel start at the folder that recorded it, and the recovery for a malformed admin file removes the file before it resets.

  • @zitadel/cli: #3164 055c0d5 - A refusal that named a command in its hint, such as a login flow still using a method, the last way to sign in, or --input - or --file - with nothing piped in, now lists it under next_commands too, so it carries the --cwd, --env, --env-file and --server the run was given.

  • @zitadel/cli: #3183 ac397d4 - --server is now declared by the commands that take a server, through one shared definition, rather than by every command. Every command that accepted it still does, with the same help text and the same server resolution, and a failure that comes before the flags are parsed still names the server it was given.

  • @zitadel/cli, @zitadel/server: #3188 1ed5058 - The local server now starts on Windows, which it did not before because its SQLite location was not a valid URI for a drive path. zitadel setup scaffolds beside a running local server instead of renaming its .zitadel folder, which Windows refuses while the server holds files open, and zitadel doctor no longer reports a file mode Windows cannot hold.

  • @zitadel/server: #3224 106a76d - The console's User schemas list shows each schema's name as text, without the schema icon beside it.

  • @zitadel/server: #3215 891ab88 - The console calls a deactivated team inactive, in the Teams tabs, list and team detail, and titles the team's details card "Team details".

  • @zitadel/server: #3213 8c8514f - Timestamps the API returns are now always UTC. pgx scanned Postgres timestamptz into the process's local time zone, and a read path that did not convert the value itself passed that zone on: running with TZ=Europe/Berlin, getProjectClaimStatus returned claimed_at and the claim window's expires_at with a +01:00 offset instead of Z. The pool now scans timestamptz in UTC, so every read returns UTC whatever zone the server runs in. initProjectClaim built its expires_at from the clock rather than a read, and now stamps it in UTC too.

  • @zitadel/config: #3179 224b845 - A branding typography.font_url without a typography.font_family is now refused with the spec's own wording, "font_family is required when font_url is present", reported at typography.font_family. The rule is generated from the spec's dependentRequired instead of repeated by hand.

  • @zitadel/testing: #3211 627149b - bootLocalServer retries on a fresh port, up to five times, when another process takes the port it picked before the server binds it, so booting many servers at once no longer fails with E_PORT_IN_USE. A port passed explicitly is still taken as asked or refused.