Skip to content

build: version packages - #3285

Merged
vitorbari merged 1 commit into
mainfrom
changeset-release/main
Nov 30, 2026
Merged

vitorbari merged 1 commit into
mainfrom
changeset-release/main

Conversation

@zitadel-nextgen-release

@zitadel-nextgen-release zitadel-nextgen-release Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Merging this pull request releases v0.10.0: release-publish publishes the npm packages and the server container image, and drafts the GitHub Release. Until then, each changeset merged to main updates it.

Each change is listed once, with the packages it ships in, as the GitHub Release will list it. Every package's CHANGELOG.md is in the diff.

Minor Changes

  • @zitadel/cli: #3267 53b5bc6 - A command now takes --dry-run only when it changes something. A dry run says Would <verb> <subject> (dry run), and its --json data carries verb, topic and id. The cross-flag errors of logs, start and doctor use oclif's wording.

    Breaking: a command that only reads, such as variable get, deployment list or status, now refuses --dry-run as an unknown flag, and deploy, release create, preview and env add headline their dry runs differently. Stop passing --dry-run to reads, and match on data.verb rather than on the headline text.

  • @zitadel/cli: #3196 229660e - 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: #3267 53b5bc6 - --server is 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, eject and branding eject never used --server and now refuse it as an unknown flag. Remove it from scripts that pass it to them.

  • @zitadel/cli, @zitadel/server, @zitadel/config: #3378 074a400 - zitadel settings oauth enable turns the project's OAuth authorization server on: it writes .zitadel/oauth/oauth.json, the one settings file beside the branding descriptor, and zitadel deploy ships it as the release's oauth resource. A release without the file leaves the authorization server off. @zitadel/config exports the file's oauthConfigSchema, its oauth-settings.json meta-schema and OAUTH_FILE_SCHEMA_REF, and the OpenAPI description of the OAuth settings names the file.

  • @zitadel/cli, @zitadel/server, @zitadel/config: #3201 1bae790 - A release can declare applications: POST /releases/build takes applications, 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 deploy sends the applications under .zitadel/applications/<slug>.json with the release, and deploy --dry-run shows 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 a client_id, a confidential client that does not name its secret as a ${{ NAME }} variable, two files with one slug, two clients with one client_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. setup copies the schema to .zitadel/meta/application.json, so editors check the file's shape. @zitadel/config exports applicationConfigSchema and declaredApplicationIssues.

  • @zitadel/cli, @zitadel/server: #3371 9765b76 - Events carry a correlation_id that 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's journey_id is that ID. A traced request's event names its trace in metadata.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: #3321 ac5e295 - 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 ./components entry, 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, createNextgenMiddleware and nextgenMiddleware are createZitadelHandle, createZitadelOnRequest, createZitadelRequestMiddleware, createZitadelMiddleware and zitadelMiddleware; NextgenSession is ZitadelAuthSession; NextgenMiddlewareOptions is ZitadelMiddlewareOptions; NextgenProvider is ZitadelProvider; NextgenHandle is ZitadelHandle; in TanStack Start NextgenRequestOptions, NextgenRequestDecision and handleNextgenRequest are ZitadelRequestOptions, ZitadelRequestResult and handleZitadelRequest; the nextgenAuth key on event.locals, event.context and the Qwik shared map is zitadelAuth; the internal header is x-zitadel-auth-token; the Qwik Router route file is plugin@zitadel.ts; and the Nuxt module key and variables are zitadel and NUXT_ZITADEL_*, useState("nextgen-auth") is useState("zitadel-auth"), and runtimeConfig.public.nextgenProxyPath, nextgenApiBase and NUXT_PUBLIC_NEXTGEN_* are zitadelProxyPath, zitadelApiBase and NUXT_PUBLIC_ZITADEL_*. A Nuxt app that keeps any old Nuxt name now fails to build or to start instead of losing its protectedRoutes. The legacy __nextgen_session cookie is no longer handled; the server already refuses that name. The /__nextgen proxy path is unchanged. Also: @zitadel/sdk-tanstack-start/react is @zitadel/sdk-tanstack-start/components; the Angular classes lose their Component suffix and need Angular 19 or newer (zitadel setup now 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 call setInput, and code that read it as a plain value reads component.project(); ZitadelLoginProps and 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-exports ZitadelLoginConfig, ZitadelLogoutConfig, ZitadelSessionConfig, the *Handlers types, ZitadelNavigationDetail or the wrapper attribute types (ZitadelWidgetAttributes, WithZitadelWidgetAttributes, Zitadel*ReactProps and Zitadel*SvelteProps); the config, handler and navigation types are in @zitadel/sdk-core/types; the ./components entry of @zitadel/sdk-tanstack-start no longer re-exports the session, event and widget-name types; and the helper types ZitadelWidgetName, ZitadelWidgetTag, ZitadelStandardAttributeName, ZitadelStandardAttributes, ZitadelStandardAttributeProps and the Zitadel*EventMap interfaces are no longer exported. The getSession option type of @zitadel/sdk-next is the @zitadel/sdk-core type, which is not a breaking change. Angular's configureZitadel is 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 the Zitadel prefix, so it no longer collides with the types of an app or of an auth library. The most visible renames are AuthResult to ZitadelAuthResult, AuthState to ZitadelAuthState, UnauthState to ZitadelUnauthState, ClientAuthResult to ZitadelClientAuthResult, ClientSession to ZitadelClientSession, AuthOptions to ZitadelAuthOptions, ProxyHandler to ZitadelProxyHandler and SessionStore to ZitadelSessionStore.

    Breaking in @zitadel/components: a login flow navigates only to an http or https URL, so a custom-scheme redirect_uri such as myapp://callback now fails instead of navigating; ZitadelFlowStep is now name, purpose, notice and error, so code that reads step.redirect_url or step.fields fails to compile; ZitadelRuntimeInput is ZitadelRuntimeOptions; and the sanitiser removes every on* attribute, also from zl-* elements.

    Behavior: the login redirect of @zitadel/sdk-qwik-router is 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 marks Sec-Fetch-Site: same-origin, or, from an older browser that sends no such header, with an Origin that 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 settings protectedRoutes, ignoredRoutes, allowedAlgorithms, allowedTokenTypes and audience also accept a comma-separated string. Also: an empty url or projectSecret now counts as unset in every server SDK and falls back to the next source, projectSecret is an option of every server SDK except the Nuxt module, and protectedRoutes also matches the percent-decoded path, so /%61dmin is protected like /admin.

    Breaking in @zitadel/sdk-core: requiresProjectSecret takes the request headers as a third argument, validateOpaqueSessionToken is removed, checkOpaqueSessionToken, serverSessionCookieName and sessionCookieName take one options object, and getSession (also the one of @zitadel/sdk-next) throws a ZitadelRuntimeError with a code instead of a plain Error.

    Upgrading: rename these in your app, or scaffold it again; zitadel upgrade does not rename them for you. @zitadel/api moves from the dependencies of the SDKs to their development dependencies, and no value export changed.

  • @zitadel/cli: #3287 5b51643 - deploy, preview and doctor now 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: #3365 054624f - POST /applications now honors the Idempotency-Key header 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 with 422 app.idempotency_key_reused. See publishApplication.

  • @zitadel/server: #3387 f97f7e6 - 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: #3257 44f8d9b - 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/components exports brandingDeclarations(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: #3223 1eb99e9 - 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: #3260 478000d - 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's client_id and a reason, and the console's "Only failures" filter includes it. The login does not issue codes yet, so nothing writes it for now.

  • @zitadel/server: #3261 59e66d2 - With oauth.enabled, /oauth/<project_id>/jwks, the jwks_uri of 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 for oauth.jwks_max_age, 5 minutes by default.

  • @zitadel/server: #3262 1d947b8 - The token endpoint /oauth/<project_id>/token exchanges 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 the Authorization header 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: #3300 938e678 - GET /projects/{project_id}/admins is removed; list a project's admins with GET /projects/{project_id}/members?relation=admin.

    Breaking: calls to /projects/{project_id}/admins and the listProjectAdmins client method no longer exist. Call listProjectMembers with relation=admin: it returns the same people, under members, each with relation and sources.

  • @zitadel/api, @zitadel/components, @zitadel/sdk-core, @zitadel/testing: #3392 e96a106 - Every @zitadel/api request now takes its settings from one immutable ZitadelClient, 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 by createZitadelApi(new ZitadelClient({ baseUrl, token })), which binds every operation to one client. pagedFunctions[name].withToken takes and returns the generated function's full arguments, its client first. getApi(project) still binds every operation to the project's client, and getClient(project) returns that client. setProxyPath, getProxyPath, getApiBaseUrl, setRequestPolicy, createApi and the @zitadel/api/runtime/auth entry (setApiAuthToken, setApiCsrfToken, setApiCsrfRejectionHandler and their getters) are removed, and so is CSRF_HEADER from @zitadel/api/runtime/fetch: the client knows nothing of CSRF, and an app that needs the header passes its own fetch to the client. A client's onRequest runs before every request with a ZitadelRequest (the operation's name, URL and request), and stops the request by throwing. The generated get…Url builders are no longer exported; call the operation, which builds its own URL. getApi(project), in @zitadel/api/config and re-exported by @zitadel/sdk-core, therefore no longer carries them, and it gains a client property holding the ZitadelClient every operation runs against. In @zitadel/testing, ConnectedZitadel.api and the seeding helpers take the bound ZitadelApi type, which @zitadel/api/client no longer calls ZitadelClient.

  • @zitadel/config, @zitadel/components: #3386 7c699e1 - <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.mjs is now minified. @zitadel/config/template-tags holds the template tag names without the validator.

    Breaking: de, it and builtinLocales are 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: #3334 17e7bf4 - 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 your loginPath on every request, so an authorization request lands on your login page. OAuth paths of any other project answer 404.

    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: #3448 2205192 - The Angular and Vue widgets now wait for an async event 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's waitUntil, so a handler that stores a session finishes before the page leaves. Calling waitUntil by 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) on zitadel-auth-login with [onFlowStep], [onFlowInput], [onFlowComplete], [onFlowRedirect] and [onFlowError], and (signout) on zitadel-auth-logout and zitadel-auth-session with [onSignout]: bind the function itself rather than a call, as in [onFlowComplete]="onComplete", and it receives the event detail as its one argument. ZitadelLoginProps, ZitadelLogoutProps and ZitadelSessionProps now carry those callbacks too. @zitadel/sdk-vue keeps its template syntax, @signout="onSignout" and @flow-complete="onComplete", which Vue hands the component as the matching onSignout and onFlowComplete prop; 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: #3434 b07fbe5 - zitadel deploy and deploy --dry-run print the diff of .zitadel/ once on a terminal, as they already did when piped, instead of twice.

  • @zitadel/cli: #3357 2383162 - invitation create now says, under the link it prints, that the link is shown only once, as the console does. --json output is unchanged.

  • @zitadel/cli: #3366 c7da794 - setup no 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 running setup --dev-port with a free port.

  • @zitadel/cli: #3319 bb0bb9a - The sign-in, register and profile pages that zitadel setup scaffolds 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: #3301 8328cfa - zitadel setup now 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: #3292 d0ecae9 - 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: #3298 9a4c6f2 - 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: #3403 2bb8ff3 - 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: #3339 b869030 - 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: #3277 a944d25 - 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: #3358 d0b5f3f - Building a release again with unchanged flow definitions reuses the stored flow revision when a step declares a gate without config. Before, every build stored a new revision of that flow and a new release.

  • @zitadel/server: #3201 1bae790 - A deploy is refused with dep.variables_not_secret when an identity provider's client_secret names 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: #3360 1b95cfd - 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 answers 409 inv.already_member with their role and leaves the invitation pending for the person it was meant for, and lookupInvitation returns that role as membership before either is called.

  • @zitadel/server: #3026 20d1a9f - 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: #3435 0e71400 - Request and correlation IDs now say what they are. A new correlation ID is corr_ and 32 hex digits, and the console's Events search takes corr_… straight to its chain. A request ID taken from a proxy (server.request_id_header) is now req_ and the proxy's ID, as a minted one is: on the hosted cloud, search Vercel's logs for the part after req_.

  • @zitadel/components: #3302 64490c2 - <zitadel-login> no longer asks for an email when your user schema's x-identifier is another field, such as employee_number: the sign-in screen's description needs no locales override any more. The passkey-first screen's fallback button now reads "Sign in another way" for every identifier.

  • @zitadel/components: #3309 462cc41 - <zitadel-login> names no email in its notices and sign-in errors when your user schema's x-identifier is another field, such as employee_number. The notice on the sign-up screen a sign-in moved to reads notice.user_not_found.custom_identifier for 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: #3316 7c526cd - The hidden username field that <zitadel-login> renders on the password step now has an id. 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: #3440 3f9bf79 - @zitadel/sdk-next now 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-start and @zitadel/sdk-sveltekit now 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: #3438 36e026f - @zitadel/sdk-core, @zitadel/sdk-qwik-router, @zitadel/sdk-solid-start, @zitadel/sdk-sveltekit and @zitadel/sdk-tanstack-start now ship minified JavaScript with source maps and one type declaration file per source file. What they export is unchanged, except that @zitadel/sdk-core/types no longer declares three internal names (NATIVE_NAMES, STANDARD_NAMES, NativeName) that never existed at runtime.

  • @zitadel/sdk-core: #3448 2205192 - withDetail is exported from @zitadel/sdk-core/types. It hands a widget event's detail to an app
    callback and registers what the callback returns on the detail's waitUntil, which is how every
    SDK's wrappers forward the zitadel-* events. It is plumbing rather than API, so it carries
    @internal and stays out of the docs, but it is in the published declarations.

  • @zitadel/sdk-svelte: #3448 2205192 - A server render no longer writes locales onto the widget element. The property has no attribute
    form, so it was stringified as locales="[object Object]" into the markup every visitor received
    on the first paint; it is now bound on the client only, as the project handle already was.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ No Changeset found

Latest commit: a1e6a96

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@zitadel-nextgen-release
zitadel-nextgen-release Bot force-pushed the changeset-release/main branch 27 times, most recently from 75b5cc7 to 4fd0139 Compare November 27, 2026 08:22
@zitadel-nextgen-release
zitadel-nextgen-release Bot force-pushed the changeset-release/main branch 13 times, most recently from b85b6d9 to 7a47758 Compare November 30, 2026 10:00
@vitorbari
vitorbari added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit bd8be3f Nov 30, 2026
11 of 12 checks passed
@vitorbari
vitorbari deleted the changeset-release/main branch November 30, 2026 10:34
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant