Wire-Server 5.36.0 release¶
For details, see the release changelog on the wire-server repo.
Build manifest: build.json
Heads up¶
Coming from 5.35.0.
No known bugs at this release.
This release finalizes API version v18. The new development version is v19.
What must change¶
No mandatory Helm value change is required for a standard upgrade.
The release adds one Cassandra schema migration for brig (version 94). It reduces gc_grace_seconds on some user tables. The cassandra-migrations job applies it during the wire-server upgrade. Make sure that the job completes before you continue.
The release adds one PostgreSQL migration (20260625104559-add-user-migration-pending-deletes). The services apply it at startup.
Prerequisite: SCIM roles and entitlements (only if you use SCIM)¶
From 5.35.0, SCIM user objects return roles and entitlements as objects, as RFC 7643 specifies:
Before, they were plain strings ("roles": ["member"]). The input still accepts the old format. See wire-server#5440.
ldap-scim-bridge before 7.0.0 cannot read the new format. On 5.35.0 and later, its sync stops with this error:
If you deploy ldap-scim-bridge, upgrade it to 7.0.0 or later on 5.35.0, before you upgrade wire-server to 5.36.0. Take the chart from oci://quay.io/wire/charts/stable/ldap-scim-bridge. Make sure that the next sync completes.
If you use other SCIM clients that read users, make sure that they support the new format.
Changed defaults¶
- The
preventAdminlessGroupsteam feature is nowunlockedby default. Its status staysdisabled. If you want to keep team admins from turning it on, setlockStatus: lockedin your overrides:
- Wire Drive: the default storage limit (
galley.config.settings.featureFlags.cellsInternal.defaults.config.storage.totalLimitBytes) changed from 1 TB ("1000000000000") to unlimited ("-1"). Set an explicit value if you need a limit.
Configuration changes¶
- A PostgreSQL connection string with a different number of hosts and ports now stops the service at startup with a clear error. Before, the service started with a wrong connection. Examine your
postgresqlsettings before the upgrade. gundeckaccepts optionalpostgresql,postgresqlPoolandsecrets.pgPasswordsettings.gundeckdoes not use PostgreSQL yet in this release. You do not have to set these values.nginx-ingress-services: ifaccountPages.enabledistrue,config.dns.accountPagesis now mandatory. The chart does not render without it.
Optional: migrate user data to PostgreSQL¶
This release adds the migration of user data from Cassandra to PostgreSQL. The migration is disabled by default. You do not have to run it as part of the upgrade. You can start it at any later time, at your own discretion, on 5.36.0 or any later release. It uses the same three-step procedure as the other stores. See Migration for existing installations in the configuration options reference.
| Setting | background-worker flag | Metric when complete |
|---|---|---|
galley.config.postgresMigration.user | background-worker.config.migrateUsers | wire_user_migration_finished = 1.0 |
Warning
The user migration skips invalid users. An invalid user has no name or no activated value. For each skipped user, background-worker writes Invalid user found, skipping to its log, together with UserHasNoName or UserHasNoActivated.
If you switch reads to PostgreSQL (postgresMigration.user: postgresql) and do not act on these log lines, these users stop existing in the system.
To keep these users:
- Let the migration of the valid users complete.
- Collect all
Invalid user found, skippinglog lines from background-worker. - In Cassandra, set a value for
nameand/oractivatedfor each user that you want to keep. - Run the migration again.
- Switch reads to PostgreSQL only after the log shows no more skipped users that you want to keep.
Note
In 5.36.0, the user migration can fail on users with invalid assets. 5.37.0 fixes this: the migration ignores invalid assets. We recommend that you start the user migration only after you upgrade to 5.37.0 or later.
Federation¶
- A new opt-in policy can drop queued federation notifications when the remote backend supports no compatible API version.
preventAdminlessGroupssystem notifications are now federated.