Skip to content

Releases: element-hq/synapse

v1.105.0

16 Apr 15:55
Compare
Choose a tag to compare

Synapse 1.105.0 (2024-04-16)

No significant changes since 1.105.0rc1.

Synapse 1.105.0rc1 (2024-04-11)

Features

  • Stabilize support for MSC4010 which clarifies the interaction of push rules and account data. Contributed by @clokep. (#17022)
  • Stabilize support for MSC3981: /relations recursion. Contributed by @clokep. (#17023)
  • Add support for moving /pushrules off of main process. (#17037, #17038)

Bugfixes

  • Fix various long-standing bugs which could cause incorrect state to be returned from /sync in certain situations. (#16930, #16932, #16942, #17064, #17065, #17066)
  • Fix server notice rooms not always being created as unencrypted rooms, even when encryption_enabled_by_default_for_room_type is in use (server notices are always unencrypted). (#17033)
  • Fix the .m.rule.encrypted_room_one_to_one and .m.rule.room_one_to_one default underride push rules being in the wrong order. Contributed by @Sumpy1. (#17043)

Internal Changes

  • Refactor auth chain fetching to reduce duplication. (#17044)
  • Improve database performance by adding a missing index to access_tokens.refresh_token_id. (#17045, #17054)
  • Improve database performance by reducing number of receipts fetched when sending push notifications. (#17049)

Updates to locked dependencies

  • Bump packaging from 23.2 to 24.0. (#17027)
  • Bump regex from 1.10.3 to 1.10.4. (#17028)
  • Bump ruff from 0.3.2 to 0.3.5. (#17060)
  • Bump serde_json from 1.0.114 to 1.0.115. (#17041)
  • Bump types-pillow from 10.2.0.20240125 to 10.2.0.20240406. (#17061)
  • Bump types-requests from 2.31.0.20240125 to 2.31.0.20240406. (#17063)
  • Bump typing-extensions from 4.9.0 to 4.11.0. (#17062)

v1.105.0rc1

11 Apr 12:36
v1.105.0rc1
Compare
Choose a tag to compare
v1.105.0rc1 Pre-release
Pre-release

Synapse 1.105.0rc1 (2024-04-11)

Features

  • Stabilize support for MSC4010 which clarifies the interaction of push rules and account data. Contributed by @clokep. (#17022)
  • Stabilize support for MSC3981: /relations recursion. Contributed by @clokep. (#17023)
  • Add support for moving /pushrules off of main process. (#17037, #17038)

Bugfixes

  • Fix various long-standing bugs which could cause incorrect state to be returned from /sync in certain situations. (#16930, #16932, #16942, #17064, #17065, #17066)
  • Fix server notice rooms not always being created as unencrypted rooms, even when encryption_enabled_by_default_for_room_type is in use (server notices are always unencrypted). (#17033)
  • Fix the .m.rule.encrypted_room_one_to_one and .m.rule.room_one_to_one default underride push rules being in the wrong order. Contributed by @Sumpy1. (#17043)

Internal Changes

  • Refactor auth chain fetching to reduce duplication. (#17044)
  • Improve database performance by adding a missing index to access_tokens.refresh_token_id. (#17045, #17054)
  • Improve database performance by reducing number of receipts fetched when sending push notifications. (#17049)

Updates to locked dependencies

  • Bump packaging from 23.2 to 24.0. (#17027)
  • Bump regex from 1.10.3 to 1.10.4. (#17028)
  • Bump ruff from 0.3.2 to 0.3.5. (#17060)
  • Bump serde_json from 1.0.114 to 1.0.115. (#17041)
  • Bump types-pillow from 10.2.0.20240125 to 10.2.0.20240406. (#17061)
  • Bump types-requests from 2.31.0.20240125 to 2.31.0.20240406. (#17063)
  • Bump typing-extensions from 4.9.0 to 4.11.0. (#17062)

v1.104.0

02 Apr 17:05
v1.104.0
Compare
Choose a tag to compare

Synapse 1.104.0 (2024-04-02)

Bugfixes

  • Fix regression when using OIDC provider. Introduced in v1.104.0rc1. (#17031)

Synapse 1.104.0rc1 (2024-03-26)

Features

  • Add an OIDC config to specify extra parameters for the authorization grant URL. IT can be useful to pass an ACR value for example. (#16971)
  • Add support for OIDC provider returning JWT. (#16972, #17031)

Bugfixes

  • Fix a bug which meant that, under certain circumstances, we might never retry sending events or to-device messages over federation after a failure. (#16925)
  • Fix various long-standing bugs which could cause incorrect state to be returned from /sync in certain situations. (#16949)
  • Fix case in which m.fully_read marker would not get updated. Contributed by @SpiritCroc. (#16990)
  • Fix bug which did not retract a user's pending knocks at rooms when their account was deactivated. Contributed by @hanadi92. (#17010)

Updates to the Docker image

  • Updated start.py to generate config using the correct user ID when running as root (fixes #16824, #15202). (#16978)

Improved Documentation

  • Add a query to force a refresh of a remote user's device list to the "Useful SQL for Admins" documentation page. (#16892)
  • Minor grammatical corrections to the upgrade documentation. (#16965)
  • Fix the sort order for the documentation version picker, so that newer releases appear above older ones. (#16966)
  • Remove recommendation for a specific poetry version from contributing guide. (#17002)

Internal Changes

  • Improve lock performance when a lot of locks are all waiting for a single lock to be released. (#16840)
  • Update power level default for public rooms. (#16907)
  • Improve event validation. (#16908)
  • Multi-worker-docker-container: disable log buffering. (#16919)
  • Refactor state delta calculation in /sync handler. (#16929)
  • Clarify docs for some room state functions. (#16950)
  • Specify IP subnets in canonical form. (#16953)
  • As done for SAML mapping provider, let's pass the module API to the OIDC one so the mapper can do more logic in its code. (#16974)
  • Allow containers building on top of Synapse's Complement container is use the included PostgreSQL cluster. (#16985)
  • Raise poetry-core version cap to 1.9.0. (#16986)
  • Patch the db conn pool sooner in tests. (#17017)

Updates to locked dependencies

  • Bump anyhow from 1.0.80 to 1.0.81. (#17009)
  • Bump black from 23.10.1 to 24.2.0. (#16936)
  • Bump cryptography from 41.0.7 to 42.0.5. (#16958)
  • Bump dawidd6/action-download-artifact from 3.1.1 to 3.1.2. (#16960)
  • Bump dawidd6/action-download-artifact from 3.1.2 to 3.1.4. (#17008)
  • Bump jinja2 from 3.1.2 to 3.1.3. (#17005)
  • Bump log from 0.4.20 to 0.4.21. (#16977)
  • Bump mypy from 1.5.1 to 1.8.0. (#16901)
  • Bump netaddr from 0.9.0 to 1.2.1. (#17006)
  • Bump pydantic from 2.6.0 to 2.6.4. (#17004)
  • Bump pyo3 from 0.20.2 to 0.20.3. (#16962)
  • Bump ruff from 0.1.14 to 0.3.2. (#16994)
  • Bump serde from 1.0.196 to 1.0.197. (#16963)
  • Bump serde_json from 1.0.113 to 1.0.114. (#16961)
  • Bump types-jsonschema from 4.21.0.20240118 to 4.21.0.20240311. (#17007)
  • Bump types-psycopg2 from 2.9.21.16 to 2.9.21.20240311. (#16995)
  • Bump types-pyopenssl from 23.3.0.0 to 24.0.0.20240311. (#17003)

v1.104.0rc1

26 Mar 14:51
v1.104.0rc1
Compare
Choose a tag to compare
v1.104.0rc1 Pre-release
Pre-release

Synapse 1.104.0rc1 (2024-03-26)

Features

  • Add an OIDC config to specify extra parameters for the authorization grant URL. It can be useful to pass an ACR value for example. (#16971)
  • Add support for OIDC provider returning JWT. (#16972, #17031)

Bugfixes

  • Fix a bug which meant that, under certain circumstances, we might never retry sending events or to-device messages over federation after a failure. (#16925)
  • Fix various long-standing bugs which could cause incorrect state to be returned from /sync in certain situations. (#16949)
  • Fix case in which m.fully_read marker would not get updated. Contributed by @SpiritCroc. (#16990)
  • Fix bug which did not retract a user's pending knocks at rooms when their account was deactivated. Contributed by @hanadi92. (#17010)

Updates to the Docker image

  • Updated start.py to generate config using the correct user ID when running as root (fixes #16824, #15202). (#16978)

Improved Documentation

  • Add a query to force a refresh of a remote user's device list to the "Useful SQL for Admins" documentation page. (#16892)
  • Minor grammatical corrections to the upgrade documentation. (#16965)
  • Fix the sort order for the documentation version picker, so that newer releases appear above older ones. (#16966)
  • Remove recommendation for a specific poetry version from contributing guide. (#17002)

Internal Changes

  • Improve lock performance when a lot of locks are all waiting for a single lock to be released. (#16840)
  • Update power level default for public rooms. (#16907)
  • Improve event validation. (#16908)
  • Multi-worker-docker-container: disable log buffering. (#16919)
  • Refactor state delta calculation in /sync handler. (#16929)
  • Clarify docs for some room state functions. (#16950)
  • Specify IP subnets in canonical form. (#16953)
  • As done for SAML mapping provider, let's pass the module API to the OIDC one so the mapper can do more logic in its code. (#16974)
  • Allow containers building on top of Synapse's Complement container is use the included PostgreSQL cluster. (#16985)
  • Raise poetry-core version cap to 1.9.0. (#16986)
  • Patch the db conn pool sooner in tests. (#17017)

Updates to locked dependencies

  • Bump anyhow from 1.0.80 to 1.0.81. (#17009)
  • Bump black from 23.10.1 to 24.2.0. (#16936)
  • Bump cryptography from 41.0.7 to 42.0.5. (#16958)
  • Bump dawidd6/action-download-artifact from 3.1.1 to 3.1.2. (#16960)
  • Bump dawidd6/action-download-artifact from 3.1.2 to 3.1.4. (#17008)
  • Bump jinja2 from 3.1.2 to 3.1.3. (#17005)
  • Bump log from 0.4.20 to 0.4.21. (#16977)
  • Bump mypy from 1.5.1 to 1.8.0. (#16901)
  • Bump netaddr from 0.9.0 to 1.2.1. (#17006)
  • Bump pydantic from 2.6.0 to 2.6.4. (#17004)
  • Bump pyo3 from 0.20.2 to 0.20.3. (#16962)
  • Bump ruff from 0.1.14 to 0.3.2. (#16994)
  • Bump serde from 1.0.196 to 1.0.197. (#16963)
  • Bump serde_json from 1.0.113 to 1.0.114. (#16961)
  • Bump types-jsonschema from 4.21.0.20240118 to 4.21.0.20240311. (#17007)
  • Bump types-psycopg2 from 2.9.21.16 to 2.9.21.20240311. (#16995)
  • Bump types-pyopenssl from 23.3.0.0 to 24.0.0.20240311. (#17003)

v1.103.0

19 Mar 13:15
Compare
Choose a tag to compare

Synapse 1.103.0 (2024-03-19)

No significant changes since 1.103.0rc1.

Synapse 1.103.0rc1 (2024-03-12)

Features

Bugfixes

  • Fix joining remote rooms when a module uses the on_new_event callback. This callback may now pass partial state events instead of the full state for remote rooms. Introduced in v1.76.0. (#16973)
  • Fix performance issue when joining very large rooms that can cause the server to lock up. Introduced in v1.100.0. Contributed by @ggogel. (#16968)

Improved Documentation

  • Add HAProxy example for single port operation to reverse proxy documentation. Contributed by Georg Pfuetzenreuter (@tacerus). (#16768)
  • Improve the documentation around running Complement tests with new configuration parameters. (#16946)
  • Add docs on upgrading from a very old version. (#16951)

Updates to locked dependencies

  • Bump JasonEtco/create-an-issue from 2.9.1 to 2.9.2. (#16934)
  • Bump anyhow from 1.0.79 to 1.0.80. (#16935)
  • Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.1. (#16933)
  • Bump furo from 2023.9.10 to 2024.1.29. (#16939)
  • Bump pyopenssl from 23.3.0 to 24.0.0. (#16937)
  • Bump types-netaddr from 0.10.0.20240106 to 1.2.0.20240219. (#16938)

v1.103.0rc1

12 Mar 16:03
v1.103.0rc1
Compare
Choose a tag to compare
v1.103.0rc1 Pre-release
Pre-release

Synapse 1.103.0rc1 (2024-03-12)

Features

Bugfixes

  • Fix joining remote rooms when a module uses the on_new_event callback. This callback may now pass partial state events instead of the full state for remote rooms. Introduced in v1.76.0. (#16973)
  • Fix performance issue when joining very large rooms that can cause the server to lock up. Introduced in v1.100.0. Contributed by @ggogel. (#16968)

Improved Documentation

  • Add HAProxy example for single port operation to reverse proxy documentation. Contributed by Georg Pfuetzenreuter (@tacerus). (#16768)
  • Improve the documentation around running Complement tests with new configuration parameters. (#16946)
  • Add docs on upgrading from a very old version. (#16951)

Updates to locked dependencies

  • Bump JasonEtco/create-an-issue from 2.9.1 to 2.9.2. (#16934)
  • Bump anyhow from 1.0.79 to 1.0.80. (#16935)
  • Bump dawidd6/action-download-artifact from 3.0.0 to 3.1.1. (#16933)
  • Bump furo from 2023.9.10 to 2024.1.29. (#16939)
  • Bump pyopenssl from 23.3.0 to 24.0.0. (#16937)
  • Bump types-netaddr from 0.10.0.20240106 to 1.2.0.20240219. (#16938)

v1.102.0

05 Mar 15:50
v1.102.0
Compare
Choose a tag to compare

Synapse 1.102.0 (2024-03-05)

Bugfixes

  • Revert #16756, which caused incorrect notification counts on mobile clients since v1.100.0. (#16979)

Synapse 1.102.0rc1 (2024-02-20)

Features

  • A metric was added for emails sent by Synapse, broken down by type: synapse_emails_sent_total. Contributed by Remi Rampin. (#16881)

Bugfixes

  • Do not send multiple concurrent requests for keys for the same server. (#16894)
  • Fix performance issue when joining very large rooms that can cause the server to lock up. Introduced in v1.100.0. (#16903)
  • Always prefer unthreaded receipt when >1 exist (MSC4102). (#16927)

Improved Documentation

  • Fix a small typo in the Rooms section of the Admin API documentation. Contributed by @RainerZufall187. (#16857)

Internal Changes

  • Don't invalidate the entire event cache when we purge history. (#16905)
  • Add experimental config option to not send device list updates for specific users. (#16909)
  • Fix incorrect docker hub link in release script. (#16910)

Updates to locked dependencies

  • Bump attrs from 23.1.0 to 23.2.0. (#16899)
  • Bump bcrypt from 4.0.1 to 4.1.2. (#16900)
  • Bump pygithub from 2.1.1 to 2.2.0. (#16902)
  • Bump sentry-sdk from 1.40.0 to 1.40.3. (#16898)

v1.102.0rc1

20 Feb 16:41
v1.102.0rc1
Compare
Choose a tag to compare
v1.102.0rc1 Pre-release
Pre-release

Synapse 1.102.0rc1 (2024-02-20)

Features

  • A metric was added for emails sent by Synapse, broken down by type: synapse_emails_sent_total. Contributed by Remi Rampin. (#16881)

Bugfixes

  • Do not send multiple concurrent requests for keys for the same server. (#16894)
  • Fix performance issue when joining very large rooms that can cause the server to lock up. Introduced in v1.100.0. (#16903)
  • Always prefer unthreaded receipt when >1 exist (MSC4102). (#16927)

Improved Documentation

  • Fix a small typo in the Rooms section of the Admin API documentation. Contributed by @RainerZufall187. (#16857)

Internal Changes

  • Don't invalidate the entire event cache when we purge history. (#16905)
  • Add experimental config option to not send device list updates for specific users. (#16909)
  • Fix incorrect docker hub link in release script. (#16910)

Updates to locked dependencies

  • Bump attrs from 23.1.0 to 23.2.0. (#16899)
  • Bump bcrypt from 4.0.1 to 4.1.2. (#16900)
  • Bump pygithub from 2.1.1 to 2.2.0. (#16902)
  • Bump sentry-sdk from 1.40.0 to 1.40.3. (#16898)

v1.101.0

13 Feb 11:54
v1.101.0
Compare
Choose a tag to compare

Synapse 1.101.0 (2024-02-13)

Bugfixes

  • Fix performance regression when fetching auth chains from the DB. Introduced in v1.100.0. (#16893)

Synapse 1.101.0rc1 (2024-02-06)

Improved Documentation

  • Fix broken links in the documentation. (#16853)
  • Update MacOS installation instructions to mention that libicu is optional. (#16854)
  • The version picker now correctly lists versions after v1.98.0. (#16880)

Internal Changes

  • Add support for stabilised MSC3981 that adds a recurse parameter on the /relations API. (#16842)

Updates to locked dependencies

  • Bump dorny/paths-filter from 2 to 3. (#16869)
  • Bump gitpython from 3.1.40 to 3.1.41. (#16850)
  • Bump hiredis from 2.2.3 to 2.3.2. (#16862)
  • Bump jsonschema from 4.20.0 to 4.21.1. (#16887)
  • Bump lxml-stubs from 0.4.0 to 0.5.1. (#16885)
  • Bump mypy-zope from 1.0.1 to 1.0.3. (#16865)
  • Bump phonenumbers from 8.13.26 to 8.13.29. (#16868)
  • Bump pydantic from 2.5.3 to 2.6.0. (#16888)
  • Bump sentry-sdk from 1.39.1 to 1.40.0. (#16889)
  • Bump serde from 1.0.195 to 1.0.196. (#16867)
  • Bump serde_json from 1.0.111 to 1.0.113. (#16866)
  • Bump sigstore/cosign-installer from 3.3.0 to 3.4.0. (#16890)
  • Bump types-pillow from 10.1.0.2 to 10.2.0.20240125. (#16864)
  • Bump types-requests from 2.31.0.10 to 2.31.0.20240125. (#16886)
  • Bump types-setuptools from 69.0.0.0 to 69.0.0.20240125. (#16863)

v1.101.0rc1

06 Feb 17:44
v1.101.0rc1
Compare
Choose a tag to compare
v1.101.0rc1 Pre-release
Pre-release

Synapse 1.101.0rc1 (2024-02-06)

Improved Documentation

  • Fix broken links in the documentation. (#16853)
  • Update MacOS installation instructions to mention that libicu is optional. (#16854)
  • The version picker now correctly lists versions after v1.98.0. (#16880)

Internal Changes

  • Add support for stabilised MSC3981 that adds a recurse parameter on the /relations API. (#16842)

Updates to locked dependencies

  • Bump dorny/paths-filter from 2 to 3. (#16869)
  • Bump gitpython from 3.1.40 to 3.1.41. (#16850)
  • Bump hiredis from 2.2.3 to 2.3.2. (#16862)
  • Bump jsonschema from 4.20.0 to 4.21.1. (#16887)
  • Bump lxml-stubs from 0.4.0 to 0.5.1. (#16885)
  • Bump mypy-zope from 1.0.1 to 1.0.3. (#16865)
  • Bump phonenumbers from 8.13.26 to 8.13.29. (#16868)
  • Bump pydantic from 2.5.3 to 2.6.0. (#16888)
  • Bump sentry-sdk from 1.39.1 to 1.40.0. (#16889)
  • Bump serde from 1.0.195 to 1.0.196. (#16867)
  • Bump serde_json from 1.0.111 to 1.0.113. (#16866)
  • Bump sigstore/cosign-installer from 3.3.0 to 3.4.0. (#16890)
  • Bump types-pillow from 10.1.0.2 to 10.2.0.20240125. (#16864)
  • Bump types-requests from 2.31.0.10 to 2.31.0.20240125. (#16886)
  • Bump types-setuptools from 69.0.0.0 to 69.0.0.20240125. (#16863)