dendrite

Dendrite is a second-generation Matrix homeserver written in Go!

APACHE-2.0 License

Stars
5.4K
Committers
186

Bot releases are visible (Hide)

dendrite - Dendrite 0.13.7 Latest Release

Published by S7evinK 6 months ago

Fixes

  • Fixed an issue where the displayname/avatar of an invited user was replaced with the inviter's details
  • Improved server startup performance by avoiding unnecessary room ACL queries
    • This change reduces memory footprint as it caches ACL regex patterns once instead of for each room
    • Unnecessary Relay related queries have been removed. Note: To use relays, you now need to explicitly enable them using the federation_api.enable_relays config
  • Fixed space summaries over federation
  • Improved usage of external NATS JetStream by reusing existing connections instead of opening new ones unnecessarily

Features

  • Modernized Appservices (contributed by tulir)
  • Added event reporting with Synapse Admin endpoints for querying them
  • Updated dependencies

New Contributors

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.13.6...v0.13.7

dendrite - helm-dendrite-0.14.1

Published by github-actions[bot] 6 months ago

Dendrite Matrix Homeserver

dendrite - helm-dendrite-0.14.0

Published by github-actions[bot] 8 months ago

Dendrite Matrix Homeserver

dendrite - helm-dendrite-0.13.8

Published by github-actions[bot] 8 months ago

Dendrite Matrix Homeserver

dendrite - Dendrite 0.13.6

Published by S7evinK 9 months ago

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)
  • Fixes membership transitions from knock to join in knock_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

New Contributors

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.13.5...v0.13.6

dendrite - helm-dendrite-0.13.7

Published by github-actions[bot] 9 months ago

Dendrite Matrix Homeserver

dendrite - Dendrite 0.13.5

Published by S7evinK 10 months ago

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

Features

  • Appservice login is now supported!
  • Users can now kick themselves (used by some bridges)

What's Changed

New Contributors

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.13.4...v0.13.5

dendrite - helm-dendrite-0.13.6

Published by github-actions[bot] 10 months ago

Dendrite Matrix Homeserver

dendrite - Dendrite 0.13.4

Published by S7evinK 12 months ago

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

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.13.3...v0.13.4

dendrite - helm-dendrite-0.13.5

Published by github-actions[bot] 12 months ago

Dendrite Matrix Homeserver

dendrite - Dendrite 0.13.3

Published by S7evinK about 1 year ago

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

New Contributors

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.13.2...v0.13.3

dendrite - helm-dendrite-0.13.4

Published by github-actions[bot] about 1 year ago

Dendrite Matrix Homeserver

dendrite - helm-dendrite-0.13.3

Published by github-actions[bot] about 1 year ago

Dendrite Matrix Homeserver

dendrite - helm-dendrite-0.13.2

Published by github-actions[bot] about 1 year ago

Dendrite Matrix Homeserver

dendrite - Dendrite 0.13.2

Published by S7evinK about 1 year ago

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

New Contributors

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.13.1...v0.13.2

dendrite - helm-dendrite-0.13.1

Published by github-actions[bot] over 1 year ago

Dendrite Matrix Homeserver

dendrite - Dendrite 0.13.1

Published by S7evinK over 1 year ago

This releases fixes a long-standing "off-by-one" error which could result in state resets. Upgrading to this version is highly recommended.

When deduplicating state events, we were checking if the event in question was already in a state snapshot. If it was in a previous state snapshot, we would
then remove it from the list of events to store. If this happened, we were, unfortunately, skipping the next event to check. This resulted in
events getting stored in state snapshots where they may not be needed. When we now compared two of those state snapshots, one of them
contained the skipped event, while the other didn't. This difference possibly shouldn't exist, resulting in unexpected state resets and explains
reports of missing state events as well.

Rooms where a state reset occurred earlier should, hopefully, reconcile over time.

Fixes:

  • A long-standing "off-by-one" error has been fixed, which could result in state resets
  • Roomserver Prometheus Metrics are available again

Features

  • Updated dependencies
    • Internal NATS Server has been updated from v2.9.15 to v2.9.19

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.13.0...v0.13.1

dendrite - Dendrite 0.13.0

Published by S7evinK over 1 year ago

Features

  • Results in responses to /search now highlight words more accurately and not only the search terms as before
  • Support for connecting to appservices listening on unix sockets has been added (contributed by cyberb)
  • Admin APIs for token authenticated registration have been added (contributed by santhoshivan23)
  • Initial support for MSC4014: Pseudonymous Identities
    • This is highly experimental, things like changing usernames/avatars, inviting users, upgrading rooms isn't working

Fixes

  • m.upload.size is now optional, finally allowing uploads with unlimited file size
  • A bug while resolving server names has been fixed (contributed by anton-molyboha)
  • Application services should only receive one invitation instead of 2 (or worse), which could result in state resets previously
  • Several admin endpoints are now using POST instead of GET
  • /delete_devices now uses user-interactive authentication
  • Several "membership" (e.g /kick, /ban) endpoints are using less heavy database queries to check if the user is allowed to perform this action
  • /3pid endpoints are now available on /v3 instead of the /unstable prefix
  • Upgrading rooms ignores state events of other users, which could result in failed upgrades before
  • Uploading key backups with a wrong version now returns M_WRONG_ROOM_KEYS_VERSION
  • A potential state reset when joining the same room multiple times in short sequence has been fixed
  • A bug where we returned the full event as redacted_because in redaction events has been fixed
  • The displayname and avatar_url can now be set to empty strings
  • Unsafe hotserving of files has been fixed (contributed by joshqou)
  • Joining new rooms would potentially return "redacted" events, due to history visibility not being set correctly, this could result in events being rejected
  • Backfilling resulting in unsuported room version '' should now be solved

Other

  • Huge refactoring of Dendrite and gomatrixserverlib

New Contributors

Full Changelog: https://github.com/matrix-org/dendrite/compare/v0.12.0...v0.13.0

dendrite - helm-dendrite-0.13.0

Published by github-actions[bot] over 1 year ago

Dendrite Matrix Homeserver

dendrite - helm-dendrite-0.12.4

Published by github-actions[bot] over 1 year ago

Dendrite Matrix Homeserver