diff --git a/CHANGES.md b/CHANGES.md index 158ef03549..88cb2bdf25 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,81 @@ +Synapse 1.80.0rc2 (2023-03-22) +============================== + +Bugfixes +-------- + +- Fix a bug in which the [`POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}`](https://spec.matrix.org/v1.6/client-server-api/#post_matrixclientv3roomsroomidreporteventid) endpoint would return the wrong error if the user did not have permission to view the event. This aligns Synapse's implementation with [MSC2249](https://github.com/matrix-org/matrix-spec-proposals/pull/2249). ([\#15298](https://github.com/matrix-org/synapse/issues/15298), [\#15300](https://github.com/matrix-org/synapse/issues/15300)) +- Fix a bug introduced in Synapse 1.75.0rc1 where the [SQLite port_db script](https://matrix-org.github.io/synapse/latest/postgres.html#porting-from-sqlite) + would fail to open the SQLite database. ([\#15301](https://github.com/matrix-org/synapse/issues/15301)) + + +Synapse 1.80.0rc1 (2023-03-21) +============================== + +Features +-------- + +- Stabilise support for [MSC3966](https://github.com/matrix-org/matrix-spec-proposals/pull/3966): `event_property_contains` push condition. ([\#15187](https://github.com/matrix-org/synapse/issues/15187)) +- Implement [MSC2659](https://github.com/matrix-org/matrix-spec-proposals/pull/2659): application service ping endpoint. Contributed by Tulir @ Beeper. ([\#15249](https://github.com/matrix-org/synapse/issues/15249)) +- Allow loading `/register/available` endpoint on workers. ([\#15268](https://github.com/matrix-org/synapse/issues/15268)) +- Improve performance of creating and authenticating events. ([\#15195](https://github.com/matrix-org/synapse/issues/15195)) +- Add topic and name events to group of events that are batch persisted when creating a room. ([\#15229](https://github.com/matrix-org/synapse/issues/15229)) + + +Bugfixes +-------- + +- Fix a long-standing bug in which the user directory would assume any remote membership state events represent a profile change. ([\#14755](https://github.com/matrix-org/synapse/issues/14755), [\#14756](https://github.com/matrix-org/synapse/issues/14756)) +- Implement [MSC3873](https://github.com/matrix-org/matrix-spec-proposals/pull/3873) to fix a long-standing bug where properties with dots were handled ambiguously in push rules. ([\#15190](https://github.com/matrix-org/synapse/issues/15190)) +- Faster joins: Fix a bug introduced in Synapse 1.66 where spurious "Failed to find memberships ..." errors would be logged. ([\#15232](https://github.com/matrix-org/synapse/issues/15232)) +- Fix a long-standing error when sending message into deleted room. ([\#15235](https://github.com/matrix-org/synapse/issues/15235)) + + +Updates to the Docker image +--------------------------- + +- Ensure the Dockerfile builds on platforms that don't have a `cryptography` wheel. ([\#15239](https://github.com/matrix-org/synapse/issues/15239)) +- Mirror images to the GitHub Container Registry (`ghcr.io/matrix-org/synapse`). ([\#15281](https://github.com/matrix-org/synapse/issues/15281), [\#15282](https://github.com/matrix-org/synapse/issues/15282)) + + +Improved Documentation +---------------------- + +- Add a missing endpoint to the workers documentation. ([\#15223](https://github.com/matrix-org/synapse/issues/15223)) + + +Internal Changes +---------------- + +- Add additional functionality to declaring worker types when starting Complement in worker mode. ([\#14921](https://github.com/matrix-org/synapse/issues/14921)) +- Add `Synapse-Trace-Id` to `access-control-expose-headers` header. ([\#14974](https://github.com/matrix-org/synapse/issues/14974)) +- Make the `HttpTransactionCache` use the `Requester` in addition of the just the `Request` to build the transaction key. ([\#15200](https://github.com/matrix-org/synapse/issues/15200)) +- Improve log lines when purging rooms. ([\#15222](https://github.com/matrix-org/synapse/issues/15222)) +- Improve type hints. ([\#15230](https://github.com/matrix-org/synapse/issues/15230), [\#15231](https://github.com/matrix-org/synapse/issues/15231), [\#15238](https://github.com/matrix-org/synapse/issues/15238)) +- Move various module API callback registration methods to a dedicated class. ([\#15237](https://github.com/matrix-org/synapse/issues/15237)) +- Configure GitHub Actions for merge queues. ([\#15244](https://github.com/matrix-org/synapse/issues/15244)) +- Add schema comments about the `destinations` and `destination_rooms` tables. ([\#15247](https://github.com/matrix-org/synapse/issues/15247)) +- Skip processing of auto-join room behaviour if there are no auto-join rooms configured. ([\#15262](https://github.com/matrix-org/synapse/issues/15262)) +- Remove unused store method `_set_destination_retry_timings_emulated`. ([\#15266](https://github.com/matrix-org/synapse/issues/15266)) +- Reorganize URL preview code. ([\#15269](https://github.com/matrix-org/synapse/issues/15269)) +- Clean-up direct TCP replication code. ([\#15272](https://github.com/matrix-org/synapse/issues/15272), [\#15274](https://github.com/matrix-org/synapse/issues/15274)) +- Make `configure_workers_and_start` script used in Complement tests compatible with older versions of Python. ([\#15275](https://github.com/matrix-org/synapse/issues/15275)) +- Add a `/versions` flag for [MSC3952](https://github.com/matrix-org/matrix-spec-proposals/pull/3952). ([\#15293](https://github.com/matrix-org/synapse/issues/15293)) +- Bump hiredis from 2.2.1 to 2.2.2. ([\#15252](https://github.com/matrix-org/synapse/issues/15252)) +- Bump serde from 1.0.152 to 1.0.155. ([\#15253](https://github.com/matrix-org/synapse/issues/15253)) +- Bump pysaml2 from 7.2.1 to 7.3.1. ([\#15254](https://github.com/matrix-org/synapse/issues/15254)) +- Bump msgpack from 1.0.4 to 1.0.5. ([\#15255](https://github.com/matrix-org/synapse/issues/15255)) +- Bump gitpython from 3.1.30 to 3.1.31. ([\#15256](https://github.com/matrix-org/synapse/issues/15256)) +- Bump cryptography from 39.0.1 to 39.0.2. ([\#15257](https://github.com/matrix-org/synapse/issues/15257)) +- Bump pydantic from 1.10.4 to 1.10.6. ([\#15286](https://github.com/matrix-org/synapse/issues/15286)) +- Bump serde from 1.0.155 to 1.0.157. ([\#15287](https://github.com/matrix-org/synapse/issues/15287)) +- Bump anyhow from 1.0.69 to 1.0.70. ([\#15288](https://github.com/matrix-org/synapse/issues/15288)) +- Bump txredisapi from 1.4.7 to 1.4.9. ([\#15289](https://github.com/matrix-org/synapse/issues/15289)) +- Bump pygithub from 1.57 to 1.58.1. ([\#15290](https://github.com/matrix-org/synapse/issues/15290)) +- Bump types-requests from 2.28.11.12 to 2.28.11.15. ([\#15291](https://github.com/matrix-org/synapse/issues/15291)) + + + Synapse 1.79.0 (2023-03-14) =========================== diff --git a/changelog.d/14755.bugfix b/changelog.d/14755.bugfix deleted file mode 100644 index 12f979e9d0..0000000000 --- a/changelog.d/14755.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug in which the user directory would assume any remote membership state events represent a profile change. \ No newline at end of file diff --git a/changelog.d/14756.bugfix b/changelog.d/14756.bugfix deleted file mode 100644 index 12f979e9d0..0000000000 --- a/changelog.d/14756.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a long-standing bug in which the user directory would assume any remote membership state events represent a profile change. \ No newline at end of file diff --git a/changelog.d/14921.misc b/changelog.d/14921.misc deleted file mode 100644 index 599e23eb0c..0000000000 --- a/changelog.d/14921.misc +++ /dev/null @@ -1 +0,0 @@ -Add additional functionality to declaring worker types when starting Complement in worker mode. diff --git a/changelog.d/14974.misc b/changelog.d/14974.misc deleted file mode 100644 index 05c5f01444..0000000000 --- a/changelog.d/14974.misc +++ /dev/null @@ -1 +0,0 @@ -Add `Synapse-Trace-Id` to `access-control-expose-headers` header. diff --git a/changelog.d/15187.feature b/changelog.d/15187.feature deleted file mode 100644 index f2b7689255..0000000000 --- a/changelog.d/15187.feature +++ /dev/null @@ -1 +0,0 @@ -Stabilise support for [MSC3966](https://github.com/matrix-org/matrix-spec-proposals/pull/3966): `event_property_contains` push condition. diff --git a/changelog.d/15190.bugfix b/changelog.d/15190.bugfix deleted file mode 100644 index 5c3a86320e..0000000000 --- a/changelog.d/15190.bugfix +++ /dev/null @@ -1 +0,0 @@ -Implement [MSC3873](https://github.com/matrix-org/matrix-spec-proposals/pull/3873) to fix a long-standing bug where properties with dots were handled ambiguously in push rules. diff --git a/changelog.d/15195.misc b/changelog.d/15195.misc deleted file mode 100644 index d8beea917d..0000000000 --- a/changelog.d/15195.misc +++ /dev/null @@ -1 +0,0 @@ -Improve performance of creating and authenticating events. \ No newline at end of file diff --git a/changelog.d/15200.misc b/changelog.d/15200.misc deleted file mode 100644 index dc66172226..0000000000 --- a/changelog.d/15200.misc +++ /dev/null @@ -1 +0,0 @@ -Make the `HttpTransactionCache` use the `Requester` in addition of the just the `Request` to build the transaction key. diff --git a/changelog.d/15222.misc b/changelog.d/15222.misc deleted file mode 100644 index 6361676a15..0000000000 --- a/changelog.d/15222.misc +++ /dev/null @@ -1 +0,0 @@ -Improve log lines when purging rooms. diff --git a/changelog.d/15223.doc b/changelog.d/15223.doc deleted file mode 100644 index 136b44df31..0000000000 --- a/changelog.d/15223.doc +++ /dev/null @@ -1 +0,0 @@ -Add a missing endpoint to the workers documentation. diff --git a/changelog.d/15229.misc b/changelog.d/15229.misc deleted file mode 100644 index 4d8ea03b27..0000000000 --- a/changelog.d/15229.misc +++ /dev/null @@ -1 +0,0 @@ -Add topic and name events to group of events that are batch persisted when creating a room. diff --git a/changelog.d/15230.misc b/changelog.d/15230.misc deleted file mode 100644 index 93ceaeafc9..0000000000 --- a/changelog.d/15230.misc +++ /dev/null @@ -1 +0,0 @@ -Improve type hints. diff --git a/changelog.d/15231.misc b/changelog.d/15231.misc deleted file mode 100644 index 93ceaeafc9..0000000000 --- a/changelog.d/15231.misc +++ /dev/null @@ -1 +0,0 @@ -Improve type hints. diff --git a/changelog.d/15232.bugfix b/changelog.d/15232.bugfix deleted file mode 100644 index d75a4f2d99..0000000000 --- a/changelog.d/15232.bugfix +++ /dev/null @@ -1 +0,0 @@ -Faster joins: Fix a bug introduced in Synapse 1.66 where spurious "Failed to find memberships ..." errors would be logged. diff --git a/changelog.d/15235.bugfix b/changelog.d/15235.bugfix deleted file mode 100644 index e6a6bb1b9d..0000000000 --- a/changelog.d/15235.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix long-standing error when sending message into deleted room. diff --git a/changelog.d/15237.misc b/changelog.d/15237.misc deleted file mode 100644 index 9981606c32..0000000000 --- a/changelog.d/15237.misc +++ /dev/null @@ -1 +0,0 @@ -Move various module API callback registration methods to a dedicated class. \ No newline at end of file diff --git a/changelog.d/15238.misc b/changelog.d/15238.misc deleted file mode 100644 index 93ceaeafc9..0000000000 --- a/changelog.d/15238.misc +++ /dev/null @@ -1 +0,0 @@ -Improve type hints. diff --git a/changelog.d/15239.docker b/changelog.d/15239.docker deleted file mode 100644 index 2aad329e99..0000000000 --- a/changelog.d/15239.docker +++ /dev/null @@ -1 +0,0 @@ -Ensure the Dockerfile builds on platforms that don't have a `cryptography` wheel. diff --git a/changelog.d/15244.misc b/changelog.d/15244.misc deleted file mode 100644 index dacdcf4d5d..0000000000 --- a/changelog.d/15244.misc +++ /dev/null @@ -1 +0,0 @@ -Configure GitHub Actions for merge queues. diff --git a/changelog.d/15247.misc b/changelog.d/15247.misc deleted file mode 100644 index 6e2ce1d4d8..0000000000 --- a/changelog.d/15247.misc +++ /dev/null @@ -1 +0,0 @@ -Add schema comments about the `destinations` and `destination_rooms` tables. \ No newline at end of file diff --git a/changelog.d/15249.feature b/changelog.d/15249.feature deleted file mode 100644 index 92d48a2087..0000000000 --- a/changelog.d/15249.feature +++ /dev/null @@ -1 +0,0 @@ -Implement [MSC2659](https://github.com/matrix-org/matrix-spec-proposals/pull/2659): application service ping endpoint. Contributed by Tulir @ Beeper. diff --git a/changelog.d/15252.misc b/changelog.d/15252.misc deleted file mode 100644 index cf18d9e849..0000000000 --- a/changelog.d/15252.misc +++ /dev/null @@ -1 +0,0 @@ -Bump hiredis from 2.2.1 to 2.2.2. diff --git a/changelog.d/15253.misc b/changelog.d/15253.misc deleted file mode 100644 index 4aa75294c7..0000000000 --- a/changelog.d/15253.misc +++ /dev/null @@ -1 +0,0 @@ -Bump serde from 1.0.152 to 1.0.155. diff --git a/changelog.d/15254.misc b/changelog.d/15254.misc deleted file mode 100644 index 83287914c3..0000000000 --- a/changelog.d/15254.misc +++ /dev/null @@ -1 +0,0 @@ -Bump pysaml2 from 7.2.1 to 7.3.1. diff --git a/changelog.d/15255.misc b/changelog.d/15255.misc deleted file mode 100644 index 8be3b828e9..0000000000 --- a/changelog.d/15255.misc +++ /dev/null @@ -1 +0,0 @@ -Bump msgpack from 1.0.4 to 1.0.5. diff --git a/changelog.d/15256.misc b/changelog.d/15256.misc deleted file mode 100644 index ecdc2e5d22..0000000000 --- a/changelog.d/15256.misc +++ /dev/null @@ -1 +0,0 @@ -Bump gitpython from 3.1.30 to 3.1.31. diff --git a/changelog.d/15257.misc b/changelog.d/15257.misc deleted file mode 100644 index 2c0932233c..0000000000 --- a/changelog.d/15257.misc +++ /dev/null @@ -1 +0,0 @@ -Bump cryptography from 39.0.1 to 39.0.2. diff --git a/changelog.d/15262.misc b/changelog.d/15262.misc deleted file mode 100644 index d519f151c4..0000000000 --- a/changelog.d/15262.misc +++ /dev/null @@ -1 +0,0 @@ -Skip processing of auto-join room behaviour if there are not auto-join rooms configured. diff --git a/changelog.d/15266.misc b/changelog.d/15266.misc deleted file mode 100644 index 285b72cdd1..0000000000 --- a/changelog.d/15266.misc +++ /dev/null @@ -1 +0,0 @@ -Remove unused store method `_set_destination_retry_timings_emulated`. \ No newline at end of file diff --git a/changelog.d/15268.feature b/changelog.d/15268.feature deleted file mode 100644 index 5f1f1a0f58..0000000000 --- a/changelog.d/15268.feature +++ /dev/null @@ -1 +0,0 @@ -Allow loading `/register/available` endpoint on workers. diff --git a/changelog.d/15269.misc b/changelog.d/15269.misc deleted file mode 100644 index b3126fb1f4..0000000000 --- a/changelog.d/15269.misc +++ /dev/null @@ -1 +0,0 @@ -Reorganize URL preview code. diff --git a/changelog.d/15272.misc b/changelog.d/15272.misc deleted file mode 100644 index f7c0276ecc..0000000000 --- a/changelog.d/15272.misc +++ /dev/null @@ -1 +0,0 @@ -Clean-up direct TCP replication code. diff --git a/changelog.d/15274.misc b/changelog.d/15274.misc deleted file mode 100644 index f7c0276ecc..0000000000 --- a/changelog.d/15274.misc +++ /dev/null @@ -1 +0,0 @@ -Clean-up direct TCP replication code. diff --git a/changelog.d/15275.misc b/changelog.d/15275.misc deleted file mode 100644 index b222acd72b..0000000000 --- a/changelog.d/15275.misc +++ /dev/null @@ -1 +0,0 @@ -Make `configure_workers_and_start` script used in Complement tests compatible with older versions of Python. \ No newline at end of file diff --git a/changelog.d/15281.docker b/changelog.d/15281.docker deleted file mode 100644 index 6990430ef4..0000000000 --- a/changelog.d/15281.docker +++ /dev/null @@ -1 +0,0 @@ -Mirror images to the GitHub Container Registry (`ghcr.io/matrix-org/synapse`). \ No newline at end of file diff --git a/changelog.d/15282.docker b/changelog.d/15282.docker deleted file mode 100644 index 6990430ef4..0000000000 --- a/changelog.d/15282.docker +++ /dev/null @@ -1 +0,0 @@ -Mirror images to the GitHub Container Registry (`ghcr.io/matrix-org/synapse`). \ No newline at end of file diff --git a/changelog.d/15286.misc b/changelog.d/15286.misc deleted file mode 100644 index 48a5b400be..0000000000 --- a/changelog.d/15286.misc +++ /dev/null @@ -1 +0,0 @@ -Bump pydantic from 1.10.4 to 1.10.6. diff --git a/changelog.d/15287.misc b/changelog.d/15287.misc deleted file mode 100644 index d5b80d1087..0000000000 --- a/changelog.d/15287.misc +++ /dev/null @@ -1 +0,0 @@ -Bump serde from 1.0.155 to 1.0.157. diff --git a/changelog.d/15288.misc b/changelog.d/15288.misc deleted file mode 100644 index 908b590595..0000000000 --- a/changelog.d/15288.misc +++ /dev/null @@ -1 +0,0 @@ -Bump anyhow from 1.0.69 to 1.0.70. diff --git a/changelog.d/15289.misc b/changelog.d/15289.misc deleted file mode 100644 index 1a3921af84..0000000000 --- a/changelog.d/15289.misc +++ /dev/null @@ -1 +0,0 @@ -Bump txredisapi from 1.4.7 to 1.4.9. diff --git a/changelog.d/15290.misc b/changelog.d/15290.misc deleted file mode 100644 index f23043874f..0000000000 --- a/changelog.d/15290.misc +++ /dev/null @@ -1 +0,0 @@ -Bump pygithub from 1.57 to 1.58.1. diff --git a/changelog.d/15291.misc b/changelog.d/15291.misc deleted file mode 100644 index 74de7a2065..0000000000 --- a/changelog.d/15291.misc +++ /dev/null @@ -1 +0,0 @@ -Bump types-requests from 2.28.11.12 to 2.28.11.15. diff --git a/changelog.d/15293.misc b/changelog.d/15293.misc deleted file mode 100644 index 5744795620..0000000000 --- a/changelog.d/15293.misc +++ /dev/null @@ -1 +0,0 @@ -Add a `/versions` flag for [MSC3952](https://github.com/matrix-org/matrix-spec-proposals/pull/3952). diff --git a/changelog.d/15298.bugfix b/changelog.d/15298.bugfix deleted file mode 100644 index 8f29b08444..0000000000 --- a/changelog.d/15298.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug in which the [`POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}`](https://spec.matrix.org/v1.6/client-server-api/#post_matrixclientv3roomsroomidreporteventid) endpoint would return the wrong error if the user did not have permission to view the event. This aligns Synapse's implementation with [MSC2249](https://github.com/matrix-org/matrix-spec-proposals/pull/2249). \ No newline at end of file diff --git a/changelog.d/15300.bugfix b/changelog.d/15300.bugfix deleted file mode 100644 index 8f29b08444..0000000000 --- a/changelog.d/15300.bugfix +++ /dev/null @@ -1 +0,0 @@ -Fix a bug in which the [`POST /_matrix/client/v3/rooms/{roomId}/report/{eventId}`](https://spec.matrix.org/v1.6/client-server-api/#post_matrixclientv3roomsroomidreporteventid) endpoint would return the wrong error if the user did not have permission to view the event. This aligns Synapse's implementation with [MSC2249](https://github.com/matrix-org/matrix-spec-proposals/pull/2249). \ No newline at end of file diff --git a/changelog.d/15301.bugfix b/changelog.d/15301.bugfix deleted file mode 100644 index c8f3628d34..0000000000 --- a/changelog.d/15301.bugfix +++ /dev/null @@ -1,3 +0,0 @@ -Fix a bug introduced in Synapse 1.75.0rc1 where the [SQLite port_db script](https://matrix-org.github.io/synapse/latest/postgres.html#porting-from-sqlite) -would fail to open the SQLite database. - diff --git a/debian/changelog b/debian/changelog index 10f4815d35..ca23160308 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +matrix-synapse-py3 (1.80.0~rc2) stable; urgency=medium + + * New Synapse release 1.80.0rc2. + + -- Synapse Packaging team Wed, 22 Mar 2023 08:30:16 -0700 + +matrix-synapse-py3 (1.80.0~rc1) stable; urgency=medium + + * New Synapse release 1.80.0rc1. + + -- Synapse Packaging team Tue, 21 Mar 2023 10:56:08 -0700 + matrix-synapse-py3 (1.79.0) stable; urgency=medium * New Synapse release 1.79.0. diff --git a/pyproject.toml b/pyproject.toml index 2df931653c..19dc7c1536 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -89,7 +89,7 @@ manifest-path = "rust/Cargo.toml" [tool.poetry] name = "matrix-synapse" -version = "1.79.0" +version = "1.80.0rc2" description = "Homeserver for the Matrix decentralised comms protocol" authors = ["Matrix.org Team and Contributors "] license = "Apache-2.0"