Merge remote-tracking branch 'origin/develop' into clokep/handlers-clean-up

pull/8494/head
Patrick Cloke 2020-10-08 08:21:03 -04:00
commit 1394486504
8 changed files with 42 additions and 11 deletions

View File

@ -1,3 +1,18 @@
Synapse 1.21.0rc3 (2020-10-08)
==============================
Bugfixes
--------
- Fix duplication of events on high traffic servers, caused by PostgreSQL `could not serialize access due to concurrent update` errors. ([\#8456](https://github.com/matrix-org/synapse/issues/8456))
Internal Changes
----------------
- Add Groovy Gorilla to the list of distributions we build `.deb`s for. ([\#8475](https://github.com/matrix-org/synapse/issues/8475))
Synapse 1.21.0rc2 (2020-10-02) Synapse 1.21.0rc2 (2020-10-02)
============================== ==============================

View File

@ -1,10 +1,6 @@
================ =========================================================
Synapse |shield| Synapse |support| |development| |license| |pypi| |python|
================ =========================================================
.. |shield| image:: https://img.shields.io/matrix/synapse:matrix.org?label=support&logo=matrix
:alt: (get support on #synapse:matrix.org)
:target: https://matrix.to/#/#synapse:matrix.org
.. contents:: .. contents::
@ -374,3 +370,23 @@ something like the following in their logs::
This is normally caused by a misconfiguration in your reverse-proxy. See This is normally caused by a misconfiguration in your reverse-proxy. See
`<docs/reverse_proxy.md>`_ and double-check that your settings are correct. `<docs/reverse_proxy.md>`_ and double-check that your settings are correct.
.. |support| image:: https://img.shields.io/matrix/synapse:matrix.org?label=support&logo=matrix
:alt: (get support on #synapse:matrix.org)
:target: https://matrix.to/#/#synapse:matrix.org
.. |development| image:: https://img.shields.io/matrix/synapse-dev:matrix.org?label=development&logo=matrix
:alt: (discuss development on #synapse-dev:matrix.org)
:target: https://matrix.to/#/#synapse-dev:matrix.org
.. |license| image:: https://img.shields.io/github/license/matrix-org/synapse
:alt: (check license in LICENSE file)
:target: LICENSE
.. |pypi| image:: https://img.shields.io/pypi/v/matrix-synapse
:alt: (latest version released on PyPi)
:target: https://pypi.org/project/matrix-synapse
.. |python| image:: https://img.shields.io/pypi/pyversions/matrix-synapse
:alt: (supported python versions)
:target: https://pypi.org/project/matrix-synapse

View File

@ -1 +0,0 @@
Reduce number of serialization errors of `MultiWriterIdGenerator._update_table`.

View File

@ -1 +0,0 @@
Add Groovy Gorilla to the list of distributions we build `.deb`s for.

1
changelog.d/8492.misc Normal file
View File

@ -0,0 +1 @@
Clarify error message when plugin config parsers raise an error.

1
changelog.d/8493.doc Normal file
View File

@ -0,0 +1 @@
Improve readme by adding new shield.io badges.

View File

@ -48,7 +48,7 @@ try:
except ImportError: except ImportError:
pass pass
__version__ = "1.21.0rc2" __version__ = "1.21.0rc3"
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)): 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 # We import here so that we don't have to install a bunch of deps when

View File

@ -36,7 +36,7 @@ def load_module(provider):
try: try:
provider_config = provider_class.parse_config(provider.get("config")) provider_config = provider_class.parse_config(provider.get("config"))
except Exception as e: except Exception as e:
raise ConfigError("Failed to parse config for %r: %r" % (provider["module"], e)) raise ConfigError("Failed to parse config for %r: %s" % (provider["module"], e))
return provider_class, provider_config return provider_class, provider_config