Synapse v0.33.2.rc1 Release Notes
Release Date: 2018-08-07 // over 5 years ago-
๐ Features
- add support for the lazy_loaded_members filter as per MSC1227 (#2970)
- add support for the include_redundant_members filter param as per MSC1227 (#3331)
- โ Add metrics to track resource usage by background processes (#3553, #3556, #3604, #3610)
- Add
code
label tosynapse_http_server_response_time_seconds
prometheus metric (#3554) - โ Add support for client_reader to handle more APIs (#3555, #3597)
- ๐ make the /context API filter & lazy-load aware as per MSC1227 (#3567)
- โ Add ability to limit number of monthly active users on the server (#3630)
- When we fail to join a room over federation, pass the error code back to the client. (#3639)
- โ Add a new /admin/register API for non-interactively creating users. (#3415)
๐ Bugfixes
- ๐ Make /directory/list API return 404 for room not found instead of 400. Thanks to @fuzzmz! (#3620)
- Default inviter_display_name to mxid for email invites (#3391)
- Don't generate TURN credentials if no TURN config options are set (#3514)
- Correctly announce deleted devices over federation (#3520)
- ๐ฒ Catch failures saving metrics captured by Measure, and instead log the faulty metrics information for further analysis. (#3548)
- ๐ป Unicode passwords are now normalised before hashing, preventing the instance where two different devices or browsers might send a different UTF-8 sequence for the password. (#3569)
- ๐ Fix potential stack overflow and deadlock under heavy load (#3570)
- Respond with M_NOT_FOUND when profiles are not found locally or over federation. Fixes #3585 (#3585)
- ๐ Fix failure to persist events over federation under load (#3601)
- ๐ Fix updating of cached remote profiles (#3605)
- ๐ Fix 'tuple index out of range' error (#3607)
- Only import secrets when available (fix for py < 3.6) (#3626)
Internal Changes
- Remove redundant checks on who_forgot_in_room (#3350)
- โ Remove unnecessary event re-signing hacks (#3367)
- Rewrite cache list decorator (#3384)
- ๐ Move v1-only REST APIs into their own module. (#3460)
- Replace more instances of Python 2-only iteritems and itervalues uses. (#3562)
- ๐จ Refactor EventContext to accept state during init (#3577)
- ๐ Improve Dockerfile and docker-compose instructions (#3543)
- ๐ Release notes are now in the Markdown format. (#3552)
- โ add config for pep8 (#3559)
- ๐ Merge Linearizer and Limiter (#3571, #3572)
- ๐ท Lazily load state on master process when using workers to reduce DB consumption (#3579, #3581, #3582, #3584)
- Fixes and optimisations for resolve_state_groups (#3586)
- ๐ Improve logging for exceptions when handling PDUs (#3587)
- โ Add some measure blocks to persist_events (#3590)
- ๐ Fix some random logcontext leaks. (#3591, #3606)
- Speed up calculating state deltas in persist_event loop (#3592)
- Attempt to reduce amount of state pulled out of DB during persist_events (#3595)
- ๐ Fix a documentation typo in on_make_leave_request (#3609)
- ๐ Make EventStore inherit from EventFederationStore (#3612)
- Remove some redundant joins on event_edges.room_id (#3613)
- Stop populating events.content (#3614)
- Update the /send_leave path registration to use event_id rather than a transaction ID. (#3616)
- ๐จ Refactor FederationHandler to move DB writes into separate functions (#3621)
- โ Remove unused field "pdu_failures" from transactions. (#3628)
- rename replication_layer to federation_client (#3634)
- ๐ป Factor out exception handling in federation_client (#3638)
- ๐จ Refactor location of docker build script. (#3644)
- โก๏ธ Update CONTRIBUTING to mention newsfragments. (#3645)
Synapse 0.33.1 (2018-08-02)
๐ SECURITY FIXES
- ๐ Fix a potential issue where servers could request events for rooms they have not joined. (#3641)
- ๐ Fix a potential issue where users could see events in private rooms before they joined. (#3642)
Synapse 0.33.0 (2018-07-19)
๐ Bugfixes
- โ Disable a noisy warning about logcontexts. (#3561)