synapse/changelog.d
David Robertson 1bfd141205
Type hints for the remaining two files in synapse.http. (#11164)
* Teach MyPy that the sentinel context is False

This means that if `ctx: LoggingContextOrSentinel`
then `bool(ctx)` narrows us to `ctx:LoggingContext`, which is a really
neat find!

* Annotate RequestMetrics

- Raise errors for sentry if we use the sentinel context
- Ensure we don't raise an error and carry on, but not recording stats
- Include stack trace in the error case to lower Sean's blood pressure

* Make mypy pass for synapse.http.request_metrics

* Make synapse.http.connectproxyclient pass mypy

Co-authored-by: reivilibre <oliverw@matrix.org>
2021-10-28 14:14:42 +01:00
..
.gitignore Correct attrs package name in requirements (#3492) 2018-07-07 10:46:59 +10:00
10943.misc Annotate log_function decorator (#10943) 2021-10-27 17:27:23 +01:00
10969.bugfix Delete messages from device_inbox table when deleting device (#10969) 2021-10-27 16:01:18 +01:00
11126.feature Implement an on_new_event callback (#11126) 2021-10-26 15:17:36 +02:00
11151.doc docs/openid: Add Authentik documentation. (#11151) 2021-10-28 10:31:22 +00:00
11164.misc Type hints for the remaining two files in synapse.http. (#11164) 2021-10-28 14:14:42 +01:00
11166.misc Changelog 2021-10-22 23:21:40 +01:00
11187.feature Include the stable identifier for MSC3288. (#11187) 2021-10-27 14:19:19 +00:00
11191.bugfix Fixed config parse bug in review_recent_signups (#11191) 2021-10-27 17:25:18 +01:00
11194.misc Refactor Filter to handle fields according to data being filtered. (#11194) 2021-10-27 11:26:30 -04:00