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

Commit ab3fdcf

Browse files
author
Sean Quah
committed
Merge branch 'master' into develop
2 parents 41b5f72 + ac80bfb commit ab3fdcf

File tree

5 files changed

+39
-10
lines changed

5 files changed

+39
-10
lines changed

CHANGES.md

+26-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
Synapse 1.56.0 (2022-04-05)
2+
===========================
3+
4+
Synapse will now refuse to start up if open registration is enabled, in order to help mitigate
5+
abuse across the federation. If you would like
6+
to provide registration to anyone, consider adding [email](https://github.com/matrix-org/synapse/blob/8a519f8abc6de772167c2cca101d22ee2052fafc/docs/sample_config.yaml#L1285),
7+
[recaptcha](https://matrix-org.github.io/synapse/v1.56/CAPTCHA_SETUP.html)
8+
or [token-based](https://matrix-org.github.io/synapse/v1.56/usage/administration/admin_api/registration_tokens.html) verification
9+
in order to prevent automated registration from bad actors.
10+
This check can be disabled by setting the `enable_registration_without_verification` option in your
11+
homeserver configuration file to `true`. More details are available in the
12+
[upgrade notes](https://matrix-org.github.io/synapse/v1.56/upgrade.html#open-registration-without-verification-is-now-disabled-by-default).
13+
14+
Synapse will additionally now refuse to start when using PostgreSQL with a non-`C` values for `COLLATE` and `CTYPE`, unless
15+
the config flag `allow_unsafe_locale`, found in the database section of the configuration file, is set to `true`. See the
16+
[upgrade notes](https://matrix-org.github.io/synapse/v1.56/upgrade#change-in-behaviour-for-postgresql-databases-with-unsafe-locale)
17+
for details.
18+
19+
Internal Changes
20+
----------------
21+
22+
- Bump the version of `black` for compatibility with the latest `click` release. ([\#12320](https://github.com/matrix-org/synapse/issues/12320))
23+
24+
125
Synapse 1.56.0rc1 (2022-03-29)
226
==============================
327

@@ -33,7 +57,7 @@ Internal Changes
3357
- Rename `shared_rooms` to `mutual_rooms` ([MSC2666](https://github.com/matrix-org/matrix-doc/pull/2666)), as per proposal changes. ([\#12036](https://github.com/matrix-org/synapse/issues/12036))
3458
- Remove check on `update_user_directory` for shared rooms handler ([MSC2666](https://github.com/matrix-org/matrix-doc/pull/2666)), and update/expand documentation. ([\#12038](https://github.com/matrix-org/synapse/issues/12038))
3559
- Refactor `create_new_client_event` to use a new parameter, `state_event_ids`, which accurately describes the usage with [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) instead of abusing `auth_event_ids`. ([\#12083](https://github.com/matrix-org/synapse/issues/12083), [\#12304](https://github.com/matrix-org/synapse/issues/12304))
36-
- Refuse to start if registration is enabled without email, captcha, or token-based verification unless the new config flag `enable_registration_without_verification` is set. ([\#12091](https://github.com/matrix-org/synapse/issues/12091))
60+
- Refuse to start if registration is enabled without email, captcha, or token-based verification unless the new config flag `enable_registration_without_verification` is set to `true`. ([\#12091](https://github.com/matrix-org/synapse/issues/12091), [\#12322](https://github.com/matrix-org/synapse/issues/12322))
3761
- Add tests for database transaction callbacks. ([\#12198](https://github.com/matrix-org/synapse/issues/12198))
3862
- Handle cancellation in `DatabasePool.runInteraction`. ([\#12199](https://github.com/matrix-org/synapse/issues/12199))
3963
- Add missing type hints for cache storage. ([\#12216](https://github.com/matrix-org/synapse/issues/12216))
@@ -6441,4 +6465,4 @@ Internal Changes
64416465
- Don't run CI build checks until sample config check has passed. ([\#5370](https://github.com/matrix-org/synapse/issues/5370))
64426466
- Automatically retry buildkite builds (max twice) when an agent is lost. ([\#5380](https://github.com/matrix-org/synapse/issues/5380))
64436467

6444-
**Changelogs for versions older than 1.0.0 can be found [here](CHANGES-pre-1.0.md).**
6468+
**Changelogs for versions older than 1.0.0 can be found [here](CHANGES-pre-1.0.md).**

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
matrix-synapse-py3 (1.56.0) stable; urgency=medium
2+
3+
* New synapse release 1.56.0.
4+
5+
-- Synapse Packaging team <[email protected]> Tue, 05 Apr 2022 12:38:39 +0100
6+
17
matrix-synapse-py3 (1.56.0~rc1) stable; urgency=medium
28

39
* New synapse release 1.56.0~rc1.

docs/upgrade.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ deployments where no applciation services are in use can be upgraded as normal.
100100

101101
# Upgrading to v1.56.0
102102

103+
## Open registration without verification is now disabled by default
104+
105+
Synapse will refuse to start if registration is enabled without email, captcha, or token-based verification unless the new config
106+
flag `enable_registration_without_verification` is set to "true".
107+
103108
## Groups/communities feature has been deprecated
104109

105110
The non-standard groups/communities feature in Synapse has been deprecated and will
@@ -121,12 +126,6 @@ for more information and instructions on how to fix a database with incorrect va
121126

122127
# Upgrading to v1.55.0
123128

124-
## Open registration without verification is now disabled by default
125-
126-
Synapse will refuse to start if registration is enabled without email, captcha, or token-based verification unless the new config
127-
flag `enable_registration_without_verification` is set to "true".
128-
129-
130129
## `synctl` script has been moved
131130

132131
The `synctl` script

synapse/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
except ImportError:
6969
pass
7070

71-
__version__ = "1.56.0rc1"
71+
__version__ = "1.56.0"
7272

7373
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
7474
# We import here so that we don't have to install a bunch of deps when

synapse/python_dependencies.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"unpaddedbase64>=1.1.0",
4949
"canonicaljson>=1.4.0",
5050
# we use the type definitions added in signedjson 1.1.
51-
"signedjson>=1.1.0",
51+
"signedjson>=1.1.0,<=1.1.1",
5252
"pynacl>=1.2.1",
5353
"idna>=2.5",
5454
# validating SSL certs for IP addresses requires service_identity 18.1.

0 commit comments

Comments
 (0)