Skip to content

Tags: jrartiga/synapse

Tags

v1.12.4

Toggle v1.12.4's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
clokep Patrick Cloke
Synapse v1.12.4

Features:

* Always send users their own device updates. (matrix-org#7160)
* Add support for handling GET requests for account_data on a worker. (matrix-org#7311)

Bugfixes:

* Fix a bug that prevented cross-signing with users on worker-mode synapses. (matrix-org#7255)
* Do not treat display names as globs in push rules. (matrix-org#7271)
* Fix a bug with cross-signing devices belonging to remote users who did not share a
  room with any user on the local homeserver. (matrix-org#7289)

v1.12.4rc1

Toggle v1.12.4rc1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
richvdh Richard van der Hoff
Synapse 1.12.4rc1 (2020-04-22)

==============================

Features
--------

- Always send users their own device updates. ([\matrix-org#7160](matrix-org#7160))
- Add support for handling GET requests for `account_data` on a worker. ([\matrix-org#7311](matrix-org#7311))

Bugfixes
--------

- Fix a bug that prevented cross-signing with users on worker-mode synapses. ([\matrix-org#7255](matrix-org#7255))
- Do not treat display names as globs in push rules. ([\matrix-org#7271](matrix-org#7271))
- Fix a bug with cross-signing devices belonging to remote users who did not share a room with any user on the local homeserver. ([\matrix-org#7289](matrix-org#7289))

v1.12.3

Toggle v1.12.3's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
richvdh Richard van der Hoff
Synapse 1.12.3 (2020-04-03)

===========================

- Remove the the pin to Pillow 7.0 which was introduced in Synapse 1.12.2, and
correctly fix the issue with building the Debian packages. ([\matrix-org#7212](matrix-org#7212))

v1.12.2

Toggle v1.12.2's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
anoadragon453 Andrew Morgan
Synapse 1.12.2 (2020-04-02)

===========================

This release fixes [an
issue](matrix-org#7208) with building the
debian packages.

No other significant changes since 1.12.1.

v1.12.1

Toggle v1.12.1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
anoadragon453 Andrew Morgan
Synapse 1.12.1 (2020-04-02)

===========================

No significant changes since 1.12.1rc1.

Synapse 1.12.1rc1 (2020-03-31)
==============================

Bugfixes
--------

- Fix starting workers when federation sending not split out. ([\matrix-org#7133](matrix-org#7133)). Introduced in v1.12.0.
- Avoid importing `sqlite3` when using the postgres backend. Contributed by David Vo. ([\matrix-org#7155](matrix-org#7155)). Introduced in v1.12.0rc1.
- Fix a bug which could cause outbound federation traffic to stop working if a client uploaded an incorrect e2e device signature. ([\matrix-org#7177](matrix-org#7177)). Introduced in v1.11.0.

v1.12.1rc1

Toggle v1.12.1rc1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
anoadragon453 Andrew Morgan
Synapse 1.12.1rc1 (2020-03-31)

==============================

Bugfixes
--------

- Fix starting workers when federation sending not split out. ([\matrix-org#7133](matrix-org#7133)). Introduced in v1.12.0.
- Avoid importing `sqlite3` when using the postgres backend. Contributed by David Vo. ([\matrix-org#7155](matrix-org#7155)). Introduced in v1.12.0rc1.
- Fix a bug which could cause outbound federation traffic to stop working if a client uploaded an incorrect e2e device signature. ([\matrix-org#7177](matrix-org#7177)). Introduced in v1.11.0.

v1.12.0

Toggle v1.12.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
richvdh Richard van der Hoff
Synapse 1.12.0 (2020-03-23)

===========================

No significant changes since 1.12.0rc1.

Debian packages and Docker images are rebuilt using the latest versions of
dependency libraries, including Twisted 20.3.0. **Please see security advisory
below**.

Security advisory
-----------------

Synapse may be vulnerable to request-smuggling attacks when it is used with a
reverse-proxy. The vulnerabilties are fixed in Twisted 20.3.0, and are
described in
[CVE-2020-10108](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10108)
and
[CVE-2020-10109](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10109).
For a good introduction to this class of request-smuggling attacks, see
https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn.

We are not aware of these vulnerabilities being exploited in the wild, and
do not believe that they are exploitable with current versions of any reverse
proxies. Nevertheless, we recommend that all Synapse administrators ensure that
they have the latest versions of the Twisted library to ensure that their
installation remains secure.

* Administrators using the [`matrix.org` Docker
  image](https://hub.docker.com/r/matrixdotorg/synapse/) or the [Debian/Ubuntu
  packages from
  `matrix.org`](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#matrixorg-packages)
  should ensure that they have version 1.12.0 installed: these images include
  Twisted 20.3.0.
* Administrators who have [installed Synapse from
  source](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#installing-from-source)
  should upgrade Twisted within their virtualenv by running:
  ```sh
  <path_to_virtualenv>/bin/pip install 'Twisted>=20.3.0'
  ```
* Administrators who have installed Synapse from distribution packages should
  consult the information from their distributions.

The `matrix.org` Synapse instance was not vulnerable to these vulnerabilities.

Advance notice of change to the default `git` branch for Synapse
----------------------------------------------------------------

Currently, the default `git` branch for Synapse is `master`, which tracks the
latest release.

After the release of Synapse 1.13.0, we intend to change this default to
`develop`, which is the development tip. This is more consistent with common
practice and modern `git` usage.

Although we try to keep `develop` in a stable state, there may be occasions
where regressions creep in. Developers and distributors who have scripts which
run builds using the default branch of `Synapse` should therefore consider
pinning their scripts to `master`.

Synapse 1.12.0rc1 (2020-03-19)
==============================

Features
--------

- Changes related to room alias management ([MSC2432](matrix-org/matrix-spec-proposals#2432)):
  - Publishing/removing a room from the room directory now requires the user to have a power level capable of modifying the canonical alias, instead of the room aliases. ([\matrix-org#6965](matrix-org#6965))
  - Validate the `alt_aliases` property of canonical alias events. ([\matrix-org#6971](matrix-org#6971))
  - Users with a power level sufficient to modify the canonical alias of a room can now delete room aliases. ([\matrix-org#6986](matrix-org#6986))
  - Implement updated authorization rules and redaction rules for aliases events, from [MSC2261](matrix-org/matrix-spec-proposals#2261) and [MSC2432](matrix-org/matrix-spec-proposals#2432). ([\matrix-org#7037](matrix-org#7037))
  - Stop sending m.room.aliases events during room creation and upgrade. ([\matrix-org#6941](matrix-org#6941))
  - Synapse no longer uses room alias events to calculate room names for push notifications. ([\matrix-org#6966](matrix-org#6966))
  - The room list endpoint no longer returns a list of aliases. ([\matrix-org#6970](matrix-org#6970))
  - Remove special handling of aliases events from [MSC2260](matrix-org/matrix-spec-proposals#2260) added in v1.10.0rc1. ([\matrix-org#7034](matrix-org#7034))
- Expose the `synctl`, `hash_password` and `generate_config` commands in the snapcraft package. Contributed by @devec0. ([\matrix-org#6315](matrix-org#6315))
- Check that server_name is correctly set before running database updates. ([\matrix-org#6982](matrix-org#6982))
- Break down monthly active users by `appservice_id` and emit via Prometheus. ([\matrix-org#7030](matrix-org#7030))
- Render a configurable and comprehensible error page if something goes wrong during the SAML2 authentication process. ([\matrix-org#7058](matrix-org#7058), [\matrix-org#7067](matrix-org#7067))
- Add an optional parameter to control whether other sessions are logged out when a user's password is modified. ([\matrix-org#7085](matrix-org#7085))
- Add prometheus metrics for the number of active pushers. ([\matrix-org#7103](matrix-org#7103), [\matrix-org#7106](matrix-org#7106))
- Improve performance when making HTTPS requests to sygnal, sydent, etc, by sharing the SSL context object between connections. ([\matrix-org#7094](matrix-org#7094))

Bugfixes
--------

- When a user's profile is updated via the admin API, also generate a displayname/avatar update for that user in each room. ([\matrix-org#6572](matrix-org#6572))
- Fix a couple of bugs in email configuration handling. ([\matrix-org#6962](matrix-org#6962))
- Fix an issue affecting worker-based deployments where replication would stop working, necessitating a full restart, after joining a large room. ([\matrix-org#6967](matrix-org#6967))
- Fix `duplicate key` error which was logged when rejoining a room over federation. ([\matrix-org#6968](matrix-org#6968))
- Prevent user from setting 'deactivated' to anything other than a bool on the v2 PUT /users Admin API. ([\matrix-org#6990](matrix-org#6990))
- Fix py35-old CI by using native tox package. ([\matrix-org#7018](matrix-org#7018))
- Fix a bug causing `org.matrix.dummy_event` to be included in responses from `/sync`. ([\matrix-org#7035](matrix-org#7035))
- Fix a bug that renders UTF-8 text files incorrectly when loaded from media. Contributed by @TheStranjer. ([\matrix-org#7044](matrix-org#7044))
- Fix a bug that would cause Synapse to respond with an error about event visibility if a client tried to request the state of a room at a given token. ([\matrix-org#7066](matrix-org#7066))
- Repair a data-corruption issue which was introduced in Synapse 1.10, and fixed in Synapse 1.11, and which could cause `/sync` to return with 404 errors about missing events and unknown rooms. ([\matrix-org#7070](matrix-org#7070))
- Fix a bug causing account validity renewal emails to be sent even if the feature is turned off in some cases. ([\matrix-org#7074](matrix-org#7074))

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

- Updated CentOS8 install instructions. Contributed by Richard Kellner. ([\matrix-org#6925](matrix-org#6925))
- Fix `POSTGRES_INITDB_ARGS` in the `contrib/docker/docker-compose.yml` example docker-compose configuration. ([\matrix-org#6984](matrix-org#6984))
- Change date in [INSTALL.md](./INSTALL.md#tls-certificates) for last date of getting TLS certificates to November 2019. ([\matrix-org#7015](matrix-org#7015))
- Document that the fallback auth endpoints must be routed to the same worker node as the register endpoints. ([\matrix-org#7048](matrix-org#7048))

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

- Remove the unused query_auth federation endpoint per [MSC2451](matrix-org/matrix-spec-proposals#2451). ([\matrix-org#7026](matrix-org#7026))

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

- Add type hints to `logging/context.py`. ([\matrix-org#6309](matrix-org#6309))
- Add some clarifications to `README.md` in the database schema directory. ([\matrix-org#6615](matrix-org#6615))
- Refactoring work in preparation for changing the event redaction algorithm. ([\matrix-org#6874](matrix-org#6874), [\matrix-org#6875](matrix-org#6875), [\matrix-org#6983](matrix-org#6983), [\matrix-org#7003](matrix-org#7003))
- Improve performance of v2 state resolution for large rooms. ([\matrix-org#6952](matrix-org#6952), [\matrix-org#7095](matrix-org#7095))
- Reduce time spent doing GC, by freezing objects on startup. ([\matrix-org#6953](matrix-org#6953))
- Minor perfermance fixes to `get_auth_chain_ids`. ([\matrix-org#6954](matrix-org#6954))
- Don't record remote cross-signing keys in the `devices` table. ([\matrix-org#6956](matrix-org#6956))
- Use flake8-comprehensions to enforce good hygiene of list/set/dict comprehensions. ([\matrix-org#6957](matrix-org#6957))
- Merge worker apps together. ([\matrix-org#6964](matrix-org#6964), [\matrix-org#7002](matrix-org#7002), [\matrix-org#7055](matrix-org#7055), [\matrix-org#7104](matrix-org#7104))
- Remove redundant `store_room` call from `FederationHandler._process_received_pdu`. ([\matrix-org#6979](matrix-org#6979))
- Update warning for incorrect database collation/ctype to include link to documentation. ([\matrix-org#6985](matrix-org#6985))
- Add some type annotations to the database storage classes. ([\matrix-org#6987](matrix-org#6987))
- Port `synapse.handlers.presence` to async/await. ([\matrix-org#6991](matrix-org#6991), [\matrix-org#7019](matrix-org#7019))
- Add some type annotations to the federation base & client classes. ([\matrix-org#6995](matrix-org#6995))
- Port `synapse.rest.keys` to async/await. ([\matrix-org#7020](matrix-org#7020))
- Add a type check to `is_verified` when processing room keys. ([\matrix-org#7045](matrix-org#7045))
- Add type annotations and comments to the auth handler. ([\matrix-org#7063](matrix-org#7063))

v1.12.0rc1

Toggle v1.12.0rc1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
richvdh Richard van der Hoff
Synapse 1.12.0rc1 (2020-03-19)

==============================

Features
--------

- Changes related to room alias management ([MSC2432](matrix-org/matrix-spec-proposals#2432)):
  - Publishing/removing a room from the room directory now requires the user to have a power level capable of modifying the canonical alias, instead of the room aliases. ([\matrix-org#6965](matrix-org#6965))
  - Validate the `alt_aliases` property of canonical alias events. ([\matrix-org#6971](matrix-org#6971))
  - Users with a power level sufficient to modify the canonical alias of a room can now delete room aliases. ([\matrix-org#6986](matrix-org#6986))
  - Implement updated authorization rules and redaction rules for aliases events, from [MSC2261](matrix-org/matrix-spec-proposals#2261) and [MSC2432](matrix-org/matrix-spec-proposals#2432). ([\matrix-org#7037](matrix-org#7037))
  - Stop sending m.room.aliases events during room creation and upgrade. ([\matrix-org#6941](matrix-org#6941))
  - Synapse no longer uses room alias events to calculate room names for push notifications. ([\matrix-org#6966](matrix-org#6966))
  - The room list endpoint no longer returns a list of aliases. ([\matrix-org#6970](matrix-org#6970))
  - Remove special handling of aliases events from [MSC2260](matrix-org/matrix-spec-proposals#2260) added in v1.10.0rc1. ([\matrix-org#7034](matrix-org#7034))
- Expose the `synctl`, `hash_password` and `generate_config` commands in the snapcraft package. Contributed by @devec0. ([\matrix-org#6315](matrix-org#6315))
- Check that server_name is correctly set before running database updates. ([\matrix-org#6982](matrix-org#6982))
- Break down monthly active users by `appservice_id` and emit via Prometheus. ([\matrix-org#7030](matrix-org#7030))
- Render a configurable and comprehensible error page if something goes wrong during the SAML2 authentication process. ([\matrix-org#7058](matrix-org#7058), [\matrix-org#7067](matrix-org#7067))
- Add an optional parameter to control whether other sessions are logged out when a user's password is modified. ([\matrix-org#7085](matrix-org#7085))
- Add prometheus metrics for the number of active pushers. ([\matrix-org#7103](matrix-org#7103), [\matrix-org#7106](matrix-org#7106))
- Improve performance when making HTTPS requests to sygnal, sydent, etc, by sharing the SSL context object between connections. ([\matrix-org#7094](matrix-org#7094))

Bugfixes
--------

- When a user's profile is updated via the admin API, also generate a displayname/avatar update for that user in each room. ([\matrix-org#6572](matrix-org#6572))
- Fix a couple of bugs in email configuration handling. ([\matrix-org#6962](matrix-org#6962))
- Fix an issue affecting worker-based deployments where replication would stop working, necessitating a full restart, after joining a large room. ([\matrix-org#6967](matrix-org#6967))
- Fix `duplicate key` error which was logged when rejoining a room over federation. ([\matrix-org#6968](matrix-org#6968))
- Prevent user from setting 'deactivated' to anything other than a bool on the v2 PUT /users Admin API. ([\matrix-org#6990](matrix-org#6990))
- Fix py35-old CI by using native tox package. ([\matrix-org#7018](matrix-org#7018))
- Fix a bug causing `org.matrix.dummy_event` to be included in responses from `/sync`. ([\matrix-org#7035](matrix-org#7035))
- Fix a bug that renders UTF-8 text files incorrectly when loaded from media. Contributed by @TheStranjer. ([\matrix-org#7044](matrix-org#7044))
- Fix a bug that would cause Synapse to respond with an error about event visibility if a client tried to request the state of a room at a given token. ([\matrix-org#7066](matrix-org#7066))
- Repair a data-corruption issue which was introduced in Synapse 1.10, and fixed in Synapse 1.11, and which could cause `/sync` to return with 404 errors about missing events and unknown rooms. ([\matrix-org#7070](matrix-org#7070))
- Fix a bug causing account validity renewal emails to be sent even if the feature is turned off in some cases. ([\matrix-org#7074](matrix-org#7074))

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

- Updated CentOS8 install instructions. Contributed by Richard Kellner. ([\matrix-org#6925](matrix-org#6925))
- Fix `POSTGRES_INITDB_ARGS` in the `contrib/docker/docker-compose.yml` example docker-compose configuration. ([\matrix-org#6984](matrix-org#6984))
- Change date in [INSTALL.md](./INSTALL.md#tls-certificates) for last date of getting TLS certificates to November 2019. ([\matrix-org#7015](matrix-org#7015))
- Document that the fallback auth endpoints must be routed to the same worker node as the register endpoints. ([\matrix-org#7048](matrix-org#7048))

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

- Remove the unused query_auth federation endpoint per [MSC2451](matrix-org/matrix-spec-proposals#2451). ([\matrix-org#7026](matrix-org#7026))

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

- Add type hints to `logging/context.py`. ([\matrix-org#6309](matrix-org#6309))
- Add some clarifications to `README.md` in the database schema directory. ([\matrix-org#6615](matrix-org#6615))
- Refactoring work in preparation for changing the event redaction algorithm. ([\matrix-org#6874](matrix-org#6874), [\matrix-org#6875](matrix-org#6875), [\matrix-org#6983](matrix-org#6983), [\matrix-org#7003](matrix-org#7003))
- Improve performance of v2 state resolution for large rooms. ([\matrix-org#6952](matrix-org#6952), [\matrix-org#7095](matrix-org#7095))
- Reduce time spent doing GC, by freezing objects on startup. ([\matrix-org#6953](matrix-org#6953))
- Minor perfermance fixes to `get_auth_chain_ids`. ([\matrix-org#6954](matrix-org#6954))
- Don't record remote cross-signing keys in the `devices` table. ([\matrix-org#6956](matrix-org#6956))
- Use flake8-comprehensions to enforce good hygiene of list/set/dict comprehensions. ([\matrix-org#6957](matrix-org#6957))
- Merge worker apps together. ([\matrix-org#6964](matrix-org#6964), [\matrix-org#7002](matrix-org#7002), [\matrix-org#7055](matrix-org#7055), [\matrix-org#7104](matrix-org#7104))
- Remove redundant `store_room` call from `FederationHandler._process_received_pdu`. ([\matrix-org#6979](matrix-org#6979))
- Update warning for incorrect database collation/ctype to include link to documentation. ([\matrix-org#6985](matrix-org#6985))
- Add some type annotations to the database storage classes. ([\matrix-org#6987](matrix-org#6987))
- Port `synapse.handlers.presence` to async/await. ([\matrix-org#6991](matrix-org#6991), [\matrix-org#7019](matrix-org#7019))
- Add some type annotations to the federation base & client classes. ([\matrix-org#6995](matrix-org#6995))
- Port `synapse.rest.keys` to async/await. ([\matrix-org#7020](matrix-org#7020))
- Add a type check to `is_verified` when processing room keys. ([\matrix-org#7045](matrix-org#7045))
- Add type annotations and comments to the auth handler. ([\matrix-org#7063](matrix-org#7063))

v1.11.1

Toggle v1.11.1's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
babolivier Brendan Abolivier
Synapse 1.11.1 (2020-03-03)

===========================

This release includes a security fix impacting installations using Single Sign-On (i.e. SAML2 or CAS) for authentication. Administrators of such installations are encouraged to upgrade as soon as possible.

The release also includes fixes for a couple of other bugs.

Bugfixes
--------

- Add a confirmation step to the SSO login flow before redirecting users to the redirect URL. ([b2bd54a](matrix-org@b2bd54a), [65c73cd](matrix-org@65c73cd), [a0178df](matrix-org@a0178df))
- Fixed set a user as an admin with the admin API `PUT /_synapse/admin/v2/users/<user_id>`. Contributed by @dklimpel. ([\matrix-org#6910](matrix-org#6910))
- Fix bug introduced in Synapse 1.11.0 which sometimes caused errors when joining rooms over federation, with `'coroutine' object has no attribute 'event_id'`. ([\matrix-org#6996](matrix-org#6996))

v1.11.0

Toggle v1.11.0's commit message

Verified

This tag was signed with the committer’s verified signature. The key has expired.
richvdh Richard van der Hoff
Synapse 1.11.0 (2020-02-21)

===========================

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

- Small grammatical fixes to the ACME v1 deprecation notice. ([\matrix-org#6944](matrix-org#6944))