Skip to content

Zitadel NextGen v0.6.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 17:34
dc2b48e

Generated Release Facts

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

Release commit: dc2b48e4a3b6

Container Images

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

npm Packages

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

Package Changes

Minor Changes

  • @zitadel/cli, @zitadel/config: #2889 4860117 - Every command now reads, checks and writes .zitadel/ through one configuration library, so they all hold the files to the same rules and refuse with the same errors. @zitadel/config adds referencedClientIdVariable and referencedClientSecretVariable, which read a credential reference as the variable it names.

    Breaking: deploy, preview and release create refuse an invalid configuration with one E_VALIDATION, "Configuration validation failed (N issues)", whose details.issues lists {rule, path, steps?, message}; the separate "Flow validation failed", "SSO configuration is not consistent" and "Missing environment variables" errors and the handle and step fields are gone, a missing variable is an environment/missing-variable issue for each file that references it, and warnings name the file. setup writes the configuration and publishes it in its first deploy instead of creating each resource on its own. When that deploy is refused, setup still succeeds, keeps the project and files, and suggests deploy. The auth-method commands refuse when any file under .zitadel/ does not parse, fails its contract or fails the per-file checks deploy makes (a literal client_secret, a branding template or $file that cannot be read, an unknown connection field, endpoint problems), even a file the command does not change, and refuse to write or remove a file whose path resolves outside .zitadel/, through a symlink for one. auth-method results report notices instead of kept and untouched. New .zitadel/state.json files have no resources section, so an older CLI fails on them. setup, branding eject and doctor --fix never replace a .zitadel/meta/ schema when the project pins a newer @zitadel/* package. doctor's schema check validates every file under .zitadel/. auth-method sso enable now keeps a provider route it did not write and says so, instead of resetting it. deploy no longer only warns when a release would leave existing users unable to sign in: it asks first, and a non-interactive run, deploy --dry-run included, refuses with E_CONFIRMATION_REQUIRED unless it is given the new --force. A lockout check that could not finish still only warns. Deploy's lockout check no longer follows a transition into another flow, and a literal client_secret is refused by the connection/literal-secret rule. deploy also refuses a schema or flow step that lists the same provider twice (sso/duplicate-provider), a connection with a field its contract does not know (sso/unknown-connection-field) and a claim name with surrounding whitespace (sso/claim-name-whitespace). It warns about a claim whose scope the connection does not request (sso/claim-needs-scope), a claim mapped to a property of another type (sso/claim-type-mismatch), a verification source that is not a boolean claim (sso/verification-source-not-boolean) and a subject claim that can change (sso/subject-claim-unstable).

    doctor's schema check may list the project's connections on the server, using zitadel.json and .zitadel/secret, when sso/subject-claim-unstable could apply; it and deploy leave that warning out when the listing cannot be read, and doctor checks no environment, so environment/missing-variable is deploy's alone. A flow is matched to a local schema by objectType, $id, the id in .zitadel/state.json or the file name at the end of its user_schema URL, so flow and SSO rules can apply where they did not. pull refuses before it writes anything for an unsafe handle, two broken files holding one handle or two pinned handles resolving to one file. setup --dev-port lists providers by connection slug and stops when .zitadel/idps cannot be read, and policies test reports an invalid policy file in details.issues. A file under .zitadel/ that cannot be written because a directory it needs is a file is refused with <path> cannot be written (ENOTDIR) and a hint to remove that file. A directory where a file is to be removed is refused with <path> cannot be removed (EISDIR). A file under .zitadel/ that is not valid JSON is refused with its path and the line and column of the error, such as .zitadel/branding/branding.json: cannot be parsed: invalid JSON at line 5, column 18, and never with a piece of the file.

  • @zitadel/cli: #2176 75139be - auth-method sso enable now describes a provider's connection as a short notice, and sso enable --dry-run shows it too; setup adds the same description to its closing box. It reads as sentences: one line per user attribute saying which claim fills it and what verifies it; the scopes the connection requests; the attributes the signing-in schemas define that no claim fills yet, each marked required or optional; and which user schemas sign in through the connection, so a mapping change says who it affects. sso enable no longer prints a separate list of claim mappings. --json reports the connection's claim_mapping, verified_claims, scopes, unmapped and used_by in data.sso[] from setup and in data.connection from sso enable.

  • @zitadel/cli, @zitadel/server, @zitadel/config, @zitadel/components: #2687 71a0eea - User attributes must now match their schema's format. Creating a user, patching one and signing up all refuse a value like not-an-email for a format: email property, with attributes_invalid naming the attribute, so zitadel users create and users update do too. This covers the standard JSON Schema formats, such as email, uri, uuid, date and date-time. Any other format, such as phone, stays a label.

    Breaking: values stored before this change get no exception. A patch to a user holding a value that fails its format is refused until the same request corrects it, and a stored identifier that fails its format no longer signs in or starts recovery. Correct such values through PATCH /users/{id} or zitadel users update.

    In a login flow, a blank optional field with a format counts as unset, and a date-time field gets a date and time input.

    A --user-file document that creates a user with a bad value now stops the server from starting.

  • @zitadel/cli, @zitadel/server, @zitadel/api: #2688 d4e7203 - Find a user by the start of the value they carry as identifier: POST /users/query and zitadel users list --filter accept identifier with the new starts_with operation, and the Console's Users list has a search field that uses it across every page. The match ignores case, is answered from an index, and returns the users ordered by identifier. A filter value containing a NUL byte or invalid UTF-8 now answers 400 on any text filter.

  • @zitadel/cli, @zitadel/server: #2957 fbb6680 - variable resolve now takes an optional deployment id, so zitadel variable resolve dep_... shows the variables that deployment froze, live or not. Without it the command reads the live deployment as before. A deployment id together with --origin is refused, since the id already says which deployment to read.

  • @zitadel/cli, @zitadel/server: #2940 c2350c9 - The console has a Logs screen: a project's events, newest first. Opening it swaps the sidebar for Logs' own list of views (audit events, API requests, all) and filters (time range, category, type, actor, resource, request, session, login flow), and a search field takes an ID or an event type. GET /events and GET /events/{id} now accept the console's session cookie. GET /events answers its filters from indexes instead of reading every event, and matches a combination no index holds over a bounded number of events per request: such a page can hold fewer events than limit, or none, and still carry next_page_token (Events). zitadel events list names the next page under an empty one.

    Upgrading: the migration builds seven indexes on events. On Postgres it builds them without blocking writes, and takes longer the more events you keep. A client that stopped at the first short or empty page of GET /events must follow next_page_token until a response has none.

  • @zitadel/cli, @zitadel/server: #2965 180ff09 - GET /events filters API requests by operation_id and by status_class (4xx and 5xx are the failed requests), and answers these and entity_type from an index, so their pages fill however many other events the project holds (Events). zitadel events list takes both as --filter. Requests recorded before the upgrade are not matched by the two new filters.

    Upgrading: the migration adds two columns and three indexes to events. On Postgres it builds the indexes without blocking writes, and takes longer the more events you keep.

  • @zitadel/cli, @zitadel/server: #2556 94691fb - zitadel deployment rollback and the console now name the origins a rollback stops or starts serving (Roll back a deploy).

    Breaking: a rollback deploys to the origins of the deployment it goes back to, not to the project's current primary origins. An origin added since then refuses sign-in until the next zitadel deploy, and an origin that deployment named serves its release again. --json lists them in data.dropped_origins and data.restored_origins, and origins the project no longer lists in data.unserved_origins.

  • @zitadel/server, @zitadel/config: #2888 8f2033e - POST /applications registers an application with its OAuth clients, or revises one by slug, and GET /applications/{id} reads it (docs). Both return not implemented until the server implements them.

  • @zitadel/server: #2926 2b16271 - The console's account menu links to the documentation, opening it in a new tab. On a phone the menu opens above the account row.

  • @zitadel/server: #2966 933369f - The console's Logs opens an event in a drawer over the list instead of a page of its own, so the list keeps its rows, scroll and loaded pages: the arrows in the drawer, or ↑ and ↓ (k and j), step through the rows, and an API request lists the events it caused in the order they happened. Live adds events recorded after the list loaded every few seconds, and My activity narrows the list to what the signed-in person did. The time range offers 30 minutes to 14 days and a custom range with fixed ends, read as you change it, and a row's menu reads the minutes around it. The type is chosen from the event types, several at once; Only failures, at the head of that list, ticks the failure types in it. Application, Device and Resource type join the filters, and the API requests narrow by status class (Only failed requests, at the head of its list) and by operation, which the search also takes (createUser). Failed events are tinted, times show milliseconds where the server records them, and Export copies the loaded events, saying whether it could, or downloads them as JSON or CSV.

  • @zitadel/server: #2974 1815568 - The console's Logs chooses its view (audit events, API requests, all) from a picker that says what each holds, and its sidebar keeps only the filters chosen from a list: time, category, and type or status. IDs, operations and the resource type go in the search, on a row of its own under the title, which shows each filter it set as a removable chip and takes a filter's name before a value (actor:, resource:, resource_type:, app:, device:); My activity moved from a toolbar icon into the empty search. Live shows a green dot while it reads, says under the toolbar when it last checked, and fades in the events it adds. A row's menu stays in reach while the table scrolls sideways. Rows are more compact, so more events fit on a screen.

  • @zitadel/server: #2906 ca9e0c6 - The console keeps its sidebar and top bar on Projects and Settings. On Projects the sidebar lists Projects and Settings. The project you selected stays selected on both: the project switcher keeps naming it, and reads "All projects" only while none is selected. Settings opens its own list: Profile and, on the hosted cloud, Billing, Support and Email, under a heading that leads back to Projects. Search moves to the top of the sidebar.

  • @zitadel/server: #2951 e9ba316 - A console project now opens on an Overview: its name, site and ID, what its primary origins serve right now, and its latest audit events, each linking to Deployments or Logs. Overview is the first row of the project's sidebar, and the project settings' first tab is now called General.

  • @zitadel/server: #2941 52a431b - Opening a console screen that needs a project while none is selected now asks for the project alone: the screen's name, a search and your projects to choose from, instead of the full Projects list. Choosing one goes on to the screen you asked for.

  • @zitadel/server: #2951 e9ba316 - On Projects, the console's sidebar now lists a project's screens (Teams, Users, Logs and the rest) between Projects and Settings. Choosing one opens it in the project you have selected, and asks which project to open it in when none is. Searching Projects no longer reloads the screen while you type.

  • @zitadel/server: #2927 40e7bad - A user's Authentication tab in the console says when the user cannot sign in because they hold no password, passkey or linked identity provider. The account's Active or Inactive status is unaffected.

  • @zitadel/server: #2982 3822be1 - The console's Users list has one Add filter menu in place of its schema and revision selects: it lists what the users can be narrowed by, then the values of the property you choose. Besides a schema and its revisions, the list can now be narrowed by status and by when a user was created.

    A status's dot now says what the status means, on every list and detail page: green for one in force, amber for a suspended user, red for one pending purge, grey for one that is off.

    The Users and Teams lists' buttons say what they add, Add user and Add team, and a sidebar row that opens a list of its own (Logs, Settings) carries an arrow.

  • @zitadel/server: #2930 2147c37 - The events API and webhooks describe invitation.created, invitation.accepted, invitation.rejected and invitation.cancelled. Nothing sends them until the server implements invitations.

  • @zitadel/server: #2918 db2891b - /invitations creates, lists, reads and cancels a project's invitations, and /invitations/lookup, /accept and /reject redeem one by its link (docs). The server now stores invitations; the endpoints return not implemented until it serves them.

  • @zitadel/server, @zitadel/api: #2903 c52126e - The console's Projects list now reads newest first, so a project you just created heads the list instead of waiting behind Load more. GET /users/me/projects takes order (desc or asc, by created_at), and listMyProjects() in @zitadel/api accepts it; without it the list stays ordered by project ID. Send the same order with every page_token: a token used under another order is refused with 400.

  • @zitadel/server: #2954 a35eecb - Platform operators (platform.operators) now see every project's events, including projects nobody has claimed yet: in the console's Logs, on a project's Overview, and through GET /events and GET /events/{id} (Events). The project's own secret and everyone else still see none until the claim. The Logs for the Platform project list its events too: the deployment's platform project (platform.bootstrap_project or platform.project_id) needs no claim. An enabled event export now ships every project's events, from the oldest one still retained.

  • @zitadel/server, @zitadel/api: #2933 b665fe5 - POST /releases/{id}/revoke now says, for each origin in a rel.in_use refusal, whether it serves the release as a primary origin or a preview (details.origins[].kind), so a client can tell a deploy or rollback from removing the preview as the step that frees it.

  • @zitadel/server, @zitadel/api: #2936 81df24d - Find the users, teams and configuration of a project with one request. POST /search takes the text someone typed and the types to look for, and answers with references (type, id, project_id, title, subtitle), best match first. A user matches on the start of the value they carry as identifier or of a part of their display name, a team on part of its name, a user schema on its title or object type, a flow definition on its name, an identity provider on its slug or display name, and any of them by its id. search() in @zitadel/api calls it. The Console's search (⌘K) uses it: it now finds users, user schemas, login flows and identity providers of the selected project beside teams, and opens the Users list when there are more users than it shows. It also runs actions in the selected project (Add user, Add team, Copy project ID) and opens on what you last opened from it.

Patch Changes

  • @zitadel/cli, @zitadel/server, @zitadel/api, @zitadel/config: #2905 e8b083b - A value the API spec refuses by pattern (an ID, a slug, a URL, a colour or a font stack) is now refused in plain words that say what a valid value looks like, in place of a raw regex.

  • @zitadel/cli, @zitadel/config: #2905 e8b083b - deploy now says each refused branding value once, at its own field and in plain words (a font URL, a font stack, a logo URL or a palette colour), instead of a raw regex or a (root) finding, and still says so when another field in the file is also wrong.

  • @zitadel/cli, @zitadel/server: #2917 a886e61 - deployment get, deployment rollback, deployment create --release, release revoke, and the generated users, sessions and release commands that take an id, now refuse a value that is not the kind of id they take, such as a release id given to deployment rollback, before they ask for confirmation or call the server. Surrounding whitespace around an id is trimmed, including for claim --challenge-id, and a value that is not a valid id is refused with a message saying what one looks like.

  • @zitadel/cli: #2979 8229cdb - zitadel auth-method sso enable now prints the callback URI to register with the provider for each deployed origin of the project, and a note for each preview origin pattern, since providers take no wildcards. Previously it printed only the local development callback URI, so sign-in failed on the deployed app and its previews.

  • @zitadel/cli: #2721 40f0426 - When zitadel deploy is refused over a connection, the line now names the field it may not change, such as oidc.issuer, or the endpoints it left out.

  • @zitadel/cli, @zitadel/config: #2919 d2409a3 - setup now asks for the sign-in button's name before the connection's name, and suggests the connection's name from it: "Zitadel Cloud" offers zitadel-cloud, which the developer accepts or edits. A typed or flagged slug is still used as given.

  • @zitadel/cli: #2920 d081c01 - setup now says to use Space to select a sign-in provider and Enter to continue. Pressing Enter with none ticked asks whether to continue without setting up SSO, where No goes back to the list, so a provider is no longer skipped by accident.

  • @zitadel/cli, @zitadel/server, @zitadel/config: #2726 e741248 - On a user schema's root or a property, a key JSON Schema does not define, such as a misspelt minimumLength, or an x- key Zitadel does not define, is now refused instead of silently constraining nothing. zitadel deploy --dry-run and zitadel doctor report it before upload, naming the schema, the property and the key.

  • @zitadel/cli: #2776 6a8b0df - variable set now says the new value applies after the next deploy and suggests that command, because a sign-in keeps using the variables the last deploy froze.

  • @zitadel/server: #2950 227a81f - The console's sidebar shows which way you went when its list changes: opening Settings or Logs slides their list in from the right, and going back slides the previous list in from the left. With reduced motion turned on, the list changes without moving.

  • @zitadel/server: #2969 4dbe7cb - The console's sidebar rows are 36px tall with more room around their icons and labels, so the list reads less cramped. The project switcher matches them, and the collapsed icon rail is 56px wide so nothing shifts when the sidebar collapses.

  • @zitadel/server: #2910 e86a545 - The console tells the browser which theme it is drawn in (color-scheme, theme-color and the page's root background). A browser that draws around the page, such as Safari's toolbar or a pane that embeds the console, now matches the light or dark theme in use instead of showing white.

  • @zitadel/server: #2962 540f2d3 - POST /sessions now creates a session only in the project of the secret that calls it. A project_id naming any other project is refused with 403 proj.mismatch, and no session, session token or audit event is written. Before this, any project secret could create an anonymous session in another project, receive a session token for it and write session.established and auth.token.issued events into that project's audit log.

  • @zitadel/server: #2959 c7219b7 - Deactivating a user now ends the access their direct grants give them on their next request, including through sessions they already hold, and GET /projects/{project_id}/admins stops listing them. Before, only the access they had through teams ended.

  • @zitadel/server: #2952 f1f54c7 - server.idle_timeout sets how long the server keeps an idle connection open (0 never closes one), so a reverse proxy's POST no longer ends as a 502 on a connection the server just closed. A request audit event that a retry finds already stored is no longer logged as dropped, and events.request.flush_wait writes it before the response ends.

  • @zitadel/server: #2395 f4cfc9e - The login identifier step no longer slows down as a project gains users. On SQLite it took over 10 seconds with 10,000 users and did not finish above about 20,000; it now stays under a millisecond. Deleting a user in a large project is faster too. On Postgres the upgrade rebuilds the users and user attributes tables in one transaction, which blocks reads and writes of users while it runs.

  • @zitadel/components: #2899 bcd9413 - <zitadel-login> keeps field names that collide with DOM property names, such as name or title, so a schema field named name no longer breaks registration. createSanitiser() no longer strips id or name values that match document or form properties, so do not insert its output into the main document.