Every SDK speaks Zitadel, with one documented API
Every SDK now exports the same names for the same things, and every export has a reference. Every exported type carries the Zitadel prefix, so it no longer collides with your app's types or an auth library's. Each framework SDK also re-exports its UI SDK's widgets and types from ./components, so an app imports everything for its framework from one package.
The Angular and Vue widgets now wait for an async event handler before they navigate, as the React, Solid, Svelte and Qwik widgets already did, so a handler that stores a session finishes before the page leaves.
Security
- The SDK proxy sends your project secret on a sign-in handoff only when the browser marks the request
Sec-Fetch-Site: same-origin, or, from an older browser that sends no such header, when itsOriginnames your app's host. A page on another site can no longer sign a visitor in as someone else through your proxy. protectedRoutesalso matches the percent-decoded path, so/%61dminis protected like/admin.<zitadel-login>navigates only to anhttporhttpsURL, and its sanitiser removes everyon*attribute, also fromzl-*elements.
Upgrading from 0.9.0
Breaking: the names that carried the alpha codename now say Zitadel, and the exported types gain the prefix. Rename them in your app, or scaffold it again with zitadel setup; zitadel upgrade does not rename them for you.
createNextgenMiddleware,nextgenMiddleware,createNextgenHandle,createNextgenOnRequestandcreateNextgenRequestMiddlewarearecreateZitadelMiddleware,zitadelMiddleware,createZitadelHandle,createZitadelOnRequestandcreateZitadelRequestMiddleware.NextgenSessionisZitadelAuthSessionandNextgenProviderisZitadelProvider. Every other exported type gains the prefix:AuthResultisZitadelAuthResult,ClientSessionisZitadelClientSession,SessionStoreisZitadelSessionStore.- The
nextgenAuthkey onevent.locals,event.contextand Qwik's shared map iszitadelAuth. - Nuxt: the module key is
zitadel, its variables areNUXT_ZITADEL_*andNUXT_PUBLIC_ZITADEL_*, andruntimeConfig.public.nextgenProxyPathandnextgenApiBasearezitadelProxyPathandzitadelApiBase. An app that keeps an old name fails to build or start instead of losing itsprotectedRoutes. - TanStack Start:
@zitadel/sdk-tanstack-start/reactis@zitadel/sdk-tanstack-start/components, andhandleNextgenRequestishandleZitadelRequest. - Angular needs Angular 19 or newer;
zitadel setuprefuses 17 and 18. The component classes lose theirComponentsuffix, and their inputs are signals: readcomponent.project(), and bind an input in a template or withsetInputinstead of assigning it. The widget events are callback inputs that take the function itself: replace(flowComplete)="onComplete($event)"with[onFlowComplete]="onComplete", and likewise(flowStep),(flowInput),(flowRedirect),(flowError)and(signout). - Vue keeps
@flow-completeand@signout, but no longer discards the promise a handler returns, so a handler that returns one by accident now delays the widget's navigation by up to two seconds. <zitadel-login>: a custom-schemeredirect_urisuch asmyapp://callbacknow fails instead of navigating, andZitadelFlowStepholdsname,purpose,noticeanderror, so code that readsstep.redirect_urlorstep.fieldsno longer compiles.@zitadel/sdk-core:getSessionthrows aZitadelRuntimeErrorwith acodeinstead of a plainError, andvalidateOpaqueSessionTokenis gone.
The /__nextgen proxy path is unchanged. Every rename is in the release notes on GitHub.