1
0

CHANGES.rst 63 KB

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