CHANGES.rst 62 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825
  1. Changes in synapse v0.19.0 (2017-02-04)
  2. =======================================
  3. No changes since RC 4.
  4. Changes in synapse v0.19.0-rc4 (2017-02-02)
  5. ===========================================
  6. * Bump cache sizes for common membership queries (PR #1879)
  7. Changes in synapse v0.19.0-rc3 (2017-02-02)
  8. ===========================================
  9. * Fix email push in pusher worker (PR #1875)
  10. * Make presence.get_new_events a bit faster (PR #1876)
  11. * Make /keys/changes a bit more performant (PR #1877)
  12. Changes in synapse v0.19.0-rc2 (2017-02-02)
  13. ===========================================
  14. * Include newly joined users in /keys/changes API (PR #1872)
  15. Changes in synapse v0.19.0-rc1 (2017-02-02)
  16. ===========================================
  17. Features:
  18. * Add support for specifying multiple bind addresses (PR #1709, #1712, #1795,
  19. #1835). Thanks to @kyrias!
  20. * Add /account/3pid/delete endpoint (PR #1714)
  21. * Add config option to configure the Riot URL used in notification emails (PR
  22. #1811). Thanks to @aperezdc!
  23. * Add username and password config options for turn server (PR #1832). Thanks
  24. to @xsteadfastx!
  25. * Implement device lists updates over federation (PR #1857, #1861, #1864)
  26. * Implement /keys/changes (PR #1869, #1872)
  27. Changes:
  28. * Improve IPv6 support (PR #1696). Thanks to @kyrias and @glyph!
  29. * Log which files we saved attachments to in the media_repository (PR #1791)
  30. * Linearize updates to membership via PUT /state/ to better handle multiple
  31. joins (PR #1787)
  32. * Limit number of entries to prefill from cache on startup (PR #1792)
  33. * Remove full_twisted_stacktraces option (PR #1802)
  34. * Measure size of some caches by sum of the size of cached values (PR #1815)
  35. * Measure metrics of string_cache (PR #1821)
  36. * Reduce logging verbosity (PR #1822, #1823, #1824)
  37. * Don't clobber a displayname or avatar_url if provided by an m.room.member
  38. event (PR #1852)
  39. * Better handle 401/404 response for federation /send/ (PR #1866, #1871)
  40. Fixes:
  41. * Fix ability to change password to a non-ascii one (PR #1711)
  42. * Fix push getting stuck due to looking at the wrong view of state (PR #1820)
  43. * Fix email address comparison to be case insensitive (PR #1827)
  44. * Fix occasional inconsistencies of room membership (PR #1836, #1840)
  45. Performance:
  46. * Don't block messages sending on bumping presence (PR #1789)
  47. * Change device_inbox stream index to include user (PR #1793)
  48. * Optimise state resolution (PR #1818)
  49. * Use DB cache of joined users for presence (PR #1862)
  50. * Add an index to make membership queries faster (PR #1867)
  51. Changes in synapse v0.18.7 (2017-01-09)
  52. =======================================
  53. No changes from v0.18.7-rc2
  54. Changes in synapse v0.18.7-rc2 (2017-01-07)
  55. ===========================================
  56. Bug fixes:
  57. * Fix error in rc1's discarding invalid inbound traffic logic that was
  58. incorrectly discarding missing events
  59. Changes in synapse v0.18.7-rc1 (2017-01-06)
  60. ===========================================
  61. Bug fixes:
  62. * Fix error in #PR 1764 to actually fix the nightmare #1753 bug.
  63. * Improve deadlock logging further
  64. * Discard inbound federation traffic from invalid domains, to immunise
  65. against #1753
  66. Changes in synapse v0.18.6 (2017-01-06)
  67. =======================================
  68. Bug fixes:
  69. * Fix bug when checking if a guest user is allowed to join a room (PR #1772)
  70. Thanks to Patrik Oldsberg for diagnosing and the fix!
  71. Changes in synapse v0.18.6-rc3 (2017-01-05)
  72. ===========================================
  73. Bug fixes:
  74. * Fix bug where we failed to send ban events to the banned server (PR #1758)
  75. * Fix bug where we sent event that didn't originate on this server to
  76. other servers (PR #1764)
  77. * Fix bug where processing an event from a remote server took a long time
  78. because we were making long HTTP requests (PR #1765, PR #1744)
  79. Changes:
  80. * Improve logging for debugging deadlocks (PR #1766, PR #1767)
  81. Changes in synapse v0.18.6-rc2 (2016-12-30)
  82. ===========================================
  83. Bug fixes:
  84. * Fix memory leak in twisted by initialising logging correctly (PR #1731)
  85. * Fix bug where fetching missing events took an unacceptable amount of time in
  86. large rooms (PR #1734)
  87. Changes in synapse v0.18.6-rc1 (2016-12-29)
  88. ===========================================
  89. Bug fixes:
  90. * Make sure that outbound connections are closed (PR #1725)
  91. Changes in synapse v0.18.5 (2016-12-16)
  92. =======================================
  93. Bug fixes:
  94. * Fix federation /backfill returning events it shouldn't (PR #1700)
  95. * Fix crash in url preview (PR #1701)
  96. Changes in synapse v0.18.5-rc3 (2016-12-13)
  97. ===========================================
  98. Features:
  99. * Add support for E2E for guests (PR #1653)
  100. * Add new API appservice specific public room list (PR #1676)
  101. * Add new room membership APIs (PR #1680)
  102. Changes:
  103. * Enable guest access for private rooms by default (PR #653)
  104. * Limit the number of events that can be created on a given room concurrently
  105. (PR #1620)
  106. * Log the args that we have on UI auth completion (PR #1649)
  107. * Stop generating refresh_tokens (PR #1654)
  108. * Stop putting a time caveat on access tokens (PR #1656)
  109. * Remove unspecced GET endpoints for e2e keys (PR #1694)
  110. Bug fixes:
  111. * Fix handling of 500 and 429's over federation (PR #1650)
  112. * Fix Content-Type header parsing (PR #1660)
  113. * Fix error when previewing sites that include unicode, thanks to kyrias (PR
  114. #1664)
  115. * Fix some cases where we drop read receipts (PR #1678)
  116. * Fix bug where calls to ``/sync`` didn't correctly timeout (PR #1683)
  117. * Fix bug where E2E key query would fail if a single remote host failed (PR
  118. #1686)
  119. Changes in synapse v0.18.5-rc2 (2016-11-24)
  120. ===========================================
  121. Bug fixes:
  122. * Don't send old events over federation, fixes bug in -rc1.
  123. Changes in synapse v0.18.5-rc1 (2016-11-24)
  124. ===========================================
  125. Features:
  126. * Implement "event_fields" in filters (PR #1638)
  127. Changes:
  128. * Use external ldap auth pacakge (PR #1628)
  129. * Split out federation transaction sending to a worker (PR #1635)
  130. * Fail with a coherent error message if `/sync?filter=` is invalid (PR #1636)
  131. * More efficient notif count queries (PR #1644)
  132. Changes in synapse v0.18.4 (2016-11-22)
  133. =======================================
  134. Bug fixes:
  135. * Add workaround for buggy clients that the fail to register (PR #1632)
  136. Changes in synapse v0.18.4-rc1 (2016-11-14)
  137. ===========================================
  138. Changes:
  139. * Various database efficiency improvements (PR #1188, #1192)
  140. * Update default config to blacklist more internal IPs, thanks to Euan Kemp (PR
  141. #1198)
  142. * Allow specifying duration in minutes in config, thanks to Daniel Dent (PR
  143. #1625)
  144. Bug fixes:
  145. * Fix media repo to set CORs headers on responses (PR #1190)
  146. * Fix registration to not error on non-ascii passwords (PR #1191)
  147. * Fix create event code to limit the number of prev_events (PR #1615)
  148. * Fix bug in transaction ID deduplication (PR #1624)
  149. Changes in synapse v0.18.3 (2016-11-08)
  150. =======================================
  151. SECURITY UPDATE
  152. Explicitly require authentication when using LDAP3. This is the default on
  153. versions of ``ldap3`` above 1.0, but some distributions will package an older
  154. version.
  155. If you are using LDAP3 login and have a version of ``ldap3`` older than 1.0 it
  156. is **CRITICAL to updgrade**.
  157. Changes in synapse v0.18.2 (2016-11-01)
  158. =======================================
  159. No changes since v0.18.2-rc5
  160. Changes in synapse v0.18.2-rc5 (2016-10-28)
  161. ===========================================
  162. Bug fixes:
  163. * Fix prometheus process metrics in worker processes (PR #1184)
  164. Changes in synapse v0.18.2-rc4 (2016-10-27)
  165. ===========================================
  166. Bug fixes:
  167. * Fix ``user_threepids`` schema delta, which in some instances prevented
  168. startup after upgrade (PR #1183)
  169. Changes in synapse v0.18.2-rc3 (2016-10-27)
  170. ===========================================
  171. Changes:
  172. * Allow clients to supply access tokens as headers (PR #1098)
  173. * Clarify error codes for GET /filter/, thanks to Alexander Maznev (PR #1164)
  174. * Make password reset email field case insensitive (PR #1170)
  175. * Reduce redundant database work in email pusher (PR #1174)
  176. * Allow configurable rate limiting per AS (PR #1175)
  177. * Check whether to ratelimit sooner to avoid work (PR #1176)
  178. * Standardise prometheus metrics (PR #1177)
  179. Bug fixes:
  180. * Fix incredibly slow back pagination query (PR #1178)
  181. * Fix infinite typing bug (PR #1179)
  182. Changes in synapse v0.18.2-rc2 (2016-10-25)
  183. ===========================================
  184. (This release did not include the changes advertised and was identical to RC1)
  185. Changes in synapse v0.18.2-rc1 (2016-10-17)
  186. ===========================================
  187. Changes:
  188. * Remove redundant event_auth index (PR #1113)
  189. * Reduce DB hits for replication (PR #1141)
  190. * Implement pluggable password auth (PR #1155)
  191. * Remove rate limiting from app service senders and fix get_or_create_user
  192. requester, thanks to Patrik Oldsberg (PR #1157)
  193. * window.postmessage for Interactive Auth fallback (PR #1159)
  194. * Use sys.executable instead of hardcoded python, thanks to Pedro Larroy
  195. (PR #1162)
  196. * Add config option for adding additional TLS fingerprints (PR #1167)
  197. * User-interactive auth on delete device (PR #1168)
  198. Bug fixes:
  199. * Fix not being allowed to set your own state_key, thanks to Patrik Oldsberg
  200. (PR #1150)
  201. * Fix interactive auth to return 401 from for incorrect password (PR #1160,
  202. #1166)
  203. * Fix email push notifs being dropped (PR #1169)
  204. Changes in synapse v0.18.1 (2016-10-05)
  205. ======================================
  206. No changes since v0.18.1-rc1
  207. Changes in synapse v0.18.1-rc1 (2016-09-30)
  208. ===========================================
  209. Features:
  210. * Add total_room_count_estimate to ``/publicRooms`` (PR #1133)
  211. Changes:
  212. * Time out typing over federation (PR #1140)
  213. * Restructure LDAP authentication (PR #1153)
  214. Bug fixes:
  215. * Fix 3pid invites when server is already in the room (PR #1136)
  216. * Fix upgrading with SQLite taking lots of CPU for a few days
  217. after upgrade (PR #1144)
  218. * Fix upgrading from very old database versions (PR #1145)
  219. * Fix port script to work with recently added tables (PR #1146)
  220. Changes in synapse v0.18.0 (2016-09-19)
  221. =======================================
  222. The release includes major changes to the state storage database schemas, which
  223. significantly reduce database size. Synapse will attempt to upgrade the current
  224. data in the background. Servers with large SQLite database may experience
  225. degradation of performance while this upgrade is in progress, therefore you may
  226. want to consider migrating to using Postgres before upgrading very large SQLite
  227. databases
  228. Changes:
  229. * Make public room search case insensitive (PR #1127)
  230. Bug fixes:
  231. * Fix and clean up publicRooms pagination (PR #1129)
  232. Changes in synapse v0.18.0-rc1 (2016-09-16)
  233. ===========================================
  234. Features:
  235. * Add ``only=highlight`` on ``/notifications`` (PR #1081)
  236. * Add server param to /publicRooms (PR #1082)
  237. * Allow clients to ask for the whole of a single state event (PR #1094)
  238. * Add is_direct param to /createRoom (PR #1108)
  239. * Add pagination support to publicRooms (PR #1121)
  240. * Add very basic filter API to /publicRooms (PR #1126)
  241. * Add basic direct to device messaging support for E2E (PR #1074, #1084, #1104,
  242. #1111)
  243. Changes:
  244. * Move to storing state_groups_state as deltas, greatly reducing DB size (PR
  245. #1065)
  246. * Reduce amount of state pulled out of the DB during common requests (PR #1069)
  247. * Allow PDF to be rendered from media repo (PR #1071)
  248. * Reindex state_groups_state after pruning (PR #1085)
  249. * Clobber EDUs in send queue (PR #1095)
  250. * Conform better to the CAS protocol specification (PR #1100)
  251. * Limit how often we ask for keys from dead servers (PR #1114)
  252. Bug fixes:
  253. * Fix /notifications API when used with ``from`` param (PR #1080)
  254. * Fix backfill when cannot find an event. (PR #1107)
  255. Changes in synapse v0.17.3 (2016-09-09)
  256. =======================================
  257. This release fixes a major bug that stopped servers from handling rooms with
  258. over 1000 members.
  259. Changes in synapse v0.17.2 (2016-09-08)
  260. =======================================
  261. This release contains security bug fixes. Please upgrade.
  262. No changes since v0.17.2-rc1
  263. Changes in synapse v0.17.2-rc1 (2016-09-05)
  264. ===========================================
  265. Features:
  266. * Start adding store-and-forward direct-to-device messaging (PR #1046, #1050,
  267. #1062, #1066)
  268. Changes:
  269. * Avoid pulling the full state of a room out so often (PR #1047, #1049, #1063,
  270. #1068)
  271. * Don't notify for online to online presence transitions. (PR #1054)
  272. * Occasionally persist unpersisted presence updates (PR #1055)
  273. * Allow application services to have an optional 'url' (PR #1056)
  274. * Clean up old sent transactions from DB (PR #1059)
  275. Bug fixes:
  276. * Fix None check in backfill (PR #1043)
  277. * Fix membership changes to be idempotent (PR #1067)
  278. * Fix bug in get_pdu where it would sometimes return events with incorrect
  279. signature
  280. Changes in synapse v0.17.1 (2016-08-24)
  281. =======================================
  282. Changes:
  283. * Delete old received_transactions rows (PR #1038)
  284. * Pass through user-supplied content in /join/$room_id (PR #1039)
  285. Bug fixes:
  286. * Fix bug with backfill (PR #1040)
  287. Changes in synapse v0.17.1-rc1 (2016-08-22)
  288. ===========================================
  289. Features:
  290. * Add notification API (PR #1028)
  291. Changes:
  292. * Don't print stack traces when failing to get remote keys (PR #996)
  293. * Various federation /event/ perf improvements (PR #998)
  294. * Only process one local membership event per room at a time (PR #1005)
  295. * Move default display name push rule (PR #1011, #1023)
  296. * Fix up preview URL API. Add tests. (PR #1015)
  297. * Set ``Content-Security-Policy`` on media repo (PR #1021)
  298. * Make notify_interested_services faster (PR #1022)
  299. * Add usage stats to prometheus monitoring (PR #1037)
  300. Bug fixes:
  301. * Fix token login (PR #993)
  302. * Fix CAS login (PR #994, #995)
  303. * Fix /sync to not clobber status_msg (PR #997)
  304. * Fix redacted state events to include prev_content (PR #1003)
  305. * Fix some bugs in the auth/ldap handler (PR #1007)
  306. * Fix backfill request to limit URI length, so that remotes don't reject the
  307. requests due to path length limits (PR #1012)
  308. * Fix AS push code to not send duplicate events (PR #1025)
  309. Changes in synapse v0.17.0 (2016-08-08)
  310. =======================================
  311. This release contains significant security bug fixes regarding authenticating
  312. events received over federation. PLEASE UPGRADE.
  313. This release changes the LDAP configuration format in a backwards incompatible
  314. way, see PR #843 for details.
  315. Changes:
  316. * Add federation /version API (PR #990)
  317. * Make psutil dependency optional (PR #992)
  318. Bug fixes:
  319. * Fix URL preview API to exclude HTML comments in description (PR #988)
  320. * Fix error handling of remote joins (PR #991)
  321. Changes in synapse v0.17.0-rc4 (2016-08-05)
  322. ===========================================
  323. Changes:
  324. * Change the way we summarize URLs when previewing (PR #973)
  325. * Add new ``/state_ids/`` federation API (PR #979)
  326. * Speed up processing of ``/state/`` response (PR #986)
  327. Bug fixes:
  328. * Fix event persistence when event has already been partially persisted
  329. (PR #975, #983, #985)
  330. * Fix port script to also copy across backfilled events (PR #982)
  331. Changes in synapse v0.17.0-rc3 (2016-08-02)
  332. ===========================================
  333. Changes:
  334. * Forbid non-ASes from registering users whose names begin with '_' (PR #958)
  335. * Add some basic admin API docs (PR #963)
  336. Bug fixes:
  337. * Send the correct host header when fetching keys (PR #941)
  338. * Fix joining a room that has missing auth events (PR #964)
  339. * Fix various push bugs (PR #966, #970)
  340. * Fix adding emails on registration (PR #968)
  341. Changes in synapse v0.17.0-rc2 (2016-08-02)
  342. ===========================================
  343. (This release did not include the changes advertised and was identical to RC1)
  344. Changes in synapse v0.17.0-rc1 (2016-07-28)
  345. ===========================================
  346. This release changes the LDAP configuration format in a backwards incompatible
  347. way, see PR #843 for details.
  348. Features:
  349. * Add purge_media_cache admin API (PR #902)
  350. * Add deactivate account admin API (PR #903)
  351. * Add optional pepper to password hashing (PR #907, #910 by KentShikama)
  352. * Add an admin option to shared secret registration (breaks backwards compat)
  353. (PR #909)
  354. * Add purge local room history API (PR #911, #923, #924)
  355. * Add requestToken endpoints (PR #915)
  356. * Add an /account/deactivate endpoint (PR #921)
  357. * Add filter param to /messages. Add 'contains_url' to filter. (PR #922)
  358. * Add device_id support to /login (PR #929)
  359. * Add device_id support to /v2/register flow. (PR #937, #942)
  360. * Add GET /devices endpoint (PR #939, #944)
  361. * Add GET /device/{deviceId} (PR #943)
  362. * Add update and delete APIs for devices (PR #949)
  363. Changes:
  364. * Rewrite LDAP Authentication against ldap3 (PR #843 by mweinelt)
  365. * Linearize some federation endpoints based on (origin, room_id) (PR #879)
  366. * Remove the legacy v0 content upload API. (PR #888)
  367. * Use similar naming we use in email notifs for push (PR #894)
  368. * Optionally include password hash in createUser endpoint (PR #905 by
  369. KentShikama)
  370. * Use a query that postgresql optimises better for get_events_around (PR #906)
  371. * Fall back to 'username' if 'user' is not given for appservice registration.
  372. (PR #927 by Half-Shot)
  373. * Add metrics for psutil derived memory usage (PR #936)
  374. * Record device_id in client_ips (PR #938)
  375. * Send the correct host header when fetching keys (PR #941)
  376. * Log the hostname the reCAPTCHA was completed on (PR #946)
  377. * Make the device id on e2e key upload optional (PR #956)
  378. * Add r0.2.0 to the "supported versions" list (PR #960)
  379. * Don't include name of room for invites in push (PR #961)
  380. Bug fixes:
  381. * Fix substitution failure in mail template (PR #887)
  382. * Put most recent 20 messages in email notif (PR #892)
  383. * Ensure that the guest user is in the database when upgrading accounts
  384. (PR #914)
  385. * Fix various edge cases in auth handling (PR #919)
  386. * Fix 500 ISE when sending alias event without a state_key (PR #925)
  387. * Fix bug where we stored rejections in the state_group, persist all
  388. rejections (PR #948)
  389. * Fix lack of check of if the user is banned when handling 3pid invites
  390. (PR #952)
  391. * Fix a couple of bugs in the transaction and keyring code (PR #954, #955)
  392. Changes in synapse v0.16.1-r1 (2016-07-08)
  393. ==========================================
  394. THIS IS A CRITICAL SECURITY UPDATE.
  395. This fixes a bug which allowed users' accounts to be accessed by unauthorised
  396. users.
  397. Changes in synapse v0.16.1 (2016-06-20)
  398. =======================================
  399. Bug fixes:
  400. * Fix assorted bugs in ``/preview_url`` (PR #872)
  401. * Fix TypeError when setting unicode passwords (PR #873)
  402. Performance improvements:
  403. * Turn ``use_frozen_events`` off by default (PR #877)
  404. * Disable responding with canonical json for federation (PR #878)
  405. Changes in synapse v0.16.1-rc1 (2016-06-15)
  406. ===========================================
  407. Features: None
  408. Changes:
  409. * Log requester for ``/publicRoom`` endpoints when possible (PR #856)
  410. * 502 on ``/thumbnail`` when can't connect to remote server (PR #862)
  411. * Linearize fetching of gaps on incoming events (PR #871)
  412. Bugs fixes:
  413. * Fix bug where rooms where marked as published by default (PR #857)
  414. * Fix bug where joining room with an event with invalid sender (PR #868)
  415. * Fix bug where backfilled events were sent down sync streams (PR #869)
  416. * Fix bug where outgoing connections could wedge indefinitely, causing push
  417. notifications to be unreliable (PR #870)
  418. Performance improvements:
  419. * Improve ``/publicRooms`` performance(PR #859)
  420. Changes in synapse v0.16.0 (2016-06-09)
  421. =======================================
  422. NB: As of v0.14 all AS config files must have an ID field.
  423. Bug fixes:
  424. * Don't make rooms published by default (PR #857)
  425. Changes in synapse v0.16.0-rc2 (2016-06-08)
  426. ===========================================
  427. Features:
  428. * Add configuration option for tuning GC via ``gc.set_threshold`` (PR #849)
  429. Changes:
  430. * Record metrics about GC (PR #771, #847, #852)
  431. * Add metric counter for number of persisted events (PR #841)
  432. Bug fixes:
  433. * Fix 'From' header in email notifications (PR #843)
  434. * Fix presence where timeouts were not being fired for the first 8h after
  435. restarts (PR #842)
  436. * Fix bug where synapse sent malformed transactions to AS's when retrying
  437. transactions (Commits 310197b, 8437906)
  438. Performance improvements:
  439. * Remove event fetching from DB threads (PR #835)
  440. * Change the way we cache events (PR #836)
  441. * Add events to cache when we persist them (PR #840)
  442. Changes in synapse v0.16.0-rc1 (2016-06-03)
  443. ===========================================
  444. Version 0.15 was not released. See v0.15.0-rc1 below for additional changes.
  445. Features:
  446. * Add email notifications for missed messages (PR #759, #786, #799, #810, #815,
  447. #821)
  448. * Add a ``url_preview_ip_range_whitelist`` config param (PR #760)
  449. * Add /report endpoint (PR #762)
  450. * Add basic ignore user API (PR #763)
  451. * Add an openidish mechanism for proving that you own a given user_id (PR #765)
  452. * Allow clients to specify a server_name to avoid 'No known servers' (PR #794)
  453. * Add secondary_directory_servers option to fetch room list from other servers
  454. (PR #808, #813)
  455. Changes:
  456. * Report per request metrics for all of the things using request_handler (PR
  457. #756)
  458. * Correctly handle ``NULL`` password hashes from the database (PR #775)
  459. * Allow receipts for events we haven't seen in the db (PR #784)
  460. * Make synctl read a cache factor from config file (PR #785)
  461. * Increment badge count per missed convo, not per msg (PR #793)
  462. * Special case m.room.third_party_invite event auth to match invites (PR #814)
  463. Bug fixes:
  464. * Fix typo in event_auth servlet path (PR #757)
  465. * Fix password reset (PR #758)
  466. Performance improvements:
  467. * Reduce database inserts when sending transactions (PR #767)
  468. * Queue events by room for persistence (PR #768)
  469. * Add cache to ``get_user_by_id`` (PR #772)
  470. * Add and use ``get_domain_from_id`` (PR #773)
  471. * Use tree cache for ``get_linearized_receipts_for_room`` (PR #779)
  472. * Remove unused indices (PR #782)
  473. * Add caches to ``bulk_get_push_rules*`` (PR #804)
  474. * Cache ``get_event_reference_hashes`` (PR #806)
  475. * Add ``get_users_with_read_receipts_in_room`` cache (PR #809)
  476. * Use state to calculate ``get_users_in_room`` (PR #811)
  477. * Load push rules in storage layer so that they get cached (PR #825)
  478. * Make ``get_joined_hosts_for_room`` use get_users_in_room (PR #828)
  479. * Poke notifier on next reactor tick (PR #829)
  480. * Change CacheMetrics to be quicker (PR #830)
  481. Changes in synapse v0.15.0-rc1 (2016-04-26)
  482. ===========================================
  483. Features:
  484. * Add login support for Javascript Web Tokens, thanks to Niklas Riekenbrauck
  485. (PR #671,#687)
  486. * Add URL previewing support (PR #688)
  487. * Add login support for LDAP, thanks to Christoph Witzany (PR #701)
  488. * Add GET endpoint for pushers (PR #716)
  489. Changes:
  490. * Never notify for member events (PR #667)
  491. * Deduplicate identical ``/sync`` requests (PR #668)
  492. * Require user to have left room to forget room (PR #673)
  493. * Use DNS cache if within TTL (PR #677)
  494. * Let users see their own leave events (PR #699)
  495. * Deduplicate membership changes (PR #700)
  496. * Increase performance of pusher code (PR #705)
  497. * Respond with error status 504 if failed to talk to remote server (PR #731)
  498. * Increase search performance on postgres (PR #745)
  499. Bug fixes:
  500. * Fix bug where disabling all notifications still resulted in push (PR #678)
  501. * Fix bug where users couldn't reject remote invites if remote refused (PR #691)
  502. * Fix bug where synapse attempted to backfill from itself (PR #693)
  503. * Fix bug where profile information was not correctly added when joining remote
  504. rooms (PR #703)
  505. * Fix bug where register API required incorrect key name for AS registration
  506. (PR #727)
  507. Changes in synapse v0.14.0 (2016-03-30)
  508. =======================================
  509. No changes from v0.14.0-rc2
  510. Changes in synapse v0.14.0-rc2 (2016-03-23)
  511. ===========================================
  512. Features:
  513. * Add published room list API (PR #657)
  514. Changes:
  515. * Change various caches to consume less memory (PR #656, #658, #660, #662,
  516. #663, #665)
  517. * Allow rooms to be published without requiring an alias (PR #664)
  518. * Intern common strings in caches to reduce memory footprint (#666)
  519. Bug fixes:
  520. * Fix reject invites over federation (PR #646)
  521. * Fix bug where registration was not idempotent (PR #649)
  522. * Update aliases event after deleting aliases (PR #652)
  523. * Fix unread notification count, which was sometimes wrong (PR #661)
  524. Changes in synapse v0.14.0-rc1 (2016-03-14)
  525. ===========================================
  526. Features:
  527. * Add event_id to response to state event PUT (PR #581)
  528. * Allow guest users access to messages in rooms they have joined (PR #587)
  529. * Add config for what state is included in a room invite (PR #598)
  530. * Send the inviter's member event in room invite state (PR #607)
  531. * Add error codes for malformed/bad JSON in /login (PR #608)
  532. * Add support for changing the actions for default rules (PR #609)
  533. * Add environment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 (PR #612)
  534. * Add ability for alias creators to delete aliases (PR #614)
  535. * Add profile information to invites (PR #624)
  536. Changes:
  537. * Enforce user_id exclusivity for AS registrations (PR #572)
  538. * Make adding push rules idempotent (PR #587)
  539. * Improve presence performance (PR #582, #586)
  540. * Change presence semantics for ``last_active_ago`` (PR #582, #586)
  541. * Don't allow ``m.room.create`` to be changed (PR #596)
  542. * Add 800x600 to default list of valid thumbnail sizes (PR #616)
  543. * Always include kicks and bans in full /sync (PR #625)
  544. * Send history visibility on boundary changes (PR #626)
  545. * Register endpoint now returns a refresh_token (PR #637)
  546. Bug fixes:
  547. * Fix bug where we returned incorrect state in /sync (PR #573)
  548. * Always return a JSON object from push rule API (PR #606)
  549. * Fix bug where registering without a user id sometimes failed (PR #610)
  550. * Report size of ExpiringCache in cache size metrics (PR #611)
  551. * Fix rejection of invites to empty rooms (PR #615)
  552. * Fix usage of ``bcrypt`` to not use ``checkpw`` (PR #619)
  553. * Pin ``pysaml2`` dependency (PR #634)
  554. * Fix bug in ``/sync`` where timeline order was incorrect for backfilled events
  555. (PR #635)
  556. Changes in synapse v0.13.3 (2016-02-11)
  557. =======================================
  558. * Fix bug where ``/sync`` would occasionally return events in the wrong room.
  559. Changes in synapse v0.13.2 (2016-02-11)
  560. =======================================
  561. * Fix bug where ``/events`` would fail to skip some events if there had been
  562. more events than the limit specified since the last request (PR #570)
  563. Changes in synapse v0.13.1 (2016-02-10)
  564. =======================================
  565. * Bump matrix-angular-sdk (matrix web console) dependency to 0.6.8 to
  566. pull in the fix for SYWEB-361 so that the default client can display
  567. HTML messages again(!)
  568. Changes in synapse v0.13.0 (2016-02-10)
  569. =======================================
  570. This version includes an upgrade of the schema, specifically adding an index to
  571. the ``events`` table. This may cause synapse to pause for several minutes the
  572. first time it is started after the upgrade.
  573. Changes:
  574. * Improve general performance (PR #540, #543. #544, #54, #549, #567)
  575. * Change guest user ids to be incrementing integers (PR #550)
  576. * Improve performance of public room list API (PR #552)
  577. * Change profile API to omit keys rather than return null (PR #557)
  578. * Add ``/media/r0`` endpoint prefix, which is equivalent to ``/media/v1/``
  579. (PR #595)
  580. Bug fixes:
  581. * Fix bug with upgrading guest accounts where it would fail if you opened the
  582. registration email on a different device (PR #547)
  583. * Fix bug where unread count could be wrong (PR #568)
  584. Changes in synapse v0.12.1-rc1 (2016-01-29)
  585. ===========================================
  586. Features:
  587. * Add unread notification counts in ``/sync`` (PR #456)
  588. * Add support for inviting 3pids in ``/createRoom`` (PR #460)
  589. * Add ability for guest accounts to upgrade (PR #462)
  590. * Add ``/versions`` API (PR #468)
  591. * Add ``event`` to ``/context`` API (PR #492)
  592. * Add specific error code for invalid user names in ``/register`` (PR #499)
  593. * Add support for push badge counts (PR #507)
  594. * Add support for non-guest users to peek in rooms using ``/events`` (PR #510)
  595. Changes:
  596. * Change ``/sync`` so that guest users only get rooms they've joined (PR #469)
  597. * Change to require unbanning before other membership changes (PR #501)
  598. * Change default push rules to notify for all messages (PR #486)
  599. * Change default push rules to not notify on membership changes (PR #514)
  600. * Change default push rules in one to one rooms to only notify for events that
  601. are messages (PR #529)
  602. * Change ``/sync`` to reject requests with a ``from`` query param (PR #512)
  603. * Change server manhole to use SSH rather than telnet (PR #473)
  604. * Change server to require AS users to be registered before use (PR #487)
  605. * Change server not to start when ASes are invalidly configured (PR #494)
  606. * Change server to require ID and ``as_token`` to be unique for AS's (PR #496)
  607. * Change maximum pagination limit to 1000 (PR #497)
  608. Bug fixes:
  609. * Fix bug where ``/sync`` didn't return when something under the leave key
  610. changed (PR #461)
  611. * Fix bug where we returned smaller rather than larger than requested
  612. thumbnails when ``method=crop`` (PR #464)
  613. * Fix thumbnails API to only return cropped thumbnails when asking for a
  614. cropped thumbnail (PR #475)
  615. * Fix bug where we occasionally still logged access tokens (PR #477)
  616. * Fix bug where ``/events`` would always return immediately for guest users
  617. (PR #480)
  618. * Fix bug where ``/sync`` unexpectedly returned old left rooms (PR #481)
  619. * Fix enabling and disabling push rules (PR #498)
  620. * Fix bug where ``/register`` returned 500 when given unicode username
  621. (PR #513)
  622. Changes in synapse v0.12.0 (2016-01-04)
  623. =======================================
  624. * Expose ``/login`` under ``r0`` (PR #459)
  625. Changes in synapse v0.12.0-rc3 (2015-12-23)
  626. ===========================================
  627. * Allow guest accounts access to ``/sync`` (PR #455)
  628. * Allow filters to include/exclude rooms at the room level
  629. rather than just from the components of the sync for each
  630. room. (PR #454)
  631. * Include urls for room avatars in the response to ``/publicRooms`` (PR #453)
  632. * Don't set a identicon as the avatar for a user when they register (PR #450)
  633. * Add a ``display_name`` to third-party invites (PR #449)
  634. * Send more information to the identity server for third-party invites so that
  635. it can send richer messages to the invitee (PR #446)
  636. * Cache the responses to ``/initialSync`` for 5 minutes. If a client
  637. retries a request to ``/initialSync`` before the a response was computed
  638. to the first request then the same response is used for both requests
  639. (PR #457)
  640. * Fix a bug where synapse would always request the signing keys of
  641. remote servers even when the key was cached locally (PR #452)
  642. * Fix 500 when pagination search results (PR #447)
  643. * Fix a bug where synapse was leaking raw email address in third-party invites
  644. (PR #448)
  645. Changes in synapse v0.12.0-rc2 (2015-12-14)
  646. ===========================================
  647. * Add caches for whether rooms have been forgotten by a user (PR #434)
  648. * Remove instructions to use ``--process-dependency-link`` since all of the
  649. dependencies of synapse are on PyPI (PR #436)
  650. * Parallelise the processing of ``/sync`` requests (PR #437)
  651. * Fix race updating presence in ``/events`` (PR #444)
  652. * Fix bug back-populating search results (PR #441)
  653. * Fix bug calculating state in ``/sync`` requests (PR #442)
  654. Changes in synapse v0.12.0-rc1 (2015-12-10)
  655. ===========================================
  656. * Host the client APIs released as r0 by
  657. https://matrix.org/docs/spec/r0.0.0/client_server.html
  658. on paths prefixed by ``/_matrix/client/r0``. (PR #430, PR #415, PR #400)
  659. * Updates the client APIs to match r0 of the matrix specification.
  660. * All APIs return events in the new event format, old APIs also include
  661. the fields needed to parse the event using the old format for
  662. compatibility. (PR #402)
  663. * Search results are now given as a JSON array rather than
  664. a JSON object (PR #405)
  665. * Miscellaneous changes to search (PR #403, PR #406, PR #412)
  666. * Filter JSON objects may now be passed as query parameters to ``/sync``
  667. (PR #431)
  668. * Fix implementation of ``/admin/whois`` (PR #418)
  669. * Only include the rooms that user has left in ``/sync`` if the client
  670. requests them in the filter (PR #423)
  671. * Don't push for ``m.room.message`` by default (PR #411)
  672. * Add API for setting per account user data (PR #392)
  673. * Allow users to forget rooms (PR #385)
  674. * Performance improvements and monitoring:
  675. * Add per-request counters for CPU time spent on the main python thread.
  676. (PR #421, PR #420)
  677. * Add per-request counters for time spent in the database (PR #429)
  678. * Make state updates in the C+S API idempotent (PR #416)
  679. * Only fire ``user_joined_room`` if the user has actually joined. (PR #410)
  680. * Reuse a single http client, rather than creating new ones (PR #413)
  681. * Fixed a bug upgrading from older versions of synapse on postgresql (PR #417)
  682. Changes in synapse v0.11.1 (2015-11-20)
  683. =======================================
  684. * Add extra options to search API (PR #394)
  685. * Fix bug where we did not correctly cap federation retry timers. This meant it
  686. could take several hours for servers to start talking to ressurected servers,
  687. even when they were receiving traffic from them (PR #393)
  688. * Don't advertise login token flow unless CAS is enabled. This caused issues
  689. where some clients would always use the fallback API if they did not
  690. recognize all login flows (PR #391)
  691. * Change /v2 sync API to rename ``private_user_data`` to ``account_data``
  692. (PR #386)
  693. * Change /v2 sync API to remove the ``event_map`` and rename keys in ``rooms``
  694. object (PR #389)
  695. Changes in synapse v0.11.0-r2 (2015-11-19)
  696. ==========================================
  697. * Fix bug in database port script (PR #387)
  698. Changes in synapse v0.11.0-r1 (2015-11-18)
  699. ==========================================
  700. * Retry and fail federation requests more aggressively for requests that block
  701. client side requests (PR #384)
  702. Changes in synapse v0.11.0 (2015-11-17)
  703. =======================================
  704. * Change CAS login API (PR #349)
  705. Changes in synapse v0.11.0-rc2 (2015-11-13)
  706. ===========================================
  707. * Various changes to /sync API response format (PR #373)
  708. * Fix regression when setting display name in newly joined room over
  709. federation (PR #368)
  710. * Fix problem where /search was slow when using SQLite (PR #366)
  711. Changes in synapse v0.11.0-rc1 (2015-11-11)
  712. ===========================================
  713. * Add Search API (PR #307, #324, #327, #336, #350, #359)
  714. * Add 'archived' state to v2 /sync API (PR #316)
  715. * Add ability to reject invites (PR #317)
  716. * Add config option to disable password login (PR #322)
  717. * Add the login fallback API (PR #330)
  718. * Add room context API (PR #334)
  719. * Add room tagging support (PR #335)
  720. * Update v2 /sync API to match spec (PR #305, #316, #321, #332, #337, #341)
  721. * Change retry schedule for application services (PR #320)
  722. * Change retry schedule for remote servers (PR #340)
  723. * Fix bug where we hosted static content in the incorrect place (PR #329)
  724. * Fix bug where we didn't increment retry interval for remote servers (PR #343)
  725. Changes in synapse v0.10.1-rc1 (2015-10-15)
  726. ===========================================
  727. * Add support for CAS, thanks to Steven Hammerton (PR #295, #296)
  728. * Add support for using macaroons for ``access_token`` (PR #256, #229)
  729. * Add support for ``m.room.canonical_alias`` (PR #287)
  730. * Add support for viewing the history of rooms that they have left. (PR #276,
  731. #294)
  732. * Add support for refresh tokens (PR #240)
  733. * Add flag on creation which disables federation of the room (PR #279)
  734. * Add some room state to invites. (PR #275)
  735. * Atomically persist events when joining a room over federation (PR #283)
  736. * Change default history visibility for private rooms (PR #271)
  737. * Allow users to redact their own sent events (PR #262)
  738. * Use tox for tests (PR #247)
  739. * Split up syutil into separate libraries (PR #243)
  740. Changes in synapse v0.10.0-r2 (2015-09-16)
  741. ==========================================
  742. * Fix bug where we always fetched remote server signing keys instead of using
  743. ones in our cache.
  744. * Fix adding threepids to an existing account.
  745. * Fix bug with invinting over federation where remote server was already in
  746. the room. (PR #281, SYN-392)
  747. Changes in synapse v0.10.0-r1 (2015-09-08)
  748. ==========================================
  749. * Fix bug with python packaging
  750. Changes in synapse v0.10.0 (2015-09-03)
  751. =======================================
  752. No change from release candidate.
  753. Changes in synapse v0.10.0-rc6 (2015-09-02)
  754. ===========================================
  755. * Remove some of the old database upgrade scripts.
  756. * Fix database port script to work with newly created sqlite databases.
  757. Changes in synapse v0.10.0-rc5 (2015-08-27)
  758. ===========================================
  759. * Fix bug that broke downloading files with ascii filenames across federation.
  760. Changes in synapse v0.10.0-rc4 (2015-08-27)
  761. ===========================================
  762. * Allow UTF-8 filenames for upload. (PR #259)
  763. Changes in synapse v0.10.0-rc3 (2015-08-25)
  764. ===========================================
  765. * Add ``--keys-directory`` config option to specify where files such as
  766. certs and signing keys should be stored in, when using ``--generate-config``
  767. or ``--generate-keys``. (PR #250)
  768. * Allow ``--config-path`` to specify a directory, causing synapse to use all
  769. \*.yaml files in the directory as config files. (PR #249)
  770. * Add ``web_client_location`` config option to specify static files to be
  771. hosted by synapse under ``/_matrix/client``. (PR #245)
  772. * Add helper utility to synapse to read and parse the config files and extract
  773. the value of a given key. For example::
  774. $ python -m synapse.config read server_name -c homeserver.yaml
  775. localhost
  776. (PR #246)
  777. Changes in synapse v0.10.0-rc2 (2015-08-24)
  778. ===========================================
  779. * Fix bug where we incorrectly populated the ``event_forward_extremities``
  780. table, resulting in problems joining large remote rooms (e.g.
  781. ``#matrix:matrix.org``)
  782. * Reduce the number of times we wake up pushers by not listening for presence
  783. or typing events, reducing the CPU cost of each pusher.
  784. Changes in synapse v0.10.0-rc1 (2015-08-21)
  785. ===========================================
  786. Also see v0.9.4-rc1 changelog, which has been amalgamated into this release.
  787. General:
  788. * Upgrade to Twisted 15 (PR #173)
  789. * Add support for serving and fetching encryption keys over federation.
  790. (PR #208)
  791. * Add support for logging in with email address (PR #234)
  792. * Add support for new ``m.room.canonical_alias`` event. (PR #233)
  793. * Change synapse to treat user IDs case insensitively during registration and
  794. login. (If two users already exist with case insensitive matching user ids,
  795. synapse will continue to require them to specify their user ids exactly.)
  796. * Error if a user tries to register with an email already in use. (PR #211)
  797. * Add extra and improve existing caches (PR #212, #219, #226, #228)
  798. * Batch various storage request (PR #226, #228)
  799. * Fix bug where we didn't correctly log the entity that triggered the request
  800. if the request came in via an application service (PR #230)
  801. * Fix bug where we needlessly regenerated the full list of rooms an AS is
  802. interested in. (PR #232)
  803. * Add support for AS's to use v2_alpha registration API (PR #210)
  804. Configuration:
  805. * Add ``--generate-keys`` that will generate any missing cert and key files in
  806. the configuration files. This is equivalent to running ``--generate-config``
  807. on an existing configuration file. (PR #220)
  808. * ``--generate-config`` now no longer requires a ``--server-name`` parameter
  809. when used on existing configuration files. (PR #220)
  810. * Add ``--print-pidfile`` flag that controls the printing of the pid to stdout
  811. of the demonised process. (PR #213)
  812. Media Repository:
  813. * Fix bug where we picked a lower resolution image than requested. (PR #205)
  814. * Add support for specifying if a the media repository should dynamically
  815. thumbnail images or not. (PR #206)
  816. Metrics:
  817. * Add statistics from the reactor to the metrics API. (PR #224, #225)
  818. Demo Homeservers:
  819. * Fix starting the demo homeservers without rate-limiting enabled. (PR #182)
  820. * Fix enabling registration on demo homeservers (PR #223)
  821. Changes in synapse v0.9.4-rc1 (2015-07-21)
  822. ==========================================
  823. General:
  824. * Add basic implementation of receipts. (SPEC-99)
  825. * Add support for configuration presets in room creation API. (PR #203)
  826. * Add auth event that limits the visibility of history for new users.
  827. (SPEC-134)
  828. * Add SAML2 login/registration support. (PR #201. Thanks Muthu Subramanian!)
  829. * Add client side key management APIs for end to end encryption. (PR #198)
  830. * Change power level semantics so that you cannot kick, ban or change power
  831. levels of users that have equal or greater power level than you. (SYN-192)
  832. * Improve performance by bulk inserting events where possible. (PR #193)
  833. * Improve performance by bulk verifying signatures where possible. (PR #194)
  834. Configuration:
  835. * Add support for including TLS certificate chains.
  836. Media Repository:
  837. * Add Content-Disposition headers to content repository responses. (SYN-150)
  838. Changes in synapse v0.9.3 (2015-07-01)
  839. ======================================
  840. No changes from v0.9.3 Release Candidate 1.
  841. Changes in synapse v0.9.3-rc1 (2015-06-23)
  842. ==========================================
  843. General:
  844. * Fix a memory leak in the notifier. (SYN-412)
  845. * Improve performance of room initial sync. (SYN-418)
  846. * General improvements to logging.
  847. * Remove ``access_token`` query params from ``INFO`` level logging.
  848. Configuration:
  849. * Add support for specifying and configuring multiple listeners. (SYN-389)
  850. Application services:
  851. * Fix bug where synapse failed to send user queries to application services.
  852. Changes in synapse v0.9.2-r2 (2015-06-15)
  853. =========================================
  854. Fix packaging so that schema delta python files get included in the package.
  855. Changes in synapse v0.9.2 (2015-06-12)
  856. ======================================
  857. General:
  858. * Use ultrajson for json (de)serialisation when a canonical encoding is not
  859. required. Ultrajson is significantly faster than simplejson in certain
  860. circumstances.
  861. * Use connection pools for outgoing HTTP connections.
  862. * Process thumbnails on separate threads.
  863. Configuration:
  864. * Add option, ``gzip_responses``, to disable HTTP response compression.
  865. Federation:
  866. * Improve resilience of backfill by ensuring we fetch any missing auth events.
  867. * Improve performance of backfill and joining remote rooms by removing
  868. unnecessary computations. This included handling events we'd previously
  869. handled as well as attempting to compute the current state for outliers.
  870. Changes in synapse v0.9.1 (2015-05-26)
  871. ======================================
  872. General:
  873. * Add support for backfilling when a client paginates. This allows servers to
  874. request history for a room from remote servers when a client tries to
  875. paginate history the server does not have - SYN-36
  876. * Fix bug where you couldn't disable non-default pushrules - SYN-378
  877. * Fix ``register_new_user`` script - SYN-359
  878. * Improve performance of fetching events from the database, this improves both
  879. initialSync and sending of events.
  880. * Improve performance of event streams, allowing synapse to handle more
  881. simultaneous connected clients.
  882. Federation:
  883. * Fix bug with existing backfill implementation where it returned the wrong
  884. selection of events in some circumstances.
  885. * Improve performance of joining remote rooms.
  886. Configuration:
  887. * Add support for changing the bind host of the metrics listener via the
  888. ``metrics_bind_host`` option.
  889. Changes in synapse v0.9.0-r5 (2015-05-21)
  890. =========================================
  891. * Add more database caches to reduce amount of work done for each pusher. This
  892. radically reduces CPU usage when multiple pushers are set up in the same room.
  893. Changes in synapse v0.9.0 (2015-05-07)
  894. ======================================
  895. General:
  896. * Add support for using a PostgreSQL database instead of SQLite. See
  897. `docs/postgres.rst`_ for details.
  898. * Add password change and reset APIs. See `Registration`_ in the spec.
  899. * Fix memory leak due to not releasing stale notifiers - SYN-339.
  900. * Fix race in caches that occasionally caused some presence updates to be
  901. dropped - SYN-369.
  902. * Check server name has not changed on restart.
  903. * Add a sample systemd unit file and a logger configuration in
  904. contrib/systemd. Contributed Ivan Shapovalov.
  905. Federation:
  906. * Add key distribution mechanisms for fetching public keys of unavailable
  907. remote home servers. See `Retrieving Server Keys`_ in the spec.
  908. Configuration:
  909. * Add support for multiple config files.
  910. * Add support for dictionaries in config files.
  911. * Remove support for specifying config options on the command line, except
  912. for:
  913. * ``--daemonize`` - Daemonize the home server.
  914. * ``--manhole`` - Turn on the twisted telnet manhole service on the given
  915. port.
  916. * ``--database-path`` - The path to a sqlite database to use.
  917. * ``--verbose`` - The verbosity level.
  918. * ``--log-file`` - File to log to.
  919. * ``--log-config`` - Python logging config file.
  920. * ``--enable-registration`` - Enable registration for new users.
  921. Application services:
  922. * Reliably retry sending of events from Synapse to application services, as per
  923. `Application Services`_ spec.
  924. * Application services can no longer register via the ``/register`` API,
  925. instead their configuration should be saved to a file and listed in the
  926. synapse ``app_service_config_files`` config option. The AS configuration file
  927. has the same format as the old ``/register`` request.
  928. See `docs/application_services.rst`_ for more information.
  929. .. _`docs/postgres.rst`: docs/postgres.rst
  930. .. _`docs/application_services.rst`: docs/application_services.rst
  931. .. _`Registration`: https://github.com/matrix-org/matrix-doc/blob/master/specification/10_client_server_api.rst#registration
  932. .. _`Retrieving Server Keys`: https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys
  933. .. _`Application Services`: https://github.com/matrix-org/matrix-doc/blob/0c6bd9/specification/25_application_service_api.rst#home-server---application-service-api
  934. Changes in synapse v0.8.1 (2015-03-18)
  935. ======================================
  936. * Disable registration by default. New users can be added using the command
  937. ``register_new_matrix_user`` or by enabling registration in the config.
  938. * Add metrics to synapse. To enable metrics use config options
  939. ``enable_metrics`` and ``metrics_port``.
  940. * Fix bug where banning only kicked the user.
  941. Changes in synapse v0.8.0 (2015-03-06)
  942. ======================================
  943. General:
  944. * Add support for registration fallback. This is a page hosted on the server
  945. which allows a user to register for an account, regardless of what client
  946. they are using (e.g. mobile devices).
  947. * Added new default push rules and made them configurable by clients:
  948. * Suppress all notice messages.
  949. * Notify when invited to a new room.
  950. * Notify for messages that don't match any rule.
  951. * Notify on incoming call.
  952. Federation:
  953. * Added per host server side rate-limiting of incoming federation requests.
  954. * Added a ``/get_missing_events/`` API to federation to reduce number of
  955. ``/events/`` requests.
  956. Configuration:
  957. * Added configuration option to disable registration:
  958. ``disable_registration``.
  959. * Added configuration option to change soft limit of number of open file
  960. descriptors: ``soft_file_limit``.
  961. * Make ``tls_private_key_path`` optional when running with ``no_tls``.
  962. Application services:
  963. * Application services can now poll on the CS API ``/events`` for their events,
  964. by providing their application service ``access_token``.
  965. * Added exclusive namespace support to application services API.
  966. Changes in synapse v0.7.1 (2015-02-19)
  967. ======================================
  968. * Initial alpha implementation of parts of the Application Services API.
  969. Including:
  970. - AS Registration / Unregistration
  971. - User Query API
  972. - Room Alias Query API
  973. - Push transport for receiving events.
  974. - User/Alias namespace admin control
  975. * Add cache when fetching events from remote servers to stop repeatedly
  976. fetching events with bad signatures.
  977. * Respect the per remote server retry scheme when fetching both events and
  978. server keys to reduce the number of times we send requests to dead servers.
  979. * Inform remote servers when the local server fails to handle a received event.
  980. * Turn off python bytecode generation due to problems experienced when
  981. upgrading from previous versions.
  982. Changes in synapse v0.7.0 (2015-02-12)
  983. ======================================
  984. * Add initial implementation of the query auth federation API, allowing
  985. servers to agree on whether an event should be allowed or rejected.
  986. * Persist events we have rejected from federation, fixing the bug where
  987. servers would keep requesting the same events.
  988. * Various federation performance improvements, including:
  989. - Add in memory caches on queries such as:
  990. * Computing the state of a room at a point in time, used for
  991. authorization on federation requests.
  992. * Fetching events from the database.
  993. * User's room membership, used for authorizing presence updates.
  994. - Upgraded JSON library to improve parsing and serialisation speeds.
  995. * Add default avatars to new user accounts using pydenticon library.
  996. * Correctly time out federation requests.
  997. * Retry federation requests against different servers.
  998. * Add support for push and push rules.
  999. * Add alpha versions of proposed new CSv2 APIs, including ``/sync`` API.
  1000. Changes in synapse 0.6.1 (2015-01-07)
  1001. =====================================
  1002. * Major optimizations to improve performance of initial sync and event sending
  1003. in large rooms (by up to 10x)
  1004. * Media repository now includes a Content-Length header on media downloads.
  1005. * Improve quality of thumbnails by changing resizing algorithm.
  1006. Changes in synapse 0.6.0 (2014-12-16)
  1007. =====================================
  1008. * Add new API for media upload and download that supports thumbnailing.
  1009. * Replicate media uploads over multiple homeservers so media is always served
  1010. to clients from their local homeserver. This obsoletes the
  1011. --content-addr parameter and confusion over accessing content directly
  1012. from remote homeservers.
  1013. * Implement exponential backoff when retrying federation requests when
  1014. sending to remote homeservers which are offline.
  1015. * Implement typing notifications.
  1016. * Fix bugs where we sent events with invalid signatures due to bugs where
  1017. we incorrectly persisted events.
  1018. * Improve performance of database queries involving retrieving events.
  1019. Changes in synapse 0.5.4a (2014-12-13)
  1020. ======================================
  1021. * Fix bug while generating the error message when a file path specified in
  1022. the config doesn't exist.
  1023. Changes in synapse 0.5.4 (2014-12-03)
  1024. =====================================
  1025. * Fix presence bug where some rooms did not display presence updates for
  1026. remote users.
  1027. * Do not log SQL timing log lines when started with "-v"
  1028. * Fix potential memory leak.
  1029. Changes in synapse 0.5.3c (2014-12-02)
  1030. ======================================
  1031. * Change the default value for the `content_addr` option to use the HTTP
  1032. listener, as by default the HTTPS listener will be using a self-signed
  1033. certificate.
  1034. Changes in synapse 0.5.3 (2014-11-27)
  1035. =====================================
  1036. * Fix bug that caused joining a remote room to fail if a single event was not
  1037. signed correctly.
  1038. * Fix bug which caused servers to continuously try and fetch events from other
  1039. servers.
  1040. Changes in synapse 0.5.2 (2014-11-26)
  1041. =====================================
  1042. Fix major bug that caused rooms to disappear from peoples initial sync.
  1043. Changes in synapse 0.5.1 (2014-11-26)
  1044. =====================================
  1045. See UPGRADES.rst for specific instructions on how to upgrade.
  1046. * Fix bug where we served up an Event that did not match its signatures.
  1047. * Fix regression where we no longer correctly handled the case where a
  1048. homeserver receives an event for a room it doesn't recognise (but is in.)
  1049. Changes in synapse 0.5.0 (2014-11-19)
  1050. =====================================
  1051. This release includes changes to the federation protocol and client-server API
  1052. that is not backwards compatible.
  1053. This release also changes the internal database schemas and so requires servers to
  1054. drop their current history. See UPGRADES.rst for details.
  1055. Homeserver:
  1056. * Add authentication and authorization to the federation protocol. Events are
  1057. now signed by their originating homeservers.
  1058. * Implement the new authorization model for rooms.
  1059. * Split out web client into a seperate repository: matrix-angular-sdk.
  1060. * Change the structure of PDUs.
  1061. * Fix bug where user could not join rooms via an alias containing 4-byte
  1062. UTF-8 characters.
  1063. * Merge concept of PDUs and Events internally.
  1064. * Improve logging by adding request ids to log lines.
  1065. * Implement a very basic room initial sync API.
  1066. * Implement the new invite/join federation APIs.
  1067. Webclient:
  1068. * The webclient has been moved to a seperate repository.
  1069. Changes in synapse 0.4.2 (2014-10-31)
  1070. =====================================
  1071. Homeserver:
  1072. * Fix bugs where we did not notify users of correct presence updates.
  1073. * Fix bug where we did not handle sub second event stream timeouts.
  1074. Webclient:
  1075. * Add ability to click on messages to see JSON.
  1076. * Add ability to redact messages.
  1077. * Add ability to view and edit all room state JSON.
  1078. * Handle incoming redactions.
  1079. * Improve feedback on errors.
  1080. * Fix bugs in mobile CSS.
  1081. * Fix bugs with desktop notifications.
  1082. Changes in synapse 0.4.1 (2014-10-17)
  1083. =====================================
  1084. Webclient:
  1085. * Fix bug with display of timestamps.
  1086. Changes in synpase 0.4.0 (2014-10-17)
  1087. =====================================
  1088. This release includes changes to the federation protocol and client-server API
  1089. that is not backwards compatible.
  1090. The Matrix specification has been moved to a separate git repository:
  1091. http://github.com/matrix-org/matrix-doc
  1092. You will also need an updated syutil and config. See UPGRADES.rst.
  1093. Homeserver:
  1094. * Sign federation transactions to assert strong identity over federation.
  1095. * Rename timestamp keys in PDUs and events from 'ts' and 'hsob_ts' to 'origin_server_ts'.
  1096. Changes in synapse 0.3.4 (2014-09-25)
  1097. =====================================
  1098. This version adds support for using a TURN server. See docs/turn-howto.rst on
  1099. how to set one up.
  1100. Homeserver:
  1101. * Add support for redaction of messages.
  1102. * Fix bug where inviting a user on a remote home server could take up to
  1103. 20-30s.
  1104. * Implement a get current room state API.
  1105. * Add support specifying and retrieving turn server configuration.
  1106. Webclient:
  1107. * Add button to send messages to users from the home page.
  1108. * Add support for using TURN for VoIP calls.
  1109. * Show display name change messages.
  1110. * Fix bug where the client didn't get the state of a newly joined room
  1111. until after it has been refreshed.
  1112. * Fix bugs with tab complete.
  1113. * Fix bug where holding down the down arrow caused chrome to chew 100% CPU.
  1114. * Fix bug where desktop notifications occasionally used "Undefined" as the
  1115. display name.
  1116. * Fix more places where we sometimes saw room IDs incorrectly.
  1117. * Fix bug which caused lag when entering text in the text box.
  1118. Changes in synapse 0.3.3 (2014-09-22)
  1119. =====================================
  1120. Homeserver:
  1121. * Fix bug where you continued to get events for rooms you had left.
  1122. Webclient:
  1123. * Add support for video calls with basic UI.
  1124. * Fix bug where one to one chats were named after your display name rather
  1125. than the other person's.
  1126. * Fix bug which caused lag when typing in the textarea.
  1127. * Refuse to run on browsers we know won't work.
  1128. * Trigger pagination when joining new rooms.
  1129. * Fix bug where we sometimes didn't display invitations in recents.
  1130. * Automatically join room when accepting a VoIP call.
  1131. * Disable outgoing and reject incoming calls on browsers we don't support
  1132. VoIP in.
  1133. * Don't display desktop notifications for messages in the room you are
  1134. non-idle and speaking in.
  1135. Changes in synapse 0.3.2 (2014-09-18)
  1136. =====================================
  1137. Webclient:
  1138. * Fix bug where an empty "bing words" list in old accounts didn't send
  1139. notifications when it should have done.
  1140. Changes in synapse 0.3.1 (2014-09-18)
  1141. =====================================
  1142. This is a release to hotfix v0.3.0 to fix two regressions.
  1143. Webclient:
  1144. * Fix a regression where we sometimes displayed duplicate events.
  1145. * Fix a regression where we didn't immediately remove rooms you were
  1146. banned in from the recents list.
  1147. Changes in synapse 0.3.0 (2014-09-18)
  1148. =====================================
  1149. See UPGRADE for information about changes to the client server API, including
  1150. breaking backwards compatibility with VoIP calls and registration API.
  1151. Homeserver:
  1152. * When a user changes their displayname or avatar the server will now update
  1153. all their join states to reflect this.
  1154. * The server now adds "age" key to events to indicate how old they are. This
  1155. is clock independent, so at no point does any server or webclient have to
  1156. assume their clock is in sync with everyone else.
  1157. * Fix bug where we didn't correctly pull in missing PDUs.
  1158. * Fix bug where prev_content key wasn't always returned.
  1159. * Add support for password resets.
  1160. Webclient:
  1161. * Improve page content loading.
  1162. * Join/parts now trigger desktop notifications.
  1163. * Always show room aliases in the UI if one is present.
  1164. * No longer show user-count in the recents side panel.
  1165. * Add up & down arrow support to the text box for message sending to step
  1166. through your sent history.
  1167. * Don't display notifications for our own messages.
  1168. * Emotes are now formatted correctly in desktop notifications.
  1169. * The recents list now differentiates between public & private rooms.
  1170. * Fix bug where when switching between rooms the pagination flickered before
  1171. the view jumped to the bottom of the screen.
  1172. * Add bing word support.
  1173. Registration API:
  1174. * The registration API has been overhauled to function like the login API. In
  1175. practice, this means registration requests must now include the following:
  1176. 'type':'m.login.password'. See UPGRADE for more information on this.
  1177. * The 'user_id' key has been renamed to 'user' to better match the login API.
  1178. * There is an additional login type: 'm.login.email.identity'.
  1179. * The command client and web client have been updated to reflect these changes.
  1180. Changes in synapse 0.2.3 (2014-09-12)
  1181. =====================================
  1182. Homeserver:
  1183. * Fix bug where we stopped sending events to remote home servers if a
  1184. user from that home server left, even if there were some still in the
  1185. room.
  1186. * Fix bugs in the state conflict resolution where it was incorrectly
  1187. rejecting events.
  1188. Webclient:
  1189. * Display room names and topics.
  1190. * Allow setting/editing of room names and topics.
  1191. * Display information about rooms on the main page.
  1192. * Handle ban and kick events in real time.
  1193. * VoIP UI and reliability improvements.
  1194. * Add glare support for VoIP.
  1195. * Improvements to initial startup speed.
  1196. * Don't display duplicate join events.
  1197. * Local echo of messages.
  1198. * Differentiate sending and sent of local echo.
  1199. * Various minor bug fixes.
  1200. Changes in synapse 0.2.2 (2014-09-06)
  1201. =====================================
  1202. Homeserver:
  1203. * When the server returns state events it now also includes the previous
  1204. content.
  1205. * Add support for inviting people when creating a new room.
  1206. * Make the homeserver inform the room via `m.room.aliases` when a new alias
  1207. is added for a room.
  1208. * Validate `m.room.power_level` events.
  1209. Webclient:
  1210. * Add support for captchas on registration.
  1211. * Handle `m.room.aliases` events.
  1212. * Asynchronously send messages and show a local echo.
  1213. * Inform the UI when a message failed to send.
  1214. * Only autoscroll on receiving a new message if the user was already at the
  1215. bottom of the screen.
  1216. * Add support for ban/kick reasons.
  1217. Changes in synapse 0.2.1 (2014-09-03)
  1218. =====================================
  1219. Homeserver:
  1220. * Added support for signing up with a third party id.
  1221. * Add synctl scripts.
  1222. * Added rate limiting.
  1223. * Add option to change the external address the content repo uses.
  1224. * Presence bug fixes.
  1225. Webclient:
  1226. * Added support for signing up with a third party id.
  1227. * Added support for banning and kicking users.
  1228. * Added support for displaying and setting ops.
  1229. * Added support for room names.
  1230. * Fix bugs with room membership event display.
  1231. Changes in synapse 0.2.0 (2014-09-02)
  1232. =====================================
  1233. This update changes many configuration options, updates the
  1234. database schema and mandates SSL for server-server connections.
  1235. Homeserver:
  1236. * Require SSL for server-server connections.
  1237. * Add SSL listener for client-server connections.
  1238. * Add ability to use config files.
  1239. * Add support for kicking/banning and power levels.
  1240. * Allow setting of room names and topics on creation.
  1241. * Change presence to include last seen time of the user.
  1242. * Change url path prefix to /_matrix/...
  1243. * Bug fixes to presence.
  1244. Webclient:
  1245. * Reskin the CSS for registration and login.
  1246. * Various improvements to rooms CSS.
  1247. * Support changes in client-server API.
  1248. * Bug fixes to VOIP UI.
  1249. * Various bug fixes to handling of changes to room member list.
  1250. Changes in synapse 0.1.2 (2014-08-29)
  1251. =====================================
  1252. Webclient:
  1253. * Add basic call state UI for VoIP calls.
  1254. Changes in synapse 0.1.1 (2014-08-29)
  1255. =====================================
  1256. Homeserver:
  1257. * Fix bug that caused the event stream to not notify some clients about
  1258. changes.
  1259. Changes in synapse 0.1.0 (2014-08-29)
  1260. =====================================
  1261. Presence has been reenabled in this release.
  1262. Homeserver:
  1263. * Update client to server API, including:
  1264. - Use a more consistent url scheme.
  1265. - Provide more useful information in the initial sync api.
  1266. * Change the presence handling to be much more efficient.
  1267. * Change the presence server to server API to not require explicit polling of
  1268. all users who share a room with a user.
  1269. * Fix races in the event streaming logic.
  1270. Webclient:
  1271. * Update to use new client to server API.
  1272. * Add basic VOIP support.
  1273. * Add idle timers that change your status to away.
  1274. * Add recent rooms column when viewing a room.
  1275. * Various network efficiency improvements.
  1276. * Add basic mobile browser support.
  1277. * Add a settings page.
  1278. Changes in synapse 0.0.1 (2014-08-22)
  1279. =====================================
  1280. Presence has been disabled in this release due to a bug that caused the
  1281. homeserver to spam other remote homeservers.
  1282. Homeserver:
  1283. * Completely change the database schema to support generic event types.
  1284. * Improve presence reliability.
  1285. * Improve reliability of joining remote rooms.
  1286. * Fix bug where room join events were duplicated.
  1287. * Improve initial sync API to return more information to the client.
  1288. * Stop generating fake messages for room membership events.
  1289. Webclient:
  1290. * Add tab completion of names.
  1291. * Add ability to upload and send images.
  1292. * Add profile pages.
  1293. * Improve CSS layout of room.
  1294. * Disambiguate identical display names.
  1295. * Don't get remote users display names and avatars individually.
  1296. * Use the new initial sync API to reduce number of round trips to the homeserver.
  1297. * Change url scheme to use room aliases instead of room ids where known.
  1298. * Increase longpoll timeout.
  1299. Changes in synapse 0.0.0 (2014-08-13)
  1300. =====================================
  1301. * Initial alpha release