Repository navigation
build: version packages - #3285
Merged
Merged
Conversation
Contributor
|
zitadel-nextgen-release
Bot
force-pushed
the
changeset-release/main
branch
27 times, most recently
from
November 27, 2026 08:22
75b5cc7 to
4fd0139
Compare
zitadel-nextgen-release
Bot
force-pushed
the
changeset-release/main
branch
13 times, most recently
from
November 30, 2026 10:00
b85b6d9 to
7a47758
Compare
zitadel-nextgen-release
Bot
force-pushed
the
changeset-release/main
branch
from
November 30, 2026 10:17
7a47758 to
a1e6a96
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merging this pull request releases
v0.10.0:release-publishpublishes the npm packages and the server container image, and drafts the GitHub Release. Until then, each changeset merged tomainupdates it.Each change is listed once, with the packages it ships in, as the GitHub Release will list it. Every package's
CHANGELOG.mdis in the diff.Minor Changes
@zitadel/cli: #326753b5bc6- A command now takes--dry-runonly when it changes something. A dry run saysWould <verb> <subject> (dry run), and its--jsondatacarriesverb,topicandid. The cross-flag errors oflogs,startanddoctoruse oclif's wording.Breaking: a command that only reads, such as
variable get,deployment listorstatus, now refuses--dry-runas an unknown flag, anddeploy,release create,previewandenv addheadline their dry runs differently. Stop passing--dry-runto reads, and match ondata.verbrather than on the headline text.@zitadel/cli: #3196229660e- The CLI reports how developers move through its journeys: the setup wizard and OIDC provider setup as flows with their steps and outcomes, and every command's outcome with the facts it knows, such as the sign-in method, the identity provider kind, the access level a grant gives, and the stage and configuration a deploy changed. Nothing is sent without the existing telemetry consent, and no entered value is ever included.@zitadel/cli: #326753b5bc6---serveris taken only by a command that reads a server, and the commands those suggest next no longer carry it.Breaking:
start,stop,reset,logs,tests add,skills add,upgrade,ejectandbranding ejectnever used--serverand now refuse it as an unknown flag. Remove it from scripts that pass it to them.@zitadel/cli,@zitadel/server,@zitadel/config: #3378074a400-zitadel settings oauth enableturns the project's OAuth authorization server on: it writes.zitadel/oauth/oauth.json, the one settings file beside the branding descriptor, andzitadel deployships it as the release'soauthresource. A release without the file leaves the authorization server off.@zitadel/configexports the file'soauthConfigSchema, itsoauth-settings.jsonmeta-schema andOAUTH_FILE_SCHEMA_REF, and the OpenAPI description of the OAuth settings names the file.@zitadel/cli,@zitadel/server,@zitadel/config: #32011bae790- A release can declare applications:POST /releases/buildtakesapplications, served by the deployments of that release (docs), and a deploy is refused while a declared client's${{ NAME }}secret variable has no value, holds a plain value, or holds a secret that is empty or not a string.GET /applications/revisions/{revision_id}reads what a release pins, and the console's release detail lists the applications and OAuth settings it pins.zitadel deploysends the applications under.zitadel/applications/<slug>.jsonwith the release, anddeploy --dry-runshows an added, changed or removed application in its diff. Before anything is uploaded, a deploy refuses a file that breaks the application schema, a client without aclient_id, a confidential client that does not name its secret as a${{ NAME }}variable, two files with one slug, two clients with oneclient_id, and a secret variable another client or a connection names, and it refuses a secret variable the project lacks or holds as a plain value.setupcopies the schema to.zitadel/meta/application.json, so editors check the file's shape.@zitadel/configexportsapplicationConfigSchemaanddeclaredApplicationIssues.@zitadel/cli,@zitadel/server: #33719765b76- Events carry acorrelation_idthat joins the requests of one sign-in, invitation or project claim.GET /events(docs),zitadel event list --filter correlation_id=…and the console's Events search filter by it. A sign-in keeps one ID from its authorization request to its token. An invitation'sjourney_idis that ID. A traced request's event names its trace inmetadata.trace_id.@zitadel/cli,@zitadel/api,@zitadel/components,@zitadel/sdk-core,@zitadel/sdk-next,@zitadel/sdk-nuxt,@zitadel/sdk-react,@zitadel/sdk-vue,@zitadel/sdk-angular,@zitadel/sdk-solid,@zitadel/sdk-svelte,@zitadel/sdk-qwik,@zitadel/sdk-sveltekit,@zitadel/sdk-solid-start,@zitadel/sdk-qwik-router,@zitadel/sdk-tanstack-start: #3321ac5e295- Every SDK now has a warning-free API reference that documents each export, prop, event and option, and exports the same names for the same things. Each framework SDK also exports the widgets of its UI SDK from a./componentsentry, so an app imports everything for its framework from one package. The Angular components use signal inputs and outputs.Breaking: the names that carried the alpha codename now say Zitadel:
createNextgenHandle,createNextgenOnRequest,createNextgenRequestMiddleware,createNextgenMiddlewareandnextgenMiddlewarearecreateZitadelHandle,createZitadelOnRequest,createZitadelRequestMiddleware,createZitadelMiddlewareandzitadelMiddleware;NextgenSessionisZitadelAuthSession;NextgenMiddlewareOptionsisZitadelMiddlewareOptions;NextgenProviderisZitadelProvider;NextgenHandleisZitadelHandle; in TanStack StartNextgenRequestOptions,NextgenRequestDecisionandhandleNextgenRequestareZitadelRequestOptions,ZitadelRequestResultandhandleZitadelRequest; thenextgenAuthkey onevent.locals,event.contextand the Qwik shared map iszitadelAuth; the internal header isx-zitadel-auth-token; the Qwik Router route file isplugin@zitadel.ts; and the Nuxt module key and variables arezitadelandNUXT_ZITADEL_*,useState("nextgen-auth")isuseState("zitadel-auth"), andruntimeConfig.public.nextgenProxyPath,nextgenApiBaseandNUXT_PUBLIC_NEXTGEN_*arezitadelProxyPath,zitadelApiBaseandNUXT_PUBLIC_ZITADEL_*. A Nuxt app that keeps any old Nuxt name now fails to build or to start instead of losing itsprotectedRoutes. The legacy__nextgen_sessioncookie is no longer handled; the server already refuses that name. The/__nextgenproxy path is unchanged. Also:@zitadel/sdk-tanstack-start/reactis@zitadel/sdk-tanstack-start/components; the Angular classes lose theirComponentsuffix and need Angular 19 or newer (zitadel setupnow refuses Angular 17 and 18); their inputs are read-only signals (input()), so code that assigned an input directly (component.project = value) must bind it in a template or callsetInput, and code that read it as a plain value readscomponent.project();ZitadelLoginPropsand its siblings are one type per widget, and in Angular they are the inputs only; the flow types come from@zitadel/sdk-core(ZitadelFlowPurpose,ZitadelFlowStep,ZitadelFlowBehavior) instead of the generated client; every UI SDK no longer re-exportsZitadelLoginConfig,ZitadelLogoutConfig,ZitadelSessionConfig, the*Handlerstypes,ZitadelNavigationDetailor the wrapper attribute types (ZitadelWidgetAttributes,WithZitadelWidgetAttributes,Zitadel*ReactPropsandZitadel*SvelteProps); the config, handler and navigation types are in@zitadel/sdk-core/types; the./componentsentry of@zitadel/sdk-tanstack-startno longer re-exports the session, event and widget-name types; and the helper typesZitadelWidgetName,ZitadelWidgetTag,ZitadelStandardAttributeName,ZitadelStandardAttributes,ZitadelStandardAttributePropsand theZitadel*EventMapinterfaces are no longer exported. ThegetSessionoption type of@zitadel/sdk-nextis the@zitadel/sdk-coretype, which is not a breaking change. Angular'sconfigureZitadelis now the shared one, which registers the project once and returns the first handle if it is called again with different values. Every exported type of every SDK now carries theZitadelprefix, so it no longer collides with the types of an app or of an auth library. The most visible renames areAuthResulttoZitadelAuthResult,AuthStatetoZitadelAuthState,UnauthStatetoZitadelUnauthState,ClientAuthResulttoZitadelClientAuthResult,ClientSessiontoZitadelClientSession,AuthOptionstoZitadelAuthOptions,ProxyHandlertoZitadelProxyHandlerandSessionStoretoZitadelSessionStore.Breaking in
@zitadel/components: a login flow navigates only to anhttporhttpsURL, so a custom-schemeredirect_urisuch asmyapp://callbacknow fails instead of navigating;ZitadelFlowStepis nowname,purpose,noticeanderror, so code that readsstep.redirect_urlorstep.fieldsfails to compile;ZitadelRuntimeInputisZitadelRuntimeOptions; and the sanitiser removes everyon*attribute, also fromzl-*elements.Behavior: the login redirect of
@zitadel/sdk-qwik-routeris an absolute URL like the other server SDKs, a proxied redirect keeps a path that starts with several slashes on the origin of the app, and the proxy sends the project secret only on a handoff exchange that the browser marksSec-Fetch-Site: same-origin, or, from an older browser that sends no such header, with anOriginthat names the host of the app, so a page on another site can no longer sign a visitor in as someone else through the proxy. The Nuxt settingsprotectedRoutes,ignoredRoutes,allowedAlgorithms,allowedTokenTypesandaudiencealso accept a comma-separated string. Also: an emptyurlorprojectSecretnow counts as unset in every server SDK and falls back to the next source,projectSecretis an option of every server SDK except the Nuxt module, andprotectedRoutesalso matches the percent-decoded path, so/%61dminis protected like/admin.Breaking in
@zitadel/sdk-core:requiresProjectSecrettakes the request headers as a third argument,validateOpaqueSessionTokenis removed,checkOpaqueSessionToken,serverSessionCookieNameandsessionCookieNametake one options object, andgetSession(also the one of@zitadel/sdk-next) throws aZitadelRuntimeErrorwith acodeinstead of a plainError.Upgrading: rename these in your app, or scaffold it again;
zitadel upgradedoes not rename them for you.@zitadel/apimoves from the dependencies of the SDKs to their development dependencies, and no value export changed.@zitadel/cli: #32875b51643-deploy,previewanddoctornow warn about eight SSO setups that are valid but cannot work as intended: a connection no schema lists, a schema listing a provider no flow offers, a mapping or verification key no schema defines on a connection nobody lists, a mapping target only some schemas define, verified claims that match nothing the pinned schema defines, a register step offering a provider that never creates users, and automatic user creation that can never fill a required property or verify a required unique one. The warnings do not stop a deploy.@zitadel/server: #3365054624f-POST /applicationsnow honors theIdempotency-Keyheader for 24 hours. A retry with the same key and body writes no revision. It replaces the secrets of the clients the first request created and returns the new ones, so a lost response no longer loses the secrets. The same key with another body is refused with422 app.idempotency_key_reused. SeepublishApplication.@zitadel/server: #3387f97f7e6- The console's application page says whether a release declares the application (Code) or the API registered it (Registered). Each client shows its secret: configured for a registered client, the variable holding it for a declared one. For a declared application, the page says to edit a client locally and deploy.@zitadel/server,@zitadel/components: #325744f8d9b- The console's login flow screen draws the flow as a canvas: a card per step sketching its fields and actions in the project's branding, and a named arrow per transition. It zooms by Ctrl or ⌘ and the wheel, a pinch or the keyboard, pans by drag, opens full screen, and isolates a step's transitions in and out on hover or focus.@zitadel/componentsexportsbrandingDeclarations(branding, side), the--zl-*values a branding revision paints for one side, for hosts that set them on an element rather than adopting the stylesheet.@zitadel/server: #32231eb99e9- In the console, the Members tab of a project's Settings lists one row per person and per team with a role on the project, with the role and when it ends. The team that owns the project is badged Owner. A team opens to the people who hold the project through it. A row's menu removes its access, or, where it holds more than one role, the weakest.@zitadel/server: #3260478000d- The events API and its webhooks have a new type,auth.request.exchange.failed: an app presented an authorization code and a check refused it. It carries the app'sclient_idand areason, and the console's "Only failures" filter includes it. The login does not issue codes yet, so nothing writes it for now.@zitadel/server: #326159e66d2- Withoauth.enabled,/oauth/<project_id>/jwks, thejwks_uriof a project's issuer, serves the public keys of the project's token signing keys as a JWK set, so a backend can verify the project's access tokens. The set does not depend on the project's release: a release that turns OAuth off leaves it up, so tokens issued before stay verifiable until they expire. A project that does not exist answers 404. A verifier may cache the set foroauth.jwks_max_age, 5 minutes by default.@zitadel/server: #32621d947b8- The token endpoint/oauth/<project_id>/tokenexchanges an authorization code for an access token: a JWT signed with the project's key, valid for five minutes, or until the session ends if that is earlier. The application authenticates with its client secret, in theAuthorizationheader or in the form. No refresh token or ID token is issued yet, and the login does not issue codes yet.@zitadel/server,@zitadel/api: #3300938e678-GET /projects/{project_id}/adminsis removed; list a project's admins withGET /projects/{project_id}/members?relation=admin.Breaking: calls to
/projects/{project_id}/adminsand thelistProjectAdminsclient method no longer exist. CalllistProjectMemberswithrelation=admin: it returns the same people, undermembers, each withrelationandsources.@zitadel/api,@zitadel/components,@zitadel/sdk-core,@zitadel/testing: #3392e96a106- Every@zitadel/apirequest now takes its settings from one immutableZitadelClient, so two clients on a page, such as an app's own and the sign-in widget's, can no longer leak a timeout, abort signal or token into each other's requests.Breaking: every generated operation takes its client as the first argument (
getProject(client, projectId)), and calling one without it does not compile.createZitadelClient(options)is replaced bycreateZitadelApi(new ZitadelClient({ baseUrl, token })), which binds every operation to one client.pagedFunctions[name].withTokentakes and returns the generated function's full arguments, its client first.getApi(project)still binds every operation to the project's client, andgetClient(project)returns that client.setProxyPath,getProxyPath,getApiBaseUrl,setRequestPolicy,createApiand the@zitadel/api/runtime/authentry (setApiAuthToken,setApiCsrfToken,setApiCsrfRejectionHandlerand their getters) are removed, and so isCSRF_HEADERfrom@zitadel/api/runtime/fetch: the client knows nothing of CSRF, and an app that needs the header passes its ownfetchto the client. A client'sonRequestruns before every request with aZitadelRequest(the operation's name, URL and request), and stops the request by throwing. The generatedget…Urlbuilders are no longer exported; call the operation, which builds its own URL.getApi(project), in@zitadel/api/configand re-exported by@zitadel/sdk-core, therefore no longer carries them, and it gains aclientproperty holding theZitadelClientevery operation runs against. In@zitadel/testing,ConnectedZitadel.apiand the seeding helpers take the boundZitadelApitype, which@zitadel/api/clientno longer callsZitadelClient.@zitadel/config,@zitadel/components: #33867c699e1-<zitadel-login>now loads only what a page uses: the template engine, the HTML sanitiser and the German or Italian texts load when a page first needs them, so every SDK's app stays under the bundlers' 500 kB chunk warning.standalone.mjsis now minified.@zitadel/config/template-tagsholds the template tag names without the validator.Breaking:
de,itandbuiltinLocalesare no longer exported from the package root or@zitadel/components/orchestrator. Import them from@zitadel/components/locales; the widget still picks the translation for the page's language by itself.@zitadel/sdk-core,@zitadel/sdk-next,@zitadel/sdk-nuxt,@zitadel/sdk-sveltekit,@zitadel/sdk-solid-start,@zitadel/sdk-qwik-router,@zitadel/sdk-tanstack-start: #333417e7bf4- The server SDKs' proxy now serves the metadata of your project's OAuth issuer at/.well-known/oauth-authorization-server/__nextgen/oauth/<project id>, and tells the server its proxy path and yourloginPathon every request, so an authorization request lands on your login page. OAuth paths of any other project answer404.Upgrading a Next.js app: if you narrowed the middleware's
matcher, add/.well-known/oauth-authorization-server/:path*to it.@zitadel/sdk-vue,@zitadel/sdk-angular: #34482205192- The Angular and Vue widgets now wait for anasyncevent handler before they navigate, as the React, Solid, Svelte and Qwik widgets already do: each component calls your callback itself and registers what it returns on the event detail'swaitUntil, so a handler that stores a session finishes before the page leaves. CallingwaitUntilby hand is still needed only for work a handler starts after it returns.Breaking:
@zitadel/sdk-angular's widget events are callback inputs, named as every other SDK names them, and no longer Angular outputs, because an output drops whatever its subscribers return. Replace(flowStep),(flowInput),(flowComplete),(flowRedirect)and(flowError)onzitadel-auth-loginwith[onFlowStep],[onFlowInput],[onFlowComplete],[onFlowRedirect]and[onFlowError], and(signout)onzitadel-auth-logoutandzitadel-auth-sessionwith[onSignout]: bind the function itself rather than a call, as in[onFlowComplete]="onComplete", and it receives the event detail as its one argument.ZitadelLoginProps,ZitadelLogoutPropsandZitadelSessionPropsnow carry those callbacks too.@zitadel/sdk-vuekeeps its template syntax,@signout="onSignout"and@flow-complete="onComplete", which Vue hands the component as the matchingonSignoutandonFlowCompleteprop; a handler's returned promise is no longer discarded, so a handler that returned one by accident now delays the widget's navigation by up to two seconds.Patch Changes
@zitadel/cli: #3434b07fbe5-zitadel deployanddeploy --dry-runprint the diff of.zitadel/once on a terminal, as they already did when piped, instead of twice.@zitadel/cli: #33572383162-invitation createnow says, under the link it prints, that the link is shown only once, as the console does.--jsonoutput is unchanged.@zitadel/cli: #3366c7da794-setupno longer warns about, or asks to move off, a dev port held by the app's own dev server: a process running in the app's folder is taken for it, so the app stays on the port it is running on. When another process holds the port, the warning now names it (node (pid 4242)) and suggests stopping it or runningsetup --dev-portwith a free port.@zitadel/cli: #3319bb0bb9a- The sign-in, register and profile pages thatzitadel setupscaffolds for Angular, Qwik, Qwik Router, React, Solid, Solid Start, Svelte, SvelteKit, TanStack Start and Vue now centre the Zitadel widget in the window. Before, the card sat against the top edge of the page.@zitadel/cli: #33018328cfa-zitadel setupnow finishes when you press Enter at every question: after you pick no external sign-in provider, "Would you like to continue without setting up SSO?" has Yes preselected instead of No, which sent you back to the provider list again and again.@zitadel/server: #3292d0ecae9- The console's flow canvas opens already fitted to its card, and Ctrl with a mouse wheel zooms at the wheel's pace in every browser. A step that has keyboard focus keeps its transitions isolated while the pointer moves over other steps.@zitadel/server: #32989a4c6f2- The console's invitation page now shows which account is signed in and offers Use another account, so an invitation is not accepted with the wrong one. A link left open in a tab is no longer shown to a different account that signs in there later.@zitadel/server: #34032bb8ff3- The console's invitation page now tells someone who already has access to the project which role they have, and no longer offers Join project or Decline invitation to them. The invitation stays pending for the person it was meant for.@zitadel/server: #3339b869030- In the console's Invite member dialog no role is preselected any more, and Create invitation stays disabled until you pick one, so a link no longer grants Admin by default. People who are not admins of a project no longer see Invite member, and the Invitations tab tells them only admins can see invitations instead of showing an error.@zitadel/server: #3277a944d25- The console's project Settings → General page titles its first card "Project details", draws Add origin as an outlined button and each origin's menu with a vertical three-dot icon, and shows variable values in a monospace face. On a narrow screen, the Variables and Secrets table scrolls inside its card.@zitadel/server: #3358d0b5f3f- Building a release again with unchanged flow definitions reuses the stored flow revision when a step declares a gate withoutconfig. Before, every build stored a new revision of that flow and a new release.@zitadel/server: #32011bae790- A deploy is refused withdep.variables_not_secretwhen an identity provider'sclient_secretnames a variable stored as a plain value, or as a secret that is empty or not a string, instead of every sign-in through that provider failing.@zitadel/server: #33601b95cfd- Accepting or declining a project invitation as someone who already has access to the project, through a grant, a team, the owning team or operating the deployment, now answers409 inv.already_memberwith their role and leaves the invitation pending for the person it was meant for, andlookupInvitationreturns that role asmembershipbefore either is called.@zitadel/server: #302620d1a9f- A passkey sign-up with an email that already has an account now shows that the account exists before the browser asks to save a passkey. Before, the browser saved the passkey first and the server refused it, which left an unusable entry in the password manager.@zitadel/server: #34350e71400- Request and correlation IDs now say what they are. A new correlation ID iscorr_and 32 hex digits, and the console's Events search takescorr_…straight to its chain. A request ID taken from a proxy (server.request_id_header) is nowreq_and the proxy's ID, as a minted one is: on the hosted cloud, search Vercel's logs for the part afterreq_.@zitadel/components: #330264490c2-<zitadel-login>no longer asks for an email when your user schema'sx-identifieris another field, such asemployee_number: the sign-in screen's description needs nolocalesoverride any more. The passkey-first screen's fallback button now reads "Sign in another way" for every identifier.@zitadel/components: #3309462cc41-<zitadel-login>names no email in its notices and sign-in errors when your user schema'sx-identifieris another field, such asemployee_number. The notice on the sign-up screen a sign-in moved to readsnotice.user_not_found.custom_identifierfor such an identifier. For every identifier, a wrong password now reads "Wrong password.", a passkey that is not registered asks you to sign in another way, and a sign-up that moved to sign-in says that an account with these details already exists.@zitadel/components: #33167c526cd- The hidden username field that<zitadel-login>renders on the password step now has anid. Chrome's Issues panel no longer reports it as a form field with neither an id nor a name, and the field stays out of the submitted fields.@zitadel/sdk-core,@zitadel/sdk-next,@zitadel/sdk-sveltekit,@zitadel/sdk-solid-start,@zitadel/sdk-qwik-router: #34403f9bf79-@zitadel/sdk-nextnow ships minified JavaScript with source maps, built like the other server SDKs; every"use client"module keeps its directive in its own file.@zitadel/sdk-core,@zitadel/sdk-qwik-router,@zitadel/sdk-solid-startand@zitadel/sdk-sveltekitnow emit one JavaScript file per source file instead of shared chunks. What every package exports is unchanged.@zitadel/sdk-core,@zitadel/sdk-sveltekit,@zitadel/sdk-solid-start,@zitadel/sdk-qwik-router,@zitadel/sdk-tanstack-start: #343836e026f-@zitadel/sdk-core,@zitadel/sdk-qwik-router,@zitadel/sdk-solid-start,@zitadel/sdk-sveltekitand@zitadel/sdk-tanstack-startnow ship minified JavaScript with source maps and one type declaration file per source file. What they export is unchanged, except that@zitadel/sdk-core/typesno longer declares three internal names (NATIVE_NAMES,STANDARD_NAMES,NativeName) that never existed at runtime.@zitadel/sdk-core: #34482205192-withDetailis exported from@zitadel/sdk-core/types. It hands a widget event's detail to an appcallback and registers what the callback returns on the detail's
waitUntil, which is how everySDK's wrappers forward the
zitadel-*events. It is plumbing rather than API, so it carries@internaland stays out of the docs, but it is in the published declarations.@zitadel/sdk-svelte: #34482205192- A server render no longer writeslocalesonto the widget element. The property has no attributeform, so it was stringified as
locales="[object Object]"into the markup every visitor receivedon the first paint; it is now bound on the client only, as the project handle already was.