-
v0.16.0-rc266503a69 · ·
Changes in synapse v0.16.0-rc2 (2016-06-08) =========================================== Features: * Add configuration option for tuning GC via ``gc.set_threshold`` (PR #849) Changes: * Record metrics about GC (PR #771, #847, #852) * Add metric counter for number of persisted events (PR #841) Bug fixes: * Fix 'From' header in email notifications (PR #843) * Fix presence where timeouts were not being fired for the first 8h after restarts (PR #842) * Fix bug where synapse sent malformed transactions to AS's when retrying transactions (Commits 310197b, 8437906) Performance Improvements: * Remove event fetching from DB threads (PR #835) * Change the way we cache events (PR #836) * Add events to cache when we persist them (PR #840)
-
v0.16.0-rc1c11614bc · ·
Changes in synapse v0.16.0-rc1 (2016-06-03) =========================================== Version 0.15 was not released. See v0.15.0-rc1 below for additional changes. Features: * Add email notifications for missed messages (PR #759, #786, #799, #810, #815, #821) * Add a ``url_preview_ip_range_whitelist`` config param (PR #760) * Add /report endpoint (PR #762) * Add basic ignore user API (PR #763) * Add an openidish mechanism for proving that you own a given user_id (PR #765) * Allow clients to specify a server_name to avoid 'No known servers' (PR #794) * Add secondary_directory_servers option to fetch room list from other servers (PR #808, #813) Changes: * Report per request metrics for all of the things using request_handler (PR #756) * Correctly handle ``NULL`` password hashes from the database (PR #775) * Allow receipts for events we haven't seen in the db (PR #784) * Make synctl read a cache factor from config file (PR #785) * Increment badge count per missed convo, not per msg (PR #793) * Special case m.room.third_party_invite event auth to match invites (PR #814) Bug fixes: * Fix typo in event_auth servlet path (PR #757) * Fix password reset (PR #758) Performance improvements: * Reduce database inserts when sending transactions (PR #767) * Queue events by room for persistence (PR #768) * Add cache to ``get_user_by_id`` (PR #772) * Add and use ``get_domain_from_id`` (PR #773) * Use tree cache for ``get_linearized_receipts_for_room`` (PR #779) * Remove unused indices (PR #782) * Add caches to ``bulk_get_push_rules*`` (PR #804) * Cache ``get_event_reference_hashes`` (PR #806) * Add ``get_users_with_read_receipts_in_room`` cache (PR #809) * Use state to calculate ``get_users_in_room`` (PR #811) * Load push rules in storage layer so that they get cached (PR #825) * Make ``get_joined_hosts_for_room`` use get_users_in_room (PR #828) * Poke notifier on next reactor tick (PR #829) * Change CacheMetrics to be quicker (PR #830)
-
v0.15.0-rc15164ccc3 · ·
Changes in synapse v0.15.0-rc1 (2016-04-26) =========================================== Features: * Add login support for Javascript Web Tokens, thanks to Niklas Riekenbrauck (PR #671,#687) * Add URL previewing support (PR #688) * Add login support for LDAP, thanks to Christoph Witzany (PR #701) * Add GET endpoint for pushers (PR #716) Changes: * Never notify for member events (PR #667) * Deduplicate identical ``/sync`` requests (PR #668) * Require user to have left room to forget room (PR #673) * Use DNS cache if within TTL (PR #677) * Let users see their own leave events (PR #699) * Deduplicate membership changes (PR #700) * Increase performance of pusher code (PR #705) * Respond with error status 504 if failed to talk to remote server (PR #731) * Increase search performance on postgres (PR #745) Bug fixes: * Fix bug where disabling all notifications still resulted in push (PR #678) * Fix bug where users couldn't reject remote invites if remote refused (PR #691) * Fix bug where synapse attempted to backfill from itself (PR #693) * Fix bug where profile information was not correctly added when joining remote rooms (PR #703) * Fix bug where register API required incorrect key name for AS registration (PR #727)
-
v0.14.05fbdf2bc · ·
Changes in synapse v0.14.0 (2016-03-30) ======================================= No changes from v0.14.0-rc2 Changes in synapse v0.14.0-rc2 (2016-03-23) =========================================== Features: * Add published room list API (PR #657) Changes: * Change various caches to consume less memory (PR #656, #658, #660, #662, #663, #665) * Allow rooms to be published without requiring an alias (PR #664) * Intern common strings in caches to reduce memory footprint (#666) Bug fixes: * Fix reject invites over federation (PR #646) * Fix bug where registration was not idempotent (PR #649) * Update aliases event after deleting aliases (PR #652) * Fix unread notification count, which was sometimes wrong (PR #661) Changes in synapse v0.14.0-rc1 (2016-03-14) =========================================== Features: * Add event_id to response to state event PUT (PR #581) * Allow guest users access to messages in rooms they have joined (PR #587) * Add config for what state is included in a room invite (PR #598) * Send the inviter's member event in room invite state (PR #607) * Add error codes for malformed/bad JSON in /login (PR #608) * Add support for changing the actions for default rules (PR #609) * Add environment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 (PR #612) * Add ability for alias creators to delete aliases (PR #614) * Add profile information to invites (PR #624) Changes: * Enforce user_id exclusivity for AS registrations (PR #572) * Make adding push rules idempotent (PR #587) * Improve presence performance (PR #582, #586) * Change presence semantics for ``last_active_ago`` (PR #582, #586) * Don't allow ``m.room.create`` to be changed (PR #596) * Add 800x600 to default list of valid thumbnail sizes (PR #616) * Always include kicks and bans in full /sync (PR #625) * Send history visibility on boundary changes (PR #626) * Register endpoint now returns a refresh_token (PR #637) Bug fixes: * Fix bug where we returned incorrect state in /sync (PR #573) * Always return a JSON object from push rule API (PR #606) * Fix bug where registering without a user id sometimes failed (PR #610) * Report size of ExpiringCache in cache size metrics (PR #611) * Fix rejection of invites to empty rooms (PR #615) * Fix usage of ``bcrypt`` to not use ``checkpw`` (PR #619) * Pin ``pysaml2`` dependency (PR #634) * Fix bug in ``/sync`` where timeline order was incorrect for backfilled events (PR #635)
-
v0.14.0-rc215844040 · ·
Changes in synapse v0.14.0-rc2 (2016-03-23) =========================================== Features: * Add published room list API (PR #657) Changes: * Change various caches to consume less memory (PR #656, #658, #660, #662, #663, #665) * Allow rooms to be published without requiring an alias (PR #664) * Intern common strings in caches to reduce memory footprint (#666) Bug fixes: * Fix reject invites over federation (PR #646) * Fix bug where registration was not idempotent (PR #649) * Update aliases event after deleting aliases (PR #652) * Fix unread notification count, which was sometimes wrong (PR #661)
-
v0.14.0-rc15ca695cc · ·
Changes in synapse v0.14.0-rc1 (2016-03-14) =========================================== Features: * Add event_id to response to state event PUT (PR #581) * Allow guest users access to messages in rooms they have joined (PR #587) * Add config for what state is included in a room invite (PR #598) * Send the inviter's member event in room invite state (PR #607) * Add error codes for malformed/bad JSON in /login (PR #608) * Add support for changing the actions for default rules (PR #609) * Add environment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 (PR #612) * Add ability for alias creators to delete aliases (PR #614) * Add profile information to invites (PR #624) Changes: * Enforce user_id exclusivity for AS registrations (PR #572) * Make adding push rules idempotent (PR #587) * Improve presence performance (PR #582, #586) * Change presence semantics for ``last_active_ago`` (PR #582, #586) * Don't allow ``m.room.create`` to be changed (PR #596) * Add 800x600 to default list of valid thumbnail sizes (PR #616) * Always include kicks and bans in full /sync (PR #625) * Send history visibility on boundary changes (PR #626) * Register endpoint now returns a refresh_token (PR #637) Bug fixes: * Fix bug where we returned incorrect state in /sync (PR #573) * Always return a JSON object from push rule API (PR #606) * Fix bug where registering without a user id sometimes failed (PR #610) * Report size of ExpiringCache in cache size metrics (PR #611) * Fix rejection of invites to empty rooms (PR #615) * Fix usage of ``bcrypt`` to not use ``checkpw`` (PR #619) * Pin ``pysaml2`` dependency (PR #634) * Fix bug in ``/sync`` where timeline order was incorrect for backfilled events (PR #635)
-
v0.13.0907c1faf · ·
Changes in synapse v0.13.0 (2016-02-10) ======================================= This version includes an upgrade of the schema, specifically adding an index to the ``events`` table. This may cause synapse to pause for several minutes the first time it is started after the upgrade. Changes: * Improve general performance (PR #540, #543. #544, #54, #549, #567) * Change guest user ids to be incrementing integers (PR #550) * Improve performance of public room list API (PR #552) * Change profile API to omit keys rather than return null (PR #557) * Add ``/media/r0`` endpoint prefix, which is equivalent to ``/media/v1/`` (PR #595) Bug fixes: * Fix bug with upgrading guest accounts where it would fail if you opened the registration email on a different device (PR #547) * Fix bug where unread count could be wrong (PR #568) Changes in synapse v0.12.1-rc1 (2016-01-29) =========================================== Features: * Add unread notification counts in ``/sync`` (PR #456) * Add support for inviting 3pids in ``/createRoom`` (PR #460) * Add ability for guest accounts to upgrade (PR #462) * Add ``/versions`` API (PR #468) * Add ``event`` to ``/context`` API (PR #492) * Add specific error code for invalid user names in ``/register`` (PR #499) * Add support for push badge counts (PR #507) * Add support for non-guest users to peek in rooms using ``/events`` (PR #510) Changes: * Change ``/sync`` so that guest users only get rooms they've joined (PR #469) * Change to require unbanning before other membership changes (PR #501) * Change default push rules to notify for all messages (PR #486) * Change default push rules to not notify on membership changes (PR #514) * Change default push rules in one to one rooms to only notify for events that are messages (PR #529) * Change ``/sync`` to reject requests with a ``from`` query param (PR #512) * Change server manhole to use SSH rather than telnet (PR #473) * Change server to require AS users to be registered before use (PR #487) * Change server not to start when ASes are invalidly configured (PR #494) * Change server to require ID and ``as_token`` to be unique for AS's (PR #496) * Change maximum pagination limit to 1000 (PR #497) Bug fixes: * Fix bug where ``/sync`` didn't return when something under the leave key changed (PR #461) * Fix bug where we returned smaller rather than larger than requested thumbnails when ``method=crop`` (PR #464) * Fix thumbnails API to only return cropped thumbnails when asking for a cropped thumbnail (PR #475) * Fix bug where we occasionally still logged access tokens (PR #477) * Fix bug where ``/events`` would always return immediately for guest users (PR #480) * Fix bug where ``/sync`` unexpectedly returned old left rooms (PR #481) * Fix enabling and disabling push rules (PR #498) * Fix bug where ``/register`` returned 500 when given unicode username (PR #513)Changes in synapse v0.13.0 (2016-02-10) ======================================= This version includes an upgrade of the schema, specifically adding an index to the ``events`` table. This may cause synapse to pause for several minutes the first time it is started after the upgrade. Changes: * Improve general performance (PR #540, #543. #544, #54, #549, #567) * Change guest user ids to be incrementing integers (PR #550) * Improve performance of public room list API (PR #552) * Change profile API to omit keys rather than return null (PR #557) * Add ``/media/r0`` endpoint prefix, which is equivalent to ``/media/v1/`` (PR #595) Bug fixes: * Fix bug with upgrading guest accounts where it would fail if you opened the registration email on a different device (PR #547) * Fix bug where unread count could be wrong (PR #568) Changes in synapse v0.12.1-rc1 (2016-01-29) =========================================== Features: * Add unread notification counts in ``/sync`` (PR #456) * Add support for inviting 3pids in ``/createRoom`` (PR #460) * Add ability for guest accounts to upgrade (PR #462) * Add ``/versions`` API (PR #468) * Add ``event`` to ``/context`` API (PR #492) * Add specific error code for invalid user names in ``/register`` (PR #499) * Add support for push badge counts (PR #507) * Add support for non-guest users to peek in rooms using ``/events`` (PR #510) Changes: * Change ``/sync`` so that guest users only get rooms they've joined (PR #469) * Change to require unbanning before other membership changes (PR #501) * Change default push rules to notify for all messages (PR #486) * Change default push rules to not notify on membership changes (PR #514) * Change default push rules in one to one rooms to only notify for events that are messages (PR #529) * Change ``/sync`` to reject requests with a ``from`` query param (PR #512) * Change server manhole to use SSH rather than telnet (PR #473) * Change server to require AS users to be registered before use (PR #487) * Change server not to start when ASes are invalidly configured (PR #494) * Change server to require ID and ``as_token`` to be unique for AS's (PR #496) * Change maximum pagination limit to 1000 (PR #497) Bug fixes: * Fix bug where ``/sync`` didn't return when something under the leave key changed (PR #461) * Fix bug where we returned smaller rather than larger than requested thumbnails when ``method=crop`` (PR #464) * Fix thumbnails API to only return cropped thumbnails when asking for a cropped thumbnail (PR #475) * Fix bug where we occasionally still logged access tokens (PR #477) * Fix bug where ``/events`` would always return immediately for guest users (PR #480) * Fix bug where ``/sync`` unexpectedly returned old left rooms (PR #481) * Fix enabling and disabling push rules (PR #498) * Fix bug where ``/register`` returned 500 when given unicode username (PR #513)
-
v0.12.1-rc196bb4bf3 · ·
Changes in synapse v0.12.1-rc1 (2016-01-29) =========================================== Features: * Add unread notification counts in ``/sync`` (PR #456) * Add support for inviting 3pids in ``/createRoom`` (PR #460) * Add ability for guest accounts to upgrade (PR #462) * Add ``/versions`` API (PR #468) * Add ``event`` to ``/context`` API (PR #492) * Add specific error code for invalid user names in ``/register`` (PR #499) * Add support for push badge counts (PR #507) * Add support for non-guest users to peek in rooms using ``/events`` (PR #510) Changes: * Change ``/sync`` so that guest users only get rooms they've joined (PR #469) * Change to require unbanning before other membership changes (PR #501) * Change default push rules to notify for all messages (PR #486) * Change default push rules to not notify on membership changes (PR #514) * Change default push rules in one to one rooms to only notify for events that are messages (PR #529) * Change ``/sync`` to reject requests with a ``from`` query param (PR #512) * Change server manhole to use SSH rather than telnet (PR #473) * Change server to require AS users to be registered before use (PR #487) * Change server not to start when ASes are invalidly configured (PR #494) * Change server to require ID and ``as_token`` to be unique for AS's (PR #496) * Change maximum pagination limit to 1000 (PR #497) Bug fixes: * Fix bug where ``/sync`` didn't return when something under the leave key changed (PR #461) * Fix bug where we returned smaller rather than larger than requested thumbnails when ``method=crop`` (PR #464) * Fix thumbnails API to only return cropped thumbnails when asking for a cropped thumbnail (PR #475) * Fix bug where we occasionally still logged access tokens (PR #477) * Fix bug where ``/events`` would always return immediately for guest users (PR #480) * Fix bug where ``/sync`` unexpectedly returned old left rooms (PR #481) * Fix enabling and disabling push rules (PR #498) * Fix bug where ``/register`` returned 500 when given unicode username (PR #513)
-
v0.12.0f35f8d06 · ·
Changes in synapse v0.12.0 (2016-01-04) ======================================= * Expose ``/login`` under ``r0`` (PR #459) Changes in synapse v0.12.0-rc3 (2015-12-23) =========================================== * Allow guest accounts access to ``/sync`` (PR #455) * Allow filters to include/exclude rooms at the room level rather than just from the components of the sync for each room. (PR #454) * Include urls for room avatars in the response to ``/publicRooms`` (PR #453) * Don't set a identicon as the avatar for a user when they register (PR #450) * Add a ``display_name`` to third-party invites (PR #449) * Send more information to the identity server for third-party invites so that it can send richer messages to the invitee (PR #446) * Cache the responses to ``/intialSync`` for 5 minutes. If a client retries a request to ``/initialSync`` before the a response was computed to the first request then the same response is used for both requests (PR #457) * Fix a bug where synapse would always request the signing keys of remote servers even when the key was cached locally (PR #452) * Fix 500 when pagination search results (PR #447) * Fix a bug where synapse was leaking raw email address in third-party invites (PR #448) Changes in synapse v0.12.0-rc2 (2015-12-14) =========================================== * Add caches for whether rooms have been forgotten by a user (PR #434) * Remove instructions to use ``--process-dependency-link`` since all of the dependencies of synapse are on PyPI (PR #436) * Parallelise the processing of ``/sync`` requests (PR #437) * Fix race updating presence in ``/events`` (PR #444) * Fix bug back-populating search results (PR #441) * Fix bug calculating state in ``/sync`` requests (PR #442) Changes in synapse v0.12.0-rc1 (2015-12-10) =========================================== * Host the client APIs released as r0 by https://matrix.org/docs/spec/r0.0.0/client_server.html on paths prefixed by ``/_matrix/client/r0``. (PR #430, PR #415, PR #400) * Updates the client APIs to match r0 of the matrix specification. * All APIs return events in the new event format, old APIs also include the fields needed to parse the event using the old format for compatibility. (PR #402) * Search results are now given as a JSON array rather than a JSON object (PR #405) * Miscellaneous changes to search (PR #403, PR #406, PR #412) * Filter JSON objects may now be passed as query parameters to ``/sync`` (PR #431) * Fix implementation of ``/admin/whois`` (PR #418) * Only include the rooms that user has left in ``/sync`` if the client requests them in the filter (PR #423) * Don't push for ``m.room.message`` by default (PR #411) * Add API for setting per account user data (PR #392) * Allow users to forget rooms (PR #385) * Performance improvements and monitoring: * Add per-request counters for CPU time spent on the main python thread. (PR #421, PR #420) * Add per-request counters for time spent in the database (PR #429) * Make state updates in the C+S API idempotent (PR #416) * Only fire ``user_joined_room`` if the user has actually joined. (PR #410) * Reuse a single http client, rather than creating new ones (PR #413) * Fixed a bug upgrading from older versions of synapse on postgresql (PR #417)
-
v0.12.0-rc3c6e79c84 · ·
Changes in synapse v0.12.0-rc3 (2015-12-23) =========================================== * Allow guest accounts access to ``/sync`` (PR #455) * Allow filters to include/exclude rooms at the room level rather than just from the components of the sync for each room. (PR #454) * Include urls for room avatars in the response to ``/publicRooms`` (PR #453) * Don't set a identicon as the avatar for a user when they register (PR #450) * Add a ``display_name`` to third-party invites (PR #449) * Send more information to the identity server for third-party invites so that it can send richer messages to the invitee (PR #446) * Cache the responses to ``/intialSync`` for 5 minutes. If a client retries a request to ``/initialSync`` before the a response was computed to the first request then the same response is used for both requests (PR #457) * Fix a bug where synapse would always request the signing keys of remote servers even when the key was cached locally (PR #452) * Fix 500 when pagination search results (PR #447) * Fix a bug where synapse was leaking raw email address in third-party invites (PR #448)
-
v0.12.0-rc263fdd9fe · ·
Changes in synapse v0.12.0-rc2 (2015-12-14) =========================================== * Add caches for whether rooms have been forgotten by a user (PR #434) * Remove instructions to use ``--process-dependency-link`` since all of the dependencies of synapse are on PyPI (PR #436) * Parallelise the processing of ``/sync`` requests (PR #437) * Fix race updating presence in ``/events`` (PR #444) * Fix bug back-populating search results (PR #441) * Fix bug calculating state in ``/sync`` requests (PR #442)
-
v0.12.0-rc1a8589d1f · ·
Changes in synapse v0.12.0-rc1 (2015-12-10) =========================================== * Host the client APIs released as r0 by https://matrix.org/docs/spec/r0.0.0/client_server.html on paths prefixed by ``/_matrix/client/r0``. (PR #430, PR #415, PR #400) * Updates the client APIs to match r0 of the matrix specification. * All APIs return events in the new event format, old APIs also include the fields needed to parse the event using the old format for compatibility. (PR #402) * Search results are now given as a JSON array rather than a JSON object (PR #405) * Miscellaneous changes to search (PR #403, PR #406, PR #412) * Filter JSON objects may now be passed as query parameters to ``/sync`` (PR #431) * Fix implementation of ``/admin/whois`` (PR #418) * Only include the rooms that user has left in ``/sync`` if the client requests them in the filter (PR #423) * Don't push for ``m.room.message`` by default (PR #411) * Add API for setting per account user data (PR #392) * Allow users to forget rooms (PR #385) * Performance improvements and monitoring: * Add per-request counters for CPU time spent on the main python thread. (PR #421, PR #420) * Add per-request counters for time spent in the database (PR #429) * Make state updates in the C+S API idempotent (PR #416) * Only fire ``user_joined_room`` if the user has actually joined. (PR #410) * Reuse a single http client, rather than creating new ones (PR #413)
-
v0.11.12ca01ed7 · ·
Changes in synapse v0.11.1 (2015-11-20) ======================================= * Add extra options to search API (PR #394) * Fix bug where we did not correctly cap federation retry timers. This meant it could take several hours for servers to start talking to ressurected servers, even when they were receiving traffic from them (PR #393) * Don't advertise login token flow unless CAS is enabled. This caused issues where some clients would always use the fallback API if they did not recognize all login flows (PR #391) * Change /v2 sync API to rename ``private_user_data`` to ``account_data`` (PR #386) * Change /v2 sync API to remove the ``event_map`` and rename keys in ``rooms`` object (PR #389)
-
v0.11.0-r2f9d9bd6a · ·
Changes in synapse v0.11.0-r2 (2015-11-19) ========================================== * Fix bug in database port script (PR #387)
-
v0.11.0-r1915e56e1 · ·
Changes in synapse v0.11.0-r1 (2015-11-18) ========================================== * Retry and fail federation requests more aggressively for requests that block client side requests (PR #384)
-
v0.11.0d3861b44 · ·
Changes in synapse v0.11.0 (2015-11-17) ======================================= * Change CAS login API (PR #349) Changes in synapse v0.11.0-rc2 (2015-11-13) =========================================== * Various changes to /sync API response format (PR #373) * Fix regression when setting display name in newly joined room over federation (PR #368) * Fix problem where /search was slow when using SQLite (PR #366) Changes in synapse v0.11.0-rc1 (2015-11-11) =========================================== * Add Search API (PR #307, #324, #327, #336, #350, #359) * Add 'archived' state to v2 /sync API (PR #316) * Add ability to reject invites (PR #317) * Add config option to disable password login (PR #322) * Add the login fallback API (PR #330) * Add room context API (PR #334) * Add room tagging support (PR #335) * Update v2 /sync API to match spec (PR #305, #316, #321, #332, #337, #341) * Change retry schedule for application services (PR #320) * Change retry schedule for remote servers (PR #340) * Fix bug where we hosted static content in the incorrect place (PR #329) * Fix bug where we didn't increment retry interval for remote servers (PR #343) Changes in synapse v0.10.1-rc1 (2015-10-15) =========================================== * Add support for CAS, thanks to Steven Hammerton (PR #295, #296) * Add support for using macaroons for ``access_token`` (PR #256, #229) * Add support for ``m.room.canonical_alias`` (PR #287) * Add support for viewing the history of rooms that they have left. (PR #276, #294) * Add support for refresh tokens (PR #240) * Add flag on creation which disables federation of the room (PR #279) * Add some room state to invites. (PR #275) * Atomically persist events when joining a room over federation (PR #283) * Change default history visibility for private rooms (PR #271) * Allow users to redact their own sent events (PR #262) * Use tox for tests (PR #247) * Split up syutil into separate libraries (PR #243)
-
v0.11.0-rc20644f0eb · ·
Changes in synapse v0.11.0-rc2 (2015-11-13) =========================================== * Various changes to /sync API response format (PR #373) * Fix regression when setting display name in newly joined room over federation (PR #368) * Fix problem where /search was slow when using SQLite (PR #366)