Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Releases: matrix-org/dendrite

Dendrite 0.3.10

17 Feb 16:17
2fdc318
Compare
Choose a tag to compare

Features

  • In-memory caches will now gradually evict old entries, reducing idle memory usage
  • Federation sender queues will now be fully unloaded when idle, reducing idle memory usage
  • The power_level_content_override option is now supported in /createRoom
  • The /send endpoint will now attempt more servers in the room when trying to fetch missing events or state

Fixes

  • A panic in the membership updater has been fixed
  • Events in the sync API that weren't excluded from sync can no longer be incorrectly excluded from sync by backfill
  • Retrieving remote media now correcly respects the locally configured maximum file size, even when the Content-Length header is unavailable
  • The /send endpoint will no longer hit the database more than once to find servers in the room

Dendrite 0.3.9

04 Feb 12:40
397b158
Compare
Choose a tag to compare

Features

  • Performance of initial/complete syncs has been improved dramatically
  • State events that can't be authed are now dropped when joining a room rather than unexpectedly causing the room join to fail
  • State events that already appear in the timeline will no longer be requested from the sync API database more than once, which may reduce memory usage in some cases

Fixes

  • A crash at startup due to a conflict in the sync API account data has been fixed
  • A crash at startup due to mismatched event IDs in the federation sender has been fixed
  • A redundant check which may cause the roomserver memberships table to get out of sync has been removed

Dendrite 0.3.8

28 Jan 13:38
61090cb
Compare
Choose a tag to compare

Fixes

  • A well-known lookup regression in version 0.3.7 has been fixed

Dendrite 0.3.7

26 Jan 13:14
e14e9a1
Compare
Choose a tag to compare

Features

  • Sync filtering support (for event types, senders and limits)
  • In-process DNS caching support for deployments where a local DNS caching resolver is not available (disabled by default)
  • Experimental support for MSC2444 (Peeking over Federation) has been merged
  • Experimental federation support for MSC2946 (Spaces Summary) has been merged

Fixes

  • Dendrite will no longer load a given event more than once for state resolution, which may help to reduce memory usage and database I/O slightly in some cases
  • Large well-known responses will no longer use significant amounts of memory

Dendrite 0.3.6

18 Jan 13:38
67c89b3
Compare
Choose a tag to compare

Features

  • Experimental support for MSC2946 (Spaces Summary) has been merged
  • Send-to-device messages have been refactored and now take advantage of having their own stream position, making delivery more reliable
  • Unstable features and MSCs are now listed in /versions (contributed by sumitks866)
  • Well-known and DNS SRV record results for federated servers are now cached properly, improving outbound federation performance and reducing traffic

Fixes

  • Updating forward extremities will no longer result in so many unnecessary state snapshots, reducing on-going disk usage in the roomserver database
  • Pagination tokens for /messages have been fixed, which should improve the reliability of scrollback/pagination
  • Dendrite now avoids returning nulls in fields of the /sync response, and omitting some fields altogether when not needed, which should fix sync issues with Element Android
  • Requests for user device lists now time out quicker, which prevents federated /send requests from also timing out in many cases
  • Empty push rules are no longer sent over and over again in /sync
  • An integer overflow in the device list updater which could result in panics on 32-bit platforms has been fixed (contributed by Lesterpig)
  • Event IDs are now logged properly in federation sender and sync API consumer errors

Dendrite 0.3.5

11 Jan 14:03
ec1b017
Compare
Choose a tag to compare

Features

  • All /sync streams are now logically separate after a refactoring exercise

Fixes

  • Event references are now deeply checked properly when calculating forward extremities, reducing the amount of forward extremities in most cases, which improves RAM utilisation and reduces the work done by state resolution
  • Sync no longer sends incorrect next_batch tokens with old stream positions, reducing flashbacks of old messages in clients
  • The federation /send endpoint no longer uses the request context, which could result in some events failing to be persisted if the sending server gave up the HTTP connection
  • Appservices can now auth as users in their namespaces properly

Dendrite 0.3.4

18 Dec 14:54
4a04613
Compare
Choose a tag to compare

Features

  • The stream tokens for /sync have been refactored, giving PDUs, typing notifications, read receipts, invites and send-to-device messages their own respective stream positions, greatly improving the correctness of sync
  • A new roominfo cache has been added, which results in less database hits in the roomserver
  • Prometheus metrics have been added for sync requests, destination queues and client API event send perceived latency

Fixes

  • Event IDs are no longer recalculated so often in /sync, which reduces CPU usage
  • Sync requests are now woken up correctly for our own device list updates
  • The device list stream position is no longer lost, so unnecessary device updates no longer appear in every other sync
  • A crash on concurrent map read/writes has been fixed in the stream token code
  • The roomserver input API no longer starts more worker goroutines than needed
  • The roomserver no longer uses the request context for queued tasks which could lead to send requests failing to be processed
  • A new index has been added to the sync API current state table, which improves lookup performance significantly
  • The client API /joined_rooms endpoint no longer incorrectly returns null if there are 0 rooms joined
  • The roomserver will now query appservices when looking up a local room alias that isn't known
  • The check on registration for appservice-exclusive namespaces has been fixed

Dendrite 0.3.3

09 Dec 14:13
851c026
Compare
Choose a tag to compare

Features

  • Federation sender should now use considerably less CPU cycles and RAM when sending events into large rooms
  • The roomserver now uses considerably less CPU cycles by not calculating event IDs so often
  • Experimental support for MSC2836 (threading) has been merged
  • Dendrite will no longer hold federation HTTP connections open unnecessarily, which should help to reduce ambient CPU/RAM usage and hold fewer long-term file descriptors

Fixes

  • A bug in the latest event updater has been fixed, which should prevent the roomserver from losing forward extremities in some rare cases
  • A panic has been fixed when federation is disabled (contributed by kraem)
  • The response format of the /joined_members endpoint has been fixed (contributed by alexkursell)

Dendrite 0.3.2

02 Dec 17:46
1f3a498
Compare
Choose a tag to compare

Features

  • Federation can now be disabled with the global.disable_federation configuration option

Fixes

  • The "since" parameter is now checked more thoroughly in the sync API, which led to a bug that could cause forgotten rooms to reappear (contributed by kaniini)
  • The polylith now proxies signing key requests through the federation sender correctly
  • The code for checking if remote servers are allowed to see events now no longer wastes CPU time retrieving irrelevant state events

Dendrite 0.3.1

20 Nov 12:00
9c52f82
Compare
Choose a tag to compare

Features

  • Memory optimisation by reference passing, significantly reducing the number of allocations and duplication in memory
  • A hook API has been added for experimental MSCs, with an early implementation of MSC2836
  • The last seen timestamp and IP address are now updated automatically when calling /sync
  • The last seen timestamp and IP address are now reported in /_matrix/client/r0/devices (contributed by alexkursell)
  • An optional configuration option sync_api.real_ip_header has been added for specifying which HTTP header contains the real client IP address (for if Dendrite is running behind a reverse HTTP proxy)
  • Partial implementation of /_matrix/client/r0/admin/whois (contributed by DavidSpenler)

Fixes

  • A concurrency bug has been fixed in the federation API that could cause Dendrite to crash
  • The error when registering a username with invalid characters has been corrected (contributed by bodqhrohro)