From fe08a4c542e05cea1be3616cccfb689cf0053de124823773b8b3682308884f85 Mon Sep 17 00:00:00 2001 From: Marcus Rueckert Date: Thu, 30 Mar 2023 21:02:05 +0000 Subject: [PATCH] Accepting request 1075693 from home:darix:apps - Update to 1.80.0 OBS-URL: https://build.opensuse.org/request/show/1075693 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=269 --- _service | 4 +- matrix-synapse-1.77.0.obscpio | 3 - matrix-synapse-1.80.0.obscpio | 3 + matrix-synapse-1.80.0~rc1.obscpio | 3 + matrix-synapse-test.spec | 2 +- matrix-synapse.changes | 282 ++++++++++++++++++++++++++++++ matrix-synapse.obsinfo | 6 +- matrix-synapse.spec | 19 +- vendor.tar.zst | 4 +- 9 files changed, 307 insertions(+), 19 deletions(-) delete mode 100644 matrix-synapse-1.77.0.obscpio create mode 100644 matrix-synapse-1.80.0.obscpio create mode 100644 matrix-synapse-1.80.0~rc1.obscpio diff --git a/_service b/_service index b82b1da..3e422e0 100644 --- a/_service +++ b/_service @@ -4,11 +4,11 @@ @PARENT_TAG@ https://github.com/matrix-org/synapse.git git - v1.77.0 + v1.80.0 v(.*) \1 diff --git a/matrix-synapse-1.77.0.obscpio b/matrix-synapse-1.77.0.obscpio deleted file mode 100644 index 995f1f8..0000000 --- a/matrix-synapse-1.77.0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e2455043cad14c865dac6530009fbd8ea83aeb76f9d5cbe475794cffd0dcef8 -size 34558477 diff --git a/matrix-synapse-1.80.0.obscpio b/matrix-synapse-1.80.0.obscpio new file mode 100644 index 0000000..543636d --- /dev/null +++ b/matrix-synapse-1.80.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9a0a7b01a0a9d2e8da290321fab2806e8807c07ac7816b667977597b26612cb9 +size 34787341 diff --git a/matrix-synapse-1.80.0~rc1.obscpio b/matrix-synapse-1.80.0~rc1.obscpio new file mode 100644 index 0000000..d5c955d --- /dev/null +++ b/matrix-synapse-1.80.0~rc1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdbe7371410c18c720f60e50be17d6ac81f77f0403b1268232191b81c0b350ba +size 34791437 diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec index e0df2ed..fdc4299 100644 --- a/matrix-synapse-test.spec +++ b/matrix-synapse-test.spec @@ -27,7 +27,7 @@ %define pkgname matrix-synapse Name: %{pkgname}-test -Version: 1.77.0 +Version: 1.80.0 Release: 0 Summary: Test package for %{pkgname} License: Apache-2.0 diff --git a/matrix-synapse.changes b/matrix-synapse.changes index c9409f2..3fb0a0b 100644 --- a/matrix-synapse.changes +++ b/matrix-synapse.changes @@ -1,3 +1,285 @@ +------------------------------------------------------------------- +Thu Mar 30 20:56:38 UTC 2023 - Marcus Rueckert + +- Update to 1.80.0 + - Features + - Stabilise support for MSC3966: event_property_contains push + condition. (#15187) + - Implement MSC2659: application service ping endpoint. + Contributed by Tulir @ Beeper. (#15249) + - Allow loading /register/available endpoint on workers. + (#15268) + - Improve performance of creating and authenticating events. + (#15195) + - Add topic and name events to group of events that are batch + persisted when creating a room. (#15229) + - Bugfixes + - Fix a bug in which the POST + /_matrix/client/v3/rooms/{roomId}/report/{eventId} endpoint + would return the wrong error if the user did not have + permission to view the event. This aligns Synapse's + implementation with MSC2249. (#15298, #15300) + - Fix a bug introduced in Synapse 1.75.0rc1 where the SQLite + port_db script + - would fail to open the SQLite database. (#15301) + - Fix a long-standing bug in which the user directory would + assume any remote membership state events represent a profile + change. (#14755, #14756) + - Implement MSC3873 to fix a long-standing bug where properties + with dots were handled ambiguously in push rules. (#15190) + - Faster joins: Fix a bug introduced in Synapse 1.66 where + spurious "Failed to find memberships ..." errors would be + logged. (#15232) + - Fix a long-standing error when sending message into deleted + room. (#15235) + - Updates to the Docker image + - Ensure the Dockerfile builds on platforms that don't have a + cryptography wheel. (#15239) + - Mirror images to the GitHub Container Registry + (ghcr.io/matrix-org/synapse). (#15281, #15282) + - Improved Documentation + - Add a missing endpoint to the workers documentation. (#15223) + - Internal Changes + - Add additional functionality to declaring worker types when + starting Complement in worker mode. (#14921) + - Add Synapse-Trace-Id to access-control-expose-headers header. + (#14974) + - Make the HttpTransactionCache use the Requester in addition + of the just the Request to build the transaction key. + (#15200) + - Improve log lines when purging rooms. (#15222) + - Improve type hints. (#15230, #15231, #15238) + - Move various module API callback registration methods to a + dedicated class. (#15237) + - Configure GitHub Actions for merge queues. (#15244) + - Add schema comments about the destinations and + destination_rooms tables. (#15247) + - Skip processing of auto-join room behaviour if there are no + auto-join rooms configured. (#15262) + - Remove unused store method + _set_destination_retry_timings_emulated. (#15266) + - Reorganize URL preview code. (#15269) + - Clean-up direct TCP replication code. (#15272, #15274) + - Make configure_workers_and_start script used in Complement + tests compatible with older versions of Python. (#15275) + - Add a /versions flag for MSC3952. (#15293) + - Bump hiredis from 2.2.1 to 2.2.2. (#15252) + - Bump serde from 1.0.152 to 1.0.155. (#15253) + - Bump pysaml2 from 7.2.1 to 7.3.1. (#15254) + - Bump msgpack from 1.0.4 to 1.0.5. (#15255) + - Bump gitpython from 3.1.30 to 3.1.31. (#15256) + - Bump cryptography from 39.0.1 to 39.0.2. (#15257) + - Bump pydantic from 1.10.4 to 1.10.6. (#15286) + - Bump serde from 1.0.155 to 1.0.157. (#15287) + - Bump anyhow from 1.0.69 to 1.0.70. (#15288) + - Bump txredisapi from 1.4.7 to 1.4.9. (#15289) + - Bump pygithub from 1.57 to 1.58.1. (#15290) + - Bump types-requests from 2.28.11.12 to 2.28.11.15. (#15291) + +------------------------------------------------------------------- +Tue Mar 14 19:50:05 UTC 2023 - Marcus Rueckert + +- Update to 1.79.0 + - Features + - Add two new Third Party Rules module API callbacks: + on_add_user_third_party_identifier and + on_remove_user_third_party_identifier. (#15044) + - Experimental support for MSC3967 to not require UIA for + setting up cross-signing on first use. (#15077) + - Add media information to the command line user data export + tool. (#15107) + - Add an admin API to delete a specific event report. (#15116) + - Add support for knocking to workers. (#15133) + - Allow use of the /filter Client-Server APIs on workers. + (#15134) + - Update support for MSC2677: remove support for server-side + aggregation of reactions. (#15172) + - Stabilise support for MSC3758: event_property_is push + condition. (#15185) + - Bugfixes + - Fix a bug introduced in Synapse 1.79.0rc1 where attempting to + register a on_remove_user_third_party_identifier module API + callback would be a no-op. (#15227) + - Fix a rare bug introduced in Synapse 1.73 where events could + remain unsent to other homeservers after a faster-join to a + room. (#15248) + - Fix a bug introduced in Synapse 1.75 that caused experimental + support for deleting account data to raise an internal server + error while using an account data writer worker. (#14869) + - Fix a long-standing bug where Synapse handled an unspecced + field on push rules. (#15088) + - Fix a long-standing bug where a URL preview would break if + the discovered oEmbed failed to download. (#15092) + - Fix a long-standing bug where an initial sync would not + respond to changes to the list of ignored users if there was + an initial sync cached. (#15163) + - Add the transaction_id in the events included in many + endpoints' responses. (#15174) + - Fix a bug introduced in Synapse 1.78.0 where requests to + claim dehydrated devices would fail with a 405 error. + (#15180) + - Stop applying edits when bundling aggregations, per MSC3925. + (#15193) + - Fix a long-standing bug where the user directory search was + not case-insensitive for accented characters. (#15143) + - Updates to the Docker image + - Improve startup logging in the with-workers Docker image. + (#15186) + - Improved Documentation + - Document how to use caches in a module. (#14026) + - Clarify which worker processes the ThirdPartyRules' + on_new_event module API callback runs on. (#15071) + - Document using Shibboleth as an OpenID Provider. (#15112) + - Correct reference to federation_verify_certificates in + configuration documentation. (#15139) + - Correct small documentation errors in some + MatrixFederationHttpClient methods. (#15148) + - Correct the description of the behavior of + registration_shared_secret_path on startup. (#15168) + - Deprecations and Removals + - Deprecate the on_threepid_bind module callback, to be + replaced by on_add_user_third_party_identifier. See upgrade + notes. ([#15044] + - Remove the unspecced room_alias field from the /createRoom + response. (#15093) + - Remove the unspecced PUT on the /knock/{roomIdOrAlias} + endpoint. (#15189) + - Remove the undocumented and unspecced type parameter to the + /thumbnail endpoint. (#15137) + - Remove unspecced and buggy PUT method on the unstable + /rooms//batch_send endpoint. (#15199) + - Internal Changes + - Refactor filter_events_for_server. (#15240) + - Run the integration test suites with the asyncio reactor + enabled in CI. (#14101) + - Batch up storing state groups when creating a new room. + (#14918) + - Update MSC3952 support based on changes to the MSC. (#15051) + - Refactor writing json data in FileExfiltrationWriter. + (#15095) + - Tighten the login ratelimit defaults. (#15135) + - Fix a typo in an experimental config setting. (#15138) + - Refactor the media modules. (#15146, #15175) + - Improve type hints. (#15164) + - Move get_event_report and get_event_reports_paginate from + RoomStore to RoomWorkerStore. (#15165) + - Remove dangling reference to being a reference implementation + in docstring. (#15167) + - Add an option to force a rebuild of the "editable" complement + image. (#15184) + - Use nightly rustfmt in CI. (#15188) + - Add a get_next_txn method to StreamIdGenerator to match + MultiWriterIdGenerator. (#15191) + - Combine AbstractStreamIdTracker and + AbstractStreamIdGenerator. (#15192) + - Automatically fix errors with ruff. (#15194) + - Refactor database transaction for query users' devices to + reduce database pool contention. (#15215) + - Correct test_icu_word_boundary_punctuation so that it passes + with the ICU versions available in Alpine and macOS. (#15177) + +------------------------------------------------------------------- +Tue Feb 28 22:35:35 UTC 2023 - Marcus Rueckert + +- Update to 1.78.0 + - Features + - Implement the experimental exact_event_match push rule + condition from MSC3758. (#14964) + - Add account data to the command line user data export tool. + (#14969) + - Implement MSC3873 to disambiguate push rule keys with dots in + them. (#15004) + - Allow Synapse to use a specific Redis logical database in + worker-mode deployments. (#15034) + - Tag opentracing spans for federation requests with the name + of the worker serving the request. (#15042) + - Implement the experimental exact_event_property_contains push + rule condition from MSC3966. (#15045) + - Remove spurious dont_notify action from the defaults for the + .m.rule.reaction pushrule. (#15073) + - Update the error code returned when user sends a duplicate + annotation. (#15075) + - Bugfixes + - Fix a bug introduced in Synapse 1.76 where 5s delays would + occasionally occur in deployments using workers. (#15150) + - Prevent clients from reporting nonexistent events. (#13779) + - Return spec-compliant JSON errors when unknown endpoints are + requested. (#14605) + - Fix a long-standing bug where the room aliases returned could + be corrupted. (#15038) + - Fix a bug introduced in Synapse 1.76.0 where partially-joined + rooms could not be deleted using the purge room API. (#15068) + - Fix a long-standing bug where federated joins would fail if + the first server in the list of servers to try is not in the + room. (#15074) + - Fix a bug introduced in Synapse v1.74.0 where searching with + colons when using ICU for search term tokenisation would fail + with an error. (#15079) + - Reduce the likelihood of a rare race condition where + rejoining a restricted room over federation would fail. + (#15080) + - Fix a bug introduced in Synapse 1.76 where workers would fail + to start if the health listener was configured. (#15096) + - Fix a bug introduced in Synapse 1.75 where the portdb script + would fail to run after a room had been faster-joined. + (#15108) + - Improved Documentation + - Document how to start Synapse with Poetry. Contributed by + @thezaidbintariq. (#14892, #15022) + - Update delegation documentation to clarify that SRV DNS + delegation does not eliminate all needs to serve files from + .well-known locations. Contributed by @williamkray. (#14959) + - Fix a mistake in registration_shared_secret_path docs. + (#15078) + - Refer to a more recent blog post on the Database Maintenance + Tools page. Contributed by @jahway603. (#15083) + - Internal Changes + - Re-type hint some collections as read-only. (#13755) + - Faster joins: don't stall when another user joins during a + partial-state room resync. (#14606) + - Add a class UnpersistedEventContext to allow for the batching + up of storing state groups. (#14675) + - Add a check to ensure that locked dependencies have source + distributions available. (#14742) + - Tweak comment on _is_local_room_accessible as part of room + visibility in /hierarchy to clarify the condition for a room + being visible. (#14834) + - Prevent WARNING: there is already a transaction in progress + lines appearing in PostgreSQL's logs on some occasions. + (#14840) + - Use StrCollection to avoid potential bugs with + Collection[str]. (#14929) + - Improve performance of /sync in a few situations. (#14973) + - Limit concurrent event creation for a room to avoid state + resolution when sending bursts of events to a local room. + (#14977) + - Skip calculating unread push actions in /sync when + enable_push is false. (#14980) + - Add a schema dump symlinks inside contrib, to make it easier + for IDEs to interrogate Synapse's database schema. (#14982) + - Improve type hints. (#15008, #15026, #15027, #15028, #15031, + #15035, #15052, #15072, #15084) + - Update MSC3952 support based on changes to the MSC. (#15037) + - Avoid mutating a cached value in get_user_devices_from_cache. + (#15040) + - Fix a rare exception in logs on start up. (#15041) + - Update pyo3-log to v0.8.1. (#15043) + - Avoid mutating cached values in + _generate_sync_entry_for_account_data. (#15047) + - Refactor arguments of try_unbind_threepid and + _try_unbind_threepid_with_id_server to not use dictionaries. + (#15053) + - Merge debug logging from the hotfixes branch. (#15054) + - Faster joins: omit device list updates originating from + partial state rooms in /sync responses without lazy loading + of members enabled. (#15069) + - Fix clashing database transaction name. (#15070) + - Upper-bound frozendict dependency. This works around us being + unable to test installing our wheels against Python 3.11 in + CI. (#15114) + - Tweak logging for when a worker waits for its view of a + replication stream to catch up. (#15120) + ------------------------------------------------------------------- Mon Feb 20 12:45:02 UTC 2023 - Marcus Rueckert diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo index dfdecf2..3e43e61 100644 --- a/matrix-synapse.obsinfo +++ b/matrix-synapse.obsinfo @@ -1,4 +1,4 @@ name: matrix-synapse -version: 1.77.0 -mtime: 1676375955 -commit: 3e90dfdd81c2c6dcaf1f21f24fbca0a4c820b150 +version: 1.80.0 +mtime: 1679998259 +commit: 9f7d6c6bc1b414d8f6591cc1d312a9c6b3a28980 diff --git a/matrix-synapse.spec b/matrix-synapse.spec index 30a94ff..0f8015b 100644 --- a/matrix-synapse.spec +++ b/matrix-synapse.spec @@ -27,16 +27,17 @@ %global attrs_version 22.2.0 %global bcrypt_version 4.0.1 %global bleach_version 5.0.1 -%global canonicaljson_version 1.6.4 +%global canonicaljson_version 1.6.5 %global canonicaljson_max_version 2 -%global cryptography_version 38.0.4 +%global cryptography_version 39.0.2 %global frozendict_version 2.3.4 +%global frozendict_max_version 2.3.5 %global idna_version 3.4 %global ijson_version 3.1.4 %global jsonschema_version 4.17.3 %global matrix_common_version 1.3.0 %global matrix_common_max_version 2 -%global msgpack_version 1.0.4 +%global msgpack_version 1.0.5 %global netaddr_version 0.8.0 %global phonenumbers_version 8.13.5 %global prometheus_client_version 0.16.0 @@ -57,15 +58,16 @@ # TODO: bump to 22.0 %global packaging_version 23.0 %global psycopg2_version 2.9.5 +# TODO 7.3.1 %global pysaml2_version 7.2.1 %global Authlib_version 1.2.0 %global lxml_version 4.9.2 -%global sentry_sdk_version 1.11.1 +%global sentry_sdk_version 1.15.0 %global PyJWT_version 2.4.0 %global jaeger_client_version 4.8.0 %global opentracing_version 2.4.0 -%global hiredis_version 2.0.0 -%global txredisapi_version 1.4.7 +%global hiredis_version 2.2.2 +%global txredisapi_version 1.4.9 %global Pympler_version 1.0.1 %global pydantic_version 1.9.1 %global pyicu_version 2.10.2 @@ -82,6 +84,7 @@ %global canonicaljson_max_version 2 %global cryptography_version 3.4.7 %global frozendict_version 2.1.3 +%global frozendict_max_version 2.3.5 %global idna_version 2.5 %global ijson_version 3.2.0 %global jsonschema_version 3.0.0 @@ -157,7 +160,7 @@ %define pkgname matrix-synapse %define eggname matrix_synapse Name: %{pkgname} -Version: 1.77.0 +Version: 1.80.0 Release: 0 Summary: Matrix protocol reference homeserver License: Apache-2.0 @@ -216,7 +219,7 @@ BuildRequires: (%{use_python}-canonicaljson >= %{canonicaljson_version} with %{ %requires_peq %{use_python}-canonicaljson BuildRequires: %{use_python}-cryptography >= %{cryptography_version} %requires_peq %{use_python}-cryptography -BuildRequires: %{use_python}-frozendict >= %{frozendict_version} +BuildRequires: (%{use_python}-frozendict >= %{frozendict_version} with %{use_python}-frozendict < %{frozendict_max_version}) %requires_peq %{use_python}-frozendict BuildRequires: %{use_python}-idna >= %{idna_version} %requires_peq %{use_python}-idna diff --git a/vendor.tar.zst b/vendor.tar.zst index 20f20a9..41e9dab 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d6344594eb740c0957b46ae301b512bd3750861116a7c4445b75c2bdfc96b485 -size 8526018 +oid sha256:12f1e57ce4c5cb26eb493cb8665eee9c816dd5bba5fa273ee8132737edc398b3 +size 8710697