Skip to content

build: version packages - #2418

Merged
muhlemmer merged 1 commit into
mainfrom
changeset-release/main
Oct 29, 2026
Merged

muhlemmer merged 1 commit into
mainfrom
changeset-release/main

Conversation

@zitadel-nextgen-release

@zitadel-nextgen-release zitadel-nextgen-release Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Merging this pull request releases v0.3.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, @zitadel/config: #2353 1f44571 - zitadel policies test runs the cases in .zitadel/policies/<operation>.test.json against your policy. Each case gives the operation's input (for the password policy, the password itself), optionally the facts the operation would look up (self_service, history_matches), and the decision it expects: allowed, and optionally the error code and exactly the violations. Zitadel evaluates every case as a real password set would, so a case also covers how the password is counted. By default the cases run against the policy file beside them; --release <id> runs them against the policy a built release pins, before you deploy it. A failing case fails the command with E_VALIDATION and lists what was expected and what Zitadel decided. deploy never carries test files, editors validate them against the new .zitadel/meta/policy-test.json, and the policies README that setup writes shows an example.

  • @zitadel/cli: #2428 2d32dbc - The usage analytics events the CLI sends to Vercel Web Analytics now carry one property of the command's own for setup (framework), claim (claim_outcome), doctor (failed_checks), api (operation) and start (runtime). On a failed run it takes the place of non_interactive. The kind of data sent does not change: fixed names only, never a path, id or message.

  • @zitadel/cli: #2288 1cab16f - zitadel deploy --dry-run --json now reports what the deploy would change, so a script or an agent can review it before deploying: data.diff lists each changed file under .zitadel/ with its status and its part of the diff the terminal shows, against the release your primary origins serve. zitadel deploy --json reports the same diff for what it deployed.

  • @zitadel/cli, @zitadel/server, @zitadel/api: #2129 ae0f5eb - POST /users/query can find the users still on an older revision of a schema. The new schema_object_type filter field matches the object type every revision of a schema shares, with equals, not_equals and contains, and schema now accepts not_equals, so schema_object_type equals a type together with schema not_equals its newest revision lists the users left to migrate. zitadel users list --filter accepts schema_object_type.

  • @zitadel/cli: #2321 7722728 - setup now commits the project it scaffolds, initialising a repository first when there is none, so a release records the commit it was built from and a later deploy can show a real diff. Because the commit covers the project directory, setup refuses a repository that already has uncommitted work, untracked files included; only the .zitadel/local/ and .gitignore that start leaves are exempt. It also points at the deploy that pins .zitadel/ into a release. --no-git opts out of the commit.

  • @zitadel/server: #2337 4e481af - The server's API request metrics (ogen.server.request_count, ogen.server.errors_count, ogen.server.duration) now carry only the operation, method, route template and status code, so a request path with an id in it can no longer become a time series of its own. The configuration guide gains a Metrics section that lists every instrument the server reports through instrumentation.metric, with its attributes and their values, and documents the bound every instrument already had: at most 2000 series, past which new attribute combinations are counted on one series marked otel.metric.overflow=true. That bound is now covered by a test.

  • @zitadel/server: #2365 556ace1 - The Console's project page has an Overview tab and an Admins tab. Overview holds the project's name, its origins and its variables and secrets: origins can be added, edited and removed from the page, and variables are listed with the value each kind holds, a secret showing only that it is configured. Admins moves to its own tab. The projects list's row menu opens the page as "View project".

  • @zitadel/server: #2390 4068176 - The console's project page shows the project's password policy: the minimum length and the password history in force, with a warning when the minimum is under the recommended 15 characters.

  • @zitadel/server: #2338 4cd4d57 - The server now measures its database work: db.client.operation.duration times every storage statement, labelled with the database and the statement method that issued it, and db.client.connection.count and db.client.connection.max report the PostgreSQL and SQLite connection pools by state. Both are listed in the configuration guide's Metrics section.

  • @zitadel/server: #2397 a6fb3ce - A server that runs only while it serves a request, such as a Vercel function, can now leave the purge of expired audit events to a scheduler outside it. Set events.retention.trigger_secret to at least 16 characters: the server then stops its hourly purge and runs one each time /cron/events-retention is called with the secret as a bearer token. Without the setting, the server purges hourly as before.

  • @zitadel/server: #2350 1ddde86 - POST /policies/evaluate evaluates an operation's policy as a dry run: it takes a config, the operation's input (for the password policy, the password itself) and the facts the operation would look up (self_service, history_matches), and answers whether the operation would go ahead. A refusal carries the error code and violations the live operation answers with, such as user.password_policy_violation with {"min_length": 12} or user.password_empty, because the server runs the password set's own check, NFC normalization and the 64-character cap included. Nothing is read from or stored in the project; an invalid config is refused with pol.invalid, as on publish.

  • @zitadel/server, @zitadel/api: #2129 ae0f5eb - GET /schemas accepts expand=in_use, which adds metadata.in_use to each listed revision: whether any user of the project is on it. The flag is absent unless asked for, and needs read on the whole project, plus user.read for a token. Users are now indexed by schema, so the check and the schema filter on POST /users/query no longer read every user of the project.

  • @zitadel/server: #2339 b31e6f5 - The server now measures its authentication and audit paths: how long validating a bearer credential takes and whether it was valid, revoked, invalid or failed; how often token records are checked and found active or revoked; how long verifying a password takes and whether it matched, matched and was rehashed, or did not match, for sign-ins and for the comparisons against remembered passwords on a password change; the outcome of every authentication proof by kind of check; how long resolving an encryption key not in the cache takes, by the key that wraps it; where every flow start, submit and render left the flow; and how long audit inserts take, with the events written counted per type. The Metrics section of the configuration guide lists each instrument with its attributes and values.

  • @zitadel/server: #2365 556ace1 - POST /projects/{id}/origins, POST /projects/{id}/origins/remove, GET /variables and GET /variables/{name} accept a Console session cookie as the signed-in user, like the other project management operations, so the Console can manage a project's origins and show its variables. Variable writes still take the project secret. The policy reads (GET /policies, GET /policies/{id}, GET /policies/{id}/revisions and GET /policies/revisions/{id}) accept the session too, so the Console can show a project's password policy and a release's pinned policy revision; publishing still takes the secret.

