Skip to content

Commit

Permalink
Merge branch 'madlittlemods/msc3575-sliding-sync-0.0.1' into madlittl…
Browse files Browse the repository at this point in the history
…emods/msc3575-sliding-sync-filtering

Conflicts:
	tests/handlers/test_sliding_sync.py
	tests/rest/client/test_sync.py
  • Loading branch information
MadLittleMods committed Jun 4, 2024
2 parents 6b1eba4 + f6a5905 commit 555ba4b
Show file tree
Hide file tree
Showing 43 changed files with 915 additions and 380 deletions.
54 changes: 54 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,57 @@
# Synapse 1.109.0rc1 (2024-06-04)

### Features

- Add the ability to auto-accept invites on the behalf of users. See the [`auto_accept_invites`](https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#auto-accept-invites) config option for details. ([\#17147](https://github.com/element-hq/synapse/issues/17147))
- Add experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync/e2ee` endpoint for to-device messages and device encryption info. ([\#17167](https://github.com/element-hq/synapse/issues/17167))
- Support [MSC3916](https://github.com/matrix-org/matrix-spec-proposals/issues/3916) by adding unstable media endpoints to `/_matrix/client`. ([\#17213](https://github.com/element-hq/synapse/issues/17213))
- Add logging to tasks managed by the task scheduler, showing CPU and database usage. ([\#17219](https://github.com/element-hq/synapse/issues/17219))

### Bugfixes

- Fix deduplicating of membership events to not create unused state groups. ([\#17164](https://github.com/element-hq/synapse/issues/17164))
- Fix bug where duplicate events could be sent down sync when using workers that are overloaded. ([\#17215](https://github.com/element-hq/synapse/issues/17215))
- Ignore attempts to send to-device messages to bad users, to avoid log spam when we try to connect to the bad server. ([\#17240](https://github.com/element-hq/synapse/issues/17240))
- Fix handling of duplicate concurrent uploading of device one-time-keys. ([\#17241](https://github.com/element-hq/synapse/issues/17241))
- Fix reporting of default tags to Sentry, such as worker name. Broke in v1.108.0. ([\#17251](https://github.com/element-hq/synapse/issues/17251))
- Fix bug where typing updates would not be sent when using workers after a restart. ([\#17252](https://github.com/element-hq/synapse/issues/17252))

### Improved Documentation

- Update the LemonLDAP documentation to say that claims should be explicitly included in the returned `id_token`, as Synapse won't request them. ([\#17204](https://github.com/element-hq/synapse/issues/17204))

### Internal Changes

- Improve DB usage when fetching related events. ([\#17083](https://github.com/element-hq/synapse/issues/17083))
- Log exceptions when failing to auto-join new user according to the `auto_join_rooms` option. ([\#17176](https://github.com/element-hq/synapse/issues/17176))
- Reduce work of calculating outbound device lists updates. ([\#17211](https://github.com/element-hq/synapse/issues/17211))
- Improve performance of calculating device lists changes in `/sync`. ([\#17216](https://github.com/element-hq/synapse/issues/17216))
- Move towards using `MultiWriterIdGenerator` everywhere. ([\#17226](https://github.com/element-hq/synapse/issues/17226))
- Replaces all usages of `StreamIdGenerator` with `MultiWriterIdGenerator`. ([\#17229](https://github.com/element-hq/synapse/issues/17229))
- Change the `allow_unsafe_locale` config option to also apply when setting up new databases. ([\#17238](https://github.com/element-hq/synapse/issues/17238))
- Fix errors in logs about closing incorrect logging contexts when media gets rejected by a module. ([\#17239](https://github.com/element-hq/synapse/issues/17239), [\#17246](https://github.com/element-hq/synapse/issues/17246))
- Clean out invalid destinations from `device_federation_outbox` table. ([\#17242](https://github.com/element-hq/synapse/issues/17242))
- Stop logging errors when receiving invalid User IDs in key querys requests. ([\#17250](https://github.com/element-hq/synapse/issues/17250))



### Updates to locked dependencies

* Bump anyhow from 1.0.83 to 1.0.86. ([\#17220](https://github.com/element-hq/synapse/issues/17220))
* Bump bcrypt from 4.1.2 to 4.1.3. ([\#17224](https://github.com/element-hq/synapse/issues/17224))
* Bump lxml from 5.2.1 to 5.2.2. ([\#17261](https://github.com/element-hq/synapse/issues/17261))
* Bump mypy-zope from 1.0.3 to 1.0.4. ([\#17262](https://github.com/element-hq/synapse/issues/17262))
* Bump phonenumbers from 8.13.35 to 8.13.37. ([\#17235](https://github.com/element-hq/synapse/issues/17235))
* Bump prometheus-client from 0.19.0 to 0.20.0. ([\#17233](https://github.com/element-hq/synapse/issues/17233))
* Bump pyasn1 from 0.5.1 to 0.6.0. ([\#17223](https://github.com/element-hq/synapse/issues/17223))
* Bump pyicu from 2.13 to 2.13.1. ([\#17236](https://github.com/element-hq/synapse/issues/17236))
* Bump pyopenssl from 24.0.0 to 24.1.0. ([\#17234](https://github.com/element-hq/synapse/issues/17234))
* Bump serde from 1.0.201 to 1.0.202. ([\#17221](https://github.com/element-hq/synapse/issues/17221))
* Bump serde from 1.0.202 to 1.0.203. ([\#17232](https://github.com/element-hq/synapse/issues/17232))
* Bump twine from 5.0.0 to 5.1.0. ([\#17225](https://github.com/element-hq/synapse/issues/17225))
* Bump types-psycopg2 from 2.9.21.20240311 to 2.9.21.20240417. ([\#17222](https://github.com/element-hq/synapse/issues/17222))
* Bump types-pyopenssl from 24.0.0.20240311 to 24.1.0.20240425. ([\#17260](https://github.com/element-hq/synapse/issues/17260))

# Synapse 1.108.0 (2024-05-28)

No significant changes since 1.108.0rc1.
Expand Down
1 change: 0 additions & 1 deletion changelog.d/17083.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17147.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17164.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17167.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17176.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17204.doc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17211.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17213.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17215.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17216.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17219.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17226.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17229.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17238.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17239.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17240.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17241.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17242.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/17246.misc

This file was deleted.

1 change: 1 addition & 0 deletions changelog.d/17265.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use fully-qualified `PersistedEventPosition` when returning `RoomsForUser` to facilitate proper comparisons and `RoomStreamToken` generation.
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
matrix-synapse-py3 (1.109.0~rc1) stable; urgency=medium

* New Synapse release 1.109.0rc1.

-- Synapse Packaging team <packages@matrix.org> Tue, 04 Jun 2024 09:42:46 +0100

matrix-synapse-py3 (1.108.0) stable; urgency=medium

* New Synapse release 1.108.0.
Expand Down
Loading

0 comments on commit 555ba4b

Please sign in to comment.