Releases: matrix-org/dendrite
Releases · matrix-org/dendrite
Dendrite 0.13.6
Upgrading to this version is highly recommended, as it contains several QoL improvements.
Fixes
- Use
AckExplicitPolicy
for JetStream consumers, so messages don't pile up in NATS - A rare panic when assigning a state key NID has been fixed
- A rare panic when checking powerlevels has been fixed
- Notary keys request for all keys now work correctly
- Spec compliance:
- Return
M_INVALID_PARAM
querying room aliases - Handle empty
from
parameter when requesting/messages
- Add CORP headers on media endpoints
- Remove
aliases
from/publicRooms
responses - Allow
+
in MXIDs (Contributed by RosstheRoss)
- Return
- Fixes membership transitions from
knock
tojoin
inknock_restricted
rooms - Incremental syncs now batch query events (Contributed by recht)
- Move
/joined_members
back to the clientAPI/roomserver, which should make bridges happier again - Backfilling from other servers now only uses at max 100 events instead of potentially thousands
What's Changed
- Use
AckExplicitPolicy
instead ofAckAllPolicy
by @S7evinK in #3288 - Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #3290
- Fix panic if unable to assign a state key NID by @S7evinK in #3294
- Fix notary keys requests for all keys by @S7evinK in #3296
- Return
M_INVALID_PARAM
instead ofM_BAD_JSON
when setting aliases by @S7evinK in #3297 - Handle empty from in /messages as per MSC3567 by @devonh in #3298
- Add CORP header to
/download
and/thumbnail
by @S7evinK in #3299 - Bump github.com/quic-go/quic-go from 0.37.4 to 0.37.7 by @dependabot in #3300
- Update GMSL by @S7evinK in #3303
- Add login fallback by @S7evinK in #3302
- Don't send device list updates upon registration by @S7evinK in #3307
- Optimize
PrevEventIDs
when getting thousands of backwards extremeties by @S7evinK in #3308 - Update sentry reporting by @S7evinK in #3305
- Only fetch events once for all rooms by @recht in #3311
- Allow + in MIDs as per MSC4009 by @RosstheRoss in #3313
- Move
/joined_members
back to the clientapi/roomserver by @S7evinK in #3312 - Version 0.13.6 by @S7evinK in #3315
New Contributors
- @recht made their first contribution in #3311
- @RosstheRoss made their first contribution in #3313
Full Changelog: v0.13.5...v0.13.6
helm-dendrite-0.13.7
Dendrite Matrix Homeserver
Dendrite 0.13.5
Upgrading to this version is highly recommended, as it fixes several long-standing bugs in
our CanonicalJSON implementation.
Fixes
- Convert unicode escapes to lowercase (gomatrixserverlib)
- Fix canonical json utf-16 surrogate pair detection logic (gomatrixserverlib)
- Handle negative zero and exponential numbers in Canonical JSON verification (gomatrixserverlib)
- Avoid logging unnecessary messages when unable to fetch server keys if multiple fetchers are used (gomatrixserverlib)
- Issues around the device list updater have been fixed, which should ensure that there are always
workers available to process incoming device list updates. - A panic in the
/hierarchy
endpoints used for spaces has been fixed (client-server and server-server API) - Fixes around the way we handle database transactions (including a potential connection leak)
- ACLs are now updated when received as outliers
- A race condition, which could lead to bridges instantly leaving a room after joining it, between the SyncAPI and
Appservices has been fixed - Some content-types are now inlined again
Features
- Appservice login is now supported!
- Users can now kick themselves (used by some bridges)
What's Changed
- Bump github.com/docker/docker from 24.0.5+incompatible to 24.0.7+incompatible by @dependabot in #3250
- Some tweaks for the device list updater by @S7evinK in #3251
- Bump github.com/nats-io/nkeys from 0.4.4 to 0.4.6 by @dependabot in #3252
- Bump golang.org/x/image from 0.5.0 to 0.10.0 by @dependabot in #3257
- Fix panic in
QueryNextRoomHierarchyPage
by @S7evinK in #3253 - Fix potential connection leak by @S7evinK in #3247
- More
rows.Close()
androws.Err()
by @S7evinK in #3262 - Use
IsBlacklistedOrBackingOff
to determine if we should try to fetch devices by @S7evinK in #3254 - fix typo by @Smartich0ke in #3266
- Fix broken links in FAQ.md by @notassigned in #3259
- Add
keydb_server_keys
table tests by @S7evinK in #3270 - Refactor registration tests, remove hard-coded username validation by @CicadaCinema in #3138
- Allow users to kick themselves by @BtbN in #3157
- Update ACLs when received as outliers by @S7evinK in #3008
- Appservice Login (2nd attempt) by @kuhnchris in #3078
- Added Docker commands for Windows by @Denperidge in #3267
- added a warning log , for well_known_server_name,well_known_server_name when they dont have prefix by @Mothergoose31 in #3205
- Allow some content types to be inlined by @S7evinK in #3274
- Introduce a new stream for the appservice consumer by @S7evinK in #3277
- Version 0.13.5 by @S7evinK in #3285
New Contributors
- @Smartich0ke made their first contribution in #3266
- @notassigned made their first contribution in #3259
- @BtbN made their first contribution in #3157
- @kuhnchris made their first contribution in #3078
- @Denperidge made their first contribution in #3267
- @Mothergoose31 made their first contribution in #3205
Full Changelog: v0.13.4...v0.13.5
helm-dendrite-0.13.6
Dendrite Matrix Homeserver
Dendrite 0.13.4
Upgrading to this version is highly recommended, as it fixes a long-standing bug in the state resolution
algorithm.
Fixes:
- The "device list updater" now de-duplicates the servers to fetch devices from on startup. (This also
avoids spamming the logs when shutting down.) - A bug in the state resolution algorithm has been fixed. This bug could result in users "being reset"
out of rooms and other missing state events due to calculating the wrong state. - A bug when setting notifications from Element Android has been fixed by implementing MSC3987
Features
- Updated dependencies
- Internal NATS Server has been updated from v2.9.19 to v2.9.23
What's Changed
- Fix tests for x86 by @S7evinK in #3214
- Fix
resolve-state
by @S7evinK in #3229 - Update Complement to match new public API shape by @kegsay in #3232
- Update bug report to reflect current team members by @devonh in #3234
- Bump golang.org/x/net from 0.14.0 to 0.17.0 by @dependabot in #3233
- Tweaks around the device list updater by @S7evinK in #3227
- Fix state resets by @S7evinK in #3231
- Bump github.com/nats-io/nats-server/v2 from 2.9.19 to 2.9.23 by @dependabot in #3238
- Implement MSC3987, fix setting Element Android notifications by @S7evinK in #3242
- Check event is not rejected by @S7evinK in #3243
- fix(helm): empty storage class in pvcs by @wrenix in #3191
- Add simple test for one time keys by @devonh in #3239
- clean up dead links, fix typo by @CicadaCinema in #3130
- Version 0.13.4 by @S7evinK in #3244
Full Changelog: v0.13.3...v0.13.4
helm-dendrite-0.13.5
Dendrite Matrix Homeserver
Dendrite 0.13.3
Fixes:
- The
user_id
query parameter when authenticating is now used correctly (contributed by tulir) - Invitations are now correctly pushed to devices
- A bug which could result in the corruption of
m.direct
account data has been fixed
Features
- Sliding Sync proxy can be configured in the
/.well-known/matrix/client
response - Room version 11 is now supported
- Clients can request the
federation
event_format
when creating filters - Many under the hood improvements for MSC4014: Pseudonymous Identities
Other
- Dendrite now requires Go 1.20 if building from source
What's Changed
- [pseudoIDs] More pseudo ID fixes - Part 2 by @swedgwood in #3181
- Add configuration option for sliding sync when hosting /.well-known/matrix/client by @devonh in #3189
- Bump commonmarker from 0.23.9 to 0.23.10 in /docs by @dependabot in #3172
- Fix CI, upgrade image used for upgrade tests by @S7evinK in #3151
- [helm] Update Ingress hosts to account for IPv6 (server+client) and scheme (client) by @Omar007 in #3182
- Handle event_format federation in /sync responses by @devonh in #3192
- bump GMSL back to main by @swedgwood in #3197
- Fix
user_id
query param breaking auth for non-appservices by @tulir in #3196 - [pseudoIDs] changing event ID fix by @swedgwood in #3195
- Update gmsl to use new validated RoomID on PDUs by @devonh in #3200
- Move pseudoID ClientEvent hotswapping to a common location by @devonh in #3199
- Fix invitations not sending push notifications by @S7evinK in #3207
- Complement fixes by @devonh in #3206
- Support for room version v11 by @S7evinK in #3204
- Fix m.direct only being partially upgraded by @S7evinK in #3209
- Remove the creator field when upgrading to v11 by @S7evinK in #3210
- Updated minimum required go version in README.md by @jahway603 in #3194
- Fixed typo in documentation by @tracker-friendly in #3212
- Version 0.13.3 by @S7evinK in #3213
New Contributors
- @jahway603 made their first contribution in #3194
- @tracker-friendly made their first contribution in #3212
Full Changelog: v0.13.2...v0.13.3
helm-dendrite-0.13.4
Dendrite Matrix Homeserver
helm-dendrite-0.13.3
Dendrite Matrix Homeserver
Dendrite 0.13.2
Fixes:
- Migrations in SQLite are now prepared on the correct context (transaction or database)
- The
InputRoomEvent
stream now has a maximum age of 24h, which should help with slow start up times of NATS JetStream (contributed by neilalexander) - Event size checks are more in line with Synapse
- Requests to
/messages
have been optimized, possibly reducing database round trips - Re-add the revision of Dendrite when building from source (Note: This only works if git is installed)
- Getting local members to notify has been optimized, which should significantly reduce memory allocation and cache usage
- When getting queried about user profiles, we now return HTTP404 if the user/profiles does not exist
- Background federated joins should now be fixed and not timeout after a short time
- Database connections are now correctly re-used
- Restored the old behavior of the
/purgeRoom
admin endpoint (does not evacuate the room before purging) - Don't expose information about the system when trying to download files that don't exist
Features
- Further improvements and fixes for MSC4014: Pseudonymous Identities
- Lookup correct prev events in the sync API
- Populate
prev_sender
correctly in the sync API - Event federation should work better
- Added new
dendrite_up
Prometheus metric, containing the version of Dendrite - Space summaries (MSC2946) have been moved from MSC to being natively supported
- For easier issue investigation, logs for application services now contain the application service ID (contributed by maxberger)
- The default room version to use when creating rooms can now be configured using
room_server.default_room_version
What's Changed
- Add pseudoID compatibility to Invites by @devonh in #3126
- Fix prev event lookup in syncapi by @devonh in #3141
- Populate syncapi state event prev_sender with userID by @devonh in #3142
- Prepare statement on an existing transaction by @S7evinK in #3144
- Set max age for roomserver input stream to avoid excessive interior deletes by @neilalexander in #3145
- Add event size checks similar to Synapse by @S7evinK in #3140
- Fix issues reported by Sentry by @S7evinK in #3143
- Avoid loops by setting end to an empty string if start == end by @S7evinK in #3146
- Add revision to version string by @S7evinK in #3147
- Tweaks around
/messages
by @S7evinK in #3149 - Optimise getting local members and membership counts by @S7evinK in #3150
- Extend context timeout on send_join to allow for joining complex rooms by @devonh in #3153
- Use pointer when passing the connection manager around by @S7evinK in #3152
- de-MSC-ifying space summaries (MSC2946) by @swedgwood in #3134
- Update ConnectionManager to still allow component defined connections by @S7evinK in #3154
- Fix event federation with pseudoID rooms by @devonh in #3156
- add deployment strategy option to helm chart (re #3021) by @geoah in #3155
- Send a more generic error message to clients if the file can't be found by @S7evinK in #3161
- [pseudoIDs] Fixes for room alias tests by @swedgwood in #3159
- Use
*spec.SenderID
forQuerySenderIDForUser
by @swedgwood in #3164 - Add ID in error messages for ApplicationServices by @maxberger in #3162
- Add config key for default room version by @swedgwood in #3171
- Update pinecone to use new quic version by @devonh in #3174
- [pseudoID] More pseudo ID fixes by @swedgwood in #3167
New Contributors
- @swedgwood made their first contribution in #3134
- @maxberger made their first contribution in #3162
Full Changelog: v0.13.1...v0.13.2