v2.5.0
Sydent 2.5.0 (2021-11-03)
This release deprecates .eml
templates in favour of Jinja 2 .eml.j2
templates. See the documentation for more details.
Features
Bugfixes
- Fix a bug which could cause SMS sending to fail silently. (#412)
- Fix a bug introduced in v2.4.0 that caused association unbindings to fail with an internal server error. (#397)
- Fix an issue which could cause new local associations to be replicated multiple times to peers. (#400)
- Fix an issue where
obey_x_forwarded_for
was not being honoured. (#403) - Fix misleading logging and potential TypeErrors related to replication ports in Sydent's database. (#420)
- Fix a bug introduced in v2.0.0 where requesting
GET
from/identity/api/v1/validate/msisdn/submitToken
or/identity/v2/validate/msisdn/submitToken
would fail with an internal server error. (#445) - Fix
/v2/account/logout
to return HTTP 400 BAD REQUEST instead of 200 OK if a token was not provided. (#447) - Fix a long-standing spec compliance bug where the response to
POST /identity/{api/v1,v2}/3pid/unbind
wasnull
, not{}
. (#449)
Improved Documentation
- Fix the documentation around the command line arguments for the email address migration script. (#392)
- Add documentation on writing templates. Deprecate .eml templates. (#395)
Internal Changes
- Improve type annotations throughout Sydent. Sydent now passes
mypy --strict
. (#414 and others). - Extend the changelog check so that it checks for the correct pull request number being used. (#382)
- Move the configuration file handling code into a separate module. (#385, #405)
- Add a primitive contributing guide and tweak the pull request template. (#393)
- Run mypy on the sydent package as part of CI. (#416)
- Configure @matrix-org/synapse-core to be the code owner for the repository. (#436)
- Run linters over stub files. (#441, #450)
- Include Sydent's version number (and git commit hash if available) when reporting to Sentry. (#453, #454)