Repository navigation
Zitadel NextGen v0.5.0
Generated Release Facts
This section is maintained by release automation. Edit product notes outside this block.
Release commit: 8b6bab513b6f
Container Images
| Image | Reference |
|---|---|
| container | ghcr.io/zitadel/nextgen:0.5.0 |
| container | ghcr.io/zitadel/nextgen:latest |
npm Packages
| Package | Version |
|---|---|
@zitadel/cli |
0.5.0 |
@zitadel/server |
0.5.0 |
@zitadel/server-linux-x64 |
0.5.0 |
@zitadel/server-linux-arm64 |
0.5.0 |
@zitadel/server-darwin-x64 |
0.5.0 |
@zitadel/server-darwin-arm64 |
0.5.0 |
@zitadel/server-win32-x64 |
0.5.0 |
@zitadel/api |
0.5.0 |
@zitadel/config |
0.5.0 |
@zitadel/components |
0.5.0 |
@zitadel/sdk-core |
0.5.0 |
@zitadel/sdk-next |
0.5.0 |
@zitadel/sdk-nuxt |
0.5.0 |
@zitadel/sdk-react |
0.5.0 |
@zitadel/sdk-vue |
0.5.0 |
@zitadel/sdk-angular |
0.5.0 |
@zitadel/sdk-solid |
0.5.0 |
@zitadel/sdk-svelte |
0.5.0 |
@zitadel/sdk-qwik |
0.5.0 |
@zitadel/sdk-sveltekit |
0.5.0 |
@zitadel/sdk-solid-start |
0.5.0 |
@zitadel/sdk-qwik-router |
0.5.0 |
@zitadel/sdk-tanstack-start |
0.5.0 |
@zitadel/testing |
0.5.0 |
Package Changes
Minor Changes
-
@zitadel/cli,@zitadel/api: #2568cbab822- Every CLI command that deletes, revokes or rolls back something now asks first, and needs--forcewhen nobody can be asked. When nobody can be asked and--forceis missing, the command fails withE_CONFIRMATION_REQUIRED(exit 3) and puts the question it would have asked indetails.question, so a coding agent asks the user before it runs the--forceretry innext_commands.@zitadel/api's operation list marks those operations with a newdestructivefield and adestructiveOperationslist.Breaking: A destructive command refused for want of
--forcenow fails withE_CONFIRMATION_REQUIREDinstead ofE_VALIDATION; the exit code stays 3.zitadel apinow asks before an operation that deletes, revokes or rolls back, and refuses it without--forcewhen non-interactive.doctor --fixasks before making a preview issuer origin primary; when non-interactive it skips that repair with a warning unless its new--forceis passed.setup --dev-portasks before removing the app's previous origin; without--forcein a non-interactive run it keeps the old origin and warns. -
@zitadel/cli: #2601a4a5349-zitadel doctornow groups its checks into categories with color, and shows them when a check fails instead of only an error. It also says when a newer CLI exists, and so doeszitadel --versionin a box with the command to run. The newzitadel upgrademoves the project's exactly pinned@zitadel/*packages to the latest release, shows the breaking changes on the way, and refreshes generated files. The update check asks the npm registry at most once a day, skips CI, andZITADEL_UPDATE_CHECK=0turns it off. Every command now colors warnings, errors and next steps the same way, and project ids are no longer yellow, so yellow always means a warning. Piped output is unchanged. -
@zitadel/cli: #26322cb9cec-zitadel api lsnow takes--plain, and every list command (origin list,deployment list,preview list,variable list,variable resolve,env list,resourcesand the generated<resource> listcommands) prints its terminal table, its piped rows and its next-page hint the same way.variable resolvenow shows its count asN variableswith the deployment it was frozen by on the line below. -
@zitadel/cli: #27474a1bc20-zitadel setupreports what sign-in is configured to do, in every mode, not
only in the wizard. Its summary box has a Sign-in section, and--json
carriesdata.sign_in: the method the login starts with, every method the
user schema enables (password-firstenables passkeys too), each registration
field and whether it is required, the minimum password length and the external
providers. The wizard's note now names the optional fields as well. -
@zitadel/cli: #27819128bf1-zitadel deployanddeploy --dry-runnow also warn when the config disables a sign-in method that some existing users depend on, such as passkeys for users who signed up with only a passkey. The warning names the schema and the method and counts those users. -
@zitadel/cli: #2598503e27b-zitadel deployanddeploy --dry-runnow warn when the config would lock existing users out. It names the schema and counts the users who lack the property a schema now signs in with (itsx-identifier), and the users with an SSO link whose schema no flow uses any more. The check only warns and is skipped when the users cannot be read. -
@zitadel/cli,@zitadel/server,@zitadel/api,@zitadel/testing:3b7660e- Breaking:targetsonPOST /deploymentsis"primary"or a list of preview URLs.["primary"], which CLIs and test kits released before this send, still deploys to every primary origin until 1.0.0, and its answer carries aDeprecationheader.Breaking: a
--dry-run --jsonfromzitadel deployandzitadel deployment createprintsdata.targetsas the request sends it:"primary", not["primary"]. -
@zitadel/cli,@zitadel/server,@zitadel/api,@zitadel/config,@zitadel/components: #2533450cb58- A login flow now chooses whether<zitadel-login>switches between sign-in and sign-up on its own, except on a step offering a provider that creates users, and{ "purpose": "register" }alone moves to another purpose.zitadel deploy --dry-runwarns about a switch left out (flows and schemas).Breaking: a flow definition read back through the API (
GETand list) leaves out a transition'stargetwhen the transition only names apurpose, and a client generated from an earlier API spec fails to read it because it requirestarget. Upgrade@zitadel/api, or regenerate your client from the new spec, before deploying a flow that uses the short form. A transition'stargetmay no longer be"": leave it out instead. -
@zitadel/cli,@zitadel/server,@zitadel/components,@zitadel/testing: #2553e7799e9- A sign-in runs only what is deployed.zitadel origin rmwarns that a project with no origins admits no origin except a loopback origin, and the test kit deploys the bootstrapped release to its primary origins, which default to a loopback origin.zitadel setup --dev-portdeploys the release the old port ran to the new one, andzitadel doctor --fixdoes the same for the issuer it makes primary, or says to deploy.<zitadel-login>says to deploy when it cannot start a flow because nothing is deployed.Breaking: a project with no origins no longer serves a flow to an arbitrary host. A flow with no
Origin, or from a console origin the project does not list, needs a primary deployment and otherwise answersrel.no_default. A listed origin or a live preview with nothing deployed answersrel.not_deployed, and so does a primary origin added since the last deploy. A loopback origin the project does not list is no longer served the newest primary deployment: it answersrel.not_deployeduntil it is added as a primary origin and deployed to. The test kit registersappOriginsas primary origins, so each must be an exact URL; a wildcard pattern is refused. -
@zitadel/cli,@zitadel/server: #28216885a0e-PATCH /users/{user_id}takesdry_runin its body to check an update or schema migration without changing anything, andzitadel users update --dry-runasks the server the same question. See Migrate users between schema revisions.Breaking:
zitadel users update --dry-runnow calls the server, so it needs a server and a credential. A failure inside an array item now names the item indetails.details.fields, such asattributes.phones.0.faxinstead ofattributes.phones, so match those names by prefix. -
@zitadel/cli,@zitadel/api: #2698f818392-createZitadelClientnow takes auserAgent, which it sends on every request it makes. The CLI sets its ownUser-Agentthrough that option instead of replacing the process-wide undici dispatcher, so a request made by anything else in the process keeps the agent it chose. -
@zitadel/cli,@zitadel/server,@zitadel/testing: #25546b49566- A request is served only what its release pins: a flow, user schema, identity provider, branding, or policy the release leaves out is not served, and a request with no release answersrel.not_deployed.setUserPasswordapplies the password policy of the release that serves the caller'sOrigin, so a frontend on a preview URL gets that preview's policy; the console's own origin and a caller with noOriginget the project's newest primary deployment.createAuthAttemptalways follows the newest primary deployment. With no primary deployment both answer409withrel.no_default. A release that pins no flow answersflowdef.not_foundsaying so,zitadel deploywarns that such a release strands every existing user, and the console's project page shows the password policy the primary origins' release pins rather than the newest published one.Breaking: publishing a flow, schema, identity provider, branding, or policy no longer changes sign-in or
setUserPassworduntil a release that pins it is deployed. That includes a project the test kit starts: what a test publishes afterstartZitadelapplies once a release that pins it is deployed. -
@zitadel/cli,@zitadel/server: #2552a79bc7e- Breaking:POST /flowis served the project's newest primary deployment, not the newest revisions, when there is one and the request has noOrigin. The same holds for a request from an origin the project does not list but the server lets in anyway, such as a loopback origin likehttp://localhost:3000or a console origin likehttps://console.example.com, when nothing is deployed to that origin. That deployment stays live whatever the project lists, so its release cannot be revoked. -
@zitadel/server: #25706dc824b- In the console, the Users list's revision filter picks one schema revision, orOlder revisionsfor every user not yet on the newest. ItsLatest onlychoice is gone: pick the newest revision instead, and a link carryingrevision=latestopens the schema's whole list. The revision menu there and on a schema's detail page shows each revision the same way: a shortened id, its creation time, andLatestandIn usebadges. An older revision no longer carries a note and migration-guide link under Field definitions; its badges say where it stands. Ids that do not fit their slot are cut in the middle, keeping their start and the end that tells them apart (user_0…PQFJA0,https://part…/v2/profile.schema.json): in id columns, the revision pickers, a schema's id under its title, and a user's revision box. -
@zitadel/server: #2731c2c8454- The console's user page now says when a newer schema revision is available, and lets you move that user to any revision of their schema, asking only for the values the move needs. See Migrate users between schema revisions. -
@zitadel/server: #2686bb83d04- The console's Add user and user edit forms now build their controls from the whole user schema, including nested objects, arrays, nullable types and enums. Rules show as help and errors on the affected field. A property no control can write points to the CLI or API. The identifier is marked, labels name their API property on hover, and objects can be collapsed. -
@zitadel/server: #2679c2b79af- A project secret can no longer read a granted platform user's profile through the grants API, and a project that has not been claimed can no longer grant platform users or teams.Breaking:
expand=principalonGET /grants/{id}andPOST /grants/querynow answers 403user.permission_deniedunless the caller can read the platform project.POST /grantson a project that has not been claimed answers 403grant.project_unclaimed; claim the project first. -
@zitadel/server: #2534ec3c199- The server writes anapi errorlog line for every error it answers. That includes a sign-in step it refuses (for example a wrong password, a rejected passkey or a failed external sign-in), a refusal with its own response body, a path or method no operation serves, and the external sign-in callback. Each line carries the error's cause and the place it was raised, and shares therequest_idof the request'srequest servedline, which holds the status. Values a user submitted, such as an email or a pasted client secret, are left out of these lines. -
@zitadel/server: #26890aff39f- Serve the OpenAPI document this binary was built from atGET /api/v1/openapi.json, with no authentication, so clients and agents can read the contract of a specific deployment. -
@zitadel/api: #26137f2568d-@zitadel/api/runtime/pagingnow exports one class,Paging: build one from a list's page readers, or withPaging.byField()from the names of its fields, thenwalk()its pages andcollect()them.It replaces
pages(),nextToken()anditemsOf(): usenew Paging({ items, next }).walk(fetch),paging.next(page)andPaging.byField(field).items(page). A fetch function now also receives the page number as a second argument.A client function's
all()no longer throws aRangeErroron a very large page. -
@zitadel/config: #2493bbc6bc5- Add the Node-only@zitadel/config/bootstrap-userexport so setup tools can generate bootstrap user documents using the same password hashing and document format aszitadel start.
Patch Changes
-
@zitadel/cli,@zitadel/server,@zitadel/api: #24541746222- The API reference explains each operation for developers new to Zitadel: where
each required ID comes from, what else a call changes, and how to recover from
a refusal, in short sentences with consistent terms. An operation it names
carries its method and path, such ascreateRelease(POST /releases). The@zitadel/apiJSDoc
and thezitadelCLI's flag help, which come from the same descriptions,
follow. -
@zitadel/cli,@zitadel/config: #27526777ed8-zitadel auth-method password|passkey|sso disable --dry-runnow refuses to remove a schema's last way to sign in without--force, as the real run does, andzitadel deploywarns when a login flow can finish without verifying a password, passkey or SSO sign-in. -
@zitadel/cli: #227143cb628-zitadel setupwrites a working link to the worked flow examples intoAGENTS.mdagain. -
@zitadel/cli: #264296dab2d-zitadel api -handzitadel api helpnow show the command's help, aszitadel api --helpdoes, instead of failing withNo operation is called help.-hworks as--helpon every command. -
@zitadel/cli: #25996a7cd64-zitadel claimnow waits on its normal, growing delay after the platform rate-limits a status check, and the browser is opened through theopenpackage, which takes aBROWSERsetting as the program to open the link with. -
@zitadel/cli: #25996a7cd64- Pressing Ctrl-C whilezitadel claimwaits between status checks now ends the wait at once instead of after the next check. -
@zitadel/cli: #26385a26a18- Every command now checks its flags, their combinations and what it needs from the project before it runs, so a bad value or a missing precondition is refused up front rather than part way through. Each refusal keeps the code that says what went wrong —E_VALIDATIONfor a bad flag, and the code the precondition already used, such asE_LOCAL_SERVER_NOT_RUNNINGorE_CONFLICT— so a caller that branches on the code still can. The wording of some refusals changed.Colour is decided once for a run, by where its output goes rather than by what is piped into it, so
--color,--no-color,NO_COLORandFORCE_COLORnow mean the same thing in every command:deploy,logs,previewandreleasehonourFORCE_COLORas their--colorflag already promised, and output stays coloured when input is redirected but the terminal is still the destination. -
@zitadel/cli: #2751ddc2e1c-zitadel auth-method password disableandauth-method passkey disablenow say, when a login flow still uses the method, what each step keeps without it, which purpose it starts and which transitions lead to it, instead of only saying to remove the method from those steps. -
@zitadel/cli: #27610474c78-zitadel doctorshows the command that repairs a warning right under it, instead of repeating the warning in plain words among the next steps. The local server's row says whether it is running, the hint to run with-vmoves to the end and says how many checks there are, and the warning about other local servers on the machine says so in plain words. -
@zitadel/cli: #2674bd2611e-zitadel deploy --dry-runnow stops on a flow whoseuser_schemanames a schema that neither.zitadel/schemas/nor the project holds, instead of passing it for the deploy to be refused. -
@zitadel/cli: #275000501d1-zitadel auth-method password enableandpasskey enablenow say what to add to which flow file when no login flow offers the method yet, instead of only that one should. -
@zitadel/cli: #2645841266e-zitadel resetnow says what it deletes before it asks: the local server's database in the project's.zitadel/local/nextgen-data, which cannot be undone, and that it keeps the local admin sign-in and the rest of the project. -
@zitadel/cli: #2753b83f129-zitadel auth-methodcommands now accept a user schema'sobjectTypein--schema, the name login flows use, as well as its file name. When a schema is missing or the name fits more than one, the error lists each schema by both names, and--schema <file>.jsonpicks the file, as the commands' own suggestions do for such a name. -
@zitadel/cli: #277126f8264-zitadel setuptells you how to add social sign-in later when you skip it. -
@zitadel/cli: #27496f4e241-zitadel setuplistsssoamong the sign-in methods in its summary box and in
data.sign_in.methodswhen you choose an external provider. -
@zitadel/cli: #27461b39fe1- The agent skill bundled with the CLI now says consistently thatzitadel setup
deploys.zitadel/after it scaffolds the project, so an agent no longer runs
an extradeployor tells you nothing was published. -
@zitadel/cli: #2698f818392- A JSON body is now spelled with the escapes JSON itself uses, sozitadel apiand a--dry-runpreview stay parseable, and a refusal worth retrying is reported as one:429fails withE_NETWORKand410withE_NOT_FOUNDrather thanE_VALIDATION. -
@zitadel/cli: #2755cdf3c92-zitadel auth-method sso disablenow says what it keeps (the provider's connection file, which every deploy still publishes, its credential variables and its sign-in steps) and how to remove the file and the variables. -
@zitadel/cli: #2754913dcb9-zitadel auth-method sso disable --providernow fails withE_NOT_FOUNDfor a provider that nothing offers, the catalog does not list and no connection under.zitadel/idps/names, such as a typo, and lists the providers and connections the project has, instead of reporting success. -
@zitadel/cli: #27585a39e2b-zitadel auth-method sso enable --dry-runnow prints the callback URI and where to register the OAuth client, and lists the connection file, schema and flow updates and credential variables the real run would write (would_storein--json), without asking for credentials. -
@zitadel/cli: #25794dc2b22- List tables in thezitadelCLI now keep their columns lined up after wide text such as Chinese, and show control characters in a value as escapes instead of sending them to your terminal. -
@zitadel/cli,@zitadel/config: #27572e14564-zitadel deploy --dry-runandzitadel doctornow refuse a user schema whosex-auth-methodsholds a key that is not an authentication method, such as a misspeltpasword, and suggest the method it was likely meant to be. An unknown key inside a method and an emptyx-auth-methodsare refused too. Before, the dry run passed and the deploy failed with a generic request error. -
@zitadel/cli: #28480453aca-zitadel deployfrom an uncommitted tree now says its release records an approximate commit and suggests the commit as the next step, and the CLI skill tells agents to commit.zitadel/before every deploy, not to deploy changes they cannot account for, and that a project has no OAuth client, only a project id and secret. -
@zitadel/cli: #2823415f995-zitadel deploy --dry-runand the deploy diff now show changes to the policy files in.zitadel/policies/, leaving out its test files,README.mdand subdirectories, which no release carries. -
@zitadel/cli,@zitadel/server,@zitadel/config: #25979b687fe-zitadel deploynow prints which schema or flow the server rejected and why, instead of onlyrelease: invalid. A schema that fails the meta-schema names the failing property path and keyword. Thewarn/password-without-identifierwarning no longer fires for a password step reached through an SSO email collision, so the scaffolded flow deploys without a falsesso-conflictwarning. -
@zitadel/cli: #2685183b009- A Next.js app thatzitadel setupcreates titles its sign-in, sign-up and profile pages "Sign in", "Create account" and "Profile" instead of create-next-app's "Create Next App". An existing app keeps its own titles. -
@zitadel/cli,@zitadel/config: #2824db8ecc2-zitadel policies test --helpnow says that test cases go in<operation>.test.jsonbeside the policy, not on the command line, and that the server evaluates them; the policies README thatsetupwrites says that a policy applies once a deployed release carries it, for passwords set through the API too, that a pull request'spreviewapplies it only on that pull request's preview URLs, and that a history case needshistory_depth2 or more. -
@zitadel/cli,@zitadel/server,@zitadel/api,@zitadel/config: #26938f490a4- Update dependencies that have published security advisories.@zitadel/clinow
requiresundici7.30.1 or later, which fixes TLS certificate validation being
skipped, cache poisoning across redirects and several denial-of-service bugs.
@zitadel/cli,@zitadel/apiand@zitadel/configrequirezod4.6.6 or
later, which stops oversized collections from exhausting memory during
validation. The console embedded in the server picks up theserovalandzod
fixes. -
@zitadel/cli: #27789b8b6fe-zitadel setupnow creates a new app in a folder whose name is not a valid npm package name, such as one made bymktemp -d, instead of stopping withFresh app directory name … is not npm-package-safe. The app is generated in a subfolder with a valid name and moved up into the folder. -
@zitadel/cli: #2774930eb66-zitadel setupnow asks "Which sign-in method would you like your users to see first?" and words its two answers by what users see first and what is secondary, so email and password and passkey no longer read as the same choice from opposite directions. -
@zitadel/server: #2614e562907- The console shows a failed action's whole error message instead of cutting it off after one line, so the reason and the next step stay readable, for example when deleting a project's last owner is refused. -
@zitadel/server: #2820c5eb07b- The console now shows the Zitadel favicon on self-hosted servers, which used to serve none: it linked files only the hosted cloud provides. -
@zitadel/server: #284543d2a8d- The console's project page no longer shows a warning when the password policy's minimum length is under 15 characters: it states the rules the policy sets without grading them. -
@zitadel/server: #2814f417309- The console's team details label the team's name "Team name", matching the rest of the console. -
@zitadel/server,@zitadel/config,@zitadel/components: #267569df981-<zitadel-login>'s error for an unknownflow-name, the@zitadel/componentsand@zitadel/configREADMEs and the branding API reference now namezitadel deployinstead of the removedzitadel applyandzitadel plan. -
@zitadel/server: #227245c5abe- The session exchange'ssess.invalid_ttlerror reportsttlandmax_ttlwith their fractional seconds, instead of rounding them down to the second or writing an emptyPbelow one second. -
@zitadel/server: #27168feb3ec- When an identity provider refuses the code exchange, the server log now includes the provider'serror_description, for exampleinvalid client_id / client_secretfor a wrong client secret. -
@zitadel/server,@zitadel/components: #2598503e27b- An SSO sign-in whose provider account is linked to a user of a schema the flow does not serve now ends withflow.sso_user_schema_mismatchinstead offlow.restart_required.<zitadel-login>shows "This account can't sign in with this provider. Please try another way to sign in, or contact your administrator." in English, Italian and German, rather than asking the visitor to start again, which could never succeed. -
@zitadel/api: #26271332c85- The@zitadel/apiJSDoc links to docs pages by full URL, on
https://preview.zitadel.com, so they open from an editor. The OpenAPI
document the docs serve at/docs/openapi.jsonlinks them on the host that
served it. -
@zitadel/config: #268214d27d8- The.zitadel/flows/README.mdthatzitadel setupwrites now lists its edits by goal, each with the JSON to change, and says that a required schema property must be collected by a step. The docs add Edit the login flow. -
@zitadel/config: #2756aa65acf- The.zitadel/schemas/README.mdand.zitadel/flows/README.mdthatzitadel setupwrites now name thezitadel auth-method password|passkeycommands and show how a flow step offers each method. The docs add Turn password and passkey sign-in on and off. -
@zitadel/components: #26771420ccb-<zitadel-login>no longer carries a typed password or one-time code to the next step: after "Use another account", or on any later step that asks for one, the field starts empty. A value the same step refuses is kept so it can be corrected. -
@zitadel/components: #2681f76173b-<zitadel-login>checks a field's minimum and maximum length before submitting.<zl-field>shows only the error under a field while it has one, and its help text again once the error clears. A wrong password (error.invalid_credentials) now shows on the password field instead of in the form-level alert, so a custom template must render that field's error (f.name | fieldError: errors) to show it. -
@zitadel/components: #267648d8872-<zitadel-login>now says which attribute is wrong when it cannot start a flow: apurposethat is not a flow purpose (with the valid ones), aflow-namethat is not a valid name, a project id the server refuses or does not have, and a purpose no active flow serves. -
@zitadel/sdk-nuxt: #2585f227766- Pages that import from@zitadel/sdk-nuxtno longer fail to load in the browser (does not provide an export named 'toWebRequest') in apps installed with npm, which paired the SDK with h3 2. Its h3 peer range is now^1.15.0, the h3 line Nuxt 4 runs on. -
@zitadel/sdk-nuxt: #258418965d9-nuxt devnow pre-bundles the dependencies of<zitadel-login>and the other widgets when it starts, so the first page that shows a widget loads them as one module instead of fetching lit, lucide and@zitadel/componentsfile by file (about 2,000 requests in a new app).