Skip to content

Commit

Permalink
Update chat/matrix-synapses to 1.35.1
Browse files Browse the repository at this point in the history
Synapse 1.35.1 (2021-06-03)
===========================

Bugfixes
--------

- Fix a bug introduced in v1.35.0 where invite-only rooms would be shown to all users in a space, regardless of if the user had access to it. ([\#10109](matrix-org/synapse#10109))


Synapse 1.35.0 (2021-06-01)
===========================

Note that [the tag](https://github.com/matrix-org/synapse/releases/tag/v1.35.0rc3) and [docker images](https://hub.docker.com/layers/matrixdotorg/synapse/v1.35.0rc3/images/sha256-34ccc87bd99a17e2cbc0902e678b5937d16bdc1991ead097eee6096481ecf2c4?context=explore) for `v1.35.0rc3` were incorrectly built. If you are experiencing issues with either, it is recommended to upgrade to the equivalent tag or docker image for the `v1.35.0` release.

Deprecations and Removals
-------------------------

- The core Synapse development team plan to drop support for the [unstable API of MSC2858](https://github.com/matrix-org/matrix-doc/blob/master/proposals/2858-Multiple-SSO-Identity-Providers.md#unstable-prefix), including the undocumented `experimental.msc2858_enabled` config option, in August 2021. Client authors should ensure that their clients are updated to use the stable API (which has been supported since Synapse 1.30) well before that time, to give their users time to upgrade. ([\#10101](matrix-org/synapse#10101))

Bugfixes
--------

- Fixed a bug causing replication requests to fail when receiving a lot of events via federation. Introduced in v1.33.0. ([\#10082](matrix-org/synapse#10082))
- Fix HTTP response size limit to allow joining very large rooms over federation. Introduced in v1.33.0. ([\#10093](matrix-org/synapse#10093))


Internal Changes
----------------

- Log method and path when dropping request due to size limit. ([\#10091](matrix-org/synapse#10091))


Synapse 1.35.0rc2 (2021-05-27)
==============================

Bugfixes
--------

- Fix a bug introduced in v1.35.0rc1 when calling the spaces summary API via a GET request. ([\#10079](matrix-org/synapse#10079))


Synapse 1.35.0rc1 (2021-05-25)
==============================

Features
--------

- Add experimental support to allow a user who could join a restricted room to view it in the spaces summary. ([\#9922](matrix-org/synapse#9922), [\#10007](matrix-org/synapse#10007), [\#10038](matrix-org/synapse#10038))
- Reduce memory usage when joining very large rooms over federation. ([\#9958](matrix-org/synapse#9958))
- Add a configuration option which allows enabling opentracing by user id. ([\#9978](matrix-org/synapse#9978))
- Enable experimental support for [MSC2946](matrix-org/matrix-spec-proposals#2946) (spaces summary API) and [MSC3083](matrix-org/matrix-spec-proposals#3083) (restricted join rules) by default. ([\#10011](matrix-org/synapse#10011))


Bugfixes
--------

- Fix a bug introduced in v1.26.0 which meant that `synapse_port_db` would not correctly initialise some postgres sequences, requiring manual updates afterwards. ([\#9991](matrix-org/synapse#9991))
- Fix `synctl`'s `--no-daemonize` parameter to work correctly with worker processes. ([\#9995](matrix-org/synapse#9995))
- Fix a validation bug introduced in v1.34.0 in the ordering of spaces in the space summary API. ([\#10002](matrix-org/synapse#10002))
- Fixed deletion of new presence stream states from database. ([\#10014](matrix-org/synapse#10014), [\#10033](matrix-org/synapse#10033))
- Fixed a bug with very high resolution image uploads throwing internal server errors. ([\#10029](matrix-org/synapse#10029))


Updates to the Docker image
---------------------------

- Fix bug introduced in Synapse 1.33.0 which caused a `Permission denied: '/homeserver.log'` error when starting Synapse with the generated log configuration. Contributed by Sergio Miguéns Iglesias. ([\#10045](matrix-org/synapse#10045))


Improved Documentation
----------------------

- Add hardened systemd files as proposed in [#9760](matrix-org/synapse#9760) and added them to `contrib/`. Change the docs to reflect the presence of these files. ([\#9803](matrix-org/synapse#9803))
- Clarify documentation around SSO mapping providers generating unique IDs and localparts. ([\#9980](matrix-org/synapse#9980))
- Updates to the PostgreSQL documentation (`postgres.md`). ([\#9988](matrix-org/synapse#9988), [\#9989](matrix-org/synapse#9989))
- Fix broken link in user directory documentation. Contributed by @junquera. ([\#10016](matrix-org/synapse#10016))
- Add missing room state entry to the table of contents of room admin API. ([\#10043](matrix-org/synapse#10043))


Deprecations and Removals
-------------------------

- Removed support for the deprecated `tls_fingerprints` configuration setting. Contributed by Jerin J Titus. ([\#9280](matrix-org/synapse#9280))


Internal Changes
----------------

- Allow sending full presence to users via workers other than the one that called `ModuleApi.send_local_online_presence_to`. ([\#9823](matrix-org/synapse#9823))
- Update comments in the space summary handler. ([\#9974](matrix-org/synapse#9974))
- Minor enhancements to the `@cachedList` descriptor. ([\#9975](matrix-org/synapse#9975))
- Split multipart email sending into a dedicated handler. ([\#9977](matrix-org/synapse#9977))
- Run `black` on files in the `scripts` directory. ([\#9981](matrix-org/synapse#9981))
- Add missing type hints to `synapse.util` module. ([\#9982](matrix-org/synapse#9982))
- Simplify a few helper functions. ([\#9984](matrix-org/synapse#9984), [\#9985](matrix-org/synapse#9985), [\#9986](matrix-org/synapse#9986))
- Remove unnecessary property from SQLBaseStore. ([\#9987](matrix-org/synapse#9987))
- Remove `keylen` param on `LruCache`. ([\#9993](matrix-org/synapse#9993))
- Update the Grafana dashboard in `contrib/`. ([\#10001](matrix-org/synapse#10001))
- Add a batching queue implementation. ([\#10017](matrix-org/synapse#10017))
- Reduce memory usage when verifying signatures on large numbers of events at once. ([\#10018](matrix-org/synapse#10018))
- Properly invalidate caches for destination retry timings every (instead of expiring entries every 5 minutes). ([\#10036](matrix-org/synapse#10036))
- Fix running complement tests with Synapse workers. ([\#10039](matrix-org/synapse#10039))
- Fix typo in `get_state_ids_for_event` docstring where the return type was incorrect. ([\#10050](matrix-org/synapse#10050))
  • Loading branch information
Midar committed Jun 5, 2021
1 parent 59218db commit 7f7c8d5
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 16 deletions.
5 changes: 2 additions & 3 deletions chat/matrix-synapse/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.24 2021/05/24 19:49:14 wiz Exp $
# $NetBSD: Makefile,v 1.25 2021/06/05 15:28:02 js Exp $

DISTNAME= matrix-synapse-1.34.0
PKGREVISION= 1
DISTNAME= matrix-synapse-1.35.1
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_GITHUB:=matrix-org/}
EGG_NAME= matrix_synapse-${PKGVERSION_NOREV}
Expand Down
12 changes: 8 additions & 4 deletions chat/matrix-synapse/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.12 2021/05/20 09:09:32 jperkin Exp $
@comment $NetBSD: PLIST,v 1.13 2021/06/05 15:28:02 js Exp $
bin/export_signing_key
bin/generate_config
bin/generate_log_config
Expand Down Expand Up @@ -439,6 +439,9 @@ ${PYSITELIB}/synapse/handlers/saml.pyo
${PYSITELIB}/synapse/handlers/search.py
${PYSITELIB}/synapse/handlers/search.pyc
${PYSITELIB}/synapse/handlers/search.pyo
${PYSITELIB}/synapse/handlers/send_email.py
${PYSITELIB}/synapse/handlers/send_email.pyc
${PYSITELIB}/synapse/handlers/send_email.pyo
${PYSITELIB}/synapse/handlers/set_password.py
${PYSITELIB}/synapse/handlers/set_password.pyc
${PYSITELIB}/synapse/handlers/set_password.pyo
Expand Down Expand Up @@ -706,9 +709,6 @@ ${PYSITELIB}/synapse/replication/slave/storage/registration.pyo
${PYSITELIB}/synapse/replication/slave/storage/room.py
${PYSITELIB}/synapse/replication/slave/storage/room.pyc
${PYSITELIB}/synapse/replication/slave/storage/room.pyo
${PYSITELIB}/synapse/replication/slave/storage/transactions.py
${PYSITELIB}/synapse/replication/slave/storage/transactions.pyc
${PYSITELIB}/synapse/replication/slave/storage/transactions.pyo
${PYSITELIB}/synapse/replication/tcp/__init__.py
${PYSITELIB}/synapse/replication/tcp/__init__.pyc
${PYSITELIB}/synapse/replication/tcp/__init__.pyo
Expand Down Expand Up @@ -1585,6 +1585,7 @@ ${PYSITELIB}/synapse/storage/schema/main/delta/59/11drop_thumbnail_constraint.sq
${PYSITELIB}/synapse/storage/schema/main/delta/59/12account_validity_token_used_ts_ms.sql
${PYSITELIB}/synapse/storage/schema/main/delta/59/12presence_stream_instance.sql
${PYSITELIB}/synapse/storage/schema/main/delta/59/12presence_stream_instance_seq.sql.postgres
${PYSITELIB}/synapse/storage/schema/main/delta/59/13users_to_send_full_presence_to.sql
${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/application_services.sql
${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_edges.sql
${PYSITELIB}/synapse/storage/schema/main/full_schemas/16/event_signatures.sql
Expand Down Expand Up @@ -1647,6 +1648,9 @@ ${PYSITELIB}/synapse/util/__init__.pyo
${PYSITELIB}/synapse/util/async_helpers.py
${PYSITELIB}/synapse/util/async_helpers.pyc
${PYSITELIB}/synapse/util/async_helpers.pyo
${PYSITELIB}/synapse/util/batching_queue.py
${PYSITELIB}/synapse/util/batching_queue.pyc
${PYSITELIB}/synapse/util/batching_queue.pyo
${PYSITELIB}/synapse/util/caches/__init__.py
${PYSITELIB}/synapse/util/caches/__init__.pyc
${PYSITELIB}/synapse/util/caches/__init__.pyo
Expand Down
12 changes: 6 additions & 6 deletions chat/matrix-synapse/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.16 2021/05/20 09:09:32 jperkin Exp $
$NetBSD: distinfo,v 1.17 2021/06/05 15:28:02 js Exp $

SHA1 (matrix-synapse-1.34.0.tar.gz) = 22270050a22c44be8abd4519a2e51177cfdbb483
RMD160 (matrix-synapse-1.34.0.tar.gz) = 0cd153221e3508a376daa60549d52bab21d161cd
SHA512 (matrix-synapse-1.34.0.tar.gz) = 3b67725ac6ebc4b3b42bd46228f49d400eb41a71fd8b9dbbc8b1efad05e04c38ba6b51758c43d3d3c56df136ff91b59c22283d5766f4774d8d8e10ba8c5fa986
Size (matrix-synapse-1.34.0.tar.gz) = 7284678 bytes
SHA1 (patch-synapse_python_dependencies.py) = ef4e01283c4e3dab2cbb042b1a54c5fc21c20195
SHA1 (matrix-synapse-1.35.1.tar.gz) = db4bda55f94b523176a2322665390b637d75618d
RMD160 (matrix-synapse-1.35.1.tar.gz) = 3493881a1038319eae27a5b6f8e161a214294f69
SHA512 (matrix-synapse-1.35.1.tar.gz) = 02a7a23f8d004c3e7d1af6904f4fac5d403335a7f089b80af367a833c292d0f970938f62a87f87a94ebee5acb41c87d50e337a8a38b0294657731155e7bfa3b3
Size (matrix-synapse-1.35.1.tar.gz) = 7301793 bytes
SHA1 (patch-synapse_python_dependencies.py) = 914ae3a34a9367b2d479d393ddc7a07cbff65b36
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
$NetBSD: patch-synapse_python_dependencies.py,v 1.2 2021/05/20 09:09:32 jperkin Exp $
$NetBSD: patch-synapse_python_dependencies.py,v 1.3 2021/06/05 15:28:02 js Exp $

Patch out cryptography check: It doesn't need a version this high and it was
added by upstream as an ugly hack to force a patched OpenSSL, in case it is
linked statically.

--- synapse/python_dependencies.py.orig 2021-05-17 11:00:28.000000000 +0000
--- synapse/python_dependencies.py.orig 2021-06-03 12:24:19.000000000 +0000
+++ synapse/python_dependencies.py
@@ -84,9 +84,6 @@ REQUIREMENTS = [
"Jinja2>=2.9",
Expand All @@ -13,6 +13,6 @@
- # We enforce that we have a `cryptography` version that bundles an `openssl`
- # with the latest security patches.
- "cryptography>=3.4.7",
"ijson>=3.0",
]

CONDITIONAL_REQUIREMENTS = {

0 comments on commit 7f7c8d5

Please sign in to comment.