Patch Changes

  • @zitadel/cli: #2416 77d5de8 - Commands that zitadel setup, start, doctor and env add suggest after a --cwd run now work when pasted into the same shell: --env-file paths, the install and dev-server commands, setup --server local and console name the project directory. A relative --env-file is now read from the current directory, where Node itself reads it, instead of from --cwd.

  • @zitadel/cli: #2424 6e0234f - zitadel doctor now says when it checks a local server started in a parent folder, in the runtime check and when that server is unhealthy. The unhealthy message names the parent, says that reset --force deletes the parent's local data, and suggests a plain start to give the current folder a server of its own.

  • @zitadel/cli: #2416 77d5de8 - zitadel setup --cwd <dir> creates <dir> when it does not exist yet, instead of failing with a raw ENOENT error, and removes it again if setup does not finish. A --cwd that is a file now fails with a clear message.

  • @zitadel/server: #2435 a15def4 - The console's project page takes the detail-page rhythm the Teams page has: 24px under the tab row on both tabs, a card titled Details, and the secondary button for its small actions.

  • @zitadel/server: #2438 76a5874 - Deleting a user (DELETE /users/{user_id}) now revokes every grant the user held, on any project, in the same transaction, and records an authz.revoked event for each one on that grant's project. Before, the grants stayed behind and kept appearing in the grants query with only the user's id.

  • @zitadel/server: #2419 79720d6 - The server no longer hangs on a JWK set that contains a crafted RSA key (go-jose 4.1.6, GHSA-mgcc-cww5-fp2q).

  • @zitadel/server: #1468 a921a6a - Report failures to flush traces, metrics and logs when the server shuts down instead of dropping them silently, and include the trace and span ID in log lines written inside a sampled trace when instrumentation.log.format is not set. A failed flush now makes the server exit with code 1, also on a planned stop, for example when the OpenTelemetry collector is unreachable.

  • @zitadel/config, @zitadel/components: #2417 bc22739 - <zitadel-login> now shows the project's minimum password length under the password field while someone chooses a password, instead of only after a too-short submit. The designs zitadel branding eject copies show it too; a template you ejected earlier gets it by adding | fieldRuleHint: f to its field_help line. A field's clear button no longer appears while the field is empty.

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

⚠️ No Changeset found

Latest commit: 031c9c4

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 22 times, most recently from 4d70fad to c5eb6a4 Compare October 28, 2026 21:42
@muhlemmer
muhlemmer added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit de7a14b Oct 29, 2026
15 of 16 checks passed
@muhlemmer
muhlemmer deleted the changeset-release/main branch October 29, 2026 07:50
@github-project-automation github-project-automation Bot moved this from Inbox to Done in Engineering Kanban Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant