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

Commit 3422193

Browse files
Version 0.8.2 (#2386)
* Version 0.8.2 * Correct account data position mapping * Try that again * Don't duplicate wait-for-shutdowns
1 parent 923f789 commit 3422193

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

CHANGES.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## Dendrite 0.8.2 (2022-04-27)
4+
5+
### Features
6+
7+
* Lazy-loading has been added to the `/sync` endpoint, which should speed up syncs considerably
8+
* Filtering has been added to the `/messages` endpoint
9+
* The room summary now contains "heroes" (up to 5 users in the room) for clients to display when no room name is set
10+
* The existing lazy-loading caches will now be used by `/messages` and `/context` so that member events will not be sent to clients more times than necessary
11+
* The account data stream now uses the provided filters
12+
* The built-in NATS Server has been updated to version 2.8.0
13+
* The `/state` and `/state_ids` endpoints will now return `M_NOT_FOUND` for rejected events
14+
* Repeated calls to the `/redact` endpoint will now be idempotent when a transaction ID is given
15+
* Dendrite should now be able to run as a Windows service under Service Control Manager
16+
17+
### Fixes
18+
19+
* Fictitious presence updates will no longer be created for users which have not sent us presence updates, which should speed up complete syncs considerably
20+
* Uploading cross-signing device signatures should now be more reliable, fixing a number of bugs with cross-signing
21+
* All account data should now be sent properly on a complete sync, which should eliminate problems with client settings or key backups appearing to be missing
22+
* Account data will now be limited correctly on incremental syncs, returning the stream position of the most recent update rather than the latest stream position
23+
* Account data will not be sent for parted rooms, which should reduce the number of left/forgotten rooms reappearing in clients as empty rooms
24+
* The TURN username hash has been fixed which should help to resolve some problems when using TURN for voice calls (contributed by [fcwoknhenuxdfiyv](https://github.com/fcwoknhenuxdfiyv))
25+
* Push rules can no longer be modified using the account data endpoints
26+
* Querying account availability should now work properly in polylith deployments
27+
* A number of bugs with sync filters have been fixed
28+
* A default sync filter will now be used if the request contains a filter ID that does not exist
29+
* The `pushkey_ts` field is now using seconds instead of milliseconds
30+
* A race condition when gracefully shutting down has been fixed, so JetStream should no longer cause the process to exit before other Dendrite components are finished shutting down
31+
332
## Dendrite 0.8.1 (2022-04-07)
433

534
### Fixes

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 = 8
20-
VersionPatch = 1
20+
VersionPatch = 2
2121
VersionTag = "" // example: "rc1"
2222
)
2323

setup/base/base.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -469,14 +469,12 @@ func (b *BaseDendrite) SetupAndServeHTTP(
469469
}
470470

471471
minwinsvc.SetOnExit(b.ProcessContext.ShutdownDendrite)
472-
473472
<-b.ProcessContext.WaitForShutdown()
473+
474474
logrus.Infof("Stopping HTTP listeners")
475475
_ = internalServ.Shutdown(context.Background())
476476
_ = externalServ.Shutdown(context.Background())
477477
logrus.Infof("Stopped HTTP listeners")
478-
479-
b.WaitForShutdown()
480478
}
481479

482480
func (b *BaseDendrite) WaitForShutdown() {

0 commit comments

Comments
 (0)