Release notes
-
To remove phone keys from brig's
user_keystable an ad hoc data-migration can be run. See PR #4146 which contains the implementation. (#4130) -
Because the
phonecolumn is deleted from Brig'susertable in a schema
migration, temporarily there might be 5xx errors during deployment if Wire
server 5.4.0 was not deployed previously. To avoid these errors, please deploy
the Wire server 5.4.0 release first. (#4130) -
With this release it will be possible to invite personal users to teams. In
brig's config,emailSMS.team.tExistingUserInvitationUrlis required to be set to a value that points to the correct teams/account page.
IfemailSMS.teamis not defined at all in the current environment, the value ofexternalUrls.teamSettings(or, if not present,externalUrls.nginz) will be used to construct the correct url, and no configuration change is necessary. (#4229) -
charts/wire-server: There is a new config value called
background-worker.config.enableFederationwhich defaults tofalse. This must be kept in sync withtags.federation. (#4243) -
If you are mapping an email address to the
externalIdfield in the
scim schema, please check the following list for items that apply to
you and recommended steps before/during/after upgrade.-
Situation: the
emailsfield of in your scim user records is
empty.What you need to do: change your schema mapping to contain the
same address inexternalIdand (as a record with one element) in
emails. -
Situation: the
emailsfield of your scim user records is
non-empty.What you need to do: make sure
emailscontains exactly one
entry, which is the email fromexternalId. If there is a
discrepancy, the address fromemailswill become the new
(unvalidated) address of the user, and the user will receive an
email to validate it. If the email cannot be sent or is ignored
by the recipient, the valid address will not be changed. (#4221)
-
-
A schema migration drops column 'phone' from Brig's 'team_invitation' table. Previous releases were still reading this column. As there is no Team Settings UI action to enter a phone number, this reading will not miss to read actual phone numbers. Therefore, during deployment this will lead to benign 5xx errors. (#4149)
-
Password hashing can now be done using argon2id instead of scrypt. The argon2id parameters can be configured using these options:
brig: optSettings: setPasswordHashingOptions: algorithm: argon2id iterations: ... memory: ... # memory needed in KiB parallelism: ... galley: settings: passwordHashingOptions: algorithm: argon2id iterations: ... memory: ... # memory needed in KiB parallelism: ...
The default option is still to use scrypt as moving to argon2id might require
allocating more resources according to configured parameters.When configured to use argon2id, the DB will be migrated slowly over time as the
users enter their passwords (either to login or to do other operations which
require explicit password entry). This migration is NOT done in reverse,
i.e., if a deployment started with argon2id as the algorithm then chose to move
to scrypt, the passwords will not get rehashed automatically, instead the users
will have to reset their passwords if that is desired.NOTE It is highly recommended to move to argon2id as it will be made the
only available choice for thealgorithmconfig option in future. -
Config value
gundeck.config.bulkPushhas been removed. This is purely an
internal change, in case the value was overriden tofalse, operators might see
more spiky usage of CPU and memory from gundeck due to bulk processing. (#4290)
API changes
-
A new endpoint
POST /teams/invitations/acceptallows a non-team user to accept an invitation to join a team (#4229) -
Services allowlist are blocked by 409 (mls-services-not-allowed) for teams with default protocol MLS. (#4266)
-
The
POST /clientsandPUT /clients/:cidendpoints support a new capability "consume-notifications" (#4259) -
New variant in API version 7 of endpoints for creating and listing SCIM tokens that support a
namefield. New endpoint in version 7 for updating a SCIM token name. (#4307) -
All the phone number-based functionality is removed from the client API v6 (#4149)
-
The team CSV export endpoint has gained two extra columns:
last_activeandstatus. The streaming behaviour has also been improved. (#4293) -
The changes to the
capabilitiesfield of theClientstructure, introduced in v6, have now been postponed to v7 (#4179) -
Finalise version 6 and introduce new development version 7 (#4179, #4179)
-
From API version 7 the
GET /mls/public-keyandGET /conversations/one2one/:domain/:uidendpoints now take aformatquery parameter which can be eitherraw(default, for raw base64-encoded keys) orjwk(for JWK keys) (#4216, #4224) -
GET /conversations/one2one/:domain/:uidnow returnspublic_keysalong with the conversation containing all MLS public keys for the backend which will host this conversation (since v6). (#4224) -
Remove the ability to set the TTL of a feature flag. Existing TTLs are still retrieved and returned as before. Note that this only applies to the conferenceCalling feature, as none of the others supported TTL anyway. (#4164)
-
Add useSFTForOneToOneCalls as a config option for the Conference Calling feature flag and make its lock status explicit. (#4164)
-
Add endpoint to upgrade a personal user to a team owner (#4251)
Features
-
DB migration for dropping
phonecolumn fromusertable (#4130) -
A text status field was added to user and user profile (#4155)
-
Allow an existing non-team user to migrate to a team (#4229, #4268, #4315)
-
Makes it impossible for a user to join an MLS conversation while already under legalhold (at least pending)
This implies two things:
- If a user is under legalhold they cannot ever join an MLS conversation, not even an MLS self conversation.
- A user has to reject to be put under legalhold when they want to join an MLS conversation (ignoring the request to be put under legalhold is not enough). (#4242)
-
Email template for inviting a personal user to a team added (#4310)
-
Clients can declare to be supporting a capability for consuming notifications (#4259)
-
New endpoint to revoke an OAuth session (#4213)
-
Adds a field which contains a list of all active sessions to each OAuth application in the response of
GET /oauth/applications(#4211) -
SCIM's emails field is now handled and the external ID is not restricted to being an email anymore (#4221)
-
Added human readable names for SCIM tokens (#4307)
-
allow subconversations for MLS 1-1 conversations (#4133)
-
Allow choosing hashing algorithm and configuring argon2id parameters (#4291, #4291)
-
Deny requests for a legalhold device for users who are part of any MLS conversations (#4245)
-
Allow setting of Kubernetes annotations for the
coturnService. (#4189) -
Add
initialConfigsetting for themlsfeature flag (#4262) -
Add
federationProtocolssetting to galley, which can be used to disable the creation of federated conversations with a given protocol (#4278) -
added open telemetry instrumentation for brig, galley, gundeck and cannon (#3901)
-
Send confirmation email after adding a personal user to a new team (#4253)
-
The SFT and turn usernames returned by
/calls/config/v2are now deterministically computed from the user ID (#4156) -
Use latest stable RabbitMQ version (
3.13.7) and Helm chart (14.6.9). Please
note that this minor RabbitMQ version upgrade (3.11.xto3.13.x) may need
special treatment regarding existing RabbitMQ instances. See
https://www.rabbitmq.com/docs/upgrade#rabbitmq-version-upgradability . The major
Helm chart version upgrade may (depending on your setup/values) need attention
as well: https://github.com/bitnami/charts/tree/main/bitnami/rabbitmq#upgrading (#4227)
Bug fixes and other updates
-
Fixed API version check. It has now precedence over other checks like e.g. method check. (#4152)
-
Fix handling of defaults of
mlsE2EIDfeature config (#4233) -
Match cipher suite tag in query parameters against key packages on replacing key packages (#4158)
-
Users with SAML-SSO are allowed to delete their email address on the rest api. If they do that, the search indices are not updated correctly, and finding the user by the removed email address is still possible. (#4260)
-
Re-add accidentally removed add-bot@v6 route in nginz, fixes #4302 (#4318)
-
Exclude exception message from error response (#4153)
-
Return HTTP 400 instead of 500 when property key is not printable ASCII (#4148)
-
move cipher suite updates into the commit lock (#4151)
-
Fix feature flag default calculation for
mlsMigrationandenforceFileDownloadLocation(#4265) -
Allow setting existing properties even if we have max properties (#4148)
-
removed spam from nginx (nginz) by using the new style http/2 directive (#3901)
-
brig: Make
GET /services/tagswork again (#4250) -
Process bounce and complaint notifications from SES correctly. (#4301)
Documentation
-
Call graph of federated endpoints was removed from the docs (#4299)
-
Restored LegalHold internal API swagger as part of Brig. (#4191)
-
Fix: show openapi docs for blocked versions (#4309)
-
Move docs from docs.wire.com to generated helper page served by brig (#4311)
-
Deleted proteus-specific test documentation tags and added some new tags to MLS tests (#4240)
-
Re-introduce test case tags for BSI audit (revert #4041) (#4192)
Internal changes
-
Introduced API versioning and version negotiation for external LegalHold Service supporting
v0andv1(#4284) -
Read sftTokenSecret from secrets.yaml and mount to /etc/wire/brig/secrets/sftTokenSecret by default (#4214)
-
Added node based topology constraint to ensure pods are distributed uniformly on all nodes. (#4222)
-
Move smallstep-accomp
helm charts towireapp/helm-charts` (#4204) -
Remove coturn helm chart. It is moved to
wireapp/coturn. (#4209) -
Additional test for password reset, port tests to new integration test suite (#4249)
-
Remove unused invitation tables from brig. (#4263)
-
Improve abstraction in the invitation store and hide DB interaction-specific internal types from the application code. (#4280)
-
Move some invitation handling from brig to wire-subsystems.
- introduce cyclically dependent effects: UserSubsystem, AuthenticationSubsystem (see Brig.CanonicalInterpreter).
- introduce TeamInvitationSubsystem with operations inviteUser, internalCreateInvitation.
- add verifyPassword to AuthenticationSubsystem.
- add sendInvitationMail, sendInvitationMailPersonalUser to EmailSubsystem.
- add getTeamSize to IndexedUserStore (this is morally internal to wire-subsystems, and making another ES subsystem would mean adding a lot of code everywhere).
- add updateUserTeam to UserStore.
- add acceptTeamInvitation, internalFindTeamInvitation to UserSubsystem.
- make a few small rest api handlers in brig polysemic (Handler -> Sem). (#4264)
-
tools/db/team-info: collects last login times of all team members (#4274)
-
Introduce length-preserving function mapRange to replace Functor instance for Range data type. (#4279)
-
TransitiveAnns compiler plugin was removed (#4299)
-
Servantify internal routing table for proxy. (#4296)
-
Servantify gundeck internal api (#4246)
-
Removed
indexReindexandindexReindexIfSameOrNewerfrom internal Brig/SearchIndex. (#4188) -
Introduced ElasticSearch effects related to user search. (#4188)
-
Brig was refactored by pulling out email block-listing into a wire subsystems effect, and its actions are exposed via the user subsystem. (#4167)
-
charts/wire-server: Deploy background-worker even when tags.federation is
false(#4342, #4248) -
Updated email templates to v1.0.122 (#4308)
-
Refactor feature flags
- Improved naming slightly. Features types are now called
Feature,LockableFeatureandLockableFeaturePatch - Turned
AllFeaturesinto an extensible record type - Removed
WithStatusBasebarbie. - Deleted obsolete
computeFeatureConfigForTeamUser - Abstracted
getFeatureandsetFeature - Abstracted getAllTeamFeatures (#4181)
- Improved naming slightly. Features types are now called
-
Clean up and reorganise feature flag endpoints (#4193)
-
Clean up feature default configuration code (#4196)
-
Add federation-v1 environment for testing compatibility of the federation API with version 1 (#4125)
-
Fix overlapping paths errors in galley's internal API (#4313)
-
Local integration tests of federation version V1 fixed (#4320)
-
nginz/local-conf: Update list of endpoints (#4176)
-
Expose gundeck internal API on swagger. Mv some types and routes to wire-api. (#4247)
-
dockerephemeral: Use inbucket for SMTP (#4176)
-
Makefile: Add target
crmto run services tuned for manual usage (#4176) -
Postgresql helm chart is removed from charts/ directory and migrated to wireapp/helm-charts repo (#4208)
-
Simplify NewTeam and related types and remove lenses (#4257)
-
Add openapi validation test to integration (#4302)
-
Optimize getting a lot of users by concurrently getting target users (#4140)
-
charts/{brig,galley}: Allow setting a preStop hook for the deployments (#4200)
-
Introduce proeprty subsytem (#4148)
-
Factored out our Email type in favour of EmailAddress from email-validate. (#4206)
-
Move CSV export test to integration (#4292)
-
add the TODO pattern and the todo function to Imports (#4198)
-
Refactor user feature logic (#4178)
-
Remove
UserAccountandExtendedUserAccountand their fields to theUsertype (#4275) -
Started weeding out dead code. (#4170)
-
New user subsystem operation
getAccountsByfor complex account lookups. (#4218) -
Added warning when deploying wire-server helm chart with User/Team creation over internet enabled. (#4212)