From 17459ed3a944cc84d35f828b2619a508f4156f0e7240a302b7dd3bce709ecf1b Mon Sep 17 00:00:00 2001 From: Oliver Kurz Date: Fri, 2 Sep 2022 05:43:12 +0000 Subject: [PATCH] Accepting request 1000524 from home:darix:apps - Update to 1.66.0 OBS-URL: https://build.opensuse.org/request/show/1000524 OBS-URL: https://build.opensuse.org/package/show/network:messaging:matrix/matrix-synapse?expand=0&rev=236 --- _service | 4 +- matrix-synapse-1.64.0.obscpio | 3 - matrix-synapse-1.66.0.obscpio | 3 + matrix-synapse-test.spec | 2 +- matrix-synapse.changes | 243 ++++++++++++++++++++++++++++++++++ matrix-synapse.obsinfo | 6 +- matrix-synapse.spec | 6 +- 7 files changed, 257 insertions(+), 10 deletions(-) delete mode 100644 matrix-synapse-1.64.0.obscpio create mode 100644 matrix-synapse-1.66.0.obscpio diff --git a/_service b/_service index ddaf9ce..674bb4a 100644 --- a/_service +++ b/_service @@ -4,11 +4,11 @@ @PARENT_TAG@ https://github.com/matrix-org/synapse.git git - v1.64.0 + v1.66.0 v(.*) \1 diff --git a/matrix-synapse-1.64.0.obscpio b/matrix-synapse-1.64.0.obscpio deleted file mode 100644 index cdab3aa..0000000 --- a/matrix-synapse-1.64.0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:859bc5d07145b033d2e8180c8205a44473db93e4ff506692d2c6c74c333db5f1 -size 33105421 diff --git a/matrix-synapse-1.66.0.obscpio b/matrix-synapse-1.66.0.obscpio new file mode 100644 index 0000000..a611d17 --- /dev/null +++ b/matrix-synapse-1.66.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:00445830e447870f1b86661c865ff0ac9ed87961f0d79029c00b4e0fcc982c19 +size 33256973 diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec index 2e49773..ed31637 100644 --- a/matrix-synapse-test.spec +++ b/matrix-synapse-test.spec @@ -27,7 +27,7 @@ %define pkgname matrix-synapse Name: %{pkgname}-test -Version: 1.64.0 +Version: 1.66.0 Release: 0 Summary: Test package for %{pkgname} License: Apache-2.0 diff --git a/matrix-synapse.changes b/matrix-synapse.changes index 9ac5f65..9ddf519 100644 --- a/matrix-synapse.changes +++ b/matrix-synapse.changes @@ -1,3 +1,246 @@ +------------------------------------------------------------------- +Wed Aug 31 22:26:31 UTC 2022 - Marcus Rueckert + +- Update to 1.66.0 + This release removes the ability for homeservers to delegate + email ownership verification and password reset confirmation to + identity servers. This removal was originally planned for Synapse + 1.64, but was later deferred until now. See the upgrade notes for + more details. + + Deployments with multiple workers should note that the direct TCP + replication configuration was deprecated in Synapse v1.18.0 and + will be removed in Synapse v1.67.0. In particular, the TCP + replication listener type (not to be confused with the + replication resource on the http listener type) and the + worker_replication_port config option will be removed . + + To migrate to Redis, add the redis config, then remove the TCP + replication listener from config of the master and + worker_replication_port from worker config. Note that a HTTP + listener with a replication resource is still required. See the + worker documentation for more details. + + - Features + - Improve validation of request bodies for the following + client-server API endpoints: /account/password, + /account/password/email/requestToken, /account/deactivate and + /account/3pid/email/requestToken. (#13188, #13563) + - Add forgotten status to Room Details Admin API. (#13503) + - Add an experimental implementation for MSC3852 (Expose user + agents on Device). (#13549) + - Add org.matrix.msc2716v4 experimental room version with + updated content fields. Part of MSC2716 (Importing history). + (#13551) + - Add support for compression to federation responses. (#13537) + - Improve performance of sending messages in rooms with + thousands of local users. (#13522, #13547) + - Bugfixes + - Fix a bug introduced in Synapse 1.66.0rc1 where the new rate + limit metrics were misreported + (synapse_rate_limit_sleep_affected_hosts, + synapse_rate_limit_reject_affected_hosts). (#13649) + - Faster room joins: make /joined_members block whilst the room + is partial stated. (#13514) + - Fix a bug introduced in Synapse 1.21.0 where the + /event_reports Admin API could return a total count which was + larger than the number of results you can actually query for. + (#13525) + - Fix a bug introduced in Synapse 1.52.0 where sending server + notices fails if max_avatar_size or allowed_avatar_mimetypes + is set and not system_mxid_avatar_url. (#13566) + - Fix a bug where the opentracing.force_tracing_for_users + config option would not apply to /sendToDevice and + /keys/upload requests. (#13574) + - Improved Documentation + - Add openssl example for generating registration HMAC digest. + (#13472) + - Tidy up Synapse's README. (#13491) + - Document that event purging related to the + redaction_retention_period config option is executed only + every 5 minutes. (#13492) + - Add a warning to retention documentation regarding the + possibility of database corruption. (#13497) + - Document that the DOCKER_BUILDKIT=1 flag is needed to build + the docker image. (#13515) + - Add missing links in user_consent section of configuration + manual. (#13536) + - Fix the doc and some warnings that were referring to the + nonexistent custom_templates_directory setting (instead of + custom_template_directory). (#13538) + - Deprecations and Removals + - Remove the ability for homeservers to delegate email + ownership verification + - and password reset confirmation to identity servers. See + upgrade notes for more details. + - Internal Changes + - Update the rejected state of events during + de-partial-stating. (#13459) + - Avoid blocking lazy-loading /syncs during partial joins due + to remote memberships. Pull remote memberships from auth + events instead of the room state. (#13477) + - Refuse to start when faster joins is enabled on a deployment + with workers, since worker configurations are not currently + supported. (#13531) + - Allow use of both @trace and @tag_args stacked on the same + function. (#13453) + - Instrument the federation/backfill part of /messages for + understandable traces in Jaeger. (#13489) + - Instrument FederationStateIdsServlet (/state_ids) for + understandable traces in Jaeger. (#13499, #13554) + - Track HTTP response times over 10 seconds from /messages + (synapse_room_message_list_rest_servlet_response_time_seconds). + (#13533) + - Add metrics to track how the rate limiter is affecting + requests (sleep/reject). (#13534, #13541) + - Add metrics to time how long it takes us to do backfill + processing + (synapse_federation_backfill_processing_before_time_seconds, + synapse_federation_backfill_processing_after_time_seconds). + (#13535, #13584) + - Add metrics to track rate limiter queue timing + (synapse_rate_limit_queue_wait_time_seconds). (#13544) + - Update metrics to track /messages response time by room size. + (#13545) + - Refactor methods in synapse.api.auth.Auth to use Requester + objects everywhere instead of user IDs. (#13024) + - Clean-up tests for notifications. (#13471) + - Add some miscellaneous comments to document sync, especially + around compute_state_delta. (#13474) + - Use literals in place of HTTPStatus constants in tests. + (#13479, #13488) + - Add comments about how event push actions are rotated. + (#13485) + - Modify HTML template content to better support mobile + devices' screen sizes. (#13493) + - Add a linter script which will reject non-strict types in + Pydantic models. (#13502) + - Reduce the number of tests using legacy TCP replication. + (#13543) + - Allow specifying additional request fields when using the + HomeServerTestCase.login helper method. (#13549) + - Make HomeServerTestCase load any configured homeserver + modules automatically. (#13558) +- sync update package dependencies from the pyproject.toml + adds pydantic >= 1.7.4 (>= 1.9.1 in poetry mode) + +------------------------------------------------------------------- +Tue Aug 16 17:58:42 UTC 2022 - Marcus Rueckert + +- Update to 1.65.0 + - Features + - Add support for stable prefixes for MSC2285 (private read + receipts). (#13273) + - Add new unstable error codes + ORG.MATRIX.MSC3848.ALREADY_JOINED, + ORG.MATRIX.MSC3848.NOT_JOINED, and + ORG.MATRIX.MSC3848.INSUFFICIENT_POWER described in MSC3848. + (#13343) + - Use stable prefixes for MSC3827. (#13370) + - Add a new module API method to translate a room alias into a + room ID. (#13428) + - Add a new module API method to create a room. (#13429) + - Add remote join capability to the module API's + update_room_membership method (in a backwards compatible + manner). (#13441) + - Bugfixes + - Update the version of the LDAP3 auth provider module included + in the matrixdotorg/synapse DockerHub images and the Debian + packages hosted on packages.matrix.org to 0.2.2. This version + fixes a regression in the module. (#13470) + - Fix a bug introduced in Synapse v1.41.0 where the /hierarchy + API returned non-standard information (a room_id field under + each entry in children_state). (#13365) + - Fix a bug introduced in Synapse 0.24.0 that would respond + with the wrong error status code to /joined_members requests + when the requester is not a current member of the room. + Contributed by @andrewdoh. (#13374) + - Fix bug in handling of typing events for appservices. + Contributed by Nick @ Beeper (@Fizzadar). (#13392) + - Fix a bug introduced in Synapse 1.57.0 where rooms listed in + exclude_rooms_from_sync in the configuration file would not + be properly excluded from incremental syncs. (#13408) + - Fix a bug in the experimental faster-room-joins support which + could cause it to get stuck in an infinite loop. (#13353) + - Faster room joins: fix a bug which caused rejected events to + become un-rejected during state syncing. (#13413) + - Faster room joins: fix error when running out of servers to + sync partial state with, so that Synapse raises the intended + error instead. (#13432) + - Updates to the Docker image + - Make Docker images build on armv7 by installing cryptography + dependencies in the 'requirements' stage. Contributed by + Jasper Spaans. (#13372) + - Improved Documentation + - Update the 'registration tokens' page to acknowledge that the + relevant MSC was merged into version 1.2 of the Matrix + specification. Contributed by @moan0s. (#11897) + - Document which HTTP resources support gzip compression. + (#13221) + - Add steps describing how to elevate an existing user to + administrator by manipulating the database. (#13230) + - Fix wrong headline for url_preview_accept_language in + documentation. (#13437) + - Remove redundant 'Contents' section from the Configuration + Manual. Contributed by @dklimpel. (#13438) + - Update documentation for config setting macaroon_secret_key. + (#13443) + - Update outdated information on sso_mapping_providers + documentation. (#13449) + - Fix example code in module documentation of + password_auth_provider_callbacks. (#13450) + - Make the configuration for the cache clearer. (#13481) + - Internal Changes + - Revert 'Remove the unspecced room_id field in the /hierarchy + response. (#13365)' to give more time for clients to update. + (#13501) + - Extend the release script to automatically push a new SyTest + branch, rather than having that be a manual process. (#12978) + - Make minor clarifications to the error messages given when we + fail to join a room via any server. (#13160) + - Enable Complement CI tests in the 'latest deps' test run. + (#13213) + - Fix long-standing bugged logic which was never hit in get_pdu + asking every remote destination even after it finds an event. + (#13346) + - Faster room joins: avoid blocking when pulling events with + partially missing prev events. (#13355) + - Instrument /messages for understandable traces in Jaeger. + (#13368) + - Remove an unused argument to get_relations_for_event. + (#13383) + - Add a merge-back command to the release script, which + automates merging the correct branches after a release. + (#13393) + - Adding missing type hints to tests. (#13397) + - Faster Room Joins: don't leave a stuck room partial state + flag if the join fails. (#13403) + - Refactor _resolve_state_at_missing_prevs to compute an + EventContext instead. (#13404, #13431) + - Faster Room Joins: prevent Synapse from answering federated + join requests for a room which it has not fully joined yet. + (#13416) + - Re-enable running Complement tests against Synapse with + workers. (#13420) + - Prevent unnecessary lookups to any external get_event cache. + Contributed by Nick @ Beeper (@Fizzadar). (#13435) + - Add some tracing to give more insight into local room joins. + (#13439) + - Rename class RateLimitConfig to RatelimitSettings and + FederationRateLimitConfig to FederationRatelimitSettings. + (#13442) + - Add some comments about how event push actions are stored. + (#13445, #13455) + - Improve rebuild speed for the "synapse-workers" docker image. + (#13447) + - Fix @tag_args being off-by-one with the arguments when + tagging a span (tracing). (#13452) + - Update type of EventContext.rejected. (#13460) + - Use literals in place of HTTPStatus constants in tests. + (#13463, #13469) + - Correct a misnamed argument in state res v2 internals. + (#13467) + ------------------------------------------------------------------- Tue Aug 2 11:32:12 UTC 2022 - Marcus Rueckert diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo index 7901d73..c860945 100644 --- a/matrix-synapse.obsinfo +++ b/matrix-synapse.obsinfo @@ -1,4 +1,4 @@ name: matrix-synapse -version: 1.64.0 -mtime: 1659435572 -commit: c2f48712265de92bd833a15f86935bed1f1efbe5 +version: 1.66.0 +mtime: 1661946717 +commit: 6f80fe1e1bbb6cab3ce605b2023e0488e2d80d52 diff --git a/matrix-synapse.spec b/matrix-synapse.spec index ded74b8..ef444d0 100644 --- a/matrix-synapse.spec +++ b/matrix-synapse.spec @@ -67,6 +67,7 @@ %global hiredis_version 2.0.0 %global txredisapi_version 1.4.7 %global Pympler_version 1.0.1 +%global pydantic_version 1.9.1 %else # some version locks based on poetry.lock %global Jinja2_version 3.0 @@ -116,6 +117,7 @@ %global hiredis_version 2.0.0 %global txredisapi_version 1.4.7 %global Pympler_version 1.0.1 +%global pydantic_version 1.7.4 %endif %define requires_peq() %(echo '%*' | LC_ALL=C xargs -r rpm -q --whatprovides --qf 'Requires: %%{name} = %%{epoch}:%%{version}\\n' | sed -e 's/ (none):/ /' -e 's/ 0:/ /' | grep -v "is not") @@ -153,7 +155,7 @@ %define pkgname matrix-synapse %define eggname matrix_synapse Name: %{pkgname} -Version: 1.64.0 +Version: 1.66.0 Release: 0 Summary: Matrix protocol reference homeserver License: Apache-2.0 @@ -260,6 +262,8 @@ BuildRequires: %{use_python}-matrix-synapse-ldap3 >= %{matrix_synapse_ldap3_ver %endif BuildRequires: %{use_python}-packaging >= %{packaging_version} %requires_peq %{use_python}-packaging +BuildRequires: %{use_python}-pydantic >= %{pydantic_version} +%requires_peq %{use_python}-pydantic BuildRequires: %{use_python}-psycopg2 >= %{psycopg2_version} %requires_peq %{use_python}-psycopg2 BuildRequires: %{use_python}-pysaml2 >= %{pysaml2_version}