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 to synapse_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)