github matrix-org/synapse v1.34.0rc1

latest releases: v1.98.0, v1.98.0rc1, v1.97.0...
pre-release3 years ago

Synapse 1.34.0rc1 (2021-05-12)

This release deprecates the room_invite_state_types configuration setting. See the upgrade notes for instructions on updating your configuration file to use the new room_prejoin_state setting.

This release also deprecates the POST /_synapse/admin/v1/rooms/<room_id>/delete admin API route. Server administrators are encouraged to update their scripts to use the new DELETE /_synapse/admin/v1/rooms/<room_id> route instead.

Features

  • Add experimental option to track memory usage of the caches. (#9881)
  • Add support for DELETE /_synapse/admin/v1/rooms/<room_id>. (#9889)
  • Add limits to how often Synapse will GC, ensuring that large servers do not end up GC thrashing if gc_thresholds has not been correctly set. (#9902)
  • Improve performance of sending events for worker-based deployments using Redis. (#9905, #9950, #9951)
  • Improve performance after joining a large room when presence is enabled. (#9910, #9916)
  • Support stable identifiers for MSC1772 Spaces. m.space.child events will now be taken into account when populating the experimental spaces summary response. Please see the upgrade notes if you have customised room_invite_state_types in your configuration. (#9915, #9966)
  • Improve performance of backfilling in large rooms. (#9935)
  • Add a config option to allow you to prevent device display names from being shared over federation. Contributed by @aaronraimist. (#9945)
  • Update support for MSC2946: Spaces Summary. (#9947, #9954)

Bugfixes

  • Fix a bug introduced in v1.32.0 where the associated connection was improperly logged for SQL logging statements. (#9895)
  • Correct the type hint for the user_may_create_room_alias method of spam checkers. It is provided a RoomAlias, not a str. (#9896)
  • Fix bug where user directory could get out of sync if room visibility and membership changed in quick succession. (#9910)
  • Include the origin_server_ts property in the experimental MSC2946 support to allow clients to properly sort rooms. (#9928)
  • Fix bugs introduced in v1.23.0 which made the PostgreSQL port script fail when run with a newly-created SQLite database. (#9930)
  • Fix a bug introduced in Synapse 1.29.0 which caused m.room_key_request to-device messages sent from one user to another to be dropped. (#9961, #9965)
  • Fix a bug introduced in v1.27.0 preventing users and appservices exempt from ratelimiting from creating rooms with many invitees. (#9968)

Updates to the Docker image

  • Add startup_delay to docker healthcheck to reduce waiting time for coming online and update the documentation with extra options. Contributed by @maquis196. (#9913)

Improved Documentation

  • Add port argument to the Postgres database sample config section. (#9911)

Deprecations and Removals

  • Mark as deprecated POST /_synapse/admin/v1/rooms/<room_id>/delete. (#9889)

Internal Changes

  • Reduce the length of Synapse's access tokens. (#5588)
  • Export jemalloc stats to Prometheus if it is being used. (#9882)
  • Add type hints to presence handler. (#9885)
  • Reduce memory usage of the LRU caches. (#9886)
  • Add type hints to the synapse.handlers module. (#9896)
  • Time response time for external cache requests. (#9904)
  • Minor fixes to the make_full_schema.sh script. (#9931)
  • Move database schema files into a common directory. (#9932)
  • Add debug logging for lost/delayed to-device messages. (#9959)

Don't miss a new synapse release

NewReleases is sending notifications on new releases.