Subject: CVS commit: pkgsrc/chat/matrix-synapse
From: Greg Troxel
Date: 2022-09-04 16:16:29
Message id: 20220904141629.AF339FA8D@cvs.NetBSD.org

Log Message:
chat/matrix-synapse: Update to 1.66.0

packaging changes:
  - Depend on pydantic

summary of upstream changes:

Synapse 1.66.0 (2022-08-31)
===========================

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](https://matrix-org.github.io/synapse/v1.66/upgrade.html#upgrading-to-v1660)
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](https://matrix-org.github.io/synapse/v1.66/usage/configuration/config_documentation.html#listeners)
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](https://matrix-org.github.io/synapse/v1.66/workers.html#shared-configuration),
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](https://matrix-org.github.io/synapse/v1.66/workers.html)
for more details.
Features
--------

- Improve validation of request bodies for the following client-server
  -API endpoints:
  \ 
-[`/account/password`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3accountpassword),
  \ 
-[`/account/password/email/requestToken`](https://spec.matrix.org/v1.3/client-server
  -api/#post_matrixclientv3accountpasswordemailrequesttoken),
  \ 
-[`/account/deactivate`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3accountdeactivate)
  -and
  \ 
-[`/account/3pid/email/requestToken`](https://spec.matrix.org/v1.3/client-server-api/#post_matrixclientv3account3pidemailrequesttoken). \ 
([\#13188](https://github.com/matrix-org/synapse/issues/13188),
  -[\#13563](https://github.com/matrix-org/synapse/issues/13563))

- Add forgotten status to [Room Details Admin
  \ 
API](https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#room-details-api).
  ([\#13503](https://github.com/matrix-org/synapse/issues/13503))

- Add an experimental implementation for [MSC3852 (Expose user agents
  on `Device`)](https://github.com/matrix-org/matrix-spec-proposals/pu
  ll/3852). ([\#13549](https://github.com/matrix-org/synapse/issues/13549))

- Add `org.matrix.msc2716v4` experimental room version with updated
  content fields. Part of [MSC2716 (Importing
  history)](https://github.com/matrix-org/matrix-spec-proposals/pull/2716).
  ([\#13551](https://github.com/matrix-org/synapse/issues/13551))

- Add support for compression to federation
  responses. ([\#13537](https://github.com/matrix-org/synapse/issues/13537))

- Improve performance of sending messages in rooms with thousands of
  local
  users. ([\#13522](https://github.com/matrix-org/synapse/issues/13522),
  [\#13547](https://github.com/matrix-org/synapse/issues/13547))
Deprecations and Removals
-------------------------

- Remove the ability for homeservers to delegate email ownership
  verification and password reset confirmation to identity
  servers. See [upgrade
  notes](https://matrix-org.github.io/synapse/v1.66/upgrade.html#upgrading-to-v1660)
  for more details.

Files:
RevisionActionfile
1.60modifypkgsrc/chat/matrix-synapse/Makefile
1.31modifypkgsrc/chat/matrix-synapse/PLIST
1.44modifypkgsrc/chat/matrix-synapse/distinfo