Skip to content
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.

Merge 1.96 #85

Open
wants to merge 72 commits into
base: beeper
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
68d9559
Test against Python 3.12 release (#16511)
clokep Oct 17, 2023
1903331
Bump urllib3 from 1.26.17 to 1.26.18 (#16516)
dependabot[bot] Oct 18, 2023
8841db4
Run trial/integration tests if .ci is modified. (#16512)
clokep Oct 18, 2023
bcff01b
Improve performance of delete device messages query (#16492)
MatMaul Oct 18, 2023
49c9745
Avoid sending massive replication updates when purging a room. (#16510)
clokep Oct 18, 2023
e9069c9
Mark sync as limited if there is a gap in the timeline (#16485)
erikjohnston Oct 19, 2023
d2eab22
Clarify presence router docs. (#16529)
clokep Oct 20, 2023
9171bf3
Bump pygithub from 1.59.1 to 2.1.1 (#16535)
dependabot[bot] Oct 23, 2023
2d12163
Bump types-pillow from 10.0.0.3 to 10.1.0.0 (#16536)
dependabot[bot] Oct 23, 2023
a802620
Bump gitpython from 3.1.37 to 3.1.40 (#16534)
dependabot[bot] Oct 23, 2023
786b614
Bump types-requests from 2.31.0.2 to 2.31.0.10 (#16537)
dependabot[bot] Oct 23, 2023
f835ab8
Bump black from 23.9.1 to 23.10.0 (#16538)
dependabot[bot] Oct 23, 2023
478a6c6
Bump matrix-synapse-ldap3 from 0.2.2 to 0.3.0 (#16539)
Oct 23, 2023
12ca87f
Remove the last reference to event_txn_id. (#16521)
clokep Oct 23, 2023
3a0aa6f
Force TLS certificate verification in registration script. (#16530)
dkasak Oct 23, 2023
3bcb6a0
Mention how to redirect the Jaeger traces to a specific Jaeger instan…
MTRNord Oct 23, 2023
3bc23cc
Fix bug that could cause a `/sync` to tightloop with sqlite after res…
erikjohnston Oct 23, 2023
8f35f81
Fix bug where a new writer advances their token too quickly (#16473)
erikjohnston Oct 23, 2023
3ab861a
Fix type hint errors from Twisted trunk (#16526)
clokep Oct 23, 2023
5fe76b9
Add test case to detect dodgy b64 encoding
Oct 23, 2023
3df70aa
Replace all Prometheus datasource UIDs of the Grafana Dashboard with …
MichaelSasser Oct 23, 2023
ffbe9b7
Remove duplicate call to wake a remote destination when using federat…
realtyem Oct 24, 2023
6ec9881
Rework alias and public room list rules docs (#16541)
Oct 24, 2023
c0d2f76
Merge branch 'develop' of github.com:matrix-org/synapse into develop
Oct 24, 2023
2f35424
Merge branch 'master' into develop
Oct 24, 2023
2f1065f
Revert "Add test case to detect dodgy b64 encoding"
Oct 24, 2023
95076f7
Fix http/s proxy authentication with long username/passwords (#16504)
MagicRB Oct 24, 2023
e182dbb
Fix tests on Twisted trunk. (#16528)
clokep Oct 25, 2023
ba47fea
Allow multiple workers to write to receipts stream. (#16432)
erikjohnston Oct 25, 2023
c14a7de
Pin the recommended poetry version in contributors' guide (#16550)
Oct 25, 2023
9407d5b
Convert simple_select_list and simple_select_list_txn to return lists…
clokep Oct 26, 2023
85e5f2d
Add a new module API to update user presence state. (#16544)
clokep Oct 26, 2023
679c691
Remove more usages of cursor_to_dict. (#16551)
clokep Oct 26, 2023
c02406a
Add new module API for adding custom fields to events `unsigned` sect…
erikjohnston Oct 27, 2023
0680d76
Reduce replication traffic due to reflected cache stream POSITION (#1…
erikjohnston Oct 27, 2023
928e964
Fix cross-worker ratelimiting (#16558)
erikjohnston Oct 27, 2023
89dbbd6
Reduce spurious replication catchup (#16555)
erikjohnston Oct 27, 2023
5413cef
Reduce amount of caches POSITIONS we send (#16561)
erikjohnston Oct 27, 2023
2bf9341
Ensure local invited & knocking users leave before purge. (#16559)
clokep Oct 27, 2023
11a8ae0
complement: enable dirty runs (#16520)
kegsay Oct 27, 2023
747416e
Portdb: don't copy a table that gets rebuilt (#16563)
Oct 27, 2023
bcaaeab
Bump types-psycopg2 from 2.9.21.14 to 2.9.21.15 (#16573)
dependabot[bot] Oct 30, 2023
13f6467
Bump black from 23.10.0 to 23.10.1 (#16575)
dependabot[bot] Oct 30, 2023
425cb9c
Bump phonenumbers from 8.13.22 to 8.13.23 (#16576)
dependabot[bot] Oct 30, 2023
8f7cd4c
Bump serde from 1.0.189 to 1.0.190 (#16577)
dependabot[bot] Oct 30, 2023
ba55835
Bump cryptography from 41.0.4 to 41.0.5 (#16572)
dependabot[bot] Oct 30, 2023
8c63e93
Fix HTTP repl response to use minimum token (#16578)
erikjohnston Oct 30, 2023
4e1a19d
Run actions/setup-go after checking out complement (#16567)
Oct 30, 2023
a3f6200
Bump setuptools-rust from 1.7.0 to 1.8.0 (#16574)
dependabot[bot] Oct 30, 2023
fdce83e
Claim fallback keys in bulk (#16570)
Oct 30, 2023
408c138
Add fast path for replication events stream fetch (#16580)
erikjohnston Oct 30, 2023
91aa52c
Clients link fixed in README (#16569)
niranjan-kurhade Oct 30, 2023
de981ae
Claim local one-time-keys in bulk (#16565)
Oct 30, 2023
4724a6d
1.96.0rc1
erikjohnston Oct 31, 2023
7a3a55a
Merge pull request from GHSA-mp92-3jfm-3575
clokep Oct 31, 2023
0cc6509
Merge branch 'release-v1.95' into develop
erikjohnston Oct 31, 2023
60c5e8d
Revert "1.96.0rc1"
erikjohnston Oct 31, 2023
1f033ad
Merge remote-tracking branch 'origin/develop' into release-v1.96
erikjohnston Oct 31, 2023
4bb2b4a
1.96.0rc1
erikjohnston Oct 31, 2023
c5b5439
Update changelog
erikjohnston Oct 31, 2023
bf69b57
Fix "'int' object is not iterable" error in set_device_id_for_pushers…
clokep Nov 2, 2023
ff0148a
1.96.0
clokep Nov 16, 2023
2de2258
Add blogpost link to changelog.
clokep Nov 16, 2023
47c6821
Fix building wheels in CI. (#16653)
clokep Nov 17, 2023
76f990c
1.96.1
clokep Nov 17, 2023
6a1352e
Move the forking note to 1.96.1.
clokep Nov 17, 2023
c4f5522
Tweaks from review.
clokep Nov 17, 2023
27b10c7
Merge tag 'v1.96.1' into beeper
Fizzadar Jan 29, 2024
896025b
Fix missing await on event serializer
Fizzadar Jan 29, 2024
7210ae3
Don't bother storing client IPs
Fizzadar Jan 29, 2024
c097143
Linting fixes
Fizzadar Jan 29, 2024
d555581
Redo client IP tracking removal to appease sytest
Fizzadar Jan 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .ci/scripts/calculate_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def set_output(key: str, value: str):
"database": "sqlite",
"extras": "all",
}
for version in ("3.9", "3.10", "3.11", "3.12.0-rc.2")
for version in ("3.9", "3.10", "3.11", "3.12")
)

trial_postgres_tests = [
Expand All @@ -62,7 +62,7 @@ def set_output(key: str, value: str):
if not IS_PR:
trial_postgres_tests.append(
{
"python-version": "3.11",
"python-version": "3.12",
"database": "postgres",
"postgres-version": "16",
"extras": "all",
Expand Down
86 changes: 86 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,89 @@
# Synapse 1.96.1 (2023-11-17)

Synapse will soon be forked by Element under an AGPLv3.0 licence (with CLA, for
proprietary dual licensing). You can read more about this here:

* https://matrix.org/blog/2023/11/06/future-of-synapse-dendrite/
* https://element.io/blog/element-to-adopt-agplv3/

The Matrix.org Foundation copy of the project will be archived. Any changes needed
by server administrators will be communicated via our usual
[announcements channels](https://matrix.to/#/#homeowners:matrix.org), but we are
striving to make this as seamless as possible.

This minor release was needed only because of CI-related trouble on [v1.96.0](https://github.com/matrix-org/synapse/releases/tag/v1.96.0), which was never released.

### Internal Changes

- Fix building of wheels in CI. ([\#16653](https://github.com/matrix-org/synapse/issues/16653))

# Synapse 1.96.0 (2023-11-16)

### Bugfixes

- Fix "'int' object is not iterable" error in `set_device_id_for_pushers` background update introduced in Synapse 1.95.0. ([\#16594](https://github.com/matrix-org/synapse/issues/16594))

# Synapse 1.96.0rc1 (2023-10-31)

### Features

- Add experimental support to allow multiple workers to write to receipts stream. ([\#16432](https://github.com/matrix-org/synapse/issues/16432))
- Add a new module API for controller presence. ([\#16544](https://github.com/matrix-org/synapse/issues/16544))
- Add a new module API callback that allows adding extra fields to events' unsigned section when sent down to clients. ([\#16549](https://github.com/matrix-org/synapse/issues/16549))
- Improve the performance of claiming encryption keys. ([\#16565](https://github.com/matrix-org/synapse/issues/16565), [\#16570](https://github.com/matrix-org/synapse/issues/16570))

### Bugfixes

- Fixed a bug in the example Grafana dashboard that prevents it from finding the correct datasource. Contributed by @MichaelSasser. ([\#16471](https://github.com/matrix-org/synapse/issues/16471))
- Fix a long-standing, exceedingly rare edge case where the first event persisted by a new event persister worker might not be sent down `/sync`. ([\#16473](https://github.com/matrix-org/synapse/issues/16473), [\#16557](https://github.com/matrix-org/synapse/issues/16557), [\#16561](https://github.com/matrix-org/synapse/issues/16561), [\#16578](https://github.com/matrix-org/synapse/issues/16578), [\#16580](https://github.com/matrix-org/synapse/issues/16580))
- Fix long-standing bug where `/sync` incorrectly did not mark a room as `limited` in a sync requests when there were missing remote events. ([\#16485](https://github.com/matrix-org/synapse/issues/16485))
- Fix a bug introduced in Synapse 1.41 where HTTP(S) forward proxy authorization would fail when using basic HTTP authentication with a long `username:password` string. ([\#16504](https://github.com/matrix-org/synapse/issues/16504))
- Force TLS certificate verification in user registration script. ([\#16530](https://github.com/matrix-org/synapse/issues/16530))
- Fix long-standing bug where `/sync` could tightloop after restart when using SQLite. ([\#16540](https://github.com/matrix-org/synapse/issues/16540))
- Fix ratelimiting of message sending when using workers, where the ratelimit would only be applied after most of the work has been done. ([\#16558](https://github.com/matrix-org/synapse/issues/16558))
- Fix a long-standing bug where invited/knocking users would not leave during a room purge. ([\#16559](https://github.com/matrix-org/synapse/issues/16559))

### Improved Documentation

- Improve documentation of presence router. ([\#16529](https://github.com/matrix-org/synapse/issues/16529))
- Add a sentence to the [opentracing docs](https://matrix-org.github.io/synapse/latest/opentracing.html) on how you can have jaeger in a different place than synapse. ([\#16531](https://github.com/matrix-org/synapse/issues/16531))
- Correctly describe the meaning of unspecified rule lists in the [`alias_creation_rules`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#alias_creation_rules) and [`room_list_publication_rules`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#room_list_publication_rules) config options and improve their descriptions more generally. ([\#16541](https://github.com/matrix-org/synapse/issues/16541))
- Pin the recommended poetry version in [contributors' guide](https://matrix-org.github.io/synapse/latest/development/contributing_guide.html). ([\#16550](https://github.com/matrix-org/synapse/issues/16550))
- Fix a broken link to the [client breakdown](https://matrix.org/ecosystem/clients/) in the README. ([\#16569](https://github.com/matrix-org/synapse/issues/16569))

### Internal Changes

- Improve performance of delete device messages query, cf issue [16479](https://github.com/matrix-org/synapse/issues/16479). ([\#16492](https://github.com/matrix-org/synapse/issues/16492))
- Reduce memory allocations. ([\#16505](https://github.com/matrix-org/synapse/issues/16505))
- Improve replication performance when purging rooms. ([\#16510](https://github.com/matrix-org/synapse/issues/16510))
- Run tests against Python 3.12. ([\#16511](https://github.com/matrix-org/synapse/issues/16511))
- Run trial & integration tests in continuous integration when `.ci` directory is modified. ([\#16512](https://github.com/matrix-org/synapse/issues/16512))
- Remove duplicate call to mark remote server 'awake' when using a federation sending worker. ([\#16515](https://github.com/matrix-org/synapse/issues/16515))
- Enable dirty runs on Complement CI, which is significantly faster. ([\#16520](https://github.com/matrix-org/synapse/issues/16520))
- Stop deleting from an unused table. ([\#16521](https://github.com/matrix-org/synapse/issues/16521))
- Improve type hints. ([\#16526](https://github.com/matrix-org/synapse/issues/16526), [\#16551](https://github.com/matrix-org/synapse/issues/16551))
- Fix running unit tests on Twisted trunk. ([\#16528](https://github.com/matrix-org/synapse/issues/16528))
- Reduce some spurious logging in worker mode. ([\#16555](https://github.com/matrix-org/synapse/issues/16555))
- Stop porting a table in port db that we're going to nuke and rebuild anyway. ([\#16563](https://github.com/matrix-org/synapse/issues/16563))
- Deal with warnings from running complement in CI. ([\#16567](https://github.com/matrix-org/synapse/issues/16567))
- Allow building with `setuptools_rust` 1.8.0. ([\#16574](https://github.com/matrix-org/synapse/issues/16574))

### Updates to locked dependencies

* Bump black from 23.10.0 to 23.10.1. ([\#16575](https://github.com/matrix-org/synapse/issues/16575))
* Bump black from 23.9.1 to 23.10.0. ([\#16538](https://github.com/matrix-org/synapse/issues/16538))
* Bump cryptography from 41.0.4 to 41.0.5. ([\#16572](https://github.com/matrix-org/synapse/issues/16572))
* Bump gitpython from 3.1.37 to 3.1.40. ([\#16534](https://github.com/matrix-org/synapse/issues/16534))
* Bump phonenumbers from 8.13.22 to 8.13.23. ([\#16576](https://github.com/matrix-org/synapse/issues/16576))
* Bump pygithub from 1.59.1 to 2.1.1. ([\#16535](https://github.com/matrix-org/synapse/issues/16535))
- Bump matrix-synapse-ldap3 from 0.2.2 to 0.3.0. ([\#16539](https://github.com/matrix-org/synapse/issues/16539))
* Bump serde from 1.0.189 to 1.0.190. ([\#16577](https://github.com/matrix-org/synapse/issues/16577))
* Bump setuptools-rust from 1.7.0 to 1.8.0. ([\#16574](https://github.com/matrix-org/synapse/issues/16574))
* Bump types-pillow from 10.0.0.3 to 10.1.0.0. ([\#16536](https://github.com/matrix-org/synapse/issues/16536))
* Bump types-psycopg2 from 2.9.21.14 to 2.9.21.15. ([\#16573](https://github.com/matrix-org/synapse/issues/16573))
* Bump types-requests from 2.31.0.2 to 2.31.0.10. ([\#16537](https://github.com/matrix-org/synapse/issues/16537))
* Bump urllib3 from 1.26.17 to 1.26.18. ([\#16516](https://github.com/matrix-org/synapse/issues/16516))

# Synapse 1.95.1 (2023-10-31)

## Security advisory
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ You will need to change the server you are logging into from ``matrix.org``
and instead specify a Homeserver URL of ``https://<server_name>:8448``
(or just ``https://<server_name>`` if you are using a reverse proxy).
If you prefer to use another client, refer to our
`client breakdown <https://matrix.org/docs/projects/clients-matrix>`_.
`client breakdown <https://matrix.org/ecosystem/clients/>`_.

If all goes well you should at least be able to log in, create a room, and
start sending messages.
Expand Down
Loading
Loading