Skip to content

chore(deps): update matrixdotorg/synapse docker tag to v1.71.0

Marc 'risson' Schmitt requested to merge renovate/matrixdotorg-synapse-1.x into master

This MR contains the following updates:

Package Type Update Change
matrixdotorg/synapse Kustomization minor v1.69.0 -> v1.71.0

Dependency Lookup Warnings

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

matrix-org/synapse

v1.71.0

Compare Source

Synapse 1.71.0 (2022-11-08)

Please note that, as announced in the release notes for Synapse 1.69.0, legacy Prometheus metric names are now disabled by default. They will be removed altogether in Synapse 1.73.0. If not already done, server administrators should update their dashboards and alerting rules to avoid using the deprecated metric names. See the upgrade notes for more details.

Note: in line with our deprecation policy for platform dependencies, this will be the last release to support PostgreSQL 10, which reaches upstream end-of-life on November 10th, 2022. Future releases of Synapse will require PostgreSQL 11+.

No significant changes since 1.71.0rc2.

Synapse 1.71.0rc2 (2022-11-04)

Improved Documentation

  • Document the changes to monthly active user metrics due to deprecation of legacy Prometheus metric names. (#​14358, #​14360)

Deprecations and Removals

  • Disable legacy Prometheus metric names by default. They can still be re-enabled for now, but they will be removed altogether in Synapse 1.73.0. (#​14353)

Internal Changes

  • Run unit tests against Python 3.11. (#​13812)

Synapse 1.71.0rc1 (2022-11-01)

Features

  • Support back-channel logouts from OpenID Connect providers. (#​11414)
  • Allow use of Postgres and SQLlite full-text search operators in search queries. (#​11635, #​14310, #​14311)
  • Implement MSC3664, Pushrules for relations. Contributed by Nico. (#​11804)
  • Improve aesthetics of HTML templates. Note that these changes do not retroactively apply to templates which have been customised by server admins. (#​13652)
  • Enable write-ahead logging for SQLite installations. Contributed by @​asymmetric. (#​13897)
  • Show erasure status when listing users in the Admin API. (#​14205)
  • Provide a specific error code when a /sync request provides a filter which doesn't represent a JSON object. (#​14262)

Bugfixes

  • Fix a long-standing bug where the update_synapse_database script could not be run with multiple databases. Contributed by @​thefinn93 @​ Beeper. (#​13422)
  • Fix a bug which prevented setting an avatar on homeservers which have an explicit port in their server_name and have max_avatar_size and/or allowed_avatar_mimetypes configuration. Contributed by @​ashfame. (#​13927)
  • Check appservice user interest against the local users instead of all users in the room to align with MSC3905. (#​13958)
  • Fix a long-standing bug where Synapse would accidentally include extra information in the response to PUT /_matrix/federation/v2/invite/{roomId}/{eventId}. (#​14064)
  • Fix a bug introduced in Synapse 1.64.0 where presence updates could be missing from /sync responses. (#​14243)
  • Fix a bug introduced in Synapse 1.60.0 which caused an error to be logged when Synapse received a SIGHUP signal if debug logging was enabled. (#​14258)
  • Prevent history insertion (MSC2716) during an partial join (MSC3706). (#​14291)
  • Fix a bug introduced in Synapse 1.34.0 where device names would be returned via a federation user key query request when allow_device_name_lookup_over_federation was set to false. (#​14304)
  • Fix a bug introduced in Synapse 0.34.0 where logs could include error spam when background processes are measured as taking a negative amount of time. (#​14323)
  • Fix a bug introduced in Synapse 1.70.0 where clients were unable to PUT new dehydrated devices. (#​14336)

Improved Documentation

Internal Changes

  • Remove unused @lru_cache decorator. (#​13595)
  • Save login tokens in database and prevent login token reuse. (#​13844)
  • Refactor OIDC tests to better mimic an actual OIDC provider. (#​13910)
  • Fix type annotation causing import time error in the Complement forking launcher. (#​14084)
  • Refactor MSC3030 /timestamp_to_event endpoint to loop over federation destinations with standard pattern and error handling. (#​14096)
  • Add initial power level event to batch of bulk persisted events when creating a new room. (#​14228)
  • Refactor /key/ endpoints to use RestServlet classes. (#​14229)
  • Switch to using the matrix-org/backend-meta version of triage-incoming for new issues in CI. (#​14230)
  • Build wheels on macos 11, not 10.15. (#​14249)
  • Add debugging to help diagnose lost device list updates. (#​14268)
  • Add Rust cache to CI for trial runs. (#​14287)
  • Improve type hinting of RawHeaders. (#​14303)
  • Use Poetry 1.2.0 in the Twisted Trunk CI job. (#​14305)
Dependency updates

Runtime:

  • Bump anyhow from 1.0.65 to 1.0.66. (#​14278)
  • Bump jinja2 from 3.0.3 to 3.1.2. (#​14271)
  • Bump prometheus-client from 0.14.0 to 0.15.0. (#​14274)
  • Bump psycopg2 from 2.9.4 to 2.9.5. (#​14331)
  • Bump pysaml2 from 7.1.2 to 7.2.1. (#​14270)
  • Bump sentry-sdk from 1.5.11 to 1.10.1. (#​14330)
  • Bump serde from 1.0.145 to 1.0.147. (#​14277)
  • Bump serde_json from 1.0.86 to 1.0.87. (#​14279)

Tooling and CI:

  • Bump black from 22.3.0 to 22.10.0. (#​14328)
  • Bump flake8-bugbear from 21.3.2 to 22.9.23. (#​14042)
  • Bump peaceiris/actions-gh-pages from 3.8.0 to 3.9.0. (#​14276)
  • Bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0. (#​14275)
  • Bump setuptools-rust from 1.5.1 to 1.5.2. (#​14273)
  • Bump twine from 3.8.0 to 4.0.1. (#​14332)
  • Bump types-opentracing from 2.4.7 to 2.4.10. (#​14133)
  • Bump types-requests from 2.28.11 to 2.28.11.2. (#​14272)

v1.70.1

Compare Source

Synapse 1.70.1 (2022-10-28)

This release fixes some regressions that were discovered in 1.70.0.

#​14300 was previously reported to be a regression in 1.70.0 as well. However, we have since concluded that it was limited to the reporter and thus have not needed to include any fix for it in 1.70.1.

Bugfixes

  • Fix a bug introduced in Synapse 1.70.0rc1 where the access tokens sent to application services as headers were malformed. Application services which were obtaining access tokens from query parameters were not affected. (#​14301)
  • Fix room creation being rate limited too aggressively since Synapse v1.69.0. (#​14314)

v1.70.0

Compare Source

Synapse 1.70.0 (2022-10-26)

No significant changes since 1.70.0rc2.

Synapse 1.70.0rc2 (2022-10-25)

Bugfixes

  • Fix a bug introduced in Synapse 1.70.0rc1 where the information returned from the /threads API could be stale when threaded events are redacted. (#​14248)
  • Fix a bug introduced in Synapse 1.70.0rc1 leading to broken outbound federation when using Python 3.7. (#​14280)
  • Fix a bug introduced in Synapse 1.70.0rc1 where edits to non-message events were aggregated by the homeserver. (#​14283)

Internal Changes

  • Build ABI3 wheels for CPython. (#​14253)
  • For the aarch64 architecture, only build wheels for CPython manylinux. (#​14259)

Synapse 1.70.0rc1 (2022-10-19)

Features

Bugfixes

  • Prevent device names from appearing in device list updates in some situations when allow_device_name_lookup_over_federation is false. (This is not comprehensive: see #​13114.) (#​10015)
  • Fix a long-standing bug where redactions were not being sent over federation if we did not have the original event. (#​13813)
  • Fix a long-standing bug where edits of non-m.room.message events would not be correctly bundled or have their new content applied. (#​14034)
  • Fix a bug introduced in Synapse 1.53.0 when querying /publicRooms with both a room_type filter and a third_party_instance_id. (#​14053)
  • Fix a bug introduced in Synapse 1.35.0 where errors parsing a /send_join or /state response would produce excessive, low-quality Sentry events. (#​14065)
  • Fix a long-standing bug where Synapse would error on the optional 'invite_room_state' field not being provided to PUT /_matrix/federation/v2/invite/{roomId}/{eventId}. (#​14083)
  • Fix a bug where invalid oEmbed fields would cause the entire response to be discarded. Introduced in Synapse 1.18.0. (#​14089)
  • Fix a bug introduced in Synapse 1.37.0 in which an incorrect key name was used for sending and receiving room metadata when knocking on a room. (#​14102)
  • Fix a bug introduced in v1.69.0rc1 where the joined hosts for a given event were not being properly cached. (#​14125)
  • Fix a bug introduced in Synapse 1.30.0 where purging and rejoining a room without restarting in-between would result in a broken room. (#​14161, #​14164)
  • Fix MSC3030 /timestamp_to_event endpoint returning potentially inaccurate closest events with outliers present. (#​14215)

Updates to the Docker image

  • Update the version of frozendict in Docker images and Debian packages from 2.3.3 to 2.3.4, which may fix memory leak problems. (#​13955)
  • Use the minimal Rust profile when building Synapse. (#​14141)
  • Prevent a class of database sharding errors when using Dockerfile-workers to spawn multiple instances of the same worker. Contributed by Jason Little. (#​14165)
  • Set LD_MRELOAD to use jemalloc memory allocator in Dockerfile-workers. (#​14182)
  • Fix pre-startup logging being lost when using the Dockerfile-workers image. (#​14195)

Improved Documentation

  • Add sample worker files for pusher and federation_sender. (#​14077)
  • Improve the listener example on the metrics documentation. (#​14078)
  • Expand Google OpenID Connect example config to map email attribute. Contributed by @​ptman. (#​14081)
  • The changelog entry ending in a full stop or exclamation mark is not optional. (#​14087)
  • Fix links to jemalloc documentation, which were broken in #​13491. (#​14093)
  • Remove not needed replication listener in docker compose example. (#​14107)
  • Fix name of alias_creation_rules option in the config manual documentation. (#​14124)
  • Clarify comment on event contexts. (#​14145)
  • Fix dead link to the Admin Registration API. (#​14189)

Deprecations and Removals

Internal Changes

  • Optimise queries used to get a users rooms during sync. Contributed by Nick @​ Beeper (@​fizzadar). (#​13991)
  • Update authlib from 0.15.5 to 1.1.0. (#​14006)
  • Make parse_server_name consistent in handling invalid server names. (#​14007)
  • Don't repeatedly wake up the same users for batched events. (#​14033)
  • Complement test image: capture logs from nginx. (#​14063)
  • Don't create noisy Sentry events when a requester drops connection to the metrics server mid-request. (#​14072)
  • Run the integration test suites with the asyncio reactor enabled in CI. (#​14092)
  • Add debug logs to figure out why an event was filtered out of the client response. (#​14095)
  • Indicate what endpoint came back with a JSON response we were unable to parse. (#​14097)
  • Break up calls to fetch rooms for many users. Contributed by Nick @​ Beeper (@​fizzadar). (#​14109)
  • Faster joins: prioritise the server we joined by when restarting a partial join resync. (#​14126)
  • Cache Rust build cache when building docker images. (#​14130)
  • Enable dependabot for Rust dependencies. (#​14132)
  • Bump typing-extensions from 4.1.1 to 4.4.0. (#​14134)
  • Use the minimal Rust profile when building Synapse. (#​14141)
  • Remove unused configuration code. (#​14142)
  • Prepare for the gotestfmt repository move. (#​14144)
  • Invalidate rooms for user caches on replicated event, fix sync cache race in synapse workers. Contributed by Nick @​ Beeper (@​fizzadar). (#​14155)
  • Enable url previews when testing with complement. (#​14198)
  • When authenticating batched events, check for auth events in batch as well as DB. (#​14214)
  • Update CI config to avoid GitHub Actions deprecation warnings. (#​14216, #​14224)
  • Update dependency requirements to allow building with poetry-core 1.3.2. (#​14217)
  • Rename the cache_memory extra to cache-memory, for compatability with poetry-core 1.3.0 and PEP 685. From-source installations using this extra will need to install using the new name. (#​14221)
  • Specify dev-dependencies using lower bounds, to reduce the likelihood of a dependabot merge conflict. The lockfile continues to pin to specific versions. (#​14227)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports