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

Commit 86d4eef

Browse files
Version 0.6.5 (#2254)
* Version and changelog * Update changelog * Update changelog * Update readme * Update readme some more * Fix date in changelog
1 parent 0297929 commit 86d4eef

File tree

3 files changed

+71
-34
lines changed

3 files changed

+71
-34
lines changed

CHANGES.md

Lines changed: 30 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# Changelog
22

3+
## Dendrite 0.6.5 (2022-03-04)
4+
5+
### Features
6+
7+
* Early support for push notifications has been added, with support for push rules, pushers, HTTP push gateways and the `/notifications` endpoint (contributions by [danpe](https://github.com/danpe), [PiotrKozimor](https://github.com/PiotrKozimor) and [tommie](https://github.com/tommie))
8+
* Spaces Summary (MSC2946) is now correctly supported (when `msc2946` is enabled in the config)
9+
* All media API endpoints are now available under the `/v3` namespace
10+
* Profile updates (display name and avatar) are now sent asynchronously so they shouldn't block the client for a very long time
11+
* State resolution v2 has been optimised further to considerably reduce the number of memory allocations
12+
* State resolution v2 will no longer duplicate events unnecessarily when calculating the auth difference
13+
* The `create-account` tool now has a `-reset-password` option for resetting the passwords of existing accounts
14+
* The `/sync` endpoint now calculates device list changes much more quickly with less RAM used
15+
* The `/messages` endpoint now lazy-loads members correctly
16+
17+
### Fixes
18+
19+
* Read receipts now work correctly by correcting bugs in the stream positions and receipt coalescing
20+
* Topological sorting of state and join responses has been corrected, which should help to reduce the number of auth problems when joining new federated rooms
21+
* Media thumbnails should now work properly after having unnecessarily strict rate limiting removed
22+
* The roomserver no longer holds transactions for as long when processing input events
23+
* Uploading device keys and cross-signing keys will now correctly no-op if there were no changes
24+
* Parameters are now remembered correctly during registration
25+
* Devices can now only be deleted within the appropriate UIA flow
26+
* The `/context` endpoint now returns 404 instead of 500 if the event was not found
27+
* SQLite mode will no longer leak memory as a result of not closing prepared statements
28+
329
## Dendrite 0.6.4 (2022-02-21)
430

531
### Features
@@ -210,9 +236,9 @@
210236

211237
### Fixes
212238

213-
- **SECURITY:** A bug in SQLite mode which could cause the registration flow to complete unexpectedly for existing accounts has been fixed (PostgreSQL deployments are not affected)
214-
- A panic in the federation sender has been fixed when shutting down destination queues
215-
- The `/keys/upload` endpoint now correctly returns the number of one-time keys in response to an empty upload request
239+
* **SECURITY:** A bug in SQLite mode which could cause the registration flow to complete unexpectedly for existing accounts has been fixed (PostgreSQL deployments are not affected)
240+
* A panic in the federation sender has been fixed when shutting down destination queues
241+
* The `/keys/upload` endpoint now correctly returns the number of one-time keys in response to an empty upload request
216242

217243
## Dendrite 0.3.10 (2021-02-17)
218244

@@ -534,4 +560,4 @@ First versioned release of Dendrite.
534560
* Typing: Yes.
535561
* Presence: No.
536562
* Receipts: No.
537-
* OpenID: No.
563+
* OpenID: No.

README.md

Lines changed: 40 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,29 @@
22

33
Dendrite is a second-generation Matrix homeserver written in Go.
44
It intends to provide an **efficient**, **reliable** and **scalable** alternative to [Synapse](https://github.com/matrix-org/synapse):
5-
- Efficient: A small memory footprint with better baseline performance than an out-of-the-box Synapse.
6-
- Reliable: Implements the Matrix specification as written, using the
5+
6+
- Efficient: A small memory footprint with better baseline performance than an out-of-the-box Synapse.
7+
- Reliable: Implements the Matrix specification as written, using the
78
[same test suite](https://github.com/matrix-org/sytest) as Synapse as well as
89
a [brand new Go test suite](https://github.com/matrix-org/complement).
9-
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
10+
- Scalable: can run on multiple machines and eventually scale to massive homeserver deployments.
1011

1112
As of October 2020, Dendrite has now entered **beta** which means:
13+
1214
- Dendrite is ready for early adopters. We recommend running in Monolith mode with a PostgreSQL database.
1315
- Dendrite has periodic semver releases. We intend to release new versions as we land significant features.
1416
- Dendrite supports database schema upgrades between releases. This means you should never lose your messages when upgrading Dendrite.
1517
- Breaking changes will not occur on minor releases. This means you can safely upgrade Dendrite without modifying your database or config file.
1618

1719
This does not mean:
18-
- Dendrite is bug-free. It has not yet been battle-tested in the real world and so will be error prone initially.
19-
- All of the CS/Federation APIs are implemented. We are tracking progress via a script called 'Are We Synapse Yet?'. In particular,
20+
21+
- Dendrite is bug-free. It has not yet been battle-tested in the real world and so will be error prone initially.
22+
- All of the CS/Federation APIs are implemented. We are tracking progress via a script called 'Are We Synapse Yet?'. In particular,
2023
presence and push notifications are entirely missing from Dendrite. See [CHANGES.md](CHANGES.md) for updates.
21-
- Dendrite is ready for massive homeserver deployments. You cannot shard each microservice, only run each one on a different machine.
24+
- Dendrite is ready for massive homeserver deployments. You cannot shard each microservice, only run each one on a different machine.
2225

2326
Currently, we expect Dendrite to function well for small (10s/100s of users) homeserver deployments as well as P2P Matrix nodes in-browser or on mobile devices.
24-
In the future, we will be able to scale up to gigantic servers (equivalent to matrix.org) via polylith mode.
27+
In the future, we will be able to scale up to gigantic servers (equivalent to matrix.org) via polylith mode.
2528

2629
If you have further questions, please take a look at [our FAQ](docs/FAQ.md) or join us in:
2730

@@ -31,14 +34,16 @@ If you have further questions, please take a look at [our FAQ](docs/FAQ.md) or j
3134

3235
## Requirements
3336

34-
To build Dendrite, you will need Go 1.16 or later.
37+
To build Dendrite, you will need Go 1.16 or later.
3538

3639
For a usable federating Dendrite deployment, you will also need:
37-
- A domain name (or subdomain)
40+
41+
- A domain name (or subdomain)
3842
- A valid TLS certificate issued by a trusted authority for that domain
3943
- SRV records or a well-known file pointing to your deployment
4044

4145
Also recommended are:
46+
4247
- A PostgreSQL database engine, which will perform better than SQLite with many users and/or larger rooms
4348
- A reverse proxy server, such as nginx, configured [like this sample](https://github.com/matrix-org/dendrite/blob/master/docs/nginx/monolith-sample.conf)
4449

@@ -76,30 +81,32 @@ Then point your favourite Matrix client at `http://localhost:8008` or `https://l
7681

7782
We use a script called Are We Synapse Yet which checks Sytest compliance rates. Sytest is a black-box homeserver
7883
test rig with around 900 tests. The script works out how many of these tests are passing on Dendrite and it
79-
updates with CI. As of January 2022 we're at around 65% CS API coverage and 92% Federation coverage, though check
84+
updates with CI. As of March 2022 we're at around 76% CS API coverage and 95% Federation coverage, though check
8085
CI for the latest numbers. In practice, this means you can communicate locally and via federation with Synapse
8186
servers such as matrix.org reasonably well. There's a long list of features that are not implemented, notably:
82-
- Push
83-
- Search and Context
84-
- User Directory
85-
- Presence
86-
- Guests
87+
88+
- Search
89+
- User Directory
90+
- Presence
8791

8892
We are prioritising features that will benefit single-user homeservers first (e.g Receipts, E2E) rather
8993
than features that massive deployments may be interested in (User Directory, OpenID, Guests, Admin APIs, AS API).
9094
This means Dendrite supports amongst others:
91-
- Core room functionality (creating rooms, invites, auth rules)
92-
- Federation in rooms v1-v7
93-
- Backfilling locally and via federation
94-
- Accounts, Profiles and Devices
95-
- Published room lists
96-
- Typing
97-
- Media APIs
98-
- Redaction
99-
- Tagging
100-
- E2E keys and device lists
101-
- Receipts
10295

96+
- Core room functionality (creating rooms, invites, auth rules)
97+
- Federation in rooms v1-v7
98+
- Backfilling locally and via federation
99+
- Accounts, Profiles and Devices
100+
- Published room lists
101+
- Typing
102+
- Media APIs
103+
- Redaction
104+
- Tagging
105+
- Context
106+
- E2E keys and device lists
107+
- Receipts
108+
- Push
109+
- Guests
103110

104111
## Contributing
105112

@@ -112,6 +119,7 @@ For example, if the test `Local device key changes get to remote servers` was ma
112119
test file (e.g via `grep` or via the
113120
[CI log output](https://buildkite.com/matrix-dot-org/dendrite/builds/2826#39cff5de-e032-4ad0-ad26-f819e6919c42)
114121
it's `tests/50federation/40devicelists.pl` ) then to run Sytest:
122+
115123
```
116124
docker run --rm --name sytest
117125
-v "/Users/kegan/github/sytest:/sytest"
@@ -121,10 +129,12 @@ docker run --rm --name sytest
121129
-e "POSTGRES=1" -e "DENDRITE_TRACE_HTTP=1"
122130
matrixdotorg/sytest-dendrite:latest tests/50federation/40devicelists.pl
123131
```
132+
124133
See [sytest.md](docs/sytest.md) for the full description of these flags.
125134

126135
You can try running sytest outside of docker for faster runs, but the dependencies can be temperamental
127136
and we recommend using docker where possible.
137+
128138
```
129139
cd sytest
130140
export PERL5LIB=$HOME/lib/perl5
@@ -149,8 +159,9 @@ Dendrite in Monolith + SQLite works in a range of environments including iOS and
149159

150160
For small homeserver installations joined on ~10s rooms on matrix.org with ~100s of users in those rooms, including some
151161
encrypted rooms:
152-
- Memory: uses around 100MB of RAM, with peaks at around 200MB.
153-
- Disk space: After a few months of usage, the database grew to around 2GB (in Monolith mode).
154-
- CPU: Brief spikes when processing events, typically idles at 1% CPU.
162+
163+
- Memory: uses around 100MB of RAM, with peaks at around 200MB.
164+
- Disk space: After a few months of usage, the database grew to around 2GB (in Monolith mode).
165+
- CPU: Brief spikes when processing events, typically idles at 1% CPU.
155166

156167
This means Dendrite should comfortably work on things like Raspberry Pis.

internal/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var build string
1717
const (
1818
VersionMajor = 0
1919
VersionMinor = 6
20-
VersionPatch = 4
20+
VersionPatch = 5
2121
VersionTag = "" // example: "rc1"
2222
)
2323

0 commit comments

Comments
 (0)