|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## Dendrite 0.9.0 (2022-08-01) |
| 4 | + |
| 5 | +### Features |
| 6 | + |
| 7 | +* Dendrite now uses Ristretto for managing in-memory caches |
| 8 | + * Should improve cache utilisation considerably over time by more intelligently selecting and managing cache entries compared to the previous LRU-based cache |
| 9 | + * Defaults to a 1GB cache size if not configured otherwise |
| 10 | + * The estimated cache size in memory and maximum age can now be configured with new [configuration options](https://github.com/matrix-org/dendrite/blob/e94ef84aaba30e12baf7f524c4e7a36d2fdeb189/dendrite-sample.monolith.yaml#L44-L61) to prevent unbounded cache growth |
| 11 | +* Added support for serving the `/.well-known/matrix/client` hint directly from Dendrite |
| 12 | + * Configurable with the new [configuration option](https://github.com/matrix-org/dendrite/blob/e94ef84aaba30e12baf7f524c4e7a36d2fdeb189/dendrite-sample.monolith.yaml#L67-L69) |
| 13 | +* Refactored membership updater, which should eliminate some bugs caused by the membership table getting out of sync with the room state |
| 14 | +* The User API is now responsible for sending account data updates to other components, which may fix some races and duplicate account data events |
| 15 | +* Optimised database query for checking whether a remote server is allowed to request an event over federation without using anywhere near as much CPU time (PostgreSQL only) |
| 16 | +* Database migrations have been refactored to eliminate some problems that were present with `goose` and upgrading from older Dendrite versions |
| 17 | +* Media fetching will now use the `/v3` endpoints for downloading media from remote homeservers |
| 18 | +* HTTP 404 and HTTP 405 errors from the client-facing APIs should now be returned with CORS headers so that web-based clients do not produce incorrect access control warnings for unknown endpoints |
| 19 | +* Some preparation work for full history visibility support |
| 20 | + |
| 21 | +### Fixes |
| 22 | + |
| 23 | +* Fixes a crash that could occur during event redaction |
| 24 | +* The `/members` endpoint will no longer incorrectly return HTTP 500 as a result of some invite events |
| 25 | +* Send-to-device messages should now be ordered more reliably and the last position in the stream updated correctly |
| 26 | +* Parsing of appservice configuration files is now less strict (contributed by [Kab1r](https://github.com/Kab1r)) |
| 27 | +* The sync API should now identify shared users correctly when waking up for E2EE key changes |
| 28 | +* The federation `/state` endpoint will now return a HTTP 403 when the state before an event isn't known instead of a HTTP 500 |
| 29 | +* Presence timestamps should now be calculated with the correct precision |
| 30 | +* A race condition in the roomserver's room info has been fixed |
| 31 | +* A race condition in the sync API has been fixed |
| 32 | + |
3 | 33 | ## Dendrite 0.8.9 (2022-07-01) |
4 | 34 |
|
5 | 35 | ### Features |
|
0 commit comments