Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge commit 'd5f7182ba' into anoa/dinsic_release_1_21_x
Browse files Browse the repository at this point in the history
* commit 'd5f7182ba':
  1.20.0rc5
  1.19.3
  Use _check_sigs_and_hash_and_fetch to validate backfill requests (#8350)
  • Loading branch information
anoadragon453 committed Oct 21, 2020
2 parents 70783a3 + d5f7182 commit 3de9eb3
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 10 deletions.
31 changes: 31 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
Synapse 1.20.0rc5 (2020-09-18)
==============================

Features
--------

- Add flags to the `/versions` endpoint that includes whether new rooms default to using E2EE. ([\#8343](https://github.com/matrix-org/synapse/issues/8343))


Bugfixes
--------

- Fix ratelimitng of federation `/send` requests. ([\#8342](https://github.com/matrix-org/synapse/issues/8342))
- Fix a longstanding bug where back pagination over federation could get stuck if it failed to handle a received event. ([\#8349](https://github.com/matrix-org/synapse/issues/8349))


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

- Blacklist [MSC2753](https://github.com/matrix-org/matrix-doc/pull/2753) SyTests until it is implemented. ([\#8285](https://github.com/matrix-org/synapse/issues/8285))


Synapse 1.19.3 (2020-09-18)
===========================

Bugfixes
--------

- Partially mitigate bug where newly joined servers couldn't get past events in a room when there is a malformed event. ([\#8350](https://github.com/matrix-org/synapse/issues/8350))


Synapse 1.20.0rc4 (2020-09-16)
==============================

Expand Down
1 change: 0 additions & 1 deletion changelog.d/8285.misc

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/8342.bugfix

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/8343.feature

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/8349.bugfix

This file was deleted.

6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ matrix-synapse-py3 (1.20.0ubuntu1) UNRELEASED; urgency=medium

-- Dexter Chua <[email protected]> Wed, 26 Aug 2020 12:41:36 +0000

matrix-synapse-py3 (1.19.3) stable; urgency=medium

* New synapse release 1.19.3.

-- Synapse Packaging team <[email protected]> Fri, 18 Sep 2020 14:59:30 +0100

matrix-synapse-py3 (1.19.2) stable; urgency=medium

* New synapse release 1.19.2.
Expand Down
2 changes: 1 addition & 1 deletion synapse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
except ImportError:
pass

__version__ = "1.20.0rc4"
__version__ = "1.20.0rc5"

if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
# We import here so that we don't have to install a bunch of deps when
Expand Down
8 changes: 3 additions & 5 deletions synapse/federation/federation_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,11 +217,9 @@ async def backfill(
for p in transaction_data["pdus"]
]

# FIXME: We should handle signature failures more gracefully.
pdus[:] = await make_deferred_yieldable(
defer.gatherResults(
self._check_sigs_and_hashes(room_version, pdus), consumeErrors=True,
).addErrback(unwrapFirstError)
# Check signatures and hash of pdus, removing any from the list that fail checks
pdus[:] = await self._check_sigs_and_hash_and_fetch(
dest, pdus, outlier=True, room_version=room_version
)

return pdus
Expand Down

0 comments on commit 3de9eb3

Please sign in to comment.