diff --git a/_service b/_service index 3e422e0..d2dea87 100644 --- a/_service +++ b/_service @@ -4,11 +4,11 @@ @PARENT_TAG@ https://github.com/matrix-org/synapse.git git - v1.80.0 + v1.81.0 v(.*) \1 diff --git a/matrix-synapse-1.80.0.obscpio b/matrix-synapse-1.80.0.obscpio deleted file mode 100644 index 543636d..0000000 --- a/matrix-synapse-1.80.0.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -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 deleted file mode 100644 index d5c955d..0000000 --- a/matrix-synapse-1.80.0~rc1.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fdbe7371410c18c720f60e50be17d6ac81f77f0403b1268232191b81c0b350ba -size 34791437 diff --git a/matrix-synapse-1.81.0.obscpio b/matrix-synapse-1.81.0.obscpio new file mode 100644 index 0000000..8a29305 --- /dev/null +++ b/matrix-synapse-1.81.0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bafd895cdc4110609d74be77d192867cc9b4446ceba1044395dd4f9bf1e78b7 +size 34889741 diff --git a/matrix-synapse-test.spec b/matrix-synapse-test.spec index fdc4299..370e8e9 100644 --- a/matrix-synapse-test.spec +++ b/matrix-synapse-test.spec @@ -27,7 +27,7 @@ %define pkgname matrix-synapse Name: %{pkgname}-test -Version: 1.80.0 +Version: 1.81.0 Release: 0 Summary: Test package for %{pkgname} License: Apache-2.0 diff --git a/matrix-synapse.changes b/matrix-synapse.changes index 3fb0a0b..c52d172 100644 --- a/matrix-synapse.changes +++ b/matrix-synapse.changes @@ -1,3 +1,111 @@ +------------------------------------------------------------------- +Fri Apr 14 12:07:11 UTC 2023 - Marcus Rueckert + +- Update to 1.81.0 + Synapse now attempts the versioned appservice paths before + falling back to the legacy paths. Usage of the legacy routes + should be considered deprecated. + + Additionally, Synapse has supported sending the application + service access token via the Authorization header since v1.70.0. + For backwards compatibility it is also sent as the access_token + query parameter. This is insecure and should be considered + deprecated. + + A future version of Synapse (v1.88.0 or later) will remove + support for legacy application service routes and query parameter + authorization. + + - Features + - Add the ability to enable/disable registrations when in the + OIDC flow. (#14978) + - Add a primitive helper script for listing worker endpoints. + (#15243) + - Experimental support for passing One Time Key and device key + requests to application services (MSC3983 and MSC3984). + (#15314, #15321) + - Allow loading /password_policy endpoint on workers. (#15331) + - Add experimental support for Unix sockets. Contributed by + Jason Little. (#15353) + - Build Debian packages for Ubuntu 23.04 (Lunar Lobster). + (#15381) + - Bugfixes + - Fix the set_device_id_for_pushers_txn background update + crash. (#15391) + - Fix a long-standing bug where edits of non-m.room.message + events would not be correctly bundled. (#15295) + - Fix a bug introduced in Synapse v1.55.0 which could delay + remote homeservers being able to decrypt encrypted messages + sent by local users. (#15297) + - Add a check to SQLite port_db script + - to ensure that the sqlite database passed to the script + exists before trying to port from it. (#15306) + - Fix a bug introduced in Synapse 1.76.0 where responses from + worker deployments could include an internal _INT_STREAM_POS + key. (#15309) + - Fix a long-standing bug that Synpase only used the legacy + appservice routes. (#15317) + - Fix a long-standing bug preventing users from rejoining rooms + after being banned and unbanned over federation. Contributed + by Nico. (#15323) + - Fix bug in worker mode where on a rolling restart of workers + the "typing" worker would consume 100% CPU until it got + restarted. (#15332) + - Fix a long-standing bug where some to_device messages could + be dropped when using workers. (#15349) + - Fix a bug introduced in Synapse 1.70.0 where the background + sync from a faster join could spin for hours when one of the + events involved had been marked for backoff. (#15351) + - Fix missing app variable in mail subject for password resets. + Contributed by Cyberes. (#15352) + - Fix a rare bug introduced in Synapse 1.66.0 where initial + syncs would fail when the user had been kicked from a faster + joined room that had not finished syncing. (#15383) + - Improved Documentation + - Fix a typo in login requests ratelimit defaults. (#15341) + - Add some clarification to the doc/comments regarding TCP + replication. (#15354) + - Note that Synapse 1.74 queued a rebuild of the user directory + tables. (#15386) + - Internal Changes + - Update CI to run complement under the latest stable go + version. (#15403) + - Use immutabledict instead of frozendict. (#15113) + - Add developer documentation for the Federation Sender and add + a documentation mechanism using Sphinx. (#15265, #15336) + - Make the pushers rely on the device_id instead of the + access_token_id for various operations. (#15280) + - Bump sentry-sdk from 1.15.0 to 1.17.0. (#15285) + - Allow running the Twisted trunk job against other branches. + (#15302) + - Remind the releaser to ask for changelog feedback in + #synapse-dev. (#15303) + - Bump dtolnay/rust-toolchain from + e12eda571dc9a5ee5d58eecf4738ec291c66f295 to + fc3253060d0c959bea12a59f10f8391454a0b02d. (#15304) + - Reject events with an invalid "mentions" property per + MSC3952. (#15311) + - As an optimisation, use TRUNCATE on Postgres when clearing + the user directory tables. (#15316) + - Fix .gitignore rule for the Complement source tarball + downloaded automatically by complement.sh. (#15319) + - Bump serde from 1.0.157 to 1.0.158. (#15324) + - Bump regex from 1.7.1 to 1.7.3. (#15325) + - Bump types-pyopenssl from 23.0.0.4 to 23.1.0.0. (#15326) + - Bump furo from 2022.12.7 to 2023.3.23. (#15327) + - Bump ruff from 0.0.252 to 0.0.259. (#15328) + - Bump cryptography from 40.0.0 to 40.0.1. (#15329) + - Bump mypy-zope from 0.9.0 to 0.9.1. (#15330) + - Speed up unit tests when using SQLite3. (#15334) + - Speed up pydantic CI job. (#15339) + - Speed up sample config CI job. (#15340) + - Fix copyright year in SSO footer template. (#15358) + - Bump peaceiris/actions-gh-pages from 3.9.2 to 3.9.3. (#15369) + - Bump serde from 1.0.158 to 1.0.159. (#15370) + - Bump serde_json from 1.0.94 to 1.0.95. (#15371) + - Speed up membership queries for users with forgotten rooms. + (#15385) + ------------------------------------------------------------------- Thu Mar 30 20:56:38 UTC 2023 - Marcus Rueckert diff --git a/matrix-synapse.obsinfo b/matrix-synapse.obsinfo index 3e43e61..dfb4e0a 100644 --- a/matrix-synapse.obsinfo +++ b/matrix-synapse.obsinfo @@ -1,4 +1,4 @@ name: matrix-synapse -version: 1.80.0 -mtime: 1679998259 -commit: 9f7d6c6bc1b414d8f6591cc1d312a9c6b3a28980 +version: 1.81.0 +mtime: 1681219134 +commit: c1b7da69ccd217145892157777b367924fa0028d diff --git a/matrix-synapse.spec b/matrix-synapse.spec index 0f8015b..ff74143 100644 --- a/matrix-synapse.spec +++ b/matrix-synapse.spec @@ -27,11 +27,9 @@ %global attrs_version 22.2.0 %global bcrypt_version 4.0.1 %global bleach_version 5.0.1 -%global canonicaljson_version 1.6.5 -%global canonicaljson_max_version 2 -%global cryptography_version 39.0.2 -%global frozendict_version 2.3.4 -%global frozendict_max_version 2.3.5 +%global canonicaljson_version 2.0.0 +%global cryptography_version 40.0.1 +%global immutabledict_version 2.0 %global idna_version 3.4 %global ijson_version 3.1.4 %global jsonschema_version 4.17.3 @@ -80,11 +78,9 @@ %global attrs_version 21.1.1 %global bcrypt_version 3.1.7 %global bleach_version 1.4.3 -%global canonicaljson_version 1.6.3 -%global canonicaljson_max_version 2 +%global canonicaljson_version 2.0.0 %global cryptography_version 3.4.7 -%global frozendict_version 2.1.3 -%global frozendict_max_version 2.3.5 +%global immutabledict_version 2.0 %global idna_version 2.5 %global ijson_version 3.2.0 %global jsonschema_version 3.0.0 @@ -125,8 +121,8 @@ %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") -# only switch this back to python3 when frozendict supports the current default python version -%define pythons python310 +# only switch this back to python3 when immutabledict supports the current default python version +%define pythons python3 # These come from matrix-synapse's CONDITIONAL_REQUIREMENTS. # missing deps @@ -160,7 +156,7 @@ %define pkgname matrix-synapse %define eggname matrix_synapse Name: %{pkgname} -Version: 1.80.0 +Version: 1.81.0 Release: 0 Summary: Matrix protocol reference homeserver License: Apache-2.0 @@ -215,12 +211,12 @@ BuildRequires: %{use_python}-bcrypt >= %{bcrypt_version} %requires_peq %{use_python}-bcrypt BuildRequires: %{use_python}-bleach >= %{bleach_version} %requires_peq %{use_python}-bleach -BuildRequires: (%{use_python}-canonicaljson >= %{canonicaljson_version} with %{use_python}-canonicaljson < %{canonicaljson_max_version}) +BuildRequires: (%{use_python}-canonicaljson >= %{canonicaljson_version}) %requires_peq %{use_python}-canonicaljson BuildRequires: %{use_python}-cryptography >= %{cryptography_version} %requires_peq %{use_python}-cryptography -BuildRequires: (%{use_python}-frozendict >= %{frozendict_version} with %{use_python}-frozendict < %{frozendict_max_version}) -%requires_peq %{use_python}-frozendict +BuildRequires: (%{use_python}-immutabledict >= %{immutabledict_version}) +%requires_peq %{use_python}-immutabledict BuildRequires: %{use_python}-idna >= %{idna_version} %requires_peq %{use_python}-idna BuildRequires: %{use_python}-ijson >= %{ijson_version} diff --git a/vendor.tar.zst b/vendor.tar.zst index 41e9dab..27998e3 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:12f1e57ce4c5cb26eb493cb8665eee9c816dd5bba5fa273ee8132737edc398b3 -size 8710697 +oid sha256:32071fe736bfe025fb00986634426bedf414f19fd6c851fec7e22e831aa4b957 +size 8714823