CHANGES.rst 99 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830
  1. Synapse 0.32.1 (2018-07-06)
  2. ===========================
  3. Bugfixes
  4. --------
  5. - Add explicit dependency on netaddr (`#3488 <https://github.com/matrix-org/synapse/issues/3488>`_)
  6. Changes in synapse v0.32.0 (2018-07-06)
  7. ===========================================
  8. No changes since 0.32.0rc1
  9. Synapse 0.32.0rc1 (2018-07-05)
  10. ==============================
  11. Features
  12. --------
  13. - Add blacklist & whitelist of servers allowed to send events to a room via ``m.room.server_acl`` event.
  14. - Cache factor override system for specific caches (`#3334 <https://github.com/matrix-org/synapse/issues/3334>`_)
  15. - Add metrics to track appservice transactions (`#3344 <https://github.com/matrix-org/synapse/issues/3344>`_)
  16. - Try to log more helpful info when a sig verification fails (`#3372 <https://github.com/matrix-org/synapse/issues/3372>`_)
  17. - Synapse now uses the best performing JSON encoder/decoder according to your runtime (simplejson on CPython, stdlib json on PyPy). (`#3462 <https://github.com/matrix-org/synapse/issues/3462>`_)
  18. - Add optional ip_range_whitelist param to AS registration files to lock AS IP access (`#3465 <https://github.com/matrix-org/synapse/issues/3465>`_)
  19. - Reject invalid server names in federation requests (`#3480 <https://github.com/matrix-org/synapse/issues/3480>`_)
  20. - Reject invalid server names in homeserver.yaml (`#3483 <https://github.com/matrix-org/synapse/issues/3483>`_)
  21. Bugfixes
  22. --------
  23. - Strip access_token from outgoing requests (`#3327 <https://github.com/matrix-org/synapse/issues/3327>`_)
  24. - Redact AS tokens in logs (`#3349 <https://github.com/matrix-org/synapse/issues/3349>`_)
  25. - Fix federation backfill from SQLite servers (`#3355 <https://github.com/matrix-org/synapse/issues/3355>`_)
  26. - Fix event-purge-by-ts admin API (`#3363 <https://github.com/matrix-org/synapse/issues/3363>`_)
  27. - Fix event filtering in get_missing_events handler (`#3371 <https://github.com/matrix-org/synapse/issues/3371>`_)
  28. - Synapse is now stricter regarding accepting events which it cannot retrieve the prev_events for. (`#3456 <https://github.com/matrix-org/synapse/issues/3456>`_)
  29. - Fix bug where synapse would explode when receiving unicode in HTTP User-Agent header (`#3470 <https://github.com/matrix-org/synapse/issues/3470>`_)
  30. - Invalidate cache on correct thread to avoid race (`#3473 <https://github.com/matrix-org/synapse/issues/3473>`_)
  31. Improved Documentation
  32. ----------------------
  33. - ``doc/postgres.rst``: fix display of the last command block. Thanks to @ArchangeGabriel! (`#3340 <https://github.com/matrix-org/synapse/issues/3340>`_)
  34. Deprecations and Removals
  35. -------------------------
  36. - Remove was_forgotten_at (`#3324 <https://github.com/matrix-org/synapse/issues/3324>`_)
  37. Misc
  38. ----
  39. - `#3332 <https://github.com/matrix-org/synapse/issues/3332>`_, `#3341 <https://github.com/matrix-org/synapse/issues/3341>`_, `#3347 <https://github.com/matrix-org/synapse/issues/3347>`_, `#3348 <https://github.com/matrix-org/synapse/issues/3348>`_, `#3356 <https://github.com/matrix-org/synapse/issues/3356>`_, `#3385 <https://github.com/matrix-org/synapse/issues/3385>`_, `#3446 <https://github.com/matrix-org/synapse/issues/3446>`_, `#3447 <https://github.com/matrix-org/synapse/issues/3447>`_, `#3467 <https://github.com/matrix-org/synapse/issues/3467>`_, `#3474 <https://github.com/matrix-org/synapse/issues/3474>`_
  40. Changes in synapse v0.31.2 (2018-06-14)
  41. =======================================
  42. SECURITY UPDATE: Prevent unauthorised users from setting state events in a room
  43. when there is no ``m.room.power_levels`` event in force in the room. (PR #3397)
  44. Discussion around the Matrix Spec change proposal for this change can be
  45. followed at https://github.com/matrix-org/matrix-doc/issues/1304.
  46. Changes in synapse v0.31.1 (2018-06-08)
  47. =======================================
  48. v0.31.1 fixes a security bug in the ``get_missing_events`` federation API
  49. where event visibility rules were not applied correctly.
  50. We are not aware of it being actively exploited but please upgrade asap.
  51. Bug Fixes:
  52. * Fix event filtering in get_missing_events handler (PR #3371)
  53. Changes in synapse v0.31.0 (2018-06-06)
  54. =======================================
  55. Most notable change from v0.30.0 is to switch to the python prometheus library to improve system
  56. stats reporting. WARNING: this changes a number of prometheus metrics in a
  57. backwards-incompatible manner. For more details, see
  58. `docs/metrics-howto.rst <docs/metrics-howto.rst#removal-of-deprecated-metrics--time-based-counters-becoming-histograms-in-0310>`_.
  59. Bug Fixes:
  60. * Fix metric documentation tables (PR #3341)
  61. * Fix LaterGauge error handling (694968f)
  62. * Fix replication metrics (b7e7fd2)
  63. Changes in synapse v0.31.0-rc1 (2018-06-04)
  64. ==========================================
  65. Features:
  66. * Switch to the Python Prometheus library (PR #3256, #3274)
  67. * Let users leave the server notice room after joining (PR #3287)
  68. Changes:
  69. * daily user type phone home stats (PR #3264)
  70. * Use iter* methods for _filter_events_for_server (PR #3267)
  71. * Docs on consent bits (PR #3268)
  72. * Remove users from user directory on deactivate (PR #3277)
  73. * Avoid sending consent notice to guest users (PR #3288)
  74. * disable CPUMetrics if no /proc/self/stat (PR #3299)
  75. * Consistently use six's iteritems and wrap lazy keys/values in list() if they're not meant to be lazy (PR #3307)
  76. * Add private IPv6 addresses to example config for url preview blacklist (PR #3317) Thanks to @thegcat!
  77. * Reduce stuck read-receipts: ignore depth when updating (PR #3318)
  78. * Put python's logs into Trial when running unit tests (PR #3319)
  79. Changes, python 3 migration:
  80. * Replace some more comparisons with six (PR #3243) Thanks to @NotAFile!
  81. * replace some iteritems with six (PR #3244) Thanks to @NotAFile!
  82. * Add batch_iter to utils (PR #3245) Thanks to @NotAFile!
  83. * use repr, not str (PR #3246) Thanks to @NotAFile!
  84. * Misc Python3 fixes (PR #3247) Thanks to @NotAFile!
  85. * Py3 storage/_base.py (PR #3278) Thanks to @NotAFile!
  86. * more six iteritems (PR #3279) Thanks to @NotAFile!
  87. * More Misc. py3 fixes (PR #3280) Thanks to @NotAFile!
  88. * remaining isintance fixes (PR #3281) Thanks to @NotAFile!
  89. * py3-ize state.py (PR #3283) Thanks to @NotAFile!
  90. * extend tox testing for py3 to avoid regressions (PR #3302) Thanks to @krombel!
  91. * use memoryview in py3 (PR #3303) Thanks to @NotAFile!
  92. Bugs:
  93. * Fix federation backfill bugs (PR #3261)
  94. * federation: fix LaterGauge usage (PR #3328) Thanks to @intelfx!
  95. Changes in synapse v0.30.0 (2018-05-24)
  96. ==========================================
  97. 'Server Notices' are a new feature introduced in Synapse 0.30. They provide a
  98. channel whereby server administrators can send messages to users on the server.
  99. They are used as part of communication of the server policies (see ``docs/consent_tracking.md``),
  100. however the intention is that they may also find a use for features such
  101. as "Message of the day".
  102. This feature is specific to Synapse, but uses standard Matrix communication mechanisms,
  103. so should work with any Matrix client. For more details see ``docs/server_notices.md``
  104. Further Server Notices/Consent Tracking Support:
  105. * Allow overriding the server_notices user's avatar (PR #3273)
  106. * Use the localpart in the consent uri (PR #3272)
  107. * Support for putting %(consent_uri)s in messages (PR #3271)
  108. * Block attempts to send server notices to remote users (PR #3270)
  109. * Docs on consent bits (PR #3268)
  110. Changes in synapse v0.30.0-rc1 (2018-05-23)
  111. ==========================================
  112. Server Notices/Consent Tracking Support:
  113. * ConsentResource to gather policy consent from users (PR #3213)
  114. * Move RoomCreationHandler out of synapse.handlers.Handlers (PR #3225)
  115. * Infrastructure for a server notices room (PR #3232)
  116. * Send users a server notice about consent (PR #3236)
  117. * Reject attempts to send event before privacy consent is given (PR #3257)
  118. * Add a 'has_consented' template var to consent forms (PR #3262)
  119. * Fix dependency on jinja2 (PR #3263)
  120. Features:
  121. * Cohort analytics (PR #3163, #3241, #3251)
  122. * Add lxml to docker image for web previews (PR #3239) Thanks to @ptman!
  123. * Add in flight request metrics (PR #3252)
  124. Changes:
  125. * Remove unused `update_external_syncs` (PR #3233)
  126. * Use stream rather depth ordering for push actions (PR #3212)
  127. * Make purge_history operate on tokens (PR #3221)
  128. * Don't support limitless pagination (PR #3265)
  129. Bug Fixes:
  130. * Fix logcontext resource usage tracking (PR #3258)
  131. * Fix error in handling receipts (PR #3235)
  132. * Stop the transaction cache caching failures (PR #3255)
  133. Changes in synapse v0.29.1 (2018-05-17)
  134. ==========================================
  135. Changes:
  136. * Update docker documentation (PR #3222)
  137. Changes in synapse v0.29.0 (2018-05-16)
  138. ===========================================
  139. Not changes since v0.29.0-rc1
  140. Changes in synapse v0.29.0-rc1 (2018-05-14)
  141. ===========================================
  142. Notable changes, a docker file for running Synapse (Thanks to @kaiyou!) and a
  143. closed spec bug in the Client Server API. Additionally further prep for Python 3
  144. migration.
  145. Potentially breaking change:
  146. * Make Client-Server API return 401 for invalid token (PR #3161).
  147. This changes the Client-server spec to return a 401 error code instead of 403
  148. when the access token is unrecognised. This is the behaviour required by the
  149. specification, but some clients may be relying on the old, incorrect
  150. behaviour.
  151. Thanks to @NotAFile for fixing this.
  152. Features:
  153. * Add a Dockerfile for synapse (PR #2846) Thanks to @kaiyou!
  154. Changes - General:
  155. * nuke-room-from-db.sh: added postgresql option and help (PR #2337) Thanks to @rubo77!
  156. * Part user from rooms on account deactivate (PR #3201)
  157. * Make 'unexpected logging context' into warnings (PR #3007)
  158. * Set Server header in SynapseRequest (PR #3208)
  159. * remove duplicates from groups tables (PR #3129)
  160. * Improve exception handling for background processes (PR #3138)
  161. * Add missing consumeErrors to improve exception handling (PR #3139)
  162. * reraise exceptions more carefully (PR #3142)
  163. * Remove redundant call to preserve_fn (PR #3143)
  164. * Trap exceptions thrown within run_in_background (PR #3144)
  165. Changes - Refactors:
  166. * Refactor /context to reuse pagination storage functions (PR #3193)
  167. * Refactor recent events func to use pagination func (PR #3195)
  168. * Refactor pagination DB API to return concrete type (PR #3196)
  169. * Refactor get_recent_events_for_room return type (PR #3198)
  170. * Refactor sync APIs to reuse pagination API (PR #3199)
  171. * Remove unused code path from member change DB func (PR #3200)
  172. * Refactor request handling wrappers (PR #3203)
  173. * transaction_id, destination defined twice (PR #3209) Thanks to @damir-manapov!
  174. * Refactor event storage to prepare for changes in state calculations (PR #3141)
  175. * Set Server header in SynapseRequest (PR #3208)
  176. * Use deferred.addTimeout instead of time_bound_deferred (PR #3127, #3178)
  177. * Use run_in_background in preference to preserve_fn (PR #3140)
  178. Changes - Python 3 migration:
  179. * Construct HMAC as bytes on py3 (PR #3156) Thanks to @NotAFile!
  180. * run config tests on py3 (PR #3159) Thanks to @NotAFile!
  181. * Open certificate files as bytes (PR #3084) Thanks to @NotAFile!
  182. * Open config file in non-bytes mode (PR #3085) Thanks to @NotAFile!
  183. * Make event properties raise AttributeError instead (PR #3102) Thanks to @NotAFile!
  184. * Use six.moves.urlparse (PR #3108) Thanks to @NotAFile!
  185. * Add py3 tests to tox with folders that work (PR #3145) Thanks to @NotAFile!
  186. * Don't yield in list comprehensions (PR #3150) Thanks to @NotAFile!
  187. * Move more xrange to six (PR #3151) Thanks to @NotAFile!
  188. * make imports local (PR #3152) Thanks to @NotAFile!
  189. * move httplib import to six (PR #3153) Thanks to @NotAFile!
  190. * Replace stringIO imports with six (PR #3154, #3168) Thanks to @NotAFile!
  191. * more bytes strings (PR #3155) Thanks to @NotAFile!
  192. Bug Fixes:
  193. * synapse fails to start under Twisted >= 18.4 (PR #3157)
  194. * Fix a class of logcontext leaks (PR #3170)
  195. * Fix a couple of logcontext leaks in unit tests (PR #3172)
  196. * Fix logcontext leak in media repo (PR #3174)
  197. * Escape label values in prometheus metrics (PR #3175, #3186)
  198. * Fix 'Unhandled Error' logs with Twisted 18.4 (PR #3182) Thanks to @Half-Shot!
  199. * Fix logcontext leaks in rate limiter (PR #3183)
  200. * notifications: Convert next_token to string according to the spec (PR #3190) Thanks to @mujx!
  201. * nuke-room-from-db.sh: fix deletion from search table (PR #3194) Thanks to @rubo77!
  202. * add guard for None on purge_history api (PR #3160) Thanks to @krombel!
  203. Changes in synapse v0.28.1 (2018-05-01)
  204. =======================================
  205. SECURITY UPDATE
  206. * Clamp the allowed values of event depth received over federation to be
  207. [0, 2^63 - 1]. This mitigates an attack where malicious events
  208. injected with depth = 2^63 - 1 render rooms unusable. Depth is used to
  209. determine the cosmetic ordering of events within a room, and so the ordering
  210. of events in such a room will default to using stream_ordering rather than depth
  211. (topological_ordering).
  212. This is a temporary solution to mitigate abuse in the wild, whilst a long term solution
  213. is being implemented to improve how the depth parameter is used.
  214. Full details at
  215. https://docs.google.com/document/d/1I3fi2S-XnpO45qrpCsowZv8P8dHcNZ4fsBsbOW7KABI
  216. * Pin Twisted to <18.4 until we stop using the private _OpenSSLECCurve API.
  217. Changes in synapse v0.28.0 (2018-04-26)
  218. =======================================
  219. Bug Fixes:
  220. * Fix quarantine media admin API and search reindex (PR #3130)
  221. * Fix media admin APIs (PR #3134)
  222. Changes in synapse v0.28.0-rc1 (2018-04-24)
  223. ===========================================
  224. Minor performance improvement to federation sending and bug fixes.
  225. (Note: This release does not include the delta state resolution implementation discussed in matrix live)
  226. Features:
  227. * Add metrics for event processing lag (PR #3090)
  228. * Add metrics for ResponseCache (PR #3092)
  229. Changes:
  230. * Synapse on PyPy (PR #2760) Thanks to @Valodim!
  231. * move handling of auto_join_rooms to RegisterHandler (PR #2996) Thanks to @krombel!
  232. * Improve handling of SRV records for federation connections (PR #3016) Thanks to @silkeh!
  233. * Document the behaviour of ResponseCache (PR #3059)
  234. * Preparation for py3 (PR #3061, #3073, #3074, #3075, #3103, #3104, #3106, #3107, #3109, #3110) Thanks to @NotAFile!
  235. * update prometheus dashboard to use new metric names (PR #3069) Thanks to @krombel!
  236. * use python3-compatible prints (PR #3074) Thanks to @NotAFile!
  237. * Send federation events concurrently (PR #3078)
  238. * Limit concurrent event sends for a room (PR #3079)
  239. * Improve R30 stat definition (PR #3086)
  240. * Send events to ASes concurrently (PR #3088)
  241. * Refactor ResponseCache usage (PR #3093)
  242. * Clarify that SRV may not point to a CNAME (PR #3100) Thanks to @silkeh!
  243. * Use str(e) instead of e.message (PR #3103) Thanks to @NotAFile!
  244. * Use six.itervalues in some places (PR #3106) Thanks to @NotAFile!
  245. * Refactor store.have_events (PR #3117)
  246. Bug Fixes:
  247. * Return 401 for invalid access_token on logout (PR #2938) Thanks to @dklug!
  248. * Return a 404 rather than a 500 on rejoining empty rooms (PR #3080)
  249. * fix federation_domain_whitelist (PR #3099)
  250. * Avoid creating events with huge numbers of prev_events (PR #3113)
  251. * Reject events which have lots of prev_events (PR #3118)
  252. Changes in synapse v0.27.4 (2018-04-13)
  253. ======================================
  254. Changes:
  255. * Update canonicaljson dependency (#3095)
  256. Changes in synapse v0.27.3 (2018-04-11)
  257. ======================================
  258. Bug fixes:
  259. * URL quote path segments over federation (#3082)
  260. Changes in synapse v0.27.3-rc2 (2018-04-09)
  261. ==========================================
  262. v0.27.3-rc1 used a stale version of the develop branch so the changelog overstates
  263. the functionality. v0.27.3-rc2 is up to date, rc1 should be ignored.
  264. Changes in synapse v0.27.3-rc1 (2018-04-09)
  265. =======================================
  266. Notable changes include API support for joinability of groups. Also new metrics
  267. and phone home stats. Phone home stats include better visibility of system usage
  268. so we can tweak synpase to work better for all users rather than our own experience
  269. with matrix.org. Also, recording 'r30' stat which is the measure we use to track
  270. overal growth of the Matrix ecosystem. It is defined as:-
  271. Counts the number of native 30 day retained users, defined as:-
  272. * Users who have created their accounts more than 30 days
  273. * Where last seen at most 30 days ago
  274. * Where account creation and last_seen are > 30 days"
  275. Features:
  276. * Add joinability for groups (PR #3045)
  277. * Implement group join API (PR #3046)
  278. * Add counter metrics for calculating state delta (PR #3033)
  279. * R30 stats (PR #3041)
  280. * Measure time it takes to calculate state group ID (PR #3043)
  281. * Add basic performance statistics to phone home (PR #3044)
  282. * Add response size metrics (PR #3071)
  283. * phone home cache size configurations (PR #3063)
  284. Changes:
  285. * Add a blurb explaining the main synapse worker (PR #2886) Thanks to @turt2live!
  286. * Replace old style error catching with 'as' keyword (PR #3000) Thanks to @NotAFile!
  287. * Use .iter* to avoid copies in StateHandler (PR #3006)
  288. * Linearize calls to _generate_user_id (PR #3029)
  289. * Remove last usage of ujson (PR #3030)
  290. * Use simplejson throughout (PR #3048)
  291. * Use static JSONEncoders (PR #3049)
  292. * Remove uses of events.content (PR #3060)
  293. * Improve database cache performance (PR #3068)
  294. Bug fixes:
  295. * Add room_id to the response of `rooms/{roomId}/join` (PR #2986) Thanks to @jplatte!
  296. * Fix replication after switch to simplejson (PR #3015)
  297. * 404 correctly on missing paths via NoResource (PR #3022)
  298. * Fix error when claiming e2e keys from offline servers (PR #3034)
  299. * fix tests/storage/test_user_directory.py (PR #3042)
  300. * use PUT instead of POST for federating groups/m.join_policy (PR #3070) Thanks to @krombel!
  301. * postgres port script: fix state_groups_pkey error (PR #3072)
  302. Changes in synapse v0.27.2 (2018-03-26)
  303. =======================================
  304. Bug fixes:
  305. * Fix bug which broke TCP replication between workers (PR #3015)
  306. Changes in synapse v0.27.1 (2018-03-26)
  307. =======================================
  308. Meta release as v0.27.0 temporarily pointed to the wrong commit
  309. Changes in synapse v0.27.0 (2018-03-26)
  310. =======================================
  311. No changes since v0.27.0-rc2
  312. Changes in synapse v0.27.0-rc2 (2018-03-19)
  313. ===========================================
  314. Pulls in v0.26.1
  315. Bug fixes:
  316. * Fix bug introduced in v0.27.0-rc1 that causes much increased memory usage in state cache (PR #3005)
  317. Changes in synapse v0.26.1 (2018-03-15)
  318. =======================================
  319. Bug fixes:
  320. * Fix bug where an invalid event caused server to stop functioning correctly,
  321. due to parsing and serializing bugs in ujson library (PR #3008)
  322. Changes in synapse v0.27.0-rc1 (2018-03-14)
  323. ===========================================
  324. The common case for running Synapse is not to run separate workers, but for those that do, be aware that synctl no longer starts the main synapse when using ``-a`` option with workers. A new worker file should be added with ``worker_app: synapse.app.homeserver``.
  325. This release also begins the process of renaming a number of the metrics
  326. reported to prometheus. See `docs/metrics-howto.rst <docs/metrics-howto.rst#block-and-response-metrics-renamed-for-0-27-0>`_.
  327. Note that the v0.28.0 release will remove the deprecated metric names.
  328. Features:
  329. * Add ability for ASes to override message send time (PR #2754)
  330. * Add support for custom storage providers for media repository (PR #2867, #2777, #2783, #2789, #2791, #2804, #2812, #2814, #2857, #2868, #2767)
  331. * Add purge API features, see `docs/admin_api/purge_history_api.rst <docs/admin_api/purge_history_api.rst>`_ for full details (PR #2858, #2867, #2882, #2946, #2962, #2943)
  332. * Add support for whitelisting 3PIDs that users can register. (PR #2813)
  333. * Add ``/room/{id}/event/{id}`` API (PR #2766)
  334. * Add an admin API to get all the media in a room (PR #2818) Thanks to @turt2live!
  335. * Add ``federation_domain_whitelist`` option (PR #2820, #2821)
  336. Changes:
  337. * Continue to factor out processing from main process and into worker processes. See updated `docs/workers.rst <docs/workers.rst>`_ (PR #2892 - #2904, #2913, #2920 - #2926, #2947, #2847, #2854, #2872, #2873, #2874, #2928, #2929, #2934, #2856, #2976 - #2984, #2987 - #2989, #2991 - #2993, #2995, #2784)
  338. * Ensure state cache is used when persisting events (PR #2864, #2871, #2802, #2835, #2836, #2841, #2842, #2849)
  339. * Change the default config to bind on both IPv4 and IPv6 on all platforms (PR #2435) Thanks to @silkeh!
  340. * No longer require a specific version of saml2 (PR #2695) Thanks to @okurz!
  341. * Remove ``verbosity``/``log_file`` from generated config (PR #2755)
  342. * Add and improve metrics and logging (PR #2770, #2778, #2785, #2786, #2787, #2793, #2794, #2795, #2809, #2810, #2833, #2834, #2844, #2965, #2927, #2975, #2790, #2796, #2838)
  343. * When using synctl with workers, don't start the main synapse automatically (PR #2774)
  344. * Minor performance improvements (PR #2773, #2792)
  345. * Use a connection pool for non-federation outbound connections (PR #2817)
  346. * Make it possible to run unit tests against postgres (PR #2829)
  347. * Update pynacl dependency to 1.2.1 or higher (PR #2888) Thanks to @bachp!
  348. * Remove ability for AS users to call /events and /sync (PR #2948)
  349. * Use bcrypt.checkpw (PR #2949) Thanks to @krombel!
  350. Bug fixes:
  351. * Fix broken ``ldap_config`` config option (PR #2683) Thanks to @seckrv!
  352. * Fix error message when user is not allowed to unban (PR #2761) Thanks to @turt2live!
  353. * Fix publicised groups GET API (singular) over federation (PR #2772)
  354. * Fix user directory when using ``user_directory_search_all_users`` config option (PR #2803, #2831)
  355. * Fix error on ``/publicRooms`` when no rooms exist (PR #2827)
  356. * Fix bug in quarantine_media (PR #2837)
  357. * Fix url_previews when no Content-Type is returned from URL (PR #2845)
  358. * Fix rare race in sync API when joining room (PR #2944)
  359. * Fix slow event search, switch back from GIST to GIN indexes (PR #2769, #2848)
  360. Changes in synapse v0.26.0 (2018-01-05)
  361. =======================================
  362. No changes since v0.26.0-rc1
  363. Changes in synapse v0.26.0-rc1 (2017-12-13)
  364. ===========================================
  365. Features:
  366. * Add ability for ASes to publicise groups for their users (PR #2686)
  367. * Add all local users to the user_directory and optionally search them (PR
  368. #2723)
  369. * Add support for custom login types for validating users (PR #2729)
  370. Changes:
  371. * Update example Prometheus config to new format (PR #2648) Thanks to
  372. @krombel!
  373. * Rename redact_content option to include_content in Push API (PR #2650)
  374. * Declare support for r0.3.0 (PR #2677)
  375. * Improve upserts (PR #2684, #2688, #2689, #2713)
  376. * Improve documentation of workers (PR #2700)
  377. * Improve tracebacks on exceptions (PR #2705)
  378. * Allow guest access to group APIs for reading (PR #2715)
  379. * Support for posting content in federation_client script (PR #2716)
  380. * Delete devices and pushers on logouts etc (PR #2722)
  381. Bug fixes:
  382. * Fix database port script (PR #2673)
  383. * Fix internal server error on login with ldap_auth_provider (PR #2678) Thanks
  384. to @jkolo!
  385. * Fix error on sqlite 3.7 (PR #2697)
  386. * Fix OPTIONS on preview_url (PR #2707)
  387. * Fix error handling on dns lookup (PR #2711)
  388. * Fix wrong avatars when inviting multiple users when creating room (PR #2717)
  389. * Fix 500 when joining matrix-dev (PR #2719)
  390. Changes in synapse v0.25.1 (2017-11-17)
  391. =======================================
  392. Bug fixes:
  393. * Fix login with LDAP and other password provider modules (PR #2678). Thanks to
  394. @jkolo!
  395. Changes in synapse v0.25.0 (2017-11-15)
  396. =======================================
  397. Bug fixes:
  398. * Fix port script (PR #2673)
  399. Changes in synapse v0.25.0-rc1 (2017-11-14)
  400. ===========================================
  401. Features:
  402. * Add is_public to groups table to allow for private groups (PR #2582)
  403. * Add a route for determining who you are (PR #2668) Thanks to @turt2live!
  404. * Add more features to the password providers (PR #2608, #2610, #2620, #2622,
  405. #2623, #2624, #2626, #2628, #2629)
  406. * Add a hook for custom rest endpoints (PR #2627)
  407. * Add API to update group room visibility (PR #2651)
  408. Changes:
  409. * Ignore <noscript> tags when generating URL preview descriptions (PR #2576)
  410. Thanks to @maximevaillancourt!
  411. * Register some /unstable endpoints in /r0 as well (PR #2579) Thanks to
  412. @krombel!
  413. * Support /keys/upload on /r0 as well as /unstable (PR #2585)
  414. * Front-end proxy: pass through auth header (PR #2586)
  415. * Allow ASes to deactivate their own users (PR #2589)
  416. * Remove refresh tokens (PR #2613)
  417. * Automatically set default displayname on register (PR #2617)
  418. * Log login requests (PR #2618)
  419. * Always return `is_public` in the `/groups/:group_id/rooms` API (PR #2630)
  420. * Avoid no-op media deletes (PR #2637) Thanks to @spantaleev!
  421. * Fix various embarrassing typos around user_directory and add some doc. (PR
  422. #2643)
  423. * Return whether a user is an admin within a group (PR #2647)
  424. * Namespace visibility options for groups (PR #2657)
  425. * Downcase UserIDs on registration (PR #2662)
  426. * Cache failures when fetching URL previews (PR #2669)
  427. Bug fixes:
  428. * Fix port script (PR #2577)
  429. * Fix error when running synapse with no logfile (PR #2581)
  430. * Fix UI auth when deleting devices (PR #2591)
  431. * Fix typo when checking if user is invited to group (PR #2599)
  432. * Fix the port script to drop NUL values in all tables (PR #2611)
  433. * Fix appservices being backlogged and not receiving new events due to a bug in
  434. notify_interested_services (PR #2631) Thanks to @xyzz!
  435. * Fix updating rooms avatar/display name when modified by admin (PR #2636)
  436. Thanks to @farialima!
  437. * Fix bug in state group storage (PR #2649)
  438. * Fix 500 on invalid utf-8 in request (PR #2663)
  439. Changes in synapse v0.24.1 (2017-10-24)
  440. =======================================
  441. Bug fixes:
  442. * Fix updating group profiles over federation (PR #2567)
  443. Changes in synapse v0.24.0 (2017-10-23)
  444. =======================================
  445. No changes since v0.24.0-rc1
  446. Changes in synapse v0.24.0-rc1 (2017-10-19)
  447. ===========================================
  448. Features:
  449. * Add Group Server (PR #2352, #2363, #2374, #2377, #2378, #2382, #2410, #2426,
  450. #2430, #2454, #2471, #2472, #2544)
  451. * Add support for channel notifications (PR #2501)
  452. * Add basic implementation of backup media store (PR #2538)
  453. * Add config option to auto-join new users to rooms (PR #2545)
  454. Changes:
  455. * Make the spam checker a module (PR #2474)
  456. * Delete expired url cache data (PR #2478)
  457. * Ignore incoming events for rooms that we have left (PR #2490)
  458. * Allow spam checker to reject invites too (PR #2492)
  459. * Add room creation checks to spam checker (PR #2495)
  460. * Spam checking: add the invitee to user_may_invite (PR #2502)
  461. * Process events from federation for different rooms in parallel (PR #2520)
  462. * Allow error strings from spam checker (PR #2531)
  463. * Improve error handling for missing files in config (PR #2551)
  464. Bug fixes:
  465. * Fix handling SERVFAILs when doing AAAA lookups for federation (PR #2477)
  466. * Fix incompatibility with newer versions of ujson (PR #2483) Thanks to
  467. @jeremycline!
  468. * Fix notification keywords that start/end with non-word chars (PR #2500)
  469. * Fix stack overflow and logcontexts from linearizer (PR #2532)
  470. * Fix 500 error when fields missing from power_levels event (PR #2552)
  471. * Fix 500 error when we get an error handling a PDU (PR #2553)
  472. Changes in synapse v0.23.1 (2017-10-02)
  473. =======================================
  474. Changes:
  475. * Make 'affinity' package optional, as it is not supported on some platforms
  476. Changes in synapse v0.23.0 (2017-10-02)
  477. =======================================
  478. No changes since v0.23.0-rc2
  479. Changes in synapse v0.23.0-rc2 (2017-09-26)
  480. ===========================================
  481. Bug fixes:
  482. * Fix regression in performance of syncs (PR #2470)
  483. Changes in synapse v0.23.0-rc1 (2017-09-25)
  484. ===========================================
  485. Features:
  486. * Add a frontend proxy worker (PR #2344)
  487. * Add support for event_id_only push format (PR #2450)
  488. * Add a PoC for filtering spammy events (PR #2456)
  489. * Add a config option to block all room invites (PR #2457)
  490. Changes:
  491. * Use bcrypt module instead of py-bcrypt (PR #2288) Thanks to @kyrias!
  492. * Improve performance of generating push notifications (PR #2343, #2357, #2365,
  493. #2366, #2371)
  494. * Improve DB performance for device list handling in sync (PR #2362)
  495. * Include a sample prometheus config (PR #2416)
  496. * Document known to work postgres version (PR #2433) Thanks to @ptman!
  497. Bug fixes:
  498. * Fix caching error in the push evaluator (PR #2332)
  499. * Fix bug where pusherpool didn't start and broke some rooms (PR #2342)
  500. * Fix port script for user directory tables (PR #2375)
  501. * Fix device lists notifications when user rejoins a room (PR #2443, #2449)
  502. * Fix sync to always send down current state events in timeline (PR #2451)
  503. * Fix bug where guest users were incorrectly kicked (PR #2453)
  504. * Fix bug talking to IPv6 only servers using SRV records (PR #2462)
  505. Changes in synapse v0.22.1 (2017-07-06)
  506. =======================================
  507. Bug fixes:
  508. * Fix bug where pusher pool didn't start and caused issues when
  509. interacting with some rooms (PR #2342)
  510. Changes in synapse v0.22.0 (2017-07-06)
  511. =======================================
  512. No changes since v0.22.0-rc2
  513. Changes in synapse v0.22.0-rc2 (2017-07-04)
  514. ===========================================
  515. Changes:
  516. * Improve performance of storing user IPs (PR #2307, #2308)
  517. * Slightly improve performance of verifying access tokens (PR #2320)
  518. * Slightly improve performance of event persistence (PR #2321)
  519. * Increase default cache factor size from 0.1 to 0.5 (PR #2330)
  520. Bug fixes:
  521. * Fix bug with storing registration sessions that caused frequent CPU churn
  522. (PR #2319)
  523. Changes in synapse v0.22.0-rc1 (2017-06-26)
  524. ===========================================
  525. Features:
  526. * Add a user directory API (PR #2252, and many more)
  527. * Add shutdown room API to remove room from local server (PR #2291)
  528. * Add API to quarantine media (PR #2292)
  529. * Add new config option to not send event contents to push servers (PR #2301)
  530. Thanks to @cjdelisle!
  531. Changes:
  532. * Various performance fixes (PR #2177, #2233, #2230, #2238, #2248, #2256,
  533. #2274)
  534. * Deduplicate sync filters (PR #2219) Thanks to @krombel!
  535. * Correct a typo in UPGRADE.rst (PR #2231) Thanks to @aaronraimist!
  536. * Add count of one time keys to sync stream (PR #2237)
  537. * Only store event_auth for state events (PR #2247)
  538. * Store URL cache preview downloads separately (PR #2299)
  539. Bug fixes:
  540. * Fix users not getting notifications when AS listened to that user_id (PR
  541. #2216) Thanks to @slipeer!
  542. * Fix users without push set up not getting notifications after joining rooms
  543. (PR #2236)
  544. * Fix preview url API to trim long descriptions (PR #2243)
  545. * Fix bug where we used cached but unpersisted state group as prev group,
  546. resulting in broken state of restart (PR #2263)
  547. * Fix removing of pushers when using workers (PR #2267)
  548. * Fix CORS headers to allow Authorization header (PR #2285) Thanks to @krombel!
  549. Changes in synapse v0.21.1 (2017-06-15)
  550. =======================================
  551. Bug fixes:
  552. * Fix bug in anonymous usage statistic reporting (PR #2281)
  553. Changes in synapse v0.21.0 (2017-05-18)
  554. =======================================
  555. No changes since v0.21.0-rc3
  556. Changes in synapse v0.21.0-rc3 (2017-05-17)
  557. ===========================================
  558. Features:
  559. * Add per user rate-limiting overrides (PR #2208)
  560. * Add config option to limit maximum number of events requested by ``/sync``
  561. and ``/messages`` (PR #2221) Thanks to @psaavedra!
  562. Changes:
  563. * Various small performance fixes (PR #2201, #2202, #2224, #2226, #2227, #2228,
  564. #2229)
  565. * Update username availability checker API (PR #2209, #2213)
  566. * When purging, don't de-delta state groups we're about to delete (PR #2214)
  567. * Documentation to check synapse version (PR #2215) Thanks to @hamber-dick!
  568. * Add an index to event_search to speed up purge history API (PR #2218)
  569. Bug fixes:
  570. * Fix API to allow clients to upload one-time-keys with new sigs (PR #2206)
  571. Changes in synapse v0.21.0-rc2 (2017-05-08)
  572. ===========================================
  573. Changes:
  574. * Always mark remotes as up if we receive a signed request from them (PR #2190)
  575. Bug fixes:
  576. * Fix bug where users got pushed for rooms they had muted (PR #2200)
  577. Changes in synapse v0.21.0-rc1 (2017-05-08)
  578. ===========================================
  579. Features:
  580. * Add username availability checker API (PR #2183)
  581. * Add read marker API (PR #2120)
  582. Changes:
  583. * Enable guest access for the 3pl/3pid APIs (PR #1986)
  584. * Add setting to support TURN for guests (PR #2011)
  585. * Various performance improvements (PR #2075, #2076, #2080, #2083, #2108,
  586. #2158, #2176, #2185)
  587. * Make synctl a bit more user friendly (PR #2078, #2127) Thanks @APwhitehat!
  588. * Replace HTTP replication with TCP replication (PR #2082, #2097, #2098,
  589. #2099, #2103, #2014, #2016, #2115, #2116, #2117)
  590. * Support authenticated SMTP (PR #2102) Thanks @DanielDent!
  591. * Add a counter metric for successfully-sent transactions (PR #2121)
  592. * Propagate errors sensibly from proxied IS requests (PR #2147)
  593. * Add more granular event send metrics (PR #2178)
  594. Bug fixes:
  595. * Fix nuke-room script to work with current schema (PR #1927) Thanks
  596. @zuckschwerdt!
  597. * Fix db port script to not assume postgres tables are in the public schema
  598. (PR #2024) Thanks @jerrykan!
  599. * Fix getting latest device IP for user with no devices (PR #2118)
  600. * Fix rejection of invites to unreachable servers (PR #2145)
  601. * Fix code for reporting old verify keys in synapse (PR #2156)
  602. * Fix invite state to always include all events (PR #2163)
  603. * Fix bug where synapse would always fetch state for any missing event (PR #2170)
  604. * Fix a leak with timed out HTTP connections (PR #2180)
  605. * Fix bug where we didn't time out HTTP requests to ASes (PR #2192)
  606. Docs:
  607. * Clarify doc for SQLite to PostgreSQL port (PR #1961) Thanks @benhylau!
  608. * Fix typo in synctl help (PR #2107) Thanks @HarHarLinks!
  609. * ``web_client_location`` documentation fix (PR #2131) Thanks @matthewjwolff!
  610. * Update README.rst with FreeBSD changes (PR #2132) Thanks @feld!
  611. * Clarify setting up metrics (PR #2149) Thanks @encks!
  612. Changes in synapse v0.20.0 (2017-04-11)
  613. =======================================
  614. Bug fixes:
  615. * Fix joining rooms over federation where not all servers in the room saw the
  616. new server had joined (PR #2094)
  617. Changes in synapse v0.20.0-rc1 (2017-03-30)
  618. ===========================================
  619. Features:
  620. * Add delete_devices API (PR #1993)
  621. * Add phone number registration/login support (PR #1994, #2055)
  622. Changes:
  623. * Use JSONSchema for validation of filters. Thanks @pik! (PR #1783)
  624. * Reread log config on SIGHUP (PR #1982)
  625. * Speed up public room list (PR #1989)
  626. * Add helpful texts to logger config options (PR #1990)
  627. * Minor ``/sync`` performance improvements. (PR #2002, #2013, #2022)
  628. * Add some debug to help diagnose weird federation issue (PR #2035)
  629. * Correctly limit retries for all federation requests (PR #2050, #2061)
  630. * Don't lock table when persisting new one time keys (PR #2053)
  631. * Reduce some CPU work on DB threads (PR #2054)
  632. * Cache hosts in room (PR #2060)
  633. * Batch sending of device list pokes (PR #2063)
  634. * Speed up persist event path in certain edge cases (PR #2070)
  635. Bug fixes:
  636. * Fix bug where current_state_events renamed to current_state_ids (PR #1849)
  637. * Fix routing loop when fetching remote media (PR #1992)
  638. * Fix current_state_events table to not lie (PR #1996)
  639. * Fix CAS login to handle PartialDownloadError (PR #1997)
  640. * Fix assertion to stop transaction queue getting wedged (PR #2010)
  641. * Fix presence to fallback to last_active_ts if it beats the last sync time.
  642. Thanks @Half-Shot! (PR #2014)
  643. * Fix bug when federation received a PDU while a room join is in progress (PR
  644. #2016)
  645. * Fix resetting state on rejected events (PR #2025)
  646. * Fix installation issues in readme. Thanks @ricco386 (PR #2037)
  647. * Fix caching of remote servers' signature keys (PR #2042)
  648. * Fix some leaking log context (PR #2048, #2049, #2057, #2058)
  649. * Fix rejection of invites not reaching sync (PR #2056)
  650. Changes in synapse v0.19.3 (2017-03-20)
  651. =======================================
  652. No changes since v0.19.3-rc2
  653. Changes in synapse v0.19.3-rc2 (2017-03-13)
  654. ===========================================
  655. Bug fixes:
  656. * Fix bug in handling of incoming device list updates over federation.
  657. Changes in synapse v0.19.3-rc1 (2017-03-08)
  658. ===========================================
  659. Features:
  660. * Add some administration functionalities. Thanks to morteza-araby! (PR #1784)
  661. Changes:
  662. * Reduce database table sizes (PR #1873, #1916, #1923, #1963)
  663. * Update contrib/ to not use syutil. Thanks to andrewshadura! (PR #1907)
  664. * Don't fetch current state when sending an event in common case (PR #1955)
  665. Bug fixes:
  666. * Fix synapse_port_db failure. Thanks to Pneumaticat! (PR #1904)
  667. * Fix caching to not cache error responses (PR #1913)
  668. * Fix APIs to make kick & ban reasons work (PR #1917)
  669. * Fix bugs in the /keys/changes api (PR #1921)
  670. * Fix bug where users couldn't forget rooms they were banned from (PR #1922)
  671. * Fix issue with long language values in pushers API (PR #1925)
  672. * Fix a race in transaction queue (PR #1930)
  673. * Fix dynamic thumbnailing to preserve aspect ratio. Thanks to jkolo! (PR
  674. #1945)
  675. * Fix device list update to not constantly resync (PR #1964)
  676. * Fix potential for huge memory usage when getting device that have
  677. changed (PR #1969)
  678. Changes in synapse v0.19.2 (2017-02-20)
  679. =======================================
  680. * Fix bug with event visibility check in /context/ API. Thanks to Tokodomo for
  681. pointing it out! (PR #1929)
  682. Changes in synapse v0.19.1 (2017-02-09)
  683. =======================================
  684. * Fix bug where state was incorrectly reset in a room when synapse received an
  685. event over federation that did not pass auth checks (PR #1892)
  686. Changes in synapse v0.19.0 (2017-02-04)
  687. =======================================
  688. No changes since RC 4.
  689. Changes in synapse v0.19.0-rc4 (2017-02-02)
  690. ===========================================
  691. * Bump cache sizes for common membership queries (PR #1879)
  692. Changes in synapse v0.19.0-rc3 (2017-02-02)
  693. ===========================================
  694. * Fix email push in pusher worker (PR #1875)
  695. * Make presence.get_new_events a bit faster (PR #1876)
  696. * Make /keys/changes a bit more performant (PR #1877)
  697. Changes in synapse v0.19.0-rc2 (2017-02-02)
  698. ===========================================
  699. * Include newly joined users in /keys/changes API (PR #1872)
  700. Changes in synapse v0.19.0-rc1 (2017-02-02)
  701. ===========================================
  702. Features:
  703. * Add support for specifying multiple bind addresses (PR #1709, #1712, #1795,
  704. #1835). Thanks to @kyrias!
  705. * Add /account/3pid/delete endpoint (PR #1714)
  706. * Add config option to configure the Riot URL used in notification emails (PR
  707. #1811). Thanks to @aperezdc!
  708. * Add username and password config options for turn server (PR #1832). Thanks
  709. to @xsteadfastx!
  710. * Implement device lists updates over federation (PR #1857, #1861, #1864)
  711. * Implement /keys/changes (PR #1869, #1872)
  712. Changes:
  713. * Improve IPv6 support (PR #1696). Thanks to @kyrias and @glyph!
  714. * Log which files we saved attachments to in the media_repository (PR #1791)
  715. * Linearize updates to membership via PUT /state/ to better handle multiple
  716. joins (PR #1787)
  717. * Limit number of entries to prefill from cache on startup (PR #1792)
  718. * Remove full_twisted_stacktraces option (PR #1802)
  719. * Measure size of some caches by sum of the size of cached values (PR #1815)
  720. * Measure metrics of string_cache (PR #1821)
  721. * Reduce logging verbosity (PR #1822, #1823, #1824)
  722. * Don't clobber a displayname or avatar_url if provided by an m.room.member
  723. event (PR #1852)
  724. * Better handle 401/404 response for federation /send/ (PR #1866, #1871)
  725. Fixes:
  726. * Fix ability to change password to a non-ascii one (PR #1711)
  727. * Fix push getting stuck due to looking at the wrong view of state (PR #1820)
  728. * Fix email address comparison to be case insensitive (PR #1827)
  729. * Fix occasional inconsistencies of room membership (PR #1836, #1840)
  730. Performance:
  731. * Don't block messages sending on bumping presence (PR #1789)
  732. * Change device_inbox stream index to include user (PR #1793)
  733. * Optimise state resolution (PR #1818)
  734. * Use DB cache of joined users for presence (PR #1862)
  735. * Add an index to make membership queries faster (PR #1867)
  736. Changes in synapse v0.18.7 (2017-01-09)
  737. =======================================
  738. No changes from v0.18.7-rc2
  739. Changes in synapse v0.18.7-rc2 (2017-01-07)
  740. ===========================================
  741. Bug fixes:
  742. * Fix error in rc1's discarding invalid inbound traffic logic that was
  743. incorrectly discarding missing events
  744. Changes in synapse v0.18.7-rc1 (2017-01-06)
  745. ===========================================
  746. Bug fixes:
  747. * Fix error in #PR 1764 to actually fix the nightmare #1753 bug.
  748. * Improve deadlock logging further
  749. * Discard inbound federation traffic from invalid domains, to immunise
  750. against #1753
  751. Changes in synapse v0.18.6 (2017-01-06)
  752. =======================================
  753. Bug fixes:
  754. * Fix bug when checking if a guest user is allowed to join a room (PR #1772)
  755. Thanks to Patrik Oldsberg for diagnosing and the fix!
  756. Changes in synapse v0.18.6-rc3 (2017-01-05)
  757. ===========================================
  758. Bug fixes:
  759. * Fix bug where we failed to send ban events to the banned server (PR #1758)
  760. * Fix bug where we sent event that didn't originate on this server to
  761. other servers (PR #1764)
  762. * Fix bug where processing an event from a remote server took a long time
  763. because we were making long HTTP requests (PR #1765, PR #1744)
  764. Changes:
  765. * Improve logging for debugging deadlocks (PR #1766, PR #1767)
  766. Changes in synapse v0.18.6-rc2 (2016-12-30)
  767. ===========================================
  768. Bug fixes:
  769. * Fix memory leak in twisted by initialising logging correctly (PR #1731)
  770. * Fix bug where fetching missing events took an unacceptable amount of time in
  771. large rooms (PR #1734)
  772. Changes in synapse v0.18.6-rc1 (2016-12-29)
  773. ===========================================
  774. Bug fixes:
  775. * Make sure that outbound connections are closed (PR #1725)
  776. Changes in synapse v0.18.5 (2016-12-16)
  777. =======================================
  778. Bug fixes:
  779. * Fix federation /backfill returning events it shouldn't (PR #1700)
  780. * Fix crash in url preview (PR #1701)
  781. Changes in synapse v0.18.5-rc3 (2016-12-13)
  782. ===========================================
  783. Features:
  784. * Add support for E2E for guests (PR #1653)
  785. * Add new API appservice specific public room list (PR #1676)
  786. * Add new room membership APIs (PR #1680)
  787. Changes:
  788. * Enable guest access for private rooms by default (PR #653)
  789. * Limit the number of events that can be created on a given room concurrently
  790. (PR #1620)
  791. * Log the args that we have on UI auth completion (PR #1649)
  792. * Stop generating refresh_tokens (PR #1654)
  793. * Stop putting a time caveat on access tokens (PR #1656)
  794. * Remove unspecced GET endpoints for e2e keys (PR #1694)
  795. Bug fixes:
  796. * Fix handling of 500 and 429's over federation (PR #1650)
  797. * Fix Content-Type header parsing (PR #1660)
  798. * Fix error when previewing sites that include unicode, thanks to kyrias (PR
  799. #1664)
  800. * Fix some cases where we drop read receipts (PR #1678)
  801. * Fix bug where calls to ``/sync`` didn't correctly timeout (PR #1683)
  802. * Fix bug where E2E key query would fail if a single remote host failed (PR
  803. #1686)
  804. Changes in synapse v0.18.5-rc2 (2016-11-24)
  805. ===========================================
  806. Bug fixes:
  807. * Don't send old events over federation, fixes bug in -rc1.
  808. Changes in synapse v0.18.5-rc1 (2016-11-24)
  809. ===========================================
  810. Features:
  811. * Implement "event_fields" in filters (PR #1638)
  812. Changes:
  813. * Use external ldap auth pacakge (PR #1628)
  814. * Split out federation transaction sending to a worker (PR #1635)
  815. * Fail with a coherent error message if `/sync?filter=` is invalid (PR #1636)
  816. * More efficient notif count queries (PR #1644)
  817. Changes in synapse v0.18.4 (2016-11-22)
  818. =======================================
  819. Bug fixes:
  820. * Add workaround for buggy clients that the fail to register (PR #1632)
  821. Changes in synapse v0.18.4-rc1 (2016-11-14)
  822. ===========================================
  823. Changes:
  824. * Various database efficiency improvements (PR #1188, #1192)
  825. * Update default config to blacklist more internal IPs, thanks to Euan Kemp (PR
  826. #1198)
  827. * Allow specifying duration in minutes in config, thanks to Daniel Dent (PR
  828. #1625)
  829. Bug fixes:
  830. * Fix media repo to set CORs headers on responses (PR #1190)
  831. * Fix registration to not error on non-ascii passwords (PR #1191)
  832. * Fix create event code to limit the number of prev_events (PR #1615)
  833. * Fix bug in transaction ID deduplication (PR #1624)
  834. Changes in synapse v0.18.3 (2016-11-08)
  835. =======================================
  836. SECURITY UPDATE
  837. Explicitly require authentication when using LDAP3. This is the default on
  838. versions of ``ldap3`` above 1.0, but some distributions will package an older
  839. version.
  840. If you are using LDAP3 login and have a version of ``ldap3`` older than 1.0 it
  841. is **CRITICAL to updgrade**.
  842. Changes in synapse v0.18.2 (2016-11-01)
  843. =======================================
  844. No changes since v0.18.2-rc5
  845. Changes in synapse v0.18.2-rc5 (2016-10-28)
  846. ===========================================
  847. Bug fixes:
  848. * Fix prometheus process metrics in worker processes (PR #1184)
  849. Changes in synapse v0.18.2-rc4 (2016-10-27)
  850. ===========================================
  851. Bug fixes:
  852. * Fix ``user_threepids`` schema delta, which in some instances prevented
  853. startup after upgrade (PR #1183)
  854. Changes in synapse v0.18.2-rc3 (2016-10-27)
  855. ===========================================
  856. Changes:
  857. * Allow clients to supply access tokens as headers (PR #1098)
  858. * Clarify error codes for GET /filter/, thanks to Alexander Maznev (PR #1164)
  859. * Make password reset email field case insensitive (PR #1170)
  860. * Reduce redundant database work in email pusher (PR #1174)
  861. * Allow configurable rate limiting per AS (PR #1175)
  862. * Check whether to ratelimit sooner to avoid work (PR #1176)
  863. * Standardise prometheus metrics (PR #1177)
  864. Bug fixes:
  865. * Fix incredibly slow back pagination query (PR #1178)
  866. * Fix infinite typing bug (PR #1179)
  867. Changes in synapse v0.18.2-rc2 (2016-10-25)
  868. ===========================================
  869. (This release did not include the changes advertised and was identical to RC1)
  870. Changes in synapse v0.18.2-rc1 (2016-10-17)
  871. ===========================================
  872. Changes:
  873. * Remove redundant event_auth index (PR #1113)
  874. * Reduce DB hits for replication (PR #1141)
  875. * Implement pluggable password auth (PR #1155)
  876. * Remove rate limiting from app service senders and fix get_or_create_user
  877. requester, thanks to Patrik Oldsberg (PR #1157)
  878. * window.postmessage for Interactive Auth fallback (PR #1159)
  879. * Use sys.executable instead of hardcoded python, thanks to Pedro Larroy
  880. (PR #1162)
  881. * Add config option for adding additional TLS fingerprints (PR #1167)
  882. * User-interactive auth on delete device (PR #1168)
  883. Bug fixes:
  884. * Fix not being allowed to set your own state_key, thanks to Patrik Oldsberg
  885. (PR #1150)
  886. * Fix interactive auth to return 401 from for incorrect password (PR #1160,
  887. #1166)
  888. * Fix email push notifs being dropped (PR #1169)
  889. Changes in synapse v0.18.1 (2016-10-05)
  890. ======================================
  891. No changes since v0.18.1-rc1
  892. Changes in synapse v0.18.1-rc1 (2016-09-30)
  893. ===========================================
  894. Features:
  895. * Add total_room_count_estimate to ``/publicRooms`` (PR #1133)
  896. Changes:
  897. * Time out typing over federation (PR #1140)
  898. * Restructure LDAP authentication (PR #1153)
  899. Bug fixes:
  900. * Fix 3pid invites when server is already in the room (PR #1136)
  901. * Fix upgrading with SQLite taking lots of CPU for a few days
  902. after upgrade (PR #1144)
  903. * Fix upgrading from very old database versions (PR #1145)
  904. * Fix port script to work with recently added tables (PR #1146)
  905. Changes in synapse v0.18.0 (2016-09-19)
  906. =======================================
  907. The release includes major changes to the state storage database schemas, which
  908. significantly reduce database size. Synapse will attempt to upgrade the current
  909. data in the background. Servers with large SQLite database may experience
  910. degradation of performance while this upgrade is in progress, therefore you may
  911. want to consider migrating to using Postgres before upgrading very large SQLite
  912. databases
  913. Changes:
  914. * Make public room search case insensitive (PR #1127)
  915. Bug fixes:
  916. * Fix and clean up publicRooms pagination (PR #1129)
  917. Changes in synapse v0.18.0-rc1 (2016-09-16)
  918. ===========================================
  919. Features:
  920. * Add ``only=highlight`` on ``/notifications`` (PR #1081)
  921. * Add server param to /publicRooms (PR #1082)
  922. * Allow clients to ask for the whole of a single state event (PR #1094)
  923. * Add is_direct param to /createRoom (PR #1108)
  924. * Add pagination support to publicRooms (PR #1121)
  925. * Add very basic filter API to /publicRooms (PR #1126)
  926. * Add basic direct to device messaging support for E2E (PR #1074, #1084, #1104,
  927. #1111)
  928. Changes:
  929. * Move to storing state_groups_state as deltas, greatly reducing DB size (PR
  930. #1065)
  931. * Reduce amount of state pulled out of the DB during common requests (PR #1069)
  932. * Allow PDF to be rendered from media repo (PR #1071)
  933. * Reindex state_groups_state after pruning (PR #1085)
  934. * Clobber EDUs in send queue (PR #1095)
  935. * Conform better to the CAS protocol specification (PR #1100)
  936. * Limit how often we ask for keys from dead servers (PR #1114)
  937. Bug fixes:
  938. * Fix /notifications API when used with ``from`` param (PR #1080)
  939. * Fix backfill when cannot find an event. (PR #1107)
  940. Changes in synapse v0.17.3 (2016-09-09)
  941. =======================================
  942. This release fixes a major bug that stopped servers from handling rooms with
  943. over 1000 members.
  944. Changes in synapse v0.17.2 (2016-09-08)
  945. =======================================
  946. This release contains security bug fixes. Please upgrade.
  947. No changes since v0.17.2-rc1
  948. Changes in synapse v0.17.2-rc1 (2016-09-05)
  949. ===========================================
  950. Features:
  951. * Start adding store-and-forward direct-to-device messaging (PR #1046, #1050,
  952. #1062, #1066)
  953. Changes:
  954. * Avoid pulling the full state of a room out so often (PR #1047, #1049, #1063,
  955. #1068)
  956. * Don't notify for online to online presence transitions. (PR #1054)
  957. * Occasionally persist unpersisted presence updates (PR #1055)
  958. * Allow application services to have an optional 'url' (PR #1056)
  959. * Clean up old sent transactions from DB (PR #1059)
  960. Bug fixes:
  961. * Fix None check in backfill (PR #1043)
  962. * Fix membership changes to be idempotent (PR #1067)
  963. * Fix bug in get_pdu where it would sometimes return events with incorrect
  964. signature
  965. Changes in synapse v0.17.1 (2016-08-24)
  966. =======================================
  967. Changes:
  968. * Delete old received_transactions rows (PR #1038)
  969. * Pass through user-supplied content in /join/$room_id (PR #1039)
  970. Bug fixes:
  971. * Fix bug with backfill (PR #1040)
  972. Changes in synapse v0.17.1-rc1 (2016-08-22)
  973. ===========================================
  974. Features:
  975. * Add notification API (PR #1028)
  976. Changes:
  977. * Don't print stack traces when failing to get remote keys (PR #996)
  978. * Various federation /event/ perf improvements (PR #998)
  979. * Only process one local membership event per room at a time (PR #1005)
  980. * Move default display name push rule (PR #1011, #1023)
  981. * Fix up preview URL API. Add tests. (PR #1015)
  982. * Set ``Content-Security-Policy`` on media repo (PR #1021)
  983. * Make notify_interested_services faster (PR #1022)
  984. * Add usage stats to prometheus monitoring (PR #1037)
  985. Bug fixes:
  986. * Fix token login (PR #993)
  987. * Fix CAS login (PR #994, #995)
  988. * Fix /sync to not clobber status_msg (PR #997)
  989. * Fix redacted state events to include prev_content (PR #1003)
  990. * Fix some bugs in the auth/ldap handler (PR #1007)
  991. * Fix backfill request to limit URI length, so that remotes don't reject the
  992. requests due to path length limits (PR #1012)
  993. * Fix AS push code to not send duplicate events (PR #1025)
  994. Changes in synapse v0.17.0 (2016-08-08)
  995. =======================================
  996. This release contains significant security bug fixes regarding authenticating
  997. events received over federation. PLEASE UPGRADE.
  998. This release changes the LDAP configuration format in a backwards incompatible
  999. way, see PR #843 for details.
  1000. Changes:
  1001. * Add federation /version API (PR #990)
  1002. * Make psutil dependency optional (PR #992)
  1003. Bug fixes:
  1004. * Fix URL preview API to exclude HTML comments in description (PR #988)
  1005. * Fix error handling of remote joins (PR #991)
  1006. Changes in synapse v0.17.0-rc4 (2016-08-05)
  1007. ===========================================
  1008. Changes:
  1009. * Change the way we summarize URLs when previewing (PR #973)
  1010. * Add new ``/state_ids/`` federation API (PR #979)
  1011. * Speed up processing of ``/state/`` response (PR #986)
  1012. Bug fixes:
  1013. * Fix event persistence when event has already been partially persisted
  1014. (PR #975, #983, #985)
  1015. * Fix port script to also copy across backfilled events (PR #982)
  1016. Changes in synapse v0.17.0-rc3 (2016-08-02)
  1017. ===========================================
  1018. Changes:
  1019. * Forbid non-ASes from registering users whose names begin with '_' (PR #958)
  1020. * Add some basic admin API docs (PR #963)
  1021. Bug fixes:
  1022. * Send the correct host header when fetching keys (PR #941)
  1023. * Fix joining a room that has missing auth events (PR #964)
  1024. * Fix various push bugs (PR #966, #970)
  1025. * Fix adding emails on registration (PR #968)
  1026. Changes in synapse v0.17.0-rc2 (2016-08-02)
  1027. ===========================================
  1028. (This release did not include the changes advertised and was identical to RC1)
  1029. Changes in synapse v0.17.0-rc1 (2016-07-28)
  1030. ===========================================
  1031. This release changes the LDAP configuration format in a backwards incompatible
  1032. way, see PR #843 for details.
  1033. Features:
  1034. * Add purge_media_cache admin API (PR #902)
  1035. * Add deactivate account admin API (PR #903)
  1036. * Add optional pepper to password hashing (PR #907, #910 by KentShikama)
  1037. * Add an admin option to shared secret registration (breaks backwards compat)
  1038. (PR #909)
  1039. * Add purge local room history API (PR #911, #923, #924)
  1040. * Add requestToken endpoints (PR #915)
  1041. * Add an /account/deactivate endpoint (PR #921)
  1042. * Add filter param to /messages. Add 'contains_url' to filter. (PR #922)
  1043. * Add device_id support to /login (PR #929)
  1044. * Add device_id support to /v2/register flow. (PR #937, #942)
  1045. * Add GET /devices endpoint (PR #939, #944)
  1046. * Add GET /device/{deviceId} (PR #943)
  1047. * Add update and delete APIs for devices (PR #949)
  1048. Changes:
  1049. * Rewrite LDAP Authentication against ldap3 (PR #843 by mweinelt)
  1050. * Linearize some federation endpoints based on (origin, room_id) (PR #879)
  1051. * Remove the legacy v0 content upload API. (PR #888)
  1052. * Use similar naming we use in email notifs for push (PR #894)
  1053. * Optionally include password hash in createUser endpoint (PR #905 by
  1054. KentShikama)
  1055. * Use a query that postgresql optimises better for get_events_around (PR #906)
  1056. * Fall back to 'username' if 'user' is not given for appservice registration.
  1057. (PR #927 by Half-Shot)
  1058. * Add metrics for psutil derived memory usage (PR #936)
  1059. * Record device_id in client_ips (PR #938)
  1060. * Send the correct host header when fetching keys (PR #941)
  1061. * Log the hostname the reCAPTCHA was completed on (PR #946)
  1062. * Make the device id on e2e key upload optional (PR #956)
  1063. * Add r0.2.0 to the "supported versions" list (PR #960)
  1064. * Don't include name of room for invites in push (PR #961)
  1065. Bug fixes:
  1066. * Fix substitution failure in mail template (PR #887)
  1067. * Put most recent 20 messages in email notif (PR #892)
  1068. * Ensure that the guest user is in the database when upgrading accounts
  1069. (PR #914)
  1070. * Fix various edge cases in auth handling (PR #919)
  1071. * Fix 500 ISE when sending alias event without a state_key (PR #925)
  1072. * Fix bug where we stored rejections in the state_group, persist all
  1073. rejections (PR #948)
  1074. * Fix lack of check of if the user is banned when handling 3pid invites
  1075. (PR #952)
  1076. * Fix a couple of bugs in the transaction and keyring code (PR #954, #955)
  1077. Changes in synapse v0.16.1-r1 (2016-07-08)
  1078. ==========================================
  1079. THIS IS A CRITICAL SECURITY UPDATE.
  1080. This fixes a bug which allowed users' accounts to be accessed by unauthorised
  1081. users.
  1082. Changes in synapse v0.16.1 (2016-06-20)
  1083. =======================================
  1084. Bug fixes:
  1085. * Fix assorted bugs in ``/preview_url`` (PR #872)
  1086. * Fix TypeError when setting unicode passwords (PR #873)
  1087. Performance improvements:
  1088. * Turn ``use_frozen_events`` off by default (PR #877)
  1089. * Disable responding with canonical json for federation (PR #878)
  1090. Changes in synapse v0.16.1-rc1 (2016-06-15)
  1091. ===========================================
  1092. Features: None
  1093. Changes:
  1094. * Log requester for ``/publicRoom`` endpoints when possible (PR #856)
  1095. * 502 on ``/thumbnail`` when can't connect to remote server (PR #862)
  1096. * Linearize fetching of gaps on incoming events (PR #871)
  1097. Bugs fixes:
  1098. * Fix bug where rooms where marked as published by default (PR #857)
  1099. * Fix bug where joining room with an event with invalid sender (PR #868)
  1100. * Fix bug where backfilled events were sent down sync streams (PR #869)
  1101. * Fix bug where outgoing connections could wedge indefinitely, causing push
  1102. notifications to be unreliable (PR #870)
  1103. Performance improvements:
  1104. * Improve ``/publicRooms`` performance(PR #859)
  1105. Changes in synapse v0.16.0 (2016-06-09)
  1106. =======================================
  1107. NB: As of v0.14 all AS config files must have an ID field.
  1108. Bug fixes:
  1109. * Don't make rooms published by default (PR #857)
  1110. Changes in synapse v0.16.0-rc2 (2016-06-08)
  1111. ===========================================
  1112. Features:
  1113. * Add configuration option for tuning GC via ``gc.set_threshold`` (PR #849)
  1114. Changes:
  1115. * Record metrics about GC (PR #771, #847, #852)
  1116. * Add metric counter for number of persisted events (PR #841)
  1117. Bug fixes:
  1118. * Fix 'From' header in email notifications (PR #843)
  1119. * Fix presence where timeouts were not being fired for the first 8h after
  1120. restarts (PR #842)
  1121. * Fix bug where synapse sent malformed transactions to AS's when retrying
  1122. transactions (Commits 310197b, 8437906)
  1123. Performance improvements:
  1124. * Remove event fetching from DB threads (PR #835)
  1125. * Change the way we cache events (PR #836)
  1126. * Add events to cache when we persist them (PR #840)
  1127. Changes in synapse v0.16.0-rc1 (2016-06-03)
  1128. ===========================================
  1129. Version 0.15 was not released. See v0.15.0-rc1 below for additional changes.
  1130. Features:
  1131. * Add email notifications for missed messages (PR #759, #786, #799, #810, #815,
  1132. #821)
  1133. * Add a ``url_preview_ip_range_whitelist`` config param (PR #760)
  1134. * Add /report endpoint (PR #762)
  1135. * Add basic ignore user API (PR #763)
  1136. * Add an openidish mechanism for proving that you own a given user_id (PR #765)
  1137. * Allow clients to specify a server_name to avoid 'No known servers' (PR #794)
  1138. * Add secondary_directory_servers option to fetch room list from other servers
  1139. (PR #808, #813)
  1140. Changes:
  1141. * Report per request metrics for all of the things using request_handler (PR
  1142. #756)
  1143. * Correctly handle ``NULL`` password hashes from the database (PR #775)
  1144. * Allow receipts for events we haven't seen in the db (PR #784)
  1145. * Make synctl read a cache factor from config file (PR #785)
  1146. * Increment badge count per missed convo, not per msg (PR #793)
  1147. * Special case m.room.third_party_invite event auth to match invites (PR #814)
  1148. Bug fixes:
  1149. * Fix typo in event_auth servlet path (PR #757)
  1150. * Fix password reset (PR #758)
  1151. Performance improvements:
  1152. * Reduce database inserts when sending transactions (PR #767)
  1153. * Queue events by room for persistence (PR #768)
  1154. * Add cache to ``get_user_by_id`` (PR #772)
  1155. * Add and use ``get_domain_from_id`` (PR #773)
  1156. * Use tree cache for ``get_linearized_receipts_for_room`` (PR #779)
  1157. * Remove unused indices (PR #782)
  1158. * Add caches to ``bulk_get_push_rules*`` (PR #804)
  1159. * Cache ``get_event_reference_hashes`` (PR #806)
  1160. * Add ``get_users_with_read_receipts_in_room`` cache (PR #809)
  1161. * Use state to calculate ``get_users_in_room`` (PR #811)
  1162. * Load push rules in storage layer so that they get cached (PR #825)
  1163. * Make ``get_joined_hosts_for_room`` use get_users_in_room (PR #828)
  1164. * Poke notifier on next reactor tick (PR #829)
  1165. * Change CacheMetrics to be quicker (PR #830)
  1166. Changes in synapse v0.15.0-rc1 (2016-04-26)
  1167. ===========================================
  1168. Features:
  1169. * Add login support for Javascript Web Tokens, thanks to Niklas Riekenbrauck
  1170. (PR #671,#687)
  1171. * Add URL previewing support (PR #688)
  1172. * Add login support for LDAP, thanks to Christoph Witzany (PR #701)
  1173. * Add GET endpoint for pushers (PR #716)
  1174. Changes:
  1175. * Never notify for member events (PR #667)
  1176. * Deduplicate identical ``/sync`` requests (PR #668)
  1177. * Require user to have left room to forget room (PR #673)
  1178. * Use DNS cache if within TTL (PR #677)
  1179. * Let users see their own leave events (PR #699)
  1180. * Deduplicate membership changes (PR #700)
  1181. * Increase performance of pusher code (PR #705)
  1182. * Respond with error status 504 if failed to talk to remote server (PR #731)
  1183. * Increase search performance on postgres (PR #745)
  1184. Bug fixes:
  1185. * Fix bug where disabling all notifications still resulted in push (PR #678)
  1186. * Fix bug where users couldn't reject remote invites if remote refused (PR #691)
  1187. * Fix bug where synapse attempted to backfill from itself (PR #693)
  1188. * Fix bug where profile information was not correctly added when joining remote
  1189. rooms (PR #703)
  1190. * Fix bug where register API required incorrect key name for AS registration
  1191. (PR #727)
  1192. Changes in synapse v0.14.0 (2016-03-30)
  1193. =======================================
  1194. No changes from v0.14.0-rc2
  1195. Changes in synapse v0.14.0-rc2 (2016-03-23)
  1196. ===========================================
  1197. Features:
  1198. * Add published room list API (PR #657)
  1199. Changes:
  1200. * Change various caches to consume less memory (PR #656, #658, #660, #662,
  1201. #663, #665)
  1202. * Allow rooms to be published without requiring an alias (PR #664)
  1203. * Intern common strings in caches to reduce memory footprint (#666)
  1204. Bug fixes:
  1205. * Fix reject invites over federation (PR #646)
  1206. * Fix bug where registration was not idempotent (PR #649)
  1207. * Update aliases event after deleting aliases (PR #652)
  1208. * Fix unread notification count, which was sometimes wrong (PR #661)
  1209. Changes in synapse v0.14.0-rc1 (2016-03-14)
  1210. ===========================================
  1211. Features:
  1212. * Add event_id to response to state event PUT (PR #581)
  1213. * Allow guest users access to messages in rooms they have joined (PR #587)
  1214. * Add config for what state is included in a room invite (PR #598)
  1215. * Send the inviter's member event in room invite state (PR #607)
  1216. * Add error codes for malformed/bad JSON in /login (PR #608)
  1217. * Add support for changing the actions for default rules (PR #609)
  1218. * Add environment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 (PR #612)
  1219. * Add ability for alias creators to delete aliases (PR #614)
  1220. * Add profile information to invites (PR #624)
  1221. Changes:
  1222. * Enforce user_id exclusivity for AS registrations (PR #572)
  1223. * Make adding push rules idempotent (PR #587)
  1224. * Improve presence performance (PR #582, #586)
  1225. * Change presence semantics for ``last_active_ago`` (PR #582, #586)
  1226. * Don't allow ``m.room.create`` to be changed (PR #596)
  1227. * Add 800x600 to default list of valid thumbnail sizes (PR #616)
  1228. * Always include kicks and bans in full /sync (PR #625)
  1229. * Send history visibility on boundary changes (PR #626)
  1230. * Register endpoint now returns a refresh_token (PR #637)
  1231. Bug fixes:
  1232. * Fix bug where we returned incorrect state in /sync (PR #573)
  1233. * Always return a JSON object from push rule API (PR #606)
  1234. * Fix bug where registering without a user id sometimes failed (PR #610)
  1235. * Report size of ExpiringCache in cache size metrics (PR #611)
  1236. * Fix rejection of invites to empty rooms (PR #615)
  1237. * Fix usage of ``bcrypt`` to not use ``checkpw`` (PR #619)
  1238. * Pin ``pysaml2`` dependency (PR #634)
  1239. * Fix bug in ``/sync`` where timeline order was incorrect for backfilled events
  1240. (PR #635)
  1241. Changes in synapse v0.13.3 (2016-02-11)
  1242. =======================================
  1243. * Fix bug where ``/sync`` would occasionally return events in the wrong room.
  1244. Changes in synapse v0.13.2 (2016-02-11)
  1245. =======================================
  1246. * Fix bug where ``/events`` would fail to skip some events if there had been
  1247. more events than the limit specified since the last request (PR #570)
  1248. Changes in synapse v0.13.1 (2016-02-10)
  1249. =======================================
  1250. * Bump matrix-angular-sdk (matrix web console) dependency to 0.6.8 to
  1251. pull in the fix for SYWEB-361 so that the default client can display
  1252. HTML messages again(!)
  1253. Changes in synapse v0.13.0 (2016-02-10)
  1254. =======================================
  1255. This version includes an upgrade of the schema, specifically adding an index to
  1256. the ``events`` table. This may cause synapse to pause for several minutes the
  1257. first time it is started after the upgrade.
  1258. Changes:
  1259. * Improve general performance (PR #540, #543. #544, #54, #549, #567)
  1260. * Change guest user ids to be incrementing integers (PR #550)
  1261. * Improve performance of public room list API (PR #552)
  1262. * Change profile API to omit keys rather than return null (PR #557)
  1263. * Add ``/media/r0`` endpoint prefix, which is equivalent to ``/media/v1/``
  1264. (PR #595)
  1265. Bug fixes:
  1266. * Fix bug with upgrading guest accounts where it would fail if you opened the
  1267. registration email on a different device (PR #547)
  1268. * Fix bug where unread count could be wrong (PR #568)
  1269. Changes in synapse v0.12.1-rc1 (2016-01-29)
  1270. ===========================================
  1271. Features:
  1272. * Add unread notification counts in ``/sync`` (PR #456)
  1273. * Add support for inviting 3pids in ``/createRoom`` (PR #460)
  1274. * Add ability for guest accounts to upgrade (PR #462)
  1275. * Add ``/versions`` API (PR #468)
  1276. * Add ``event`` to ``/context`` API (PR #492)
  1277. * Add specific error code for invalid user names in ``/register`` (PR #499)
  1278. * Add support for push badge counts (PR #507)
  1279. * Add support for non-guest users to peek in rooms using ``/events`` (PR #510)
  1280. Changes:
  1281. * Change ``/sync`` so that guest users only get rooms they've joined (PR #469)
  1282. * Change to require unbanning before other membership changes (PR #501)
  1283. * Change default push rules to notify for all messages (PR #486)
  1284. * Change default push rules to not notify on membership changes (PR #514)
  1285. * Change default push rules in one to one rooms to only notify for events that
  1286. are messages (PR #529)
  1287. * Change ``/sync`` to reject requests with a ``from`` query param (PR #512)
  1288. * Change server manhole to use SSH rather than telnet (PR #473)
  1289. * Change server to require AS users to be registered before use (PR #487)
  1290. * Change server not to start when ASes are invalidly configured (PR #494)
  1291. * Change server to require ID and ``as_token`` to be unique for AS's (PR #496)
  1292. * Change maximum pagination limit to 1000 (PR #497)
  1293. Bug fixes:
  1294. * Fix bug where ``/sync`` didn't return when something under the leave key
  1295. changed (PR #461)
  1296. * Fix bug where we returned smaller rather than larger than requested
  1297. thumbnails when ``method=crop`` (PR #464)
  1298. * Fix thumbnails API to only return cropped thumbnails when asking for a
  1299. cropped thumbnail (PR #475)
  1300. * Fix bug where we occasionally still logged access tokens (PR #477)
  1301. * Fix bug where ``/events`` would always return immediately for guest users
  1302. (PR #480)
  1303. * Fix bug where ``/sync`` unexpectedly returned old left rooms (PR #481)
  1304. * Fix enabling and disabling push rules (PR #498)
  1305. * Fix bug where ``/register`` returned 500 when given unicode username
  1306. (PR #513)
  1307. Changes in synapse v0.12.0 (2016-01-04)
  1308. =======================================
  1309. * Expose ``/login`` under ``r0`` (PR #459)
  1310. Changes in synapse v0.12.0-rc3 (2015-12-23)
  1311. ===========================================
  1312. * Allow guest accounts access to ``/sync`` (PR #455)
  1313. * Allow filters to include/exclude rooms at the room level
  1314. rather than just from the components of the sync for each
  1315. room. (PR #454)
  1316. * Include urls for room avatars in the response to ``/publicRooms`` (PR #453)
  1317. * Don't set a identicon as the avatar for a user when they register (PR #450)
  1318. * Add a ``display_name`` to third-party invites (PR #449)
  1319. * Send more information to the identity server for third-party invites so that
  1320. it can send richer messages to the invitee (PR #446)
  1321. * Cache the responses to ``/initialSync`` for 5 minutes. If a client
  1322. retries a request to ``/initialSync`` before the a response was computed
  1323. to the first request then the same response is used for both requests
  1324. (PR #457)
  1325. * Fix a bug where synapse would always request the signing keys of
  1326. remote servers even when the key was cached locally (PR #452)
  1327. * Fix 500 when pagination search results (PR #447)
  1328. * Fix a bug where synapse was leaking raw email address in third-party invites
  1329. (PR #448)
  1330. Changes in synapse v0.12.0-rc2 (2015-12-14)
  1331. ===========================================
  1332. * Add caches for whether rooms have been forgotten by a user (PR #434)
  1333. * Remove instructions to use ``--process-dependency-link`` since all of the
  1334. dependencies of synapse are on PyPI (PR #436)
  1335. * Parallelise the processing of ``/sync`` requests (PR #437)
  1336. * Fix race updating presence in ``/events`` (PR #444)
  1337. * Fix bug back-populating search results (PR #441)
  1338. * Fix bug calculating state in ``/sync`` requests (PR #442)
  1339. Changes in synapse v0.12.0-rc1 (2015-12-10)
  1340. ===========================================
  1341. * Host the client APIs released as r0 by
  1342. https://matrix.org/docs/spec/r0.0.0/client_server.html
  1343. on paths prefixed by ``/_matrix/client/r0``. (PR #430, PR #415, PR #400)
  1344. * Updates the client APIs to match r0 of the matrix specification.
  1345. * All APIs return events in the new event format, old APIs also include
  1346. the fields needed to parse the event using the old format for
  1347. compatibility. (PR #402)
  1348. * Search results are now given as a JSON array rather than
  1349. a JSON object (PR #405)
  1350. * Miscellaneous changes to search (PR #403, PR #406, PR #412)
  1351. * Filter JSON objects may now be passed as query parameters to ``/sync``
  1352. (PR #431)
  1353. * Fix implementation of ``/admin/whois`` (PR #418)
  1354. * Only include the rooms that user has left in ``/sync`` if the client
  1355. requests them in the filter (PR #423)
  1356. * Don't push for ``m.room.message`` by default (PR #411)
  1357. * Add API for setting per account user data (PR #392)
  1358. * Allow users to forget rooms (PR #385)
  1359. * Performance improvements and monitoring:
  1360. * Add per-request counters for CPU time spent on the main python thread.
  1361. (PR #421, PR #420)
  1362. * Add per-request counters for time spent in the database (PR #429)
  1363. * Make state updates in the C+S API idempotent (PR #416)
  1364. * Only fire ``user_joined_room`` if the user has actually joined. (PR #410)
  1365. * Reuse a single http client, rather than creating new ones (PR #413)
  1366. * Fixed a bug upgrading from older versions of synapse on postgresql (PR #417)
  1367. Changes in synapse v0.11.1 (2015-11-20)
  1368. =======================================
  1369. * Add extra options to search API (PR #394)
  1370. * Fix bug where we did not correctly cap federation retry timers. This meant it
  1371. could take several hours for servers to start talking to ressurected servers,
  1372. even when they were receiving traffic from them (PR #393)
  1373. * Don't advertise login token flow unless CAS is enabled. This caused issues
  1374. where some clients would always use the fallback API if they did not
  1375. recognize all login flows (PR #391)
  1376. * Change /v2 sync API to rename ``private_user_data`` to ``account_data``
  1377. (PR #386)
  1378. * Change /v2 sync API to remove the ``event_map`` and rename keys in ``rooms``
  1379. object (PR #389)
  1380. Changes in synapse v0.11.0-r2 (2015-11-19)
  1381. ==========================================
  1382. * Fix bug in database port script (PR #387)
  1383. Changes in synapse v0.11.0-r1 (2015-11-18)
  1384. ==========================================
  1385. * Retry and fail federation requests more aggressively for requests that block
  1386. client side requests (PR #384)
  1387. Changes in synapse v0.11.0 (2015-11-17)
  1388. =======================================
  1389. * Change CAS login API (PR #349)
  1390. Changes in synapse v0.11.0-rc2 (2015-11-13)
  1391. ===========================================
  1392. * Various changes to /sync API response format (PR #373)
  1393. * Fix regression when setting display name in newly joined room over
  1394. federation (PR #368)
  1395. * Fix problem where /search was slow when using SQLite (PR #366)
  1396. Changes in synapse v0.11.0-rc1 (2015-11-11)
  1397. ===========================================
  1398. * Add Search API (PR #307, #324, #327, #336, #350, #359)
  1399. * Add 'archived' state to v2 /sync API (PR #316)
  1400. * Add ability to reject invites (PR #317)
  1401. * Add config option to disable password login (PR #322)
  1402. * Add the login fallback API (PR #330)
  1403. * Add room context API (PR #334)
  1404. * Add room tagging support (PR #335)
  1405. * Update v2 /sync API to match spec (PR #305, #316, #321, #332, #337, #341)
  1406. * Change retry schedule for application services (PR #320)
  1407. * Change retry schedule for remote servers (PR #340)
  1408. * Fix bug where we hosted static content in the incorrect place (PR #329)
  1409. * Fix bug where we didn't increment retry interval for remote servers (PR #343)
  1410. Changes in synapse v0.10.1-rc1 (2015-10-15)
  1411. ===========================================
  1412. * Add support for CAS, thanks to Steven Hammerton (PR #295, #296)
  1413. * Add support for using macaroons for ``access_token`` (PR #256, #229)
  1414. * Add support for ``m.room.canonical_alias`` (PR #287)
  1415. * Add support for viewing the history of rooms that they have left. (PR #276,
  1416. #294)
  1417. * Add support for refresh tokens (PR #240)
  1418. * Add flag on creation which disables federation of the room (PR #279)
  1419. * Add some room state to invites. (PR #275)
  1420. * Atomically persist events when joining a room over federation (PR #283)
  1421. * Change default history visibility for private rooms (PR #271)
  1422. * Allow users to redact their own sent events (PR #262)
  1423. * Use tox for tests (PR #247)
  1424. * Split up syutil into separate libraries (PR #243)
  1425. Changes in synapse v0.10.0-r2 (2015-09-16)
  1426. ==========================================
  1427. * Fix bug where we always fetched remote server signing keys instead of using
  1428. ones in our cache.
  1429. * Fix adding threepids to an existing account.
  1430. * Fix bug with invinting over federation where remote server was already in
  1431. the room. (PR #281, SYN-392)
  1432. Changes in synapse v0.10.0-r1 (2015-09-08)
  1433. ==========================================
  1434. * Fix bug with python packaging
  1435. Changes in synapse v0.10.0 (2015-09-03)
  1436. =======================================
  1437. No change from release candidate.
  1438. Changes in synapse v0.10.0-rc6 (2015-09-02)
  1439. ===========================================
  1440. * Remove some of the old database upgrade scripts.
  1441. * Fix database port script to work with newly created sqlite databases.
  1442. Changes in synapse v0.10.0-rc5 (2015-08-27)
  1443. ===========================================
  1444. * Fix bug that broke downloading files with ascii filenames across federation.
  1445. Changes in synapse v0.10.0-rc4 (2015-08-27)
  1446. ===========================================
  1447. * Allow UTF-8 filenames for upload. (PR #259)
  1448. Changes in synapse v0.10.0-rc3 (2015-08-25)
  1449. ===========================================
  1450. * Add ``--keys-directory`` config option to specify where files such as
  1451. certs and signing keys should be stored in, when using ``--generate-config``
  1452. or ``--generate-keys``. (PR #250)
  1453. * Allow ``--config-path`` to specify a directory, causing synapse to use all
  1454. \*.yaml files in the directory as config files. (PR #249)
  1455. * Add ``web_client_location`` config option to specify static files to be
  1456. hosted by synapse under ``/_matrix/client``. (PR #245)
  1457. * Add helper utility to synapse to read and parse the config files and extract
  1458. the value of a given key. For example::
  1459. $ python -m synapse.config read server_name -c homeserver.yaml
  1460. localhost
  1461. (PR #246)
  1462. Changes in synapse v0.10.0-rc2 (2015-08-24)
  1463. ===========================================
  1464. * Fix bug where we incorrectly populated the ``event_forward_extremities``
  1465. table, resulting in problems joining large remote rooms (e.g.
  1466. ``#matrix:matrix.org``)
  1467. * Reduce the number of times we wake up pushers by not listening for presence
  1468. or typing events, reducing the CPU cost of each pusher.
  1469. Changes in synapse v0.10.0-rc1 (2015-08-21)
  1470. ===========================================
  1471. Also see v0.9.4-rc1 changelog, which has been amalgamated into this release.
  1472. General:
  1473. * Upgrade to Twisted 15 (PR #173)
  1474. * Add support for serving and fetching encryption keys over federation.
  1475. (PR #208)
  1476. * Add support for logging in with email address (PR #234)
  1477. * Add support for new ``m.room.canonical_alias`` event. (PR #233)
  1478. * Change synapse to treat user IDs case insensitively during registration and
  1479. login. (If two users already exist with case insensitive matching user ids,
  1480. synapse will continue to require them to specify their user ids exactly.)
  1481. * Error if a user tries to register with an email already in use. (PR #211)
  1482. * Add extra and improve existing caches (PR #212, #219, #226, #228)
  1483. * Batch various storage request (PR #226, #228)
  1484. * Fix bug where we didn't correctly log the entity that triggered the request
  1485. if the request came in via an application service (PR #230)
  1486. * Fix bug where we needlessly regenerated the full list of rooms an AS is
  1487. interested in. (PR #232)
  1488. * Add support for AS's to use v2_alpha registration API (PR #210)
  1489. Configuration:
  1490. * Add ``--generate-keys`` that will generate any missing cert and key files in
  1491. the configuration files. This is equivalent to running ``--generate-config``
  1492. on an existing configuration file. (PR #220)
  1493. * ``--generate-config`` now no longer requires a ``--server-name`` parameter
  1494. when used on existing configuration files. (PR #220)
  1495. * Add ``--print-pidfile`` flag that controls the printing of the pid to stdout
  1496. of the demonised process. (PR #213)
  1497. Media Repository:
  1498. * Fix bug where we picked a lower resolution image than requested. (PR #205)
  1499. * Add support for specifying if a the media repository should dynamically
  1500. thumbnail images or not. (PR #206)
  1501. Metrics:
  1502. * Add statistics from the reactor to the metrics API. (PR #224, #225)
  1503. Demo Homeservers:
  1504. * Fix starting the demo homeservers without rate-limiting enabled. (PR #182)
  1505. * Fix enabling registration on demo homeservers (PR #223)
  1506. Changes in synapse v0.9.4-rc1 (2015-07-21)
  1507. ==========================================
  1508. General:
  1509. * Add basic implementation of receipts. (SPEC-99)
  1510. * Add support for configuration presets in room creation API. (PR #203)
  1511. * Add auth event that limits the visibility of history for new users.
  1512. (SPEC-134)
  1513. * Add SAML2 login/registration support. (PR #201. Thanks Muthu Subramanian!)
  1514. * Add client side key management APIs for end to end encryption. (PR #198)
  1515. * Change power level semantics so that you cannot kick, ban or change power
  1516. levels of users that have equal or greater power level than you. (SYN-192)
  1517. * Improve performance by bulk inserting events where possible. (PR #193)
  1518. * Improve performance by bulk verifying signatures where possible. (PR #194)
  1519. Configuration:
  1520. * Add support for including TLS certificate chains.
  1521. Media Repository:
  1522. * Add Content-Disposition headers to content repository responses. (SYN-150)
  1523. Changes in synapse v0.9.3 (2015-07-01)
  1524. ======================================
  1525. No changes from v0.9.3 Release Candidate 1.
  1526. Changes in synapse v0.9.3-rc1 (2015-06-23)
  1527. ==========================================
  1528. General:
  1529. * Fix a memory leak in the notifier. (SYN-412)
  1530. * Improve performance of room initial sync. (SYN-418)
  1531. * General improvements to logging.
  1532. * Remove ``access_token`` query params from ``INFO`` level logging.
  1533. Configuration:
  1534. * Add support for specifying and configuring multiple listeners. (SYN-389)
  1535. Application services:
  1536. * Fix bug where synapse failed to send user queries to application services.
  1537. Changes in synapse v0.9.2-r2 (2015-06-15)
  1538. =========================================
  1539. Fix packaging so that schema delta python files get included in the package.
  1540. Changes in synapse v0.9.2 (2015-06-12)
  1541. ======================================
  1542. General:
  1543. * Use ultrajson for json (de)serialisation when a canonical encoding is not
  1544. required. Ultrajson is significantly faster than simplejson in certain
  1545. circumstances.
  1546. * Use connection pools for outgoing HTTP connections.
  1547. * Process thumbnails on separate threads.
  1548. Configuration:
  1549. * Add option, ``gzip_responses``, to disable HTTP response compression.
  1550. Federation:
  1551. * Improve resilience of backfill by ensuring we fetch any missing auth events.
  1552. * Improve performance of backfill and joining remote rooms by removing
  1553. unnecessary computations. This included handling events we'd previously
  1554. handled as well as attempting to compute the current state for outliers.
  1555. Changes in synapse v0.9.1 (2015-05-26)
  1556. ======================================
  1557. General:
  1558. * Add support for backfilling when a client paginates. This allows servers to
  1559. request history for a room from remote servers when a client tries to
  1560. paginate history the server does not have - SYN-36
  1561. * Fix bug where you couldn't disable non-default pushrules - SYN-378
  1562. * Fix ``register_new_user`` script - SYN-359
  1563. * Improve performance of fetching events from the database, this improves both
  1564. initialSync and sending of events.
  1565. * Improve performance of event streams, allowing synapse to handle more
  1566. simultaneous connected clients.
  1567. Federation:
  1568. * Fix bug with existing backfill implementation where it returned the wrong
  1569. selection of events in some circumstances.
  1570. * Improve performance of joining remote rooms.
  1571. Configuration:
  1572. * Add support for changing the bind host of the metrics listener via the
  1573. ``metrics_bind_host`` option.
  1574. Changes in synapse v0.9.0-r5 (2015-05-21)
  1575. =========================================
  1576. * Add more database caches to reduce amount of work done for each pusher. This
  1577. radically reduces CPU usage when multiple pushers are set up in the same room.
  1578. Changes in synapse v0.9.0 (2015-05-07)
  1579. ======================================
  1580. General:
  1581. * Add support for using a PostgreSQL database instead of SQLite. See
  1582. `docs/postgres.rst`_ for details.
  1583. * Add password change and reset APIs. See `Registration`_ in the spec.
  1584. * Fix memory leak due to not releasing stale notifiers - SYN-339.
  1585. * Fix race in caches that occasionally caused some presence updates to be
  1586. dropped - SYN-369.
  1587. * Check server name has not changed on restart.
  1588. * Add a sample systemd unit file and a logger configuration in
  1589. contrib/systemd. Contributed Ivan Shapovalov.
  1590. Federation:
  1591. * Add key distribution mechanisms for fetching public keys of unavailable
  1592. remote home servers. See `Retrieving Server Keys`_ in the spec.
  1593. Configuration:
  1594. * Add support for multiple config files.
  1595. * Add support for dictionaries in config files.
  1596. * Remove support for specifying config options on the command line, except
  1597. for:
  1598. * ``--daemonize`` - Daemonize the home server.
  1599. * ``--manhole`` - Turn on the twisted telnet manhole service on the given
  1600. port.
  1601. * ``--database-path`` - The path to a sqlite database to use.
  1602. * ``--verbose`` - The verbosity level.
  1603. * ``--log-file`` - File to log to.
  1604. * ``--log-config`` - Python logging config file.
  1605. * ``--enable-registration`` - Enable registration for new users.
  1606. Application services:
  1607. * Reliably retry sending of events from Synapse to application services, as per
  1608. `Application Services`_ spec.
  1609. * Application services can no longer register via the ``/register`` API,
  1610. instead their configuration should be saved to a file and listed in the
  1611. synapse ``app_service_config_files`` config option. The AS configuration file
  1612. has the same format as the old ``/register`` request.
  1613. See `docs/application_services.rst`_ for more information.
  1614. .. _`docs/postgres.rst`: docs/postgres.rst
  1615. .. _`docs/application_services.rst`: docs/application_services.rst
  1616. .. _`Registration`: https://github.com/matrix-org/matrix-doc/blob/master/specification/10_client_server_api.rst#registration
  1617. .. _`Retrieving Server Keys`: https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys
  1618. .. _`Application Services`: https://github.com/matrix-org/matrix-doc/blob/0c6bd9/specification/25_application_service_api.rst#home-server---application-service-api
  1619. Changes in synapse v0.8.1 (2015-03-18)
  1620. ======================================
  1621. * Disable registration by default. New users can be added using the command
  1622. ``register_new_matrix_user`` or by enabling registration in the config.
  1623. * Add metrics to synapse. To enable metrics use config options
  1624. ``enable_metrics`` and ``metrics_port``.
  1625. * Fix bug where banning only kicked the user.
  1626. Changes in synapse v0.8.0 (2015-03-06)
  1627. ======================================
  1628. General:
  1629. * Add support for registration fallback. This is a page hosted on the server
  1630. which allows a user to register for an account, regardless of what client
  1631. they are using (e.g. mobile devices).
  1632. * Added new default push rules and made them configurable by clients:
  1633. * Suppress all notice messages.
  1634. * Notify when invited to a new room.
  1635. * Notify for messages that don't match any rule.
  1636. * Notify on incoming call.
  1637. Federation:
  1638. * Added per host server side rate-limiting of incoming federation requests.
  1639. * Added a ``/get_missing_events/`` API to federation to reduce number of
  1640. ``/events/`` requests.
  1641. Configuration:
  1642. * Added configuration option to disable registration:
  1643. ``disable_registration``.
  1644. * Added configuration option to change soft limit of number of open file
  1645. descriptors: ``soft_file_limit``.
  1646. * Make ``tls_private_key_path`` optional when running with ``no_tls``.
  1647. Application services:
  1648. * Application services can now poll on the CS API ``/events`` for their events,
  1649. by providing their application service ``access_token``.
  1650. * Added exclusive namespace support to application services API.
  1651. Changes in synapse v0.7.1 (2015-02-19)
  1652. ======================================
  1653. * Initial alpha implementation of parts of the Application Services API.
  1654. Including:
  1655. - AS Registration / Unregistration
  1656. - User Query API
  1657. - Room Alias Query API
  1658. - Push transport for receiving events.
  1659. - User/Alias namespace admin control
  1660. * Add cache when fetching events from remote servers to stop repeatedly
  1661. fetching events with bad signatures.
  1662. * Respect the per remote server retry scheme when fetching both events and
  1663. server keys to reduce the number of times we send requests to dead servers.
  1664. * Inform remote servers when the local server fails to handle a received event.
  1665. * Turn off python bytecode generation due to problems experienced when
  1666. upgrading from previous versions.
  1667. Changes in synapse v0.7.0 (2015-02-12)
  1668. ======================================
  1669. * Add initial implementation of the query auth federation API, allowing
  1670. servers to agree on whether an event should be allowed or rejected.
  1671. * Persist events we have rejected from federation, fixing the bug where
  1672. servers would keep requesting the same events.
  1673. * Various federation performance improvements, including:
  1674. - Add in memory caches on queries such as:
  1675. * Computing the state of a room at a point in time, used for
  1676. authorization on federation requests.
  1677. * Fetching events from the database.
  1678. * User's room membership, used for authorizing presence updates.
  1679. - Upgraded JSON library to improve parsing and serialisation speeds.
  1680. * Add default avatars to new user accounts using pydenticon library.
  1681. * Correctly time out federation requests.
  1682. * Retry federation requests against different servers.
  1683. * Add support for push and push rules.
  1684. * Add alpha versions of proposed new CSv2 APIs, including ``/sync`` API.
  1685. Changes in synapse 0.6.1 (2015-01-07)
  1686. =====================================
  1687. * Major optimizations to improve performance of initial sync and event sending
  1688. in large rooms (by up to 10x)
  1689. * Media repository now includes a Content-Length header on media downloads.
  1690. * Improve quality of thumbnails by changing resizing algorithm.
  1691. Changes in synapse 0.6.0 (2014-12-16)
  1692. =====================================
  1693. * Add new API for media upload and download that supports thumbnailing.
  1694. * Replicate media uploads over multiple homeservers so media is always served
  1695. to clients from their local homeserver. This obsoletes the
  1696. --content-addr parameter and confusion over accessing content directly
  1697. from remote homeservers.
  1698. * Implement exponential backoff when retrying federation requests when
  1699. sending to remote homeservers which are offline.
  1700. * Implement typing notifications.
  1701. * Fix bugs where we sent events with invalid signatures due to bugs where
  1702. we incorrectly persisted events.
  1703. * Improve performance of database queries involving retrieving events.
  1704. Changes in synapse 0.5.4a (2014-12-13)
  1705. ======================================
  1706. * Fix bug while generating the error message when a file path specified in
  1707. the config doesn't exist.
  1708. Changes in synapse 0.5.4 (2014-12-03)
  1709. =====================================
  1710. * Fix presence bug where some rooms did not display presence updates for
  1711. remote users.
  1712. * Do not log SQL timing log lines when started with "-v"
  1713. * Fix potential memory leak.
  1714. Changes in synapse 0.5.3c (2014-12-02)
  1715. ======================================
  1716. * Change the default value for the `content_addr` option to use the HTTP
  1717. listener, as by default the HTTPS listener will be using a self-signed
  1718. certificate.
  1719. Changes in synapse 0.5.3 (2014-11-27)
  1720. =====================================
  1721. * Fix bug that caused joining a remote room to fail if a single event was not
  1722. signed correctly.
  1723. * Fix bug which caused servers to continuously try and fetch events from other
  1724. servers.
  1725. Changes in synapse 0.5.2 (2014-11-26)
  1726. =====================================
  1727. Fix major bug that caused rooms to disappear from peoples initial sync.
  1728. Changes in synapse 0.5.1 (2014-11-26)
  1729. =====================================
  1730. See UPGRADES.rst for specific instructions on how to upgrade.
  1731. * Fix bug where we served up an Event that did not match its signatures.
  1732. * Fix regression where we no longer correctly handled the case where a
  1733. homeserver receives an event for a room it doesn't recognise (but is in.)
  1734. Changes in synapse 0.5.0 (2014-11-19)
  1735. =====================================
  1736. This release includes changes to the federation protocol and client-server API
  1737. that is not backwards compatible.
  1738. This release also changes the internal database schemas and so requires servers to
  1739. drop their current history. See UPGRADES.rst for details.
  1740. Homeserver:
  1741. * Add authentication and authorization to the federation protocol. Events are
  1742. now signed by their originating homeservers.
  1743. * Implement the new authorization model for rooms.
  1744. * Split out web client into a seperate repository: matrix-angular-sdk.
  1745. * Change the structure of PDUs.
  1746. * Fix bug where user could not join rooms via an alias containing 4-byte
  1747. UTF-8 characters.
  1748. * Merge concept of PDUs and Events internally.
  1749. * Improve logging by adding request ids to log lines.
  1750. * Implement a very basic room initial sync API.
  1751. * Implement the new invite/join federation APIs.
  1752. Webclient:
  1753. * The webclient has been moved to a seperate repository.
  1754. Changes in synapse 0.4.2 (2014-10-31)
  1755. =====================================
  1756. Homeserver:
  1757. * Fix bugs where we did not notify users of correct presence updates.
  1758. * Fix bug where we did not handle sub second event stream timeouts.
  1759. Webclient:
  1760. * Add ability to click on messages to see JSON.
  1761. * Add ability to redact messages.
  1762. * Add ability to view and edit all room state JSON.
  1763. * Handle incoming redactions.
  1764. * Improve feedback on errors.
  1765. * Fix bugs in mobile CSS.
  1766. * Fix bugs with desktop notifications.
  1767. Changes in synapse 0.4.1 (2014-10-17)
  1768. =====================================
  1769. Webclient:
  1770. * Fix bug with display of timestamps.
  1771. Changes in synpase 0.4.0 (2014-10-17)
  1772. =====================================
  1773. This release includes changes to the federation protocol and client-server API
  1774. that is not backwards compatible.
  1775. The Matrix specification has been moved to a separate git repository:
  1776. http://github.com/matrix-org/matrix-doc
  1777. You will also need an updated syutil and config. See UPGRADES.rst.
  1778. Homeserver:
  1779. * Sign federation transactions to assert strong identity over federation.
  1780. * Rename timestamp keys in PDUs and events from 'ts' and 'hsob_ts' to 'origin_server_ts'.
  1781. Changes in synapse 0.3.4 (2014-09-25)
  1782. =====================================
  1783. This version adds support for using a TURN server. See docs/turn-howto.rst on
  1784. how to set one up.
  1785. Homeserver:
  1786. * Add support for redaction of messages.
  1787. * Fix bug where inviting a user on a remote home server could take up to
  1788. 20-30s.
  1789. * Implement a get current room state API.
  1790. * Add support specifying and retrieving turn server configuration.
  1791. Webclient:
  1792. * Add button to send messages to users from the home page.
  1793. * Add support for using TURN for VoIP calls.
  1794. * Show display name change messages.
  1795. * Fix bug where the client didn't get the state of a newly joined room
  1796. until after it has been refreshed.
  1797. * Fix bugs with tab complete.
  1798. * Fix bug where holding down the down arrow caused chrome to chew 100% CPU.
  1799. * Fix bug where desktop notifications occasionally used "Undefined" as the
  1800. display name.
  1801. * Fix more places where we sometimes saw room IDs incorrectly.
  1802. * Fix bug which caused lag when entering text in the text box.
  1803. Changes in synapse 0.3.3 (2014-09-22)
  1804. =====================================
  1805. Homeserver:
  1806. * Fix bug where you continued to get events for rooms you had left.
  1807. Webclient:
  1808. * Add support for video calls with basic UI.
  1809. * Fix bug where one to one chats were named after your display name rather
  1810. than the other person's.
  1811. * Fix bug which caused lag when typing in the textarea.
  1812. * Refuse to run on browsers we know won't work.
  1813. * Trigger pagination when joining new rooms.
  1814. * Fix bug where we sometimes didn't display invitations in recents.
  1815. * Automatically join room when accepting a VoIP call.
  1816. * Disable outgoing and reject incoming calls on browsers we don't support
  1817. VoIP in.
  1818. * Don't display desktop notifications for messages in the room you are
  1819. non-idle and speaking in.
  1820. Changes in synapse 0.3.2 (2014-09-18)
  1821. =====================================
  1822. Webclient:
  1823. * Fix bug where an empty "bing words" list in old accounts didn't send
  1824. notifications when it should have done.
  1825. Changes in synapse 0.3.1 (2014-09-18)
  1826. =====================================
  1827. This is a release to hotfix v0.3.0 to fix two regressions.
  1828. Webclient:
  1829. * Fix a regression where we sometimes displayed duplicate events.
  1830. * Fix a regression where we didn't immediately remove rooms you were
  1831. banned in from the recents list.
  1832. Changes in synapse 0.3.0 (2014-09-18)
  1833. =====================================
  1834. See UPGRADE for information about changes to the client server API, including
  1835. breaking backwards compatibility with VoIP calls and registration API.
  1836. Homeserver:
  1837. * When a user changes their displayname or avatar the server will now update
  1838. all their join states to reflect this.
  1839. * The server now adds "age" key to events to indicate how old they are. This
  1840. is clock independent, so at no point does any server or webclient have to
  1841. assume their clock is in sync with everyone else.
  1842. * Fix bug where we didn't correctly pull in missing PDUs.
  1843. * Fix bug where prev_content key wasn't always returned.
  1844. * Add support for password resets.
  1845. Webclient:
  1846. * Improve page content loading.
  1847. * Join/parts now trigger desktop notifications.
  1848. * Always show room aliases in the UI if one is present.
  1849. * No longer show user-count in the recents side panel.
  1850. * Add up & down arrow support to the text box for message sending to step
  1851. through your sent history.
  1852. * Don't display notifications for our own messages.
  1853. * Emotes are now formatted correctly in desktop notifications.
  1854. * The recents list now differentiates between public & private rooms.
  1855. * Fix bug where when switching between rooms the pagination flickered before
  1856. the view jumped to the bottom of the screen.
  1857. * Add bing word support.
  1858. Registration API:
  1859. * The registration API has been overhauled to function like the login API. In
  1860. practice, this means registration requests must now include the following:
  1861. 'type':'m.login.password'. See UPGRADE for more information on this.
  1862. * The 'user_id' key has been renamed to 'user' to better match the login API.
  1863. * There is an additional login type: 'm.login.email.identity'.
  1864. * The command client and web client have been updated to reflect these changes.
  1865. Changes in synapse 0.2.3 (2014-09-12)
  1866. =====================================
  1867. Homeserver:
  1868. * Fix bug where we stopped sending events to remote home servers if a
  1869. user from that home server left, even if there were some still in the
  1870. room.
  1871. * Fix bugs in the state conflict resolution where it was incorrectly
  1872. rejecting events.
  1873. Webclient:
  1874. * Display room names and topics.
  1875. * Allow setting/editing of room names and topics.
  1876. * Display information about rooms on the main page.
  1877. * Handle ban and kick events in real time.
  1878. * VoIP UI and reliability improvements.
  1879. * Add glare support for VoIP.
  1880. * Improvements to initial startup speed.
  1881. * Don't display duplicate join events.
  1882. * Local echo of messages.
  1883. * Differentiate sending and sent of local echo.
  1884. * Various minor bug fixes.
  1885. Changes in synapse 0.2.2 (2014-09-06)
  1886. =====================================
  1887. Homeserver:
  1888. * When the server returns state events it now also includes the previous
  1889. content.
  1890. * Add support for inviting people when creating a new room.
  1891. * Make the homeserver inform the room via `m.room.aliases` when a new alias
  1892. is added for a room.
  1893. * Validate `m.room.power_level` events.
  1894. Webclient:
  1895. * Add support for captchas on registration.
  1896. * Handle `m.room.aliases` events.
  1897. * Asynchronously send messages and show a local echo.
  1898. * Inform the UI when a message failed to send.
  1899. * Only autoscroll on receiving a new message if the user was already at the
  1900. bottom of the screen.
  1901. * Add support for ban/kick reasons.
  1902. Changes in synapse 0.2.1 (2014-09-03)
  1903. =====================================
  1904. Homeserver:
  1905. * Added support for signing up with a third party id.
  1906. * Add synctl scripts.
  1907. * Added rate limiting.
  1908. * Add option to change the external address the content repo uses.
  1909. * Presence bug fixes.
  1910. Webclient:
  1911. * Added support for signing up with a third party id.
  1912. * Added support for banning and kicking users.
  1913. * Added support for displaying and setting ops.
  1914. * Added support for room names.
  1915. * Fix bugs with room membership event display.
  1916. Changes in synapse 0.2.0 (2014-09-02)
  1917. =====================================
  1918. This update changes many configuration options, updates the
  1919. database schema and mandates SSL for server-server connections.
  1920. Homeserver:
  1921. * Require SSL for server-server connections.
  1922. * Add SSL listener for client-server connections.
  1923. * Add ability to use config files.
  1924. * Add support for kicking/banning and power levels.
  1925. * Allow setting of room names and topics on creation.
  1926. * Change presence to include last seen time of the user.
  1927. * Change url path prefix to /_matrix/...
  1928. * Bug fixes to presence.
  1929. Webclient:
  1930. * Reskin the CSS for registration and login.
  1931. * Various improvements to rooms CSS.
  1932. * Support changes in client-server API.
  1933. * Bug fixes to VOIP UI.
  1934. * Various bug fixes to handling of changes to room member list.
  1935. Changes in synapse 0.1.2 (2014-08-29)
  1936. =====================================
  1937. Webclient:
  1938. * Add basic call state UI for VoIP calls.
  1939. Changes in synapse 0.1.1 (2014-08-29)
  1940. =====================================
  1941. Homeserver:
  1942. * Fix bug that caused the event stream to not notify some clients about
  1943. changes.
  1944. Changes in synapse 0.1.0 (2014-08-29)
  1945. =====================================
  1946. Presence has been reenabled in this release.
  1947. Homeserver:
  1948. * Update client to server API, including:
  1949. - Use a more consistent url scheme.
  1950. - Provide more useful information in the initial sync api.
  1951. * Change the presence handling to be much more efficient.
  1952. * Change the presence server to server API to not require explicit polling of
  1953. all users who share a room with a user.
  1954. * Fix races in the event streaming logic.
  1955. Webclient:
  1956. * Update to use new client to server API.
  1957. * Add basic VOIP support.
  1958. * Add idle timers that change your status to away.
  1959. * Add recent rooms column when viewing a room.
  1960. * Various network efficiency improvements.
  1961. * Add basic mobile browser support.
  1962. * Add a settings page.
  1963. Changes in synapse 0.0.1 (2014-08-22)
  1964. =====================================
  1965. Presence has been disabled in this release due to a bug that caused the
  1966. homeserver to spam other remote homeservers.
  1967. Homeserver:
  1968. * Completely change the database schema to support generic event types.
  1969. * Improve presence reliability.
  1970. * Improve reliability of joining remote rooms.
  1971. * Fix bug where room join events were duplicated.
  1972. * Improve initial sync API to return more information to the client.
  1973. * Stop generating fake messages for room membership events.
  1974. Webclient:
  1975. * Add tab completion of names.
  1976. * Add ability to upload and send images.
  1977. * Add profile pages.
  1978. * Improve CSS layout of room.
  1979. * Disambiguate identical display names.
  1980. * Don't get remote users display names and avatars individually.
  1981. * Use the new initial sync API to reduce number of round trips to the homeserver.
  1982. * Change url scheme to use room aliases instead of room ids where known.
  1983. * Increase longpoll timeout.
  1984. Changes in synapse 0.0.0 (2014-08-13)
  1985. =====================================
  1986. * Initial alpha release