CHANGES.rst 78 KB

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