Skip to content

v2.5.1

Compare
Choose a tag to compare
@DMRobertson DMRobertson released this 17 Nov 11:43
· 98 commits to main since this release
cf27fce

Sydent 2.5.1 (2021-11-17)

This release fixes a bug in handling verification for third party IDs if requested via the deprecated /api/v1/ endpoint. The other changes are all designed to improve error handling, and make Sydent's logging have a higher signal-to-noise ratio.

Features

  • Return HTTP 400 Bad Request rather than HTTP 500 Internal Server Error if /store-invite is given an invalid email address. (#464)

Bugfixes

  • Fix a bug introduced in Sydent 2.5.0 where requests to validate an email or phone number would fail with an HTTP 500 Internal Server Error if arguments were given as a query string or as a www-form-urlencoded body. (#461, #462)

Internal Changes

  • Improve exception logging in asyncjsonwrap for better Sentry reports. (#455)
  • Handle federation request failures in /request explicitly, to reduce Sentry noise. (#456)
  • Log a warning (not an error) when we refuse to send an SMS to an unsupported country. (#459)
  • Demote a failure to parse JSON from homeservers in /register from an error to a warning. (#463)
  • Handle errors to contact homeservers in /unbind. This returns a better error message and reduces Sentry spam. (#466)
  • Log failures to send SMS as exceptions, not errors (to better debug in Sentry). (#467)