github matrix-org/synapse v1.97.0

latest releases: v1.98.0, v1.98.0rc1
5 months ago

Synapse 1.97.0 (2023-11-28)

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:

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,
but we are striving to make this as seamless as possible.

No significant changes since 1.97.0rc1.

Synapse 1.97.0rc1 (2023-11-21)

Features

Bugfixes

  • Fix a long-standing bug where some queries updated the same row twice. Introduced in Synapse 1.57.0. (#16609)
  • Fix a long-standing bug where Synapse would not unbind third-party identifiers for Application Service users when deactivated and would not emit a compliant response. (#16617)
  • Fix sending out of order POSITION over replication, causing additional database load. (#16639)

Improved Documentation

  • Note that the option outbound_federation_restricted_to was added in Synapse 1.89.0, and fix a nearby formatting error. (#16628)
  • Update parameter information for the /timestamp_to_event admin API. (#16631)
  • Provide an example for a common encrypted media response from the admin user media API and mention possible null values. (#16654)

Internal Changes

  • Remove whole table locks on push rule modifications. Contributed by Nick @ Beeper (@Fizzadar). (#16051)
  • Support reactor tick timings on more types of event loops. (#16532)
  • Improve type hints. (#16564, #16611, #16612)
  • Avoid executing no-op queries. (#16583)
  • Simplify persistence code to be per-room. (#16584)
  • Use standard SQL helpers in persistence code. (#16585)
  • Avoid updating the stream cache unnecessarily. (#16586)
  • Improve performance when using opentracing. (#16589)
  • Run push rule evaluator setup in parallel. (#16590)
  • Improve tests of the SQL generator. (#16596)
  • Use more generic database methods. (#16615)
  • Use dbname instead of the deprecated database connection parameter for psycopg2. (#16618)
  • Add an internal Admin API endpoint to temporarily grant the ability to update an existing cross-signing key without UIA. (#16634)
  • Improve references to GitHub issues. (#16637, #16638)
  • More efficiently handle no-op POSITION over replication. (#16640, #16655)
  • Speed up deleting of device messages when deleting a device. (#16643)
  • Speed up persisting large number of outliers. (#16649)
  • Reduce max concurrency of background tasks, reducing potential max DB load. (#16656, #16660)
  • Speed up purge room by adding an index to event_push_summary. (#16657)

Updates to locked dependencies

  • Bump prometheus-client from 0.17.1 to 0.18.0. (#16626)
  • Bump pyicu from 2.11 to 2.12. (#16603)
  • Bump requests-toolbelt from 0.10.1 to 1.0.0. (#16659)
  • Bump ruff from 0.0.292 to 0.1.4. (#16600)
  • Bump serde from 1.0.190 to 1.0.192. (#16627)
  • Bump serde_json from 1.0.107 to 1.0.108. (#16604)
  • Bump setuptools-rust from 1.8.0 to 1.8.1. (#16601)
  • Bump towncrier from 23.6.0 to 23.11.0. (#16622)
  • Bump treq from 22.2.0 to 23.11.0. (#16623)
  • Bump twisted from 23.8.0 to 23.10.0. (#16588)
  • Bump types-bleach from 6.1.0.0 to 6.1.0.1. (#16624)
  • Bump types-jsonschema from 4.19.0.3 to 4.19.0.4. (#16599)
  • Bump types-pyopenssl from 23.2.0.2 to 23.3.0.0. (#16625)
  • Bump types-pyyaml from 6.0.12.11 to 6.0.12.12. (#16602)

Don't miss a new synapse release

NewReleases is sending notifications on new releases.