Repository navigation
build: version packages - #3173
Conversation
|
There was a problem hiding this comment.
🟡 Changes recommended
Release notes omit client-contract changes and the required breaking-change marker for invitation field replacements, and document incorrect endpoint URLs.
3 open issues
What changed in this PR
Prepares the coordinated v0.8.0 release of Zitadel’s server, CLI, API client, and SDKs. This PR updates release metadata rather than implementing the underlying features.
Changes:
- Advances public packages to
0.8.0and updates private workspace versions. - Adds release notes for invitation redemption and filtering from #3073 and CLI scaffolder updates from #3033.
- Records dependency updates and consumes the three pending changesets.
| File | Description |
|---|---|
| packages/testing/package.json | Sets test-kit version to 0.8.0. |
| packages/testing/CHANGELOG.md | Records updated test-kit dependencies. |
| packages/server-sdk-contract/package.json | Bumps private contract workspace to 0.0.2. |
| packages/server-sdk-contract/CHANGELOG.md | Records SDK core dependency update. |
| packages/sdk-vue/package.json | Sets Vue SDK version to 0.8.0. |
| packages/sdk-vue/CHANGELOG.md | Records updated Vue SDK dependencies. |
| packages/sdk-tanstack-start/package.json | Sets TanStack Start SDK version to 0.8.0. |
| packages/sdk-tanstack-start/CHANGELOG.md | Records updated TanStack Start dependencies. |
| packages/sdk-sveltekit/package.json | Sets SvelteKit SDK version to 0.8.0. |
| packages/sdk-sveltekit/CHANGELOG.md | Records updated SvelteKit dependencies. |
| packages/sdk-svelte/package.json | Sets Svelte SDK version to 0.8.0. |
| packages/sdk-svelte/CHANGELOG.md | Records updated Svelte SDK dependencies. |
| packages/sdk-solid/package.json | Sets Solid SDK version to 0.8.0. |
| packages/sdk-solid/CHANGELOG.md | Records updated Solid SDK dependencies. |
| packages/sdk-solid-start/package.json | Sets SolidStart SDK version to 0.8.0. |
| packages/sdk-solid-start/CHANGELOG.md | Records updated SolidStart dependencies. |
| packages/sdk-react/package.json | Sets React SDK version to 0.8.0. |
| packages/sdk-react/CHANGELOG.md | Records updated React SDK dependencies. |
| packages/sdk-qwik/package.json | Sets Qwik SDK version to 0.8.0. |
| packages/sdk-qwik/CHANGELOG.md | Records updated Qwik SDK dependencies. |
| packages/sdk-qwik-router/package.json | Sets Qwik Router SDK version to 0.8.0. |
| packages/sdk-qwik-router/CHANGELOG.md | Records updated Qwik Router dependencies. |
| packages/sdk-nuxt/package.json | Sets Nuxt SDK version to 0.8.0. |
| packages/sdk-nuxt/CHANGELOG.md | Records updated Nuxt SDK dependencies. |
| packages/sdk-next/package.json | Sets Next.js SDK version to 0.8.0. |
| packages/sdk-next/CHANGELOG.md | Records updated Next.js SDK dependencies. |
| packages/sdk-core/package.json | Sets SDK core version to 0.8.0. |
| packages/sdk-core/CHANGELOG.md | Records API client dependency update. |
| packages/sdk-angular/package.json | Sets Angular SDK version to 0.8.0. |
| packages/sdk-angular/CHANGELOG.md | Records updated Angular SDK dependencies. |
| packages/config/package.json | Sets configuration package version to 0.8.0. |
| packages/config/CHANGELOG.md | Records API client dependency update. |
| packages/components/package.json | Sets login components version to 0.8.0. |
| packages/components/CHANGELOG.md | Records configuration dependency update. |
| packages/client-sdk-contract/package.json | Bumps private contract workspace to 0.0.2. |
| packages/client-sdk-contract/CHANGELOG.md | Records SDK core dependency update. |
| packages/api/package.json | Sets API client version to 0.8.0. |
| packages/api/CHANGELOG.md | Adds the API client release entry. |
| apps/server/package.json | Sets server launcher version to 0.8.0. |
| apps/server/CHANGELOG.md | Documents invitation API changes. |
| apps/server-win32-x64/package.json | Sets Windows x64 binary version to 0.8.0. |
| apps/server-win32-x64/CHANGELOG.md | Adds the Windows x64 release entry. |
| apps/server-linux-x64/package.json | Sets Linux x64 binary version to 0.8.0. |
| apps/server-linux-x64/CHANGELOG.md | Adds the Linux x64 release entry. |
| apps/server-linux-arm64/package.json | Sets Linux arm64 binary version to 0.8.0. |
| apps/server-linux-arm64/CHANGELOG.md | Adds the Linux arm64 release entry. |
| apps/server-darwin-x64/package.json | Sets macOS x64 binary version to 0.8.0. |
| apps/server-darwin-x64/CHANGELOG.md | Adds the macOS x64 release entry. |
| apps/server-darwin-arm64/package.json | Sets macOS arm64 binary version to 0.8.0. |
| apps/server-darwin-arm64/CHANGELOG.md | Adds the macOS arm64 release entry. |
| apps/cloud/package.json | Bumps private cloud workspace to 0.0.4. |
| apps/cloud/CHANGELOG.md | Records configuration dependency update. |
| apps/cli/package.json | Sets CLI version to 0.8.0. |
| apps/cli/CHANGELOG.md | Documents scaffolder and dependency updates. |
| .changeset/invitations-redeem-api.md | Removes the consumed redemption changeset. |
| .changeset/invitations-list-filters.md | Removes the consumed invitation-list changeset. |
| .changeset/cli-setup-framework-clis-2026-11.md | Removes the consumed scaffolder changeset. |
Review effort: Balanced
|
|
||
| ### Minor Changes | ||
|
|
||
| - [#3073](https://github.com/zitadel/nextgen/pull/3073) [`f764fd6`](https://github.com/zitadel/nextgen/commit/f764fd69f3fff15a23d46746fc03c99730207f28) - Invitations record who accepted or declined them and when as `responded_by` and `responded_at`, replacing `accepted_by` and `accepted_at`; `status` says which. Declining keeps the invitation's `metadata`, so administrators still see who a declined link was for, and `DELETE /projects/{project_id}/invitations/{id}` now also removes a declined invitation. `GET /projects/{project_id}/invitations` takes `status` more than once to match any of several statuses (for example `status=pending&status=expired&status=rejected`), and `expand=inviter` adds the creator to each invitation as `inviter`. |
|
|
||
| ## 0.8.0 | ||
|
|
||
| No changes in this release. |
|
|
||
| ### Minor Changes | ||
|
|
||
| - [#3073](https://github.com/zitadel/nextgen/pull/3073) [`f764fd6`](https://github.com/zitadel/nextgen/commit/f764fd69f3fff15a23d46746fc03c99730207f28) - Invitations record who accepted or declined them and when as `responded_by` and `responded_at`, replacing `accepted_by` and `accepted_at`; `status` says which. Declining keeps the invitation's `metadata`, so administrators still see who a declined link was for, and `DELETE /projects/{project_id}/invitations/{id}` now also removes a declined invitation. `GET /projects/{project_id}/invitations` takes `status` more than once to match any of several statuses (for example `status=pending&status=expired&status=rejected`), and `expand=inviter` adds the creator to each invitation as `inviter`. |
fc09d5e to
49a1349
Compare
49a1349 to
df3c68f
Compare


Merging this pull request releases
v0.8.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,@zitadel/config: #3245f3c80dc-zitadel apireads its JSON body from--file <path>(or--file -for stdin), matching the body flag on the create and update commands and freeing--inputfor a whole invocation as JSON. The flows README that ships into customer projects names the new flag.Breaking:
api --input <path>is nowapi --file <path>.@zitadel/cli: #3245f3c80dc-version,commands,which,helpandautocompleteanswer--jsonwith the same envelope as every other command, and a flag they refuse is the failure envelope with its exit code instead of oclif's whole error object. They still take their own flags (commands --hidden,--tree,--columns,help --nested-commands,autocomplete --refresh-cache).Breaking:
version --jsonandcommands --jsonprint their result as the envelope'sdata, andcommands --jsonholds its list underdata.result.@zitadel/cli: #3245f3c80dc- A command line the CLI refuses, including a flag typed twice, is one coded failure with the command's help as its next step, like every other failure, and no longer repeats the framework's own error text in the--jsonenvelope.Breaking: a script that read
details.originalfrom such a failure no longer finds it.@zitadel/cli: #3245f3c80dc- Every command that prints a list or a record takes--fields, and it cuts the records under--jsonas well as the table:user list --fields id,email --jsonandvariable get NAME --fields value --jsonreturn only those paths, and a field the command does not carry is refused with the ones it does.Breaking:
--jsonignored--fieldsbefore, so a script that passed it and read the whole record must stop passing it.@zitadel/cli: #3245f3c80dc- Every command now takes its whole invocation as one JSON document with--input(inline JSON,@file.jsonor-for stdin), also spelled--flags-fileand--cli-input-json: the keys are the command's flag names,argsholds the positionals, and only the global flags may stand beside it. A document cannot setserver,env,env-file,projectorcwd, so one read from elsewhere cannot point the run's credentials at another server or project; a document that is not JSON is refused without quoting its text, and a file that is not a regular file of at most 8 MB is refused.@zitadel/cli: #29297f682da-zitadel invitation create,list,getandcancelinvite people into a project with a shareable link, under "Users and access" inzitadel --help.createasks who the invitation is for and which role it grants, then prints the link, which expires in 72 hours;--replacesmakes a new link for an earlier invitation.listleaves accepted invitations out unless--statusasks for them, and--statuscan be repeated.cancelnames who the invitation is for and its role before it asks, removes an expired or declined invitation as well as a pending one, refuses an accepted one withE_VALIDATION, and without an id offers the pending, expired and declined invitations to pick from.createandcancelreport an anonymousinvitation_createdorinvitation_cancelledevent once the server confirms, carrying the role and a random journey ID, never a name, an invitation ID or the link; cancelling an expired or declined invitation reports none.@zitadel/cli: #3245f3c80dc-variable get,invitation get, a resource'sget, and a created or updated resource print the same plain text off a terminal as on one, and--jsonis the one way to get JSON.Breaking: these commands printed JSON when stdout was not a terminal, so a script that parsed it without
--jsonmust now pass--json.@zitadel/cli: #3245f3c80dc- An update that sets a field tonullremoves it, so it now asks first on a terminal and needs--forcewhen nothing can be asked, as a deletion does, and a refused one sends nothing. Every list also reportstruncatedbesidenext_page_token,trueexactly when more remain.Breaking: a script that updated with
:=nullmust now pass--force.@zitadel/cli,@zitadel/sdk-core,@zitadel/sdk-react: #3264caf1506-@zitadel/sdk-reactnow tells your own components who is signed in: theuseSession()hook returns the session's status and the user's identity, shares one server read across the page and offersrefresh(). Outside components,sessionStore()gives route guards and loaders the same read, andgetSession()makes a single one.zitadel setuppoints React apps' agents at the hook.@zitadel/server: #32147642a50- The console shows an application at/applications/{application_id}: each OAuth client with its client ID, type, grant types, redirect URIs and document as JSON or YAML. The page is read-only and opened by its URL; the console does not list applications yet.GET /applications/{application_id}now also accepts a console session with access to the project.@zitadel/server: #3073f764fd6- Invitations record who accepted or declined them and when asresponded_byandresponded_at, replacingaccepted_byandaccepted_at;statussays which. Declining keeps the invitation'smetadata, so administrators still see who a declined link was for, andDELETE /projects/{project_id}/invitations/{id}now also removes a declined or expired invitation.GET /projects/{project_id}/invitationstakesstatusmore than once to match any of several statuses (for examplestatus=pending&status=expired&status=rejected), andexpand=inviteradds the creator to each invitation asinviter.@zitadel/server: #3073f764fd6- A signed-in platform user redeems an invitation link:POST /invitations/lookupshows the project, role and expiry, and names the inviter ininviterso the invited user can see who invited them without access to the inviter's account.POST /invitations/acceptgrants the invitation's role andPOST /invitations/rejectdeclines it. The inviter can neither accept (inv.self_accept) nor decline (inv.self_reject) their own invitation, and accepting is refused withinv.inviter_not_adminwhen the user who created the invitation no longer administers the project. Every unknown or finished token answers the same404. Accepting sendsinvitation.accepted, withauthz.grantedwhen the role is new, and declining sendsinvitation.rejected.@zitadel/server: #3075a72fa58- Every issuer still answers 404 until a project can turn OAuth on. Once one can, the authorization endpoint/oauth/<project_id>/authorizeaccepts authorization code requests from registered applications and sends the browser to the login page. A request must sendstate, a code challenge must useS256, and OpenID Connect scopes are ignored for now. Each request records anauth.request.createdevent.@zitadel/server,@zitadel/api: #2885727e952- A release bundle'soauth: { "enabled": true }now takes effect: the server stores it as an OAuth settings revision,GET /oauth_settings/{oauth_settings_id}reads that revision back instead of answering 501, and every new revision is recorded as anoauth_settings.createdevent. On a server started withoauth.enabled, each primary origin the release is deployed to serves the project's RFC 8414 metadata at/.well-known/oauth-authorization-server/oauth/<project_id>. The console's release detail lists the pinned OAuth settings. The platform project's issuer followsoauth.enableditself: the server's own platform release carries the OAuth settings, so a restart keeps them.OAuth stays on only while the deployed release carries
oauth.zitadel deploycannot send it yet and a new release does not copy it from the previous one, so deploying with the CLI turns a project's OAuth off, with no warning.@zitadel/server,@zitadel/api: #289751050fc- The API reference now describesGET /projects/{project_id}/members, which lists everyone with a role on a project, with each person's strongest role and how they hold it, and an optionalrelationfilter. It answers501until the list itself ships.@zitadel/server,@zitadel/api: #289844bd34c- The API now lists everyone with a role on a project.GET /projects/{project_id}/memberslists each person once, with their strongest role (viewer,editororadmin) and every way they hold it: as an active member of the team that owns the project, which givesadmin, through a grant to them, or through a grant to a team they belong to. Passrelationto list only people with at least that role;relation=admingives the same people asGET /projects/{project_id}/admins. Expired grants and people who left a team are left out, and the list is ordered by user id and paginated withpage_token.Both lists now show every member to every caller who may read them, with each team named. Before, a person whose access came only through a team the caller was not in was left out, so an admin added by a direct grant did not see the project's owners, and a project secret saw only people with a grant of their own. Like the authorization check, a direct user grant is listed only while that user is active.
@zitadel/config: #3076a242dac-@zitadel/configexportswebApplication(), which builds an application document for a web app: one confidential OAuth client that signs users in with the authorization code grant and returns them to the redirect URIs you pass.APPLICATION_PRESETSlists the preset names. Both are also exported from@zitadel/config/application-presets, which runs in the browser.Patch Changes
@zitadel/cli: #32068adf043-zitadel apisays which server it called and which secret it sent when the server answers401, and its help shows how to update a user (zitadel api updateUser <user_id> -F attributes.age=1). A secret belongs to the project on one server, so the hint points atZITADEL_URL,ZITADEL_PROJECT_SECRET,--envand--env-file.@zitadel/cli: #32030d82cf5-deployanddeploy --dry-runnow warn whentheme.light.logo_urlortheme.dark.logo_urlis a publichttpsURL that does not serve an image, and name the field. Before, only the top-levellogo_urlandhero_urlwere checked.@zitadel/cli: #32108884826-zitadel doctor --fixrestores a missing.zitadel/secretfrom the project's credentials in.env.development.localand the origins the server reports, so a deleted secret no longer loops betweendoctor --fixandsetup, which skips an app that is already set up. When.env.development.localdoes not hold the credentials, the repair says what is missing.@zitadel/cli: #3245f3c80dc-FORCE_COLOR=0andFORCE_COLOR=falsenow turn colour off, as the variable's convention says, instead of forcing it on.@zitadel/cli: #3183ac397d4- The CLI names its hosted server once,preview.zitadel.com, and reads it everywhere: the default server, the examples and hints, and the check for the hosted cloud. A host underzitadel.cloudis no longer taken for the hosted cloud.@zitadel/cli: #3245f3c80dc- An id of.or.., and a control character in an id or in anapipath value, is refused as a validation failure before a request is made, andapisends a path id without surrounding whitespace.@zitadel/cli: #30335901843-zitadel setupnow creates Next.js apps on Next.js 16.4.6 instead of 16.4.2, which lacked the security fixes in 16.4.5, React, Vue, Solid, Svelte and Qwik apps with create-vite 9.3.4, and Qwik Router apps with create-qwik 2.0.0-rc.5.@zitadel/cli: #32052cd806d-deployno longer records a release as built from an uncommitted tree because of a file outside.zitadel/. A modifiedpackage.jsonor app file leaves the release clean, so the nextdeploy --dry-runstill shows a diff.@zitadel/cli: #3181179776f- A failure of the local server now carries the same hint and next commands from every command, not only the server commands. A malformed runtime record or admin file found in a parent folder points its recovery commands at that folder, a server that no longer answers pointszitadel startat the folder that recorded it, and the recovery for a malformed admin file removes the file before it resets.@zitadel/cli: #3164055c0d5- A refusal that named a command in its hint, such as a login flow still using a method, the last way to sign in, or--input -or--file -with nothing piped in, now lists it undernext_commandstoo, so it carries the--cwd,--env,--env-fileand--serverthe run was given.@zitadel/cli: #3183ac397d4---serveris now declared by the commands that take a server, through one shared definition, rather than by every command. Every command that accepted it still does, with the same help text and the same server resolution, and a failure that comes before the flags are parsed still names the server it was given.@zitadel/cli,@zitadel/server: #31881ed5058- The local server now starts on Windows, which it did not before because its SQLite location was not a valid URI for a drive path.zitadel setupscaffolds beside a running local server instead of renaming its.zitadelfolder, which Windows refuses while the server holds files open, andzitadel doctorno longer reports a file mode Windows cannot hold.@zitadel/server: #3224106a76d- The console's User schemas list shows each schema's name as text, without the schema icon beside it.@zitadel/server: #3215891ab88- The console calls a deactivated team inactive, in the Teams tabs, list and team detail, and titles the team's details card "Team details".@zitadel/server: #32138c8514f- Timestamps the API returns are now always UTC. pgx scanned Postgrestimestamptzinto the process's local time zone, and a read path that did not convert the value itself passed that zone on: running withTZ=Europe/Berlin,getProjectClaimStatusreturnedclaimed_atand the claim window'sexpires_atwith a+01:00offset instead ofZ. The pool now scanstimestamptzin UTC, so every read returns UTC whatever zone the server runs in.initProjectClaimbuilt itsexpires_atfrom the clock rather than a read, and now stamps it in UTC too.@zitadel/config: #3179224b845- A brandingtypography.font_urlwithout atypography.font_familyis now refused with the spec's own wording, "font_family is required when font_url is present", reported attypography.font_family. The rule is generated from the spec'sdependentRequiredinstead of repeated by hand.@zitadel/testing: #3211627149b-bootLocalServerretries on a fresh port, up to five times, when another process takes the port it picked before the server binds it, so booting many servers at once no longer fails withE_PORT_IN_USE. A port passed explicitly is still taken as asked or refused.