Compare commits
8 Commits
erikj/test
...
release-v1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ccb9616f26 | ||
|
|
b685c5e7f1 | ||
|
|
71c46652a2 | ||
|
|
73ed289bd2 | ||
|
|
69961c7e9f | ||
|
|
a01605c136 | ||
|
|
056327457f | ||
|
|
28f255d5f3 |
31
CHANGES.md
31
CHANGES.md
@@ -1,9 +1,36 @@
|
|||||||
|
Synapse 1.26.0 (2021-01-27)
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This release brings a new schema version for Synapse and rolling back to a previous
|
||||||
|
version is not trivial. Please review [UPGRADE.rst](UPGRADE.rst) for more details
|
||||||
|
on these changes and for general upgrade guidance.
|
||||||
|
|
||||||
|
No significant changes since 1.26.0rc2.
|
||||||
|
|
||||||
|
|
||||||
|
Synapse 1.26.0rc2 (2021-01-25)
|
||||||
|
==============================
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Fix receipts and account data not being sent down sync. Introduced in v1.26.0rc1. ([\#9193](https://github.com/matrix-org/synapse/issues/9193), [\#9195](https://github.com/matrix-org/synapse/issues/9195))
|
||||||
|
- Fix chain cover update to handle events with duplicate auth events. Introduced in v1.26.0rc1. ([\#9210](https://github.com/matrix-org/synapse/issues/9210))
|
||||||
|
|
||||||
|
|
||||||
|
Internal Changes
|
||||||
|
----------------
|
||||||
|
|
||||||
|
- Add an `oidc-` prefix to any `idp_id`s which are given in the `oidc_providers` configuration. ([\#9189](https://github.com/matrix-org/synapse/issues/9189))
|
||||||
|
- Bump minimum `psycopg2` version to v2.8. ([\#9204](https://github.com/matrix-org/synapse/issues/9204))
|
||||||
|
|
||||||
|
|
||||||
Synapse 1.26.0rc1 (2021-01-20)
|
Synapse 1.26.0rc1 (2021-01-20)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
This release brings a new schema version for Synapse and rolling back to a previous
|
This release brings a new schema version for Synapse and rolling back to a previous
|
||||||
version is not trivial. Please review [UPGRADE.rst](UPGRADE.rst) for more details
|
version is not trivial. Please review [UPGRADE.rst](UPGRADE.rst) for more details
|
||||||
on these changes and for general upgrade guidance.
|
on these changes and for general upgrade guidance.
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
Add an `oidc-` prefix to any `idp_id`s which are given in the `oidc_providers` configuration.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix receipts or account data not being sent down sync. Introduced in v1.26.0rc1.
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
Fix receipts or account data not being sent down sync. Introduced in v1.26.0rc1.
|
|
||||||
8
debian/changelog
vendored
8
debian/changelog
vendored
@@ -1,8 +1,12 @@
|
|||||||
matrix-synapse-py3 (1.25.0ubuntu1) UNRELEASED; urgency=medium
|
matrix-synapse-py3 (1.26.0) stable; urgency=medium
|
||||||
|
|
||||||
|
[ Richard van der Hoff ]
|
||||||
* Remove dependency on `python3-distutils`.
|
* Remove dependency on `python3-distutils`.
|
||||||
|
|
||||||
-- Richard van der Hoff <richard@matrix.org> Fri, 15 Jan 2021 12:44:19 +0000
|
[ Synapse Packaging team ]
|
||||||
|
* New synapse release 1.26.0.
|
||||||
|
|
||||||
|
-- Synapse Packaging team <packages@matrix.org> Wed, 27 Jan 2021 12:43:35 -0500
|
||||||
|
|
||||||
matrix-synapse-py3 (1.25.0) stable; urgency=medium
|
matrix-synapse-py3 (1.25.0) stable; urgency=medium
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
__version__ = "1.26.0rc1"
|
__version__ = "1.26.0"
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
@@ -86,8 +86,8 @@ REQUIREMENTS = [
|
|||||||
|
|
||||||
CONDITIONAL_REQUIREMENTS = {
|
CONDITIONAL_REQUIREMENTS = {
|
||||||
"matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"],
|
"matrix-synapse-ldap3": ["matrix-synapse-ldap3>=0.1"],
|
||||||
# we use execute_batch, which arrived in psycopg 2.7.
|
# we use execute_values with the fetch param, which arrived in psycopg 2.8.
|
||||||
"postgres": ["psycopg2>=2.7"],
|
"postgres": ["psycopg2>=2.8"],
|
||||||
# ACME support is required to provision TLS certificates from authorities
|
# ACME support is required to provision TLS certificates from authorities
|
||||||
# that use the protocol, such as Let's Encrypt.
|
# that use the protocol, such as Let's Encrypt.
|
||||||
"acme": [
|
"acme": [
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ def sorted_topologically(
|
|||||||
if node not in degree_map:
|
if node not in degree_map:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for edge in edges:
|
for edge in set(edges):
|
||||||
if edge in degree_map:
|
if edge in degree_map:
|
||||||
degree_map[node] += 1
|
degree_map[node] += 1
|
||||||
|
|
||||||
|
|||||||
@@ -92,3 +92,15 @@ class SortTopologically(TestCase):
|
|||||||
# Valid orderings are `[1, 3, 2, 4]` or `[1, 2, 3, 4]`, but we should
|
# Valid orderings are `[1, 3, 2, 4]` or `[1, 2, 3, 4]`, but we should
|
||||||
# always get the same one.
|
# always get the same one.
|
||||||
self.assertEqual(list(sorted_topologically([4, 3, 2, 1], graph)), [1, 2, 3, 4])
|
self.assertEqual(list(sorted_topologically([4, 3, 2, 1], graph)), [1, 2, 3, 4])
|
||||||
|
|
||||||
|
def test_duplicates(self):
|
||||||
|
"Test that a graph with duplicate edges work"
|
||||||
|
graph = {1: [], 2: [1, 1], 3: [2, 2], 4: [3]} # type: Dict[int, List[int]]
|
||||||
|
|
||||||
|
self.assertEqual(list(sorted_topologically([4, 3, 2, 1], graph)), [1, 2, 3, 4])
|
||||||
|
|
||||||
|
def test_multiple_paths(self):
|
||||||
|
"Test that a graph with multiple paths between two nodes work"
|
||||||
|
graph = {1: [], 2: [1], 3: [2], 4: [3, 2, 1]} # type: Dict[int, List[int]]
|
||||||
|
|
||||||
|
self.assertEqual(list(sorted_topologically([4, 3, 2, 1], graph)), [1, 2, 3, 4])
|
||||||
|
|||||||
2
tox.ini
2
tox.ini
@@ -117,7 +117,7 @@ commands =
|
|||||||
# Make all greater-thans equals so we test the oldest version of our direct
|
# Make all greater-thans equals so we test the oldest version of our direct
|
||||||
# dependencies, but make the pyopenssl 17.0, which can work against an
|
# dependencies, but make the pyopenssl 17.0, which can work against an
|
||||||
# OpenSSL 1.1 compiled cryptography (as older ones don't compile on Travis).
|
# OpenSSL 1.1 compiled cryptography (as older ones don't compile on Travis).
|
||||||
/bin/sh -c 'python -m synapse.python_dependencies | sed -e "s/>=/==/g" -e "s/psycopg2==2.6//" -e "s/pyopenssl==16.0.0/pyopenssl==17.0.0/" | xargs -d"\n" pip install'
|
/bin/sh -c 'python -m synapse.python_dependencies | sed -e "s/>=/==/g" -e "/psycopg2/d" -e "s/pyopenssl==16.0.0/pyopenssl==17.0.0/" | xargs -d"\n" pip install'
|
||||||
|
|
||||||
# Install Synapse itself. This won't update any libraries.
|
# Install Synapse itself. This won't update any libraries.
|
||||||
pip install -e ".[test]"
|
pip install -e ".[test]"
|
||||||
|
|||||||
Reference in New Issue
Block a user