CHANGES.rst 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203
  1. Changes in synapse v0.16.1-r1 (2016-07-08)
  2. ==========================================
  3. THIS IS A CRITICAL SECURITY UPDATE.
  4. This fixes a bug which allowed users' accounts to be accessed by unauthorised
  5. users.
  6. Changes in synapse v0.16.1 (2016-06-20)
  7. =======================================
  8. Bug fixes:
  9. * Fix assorted bugs in ``/preview_url`` (PR #872)
  10. * Fix TypeError when setting unicode passwords (PR #873)
  11. Performance improvements:
  12. * Turn ``use_frozen_events`` off by default (PR #877)
  13. * Disable responding with canonical json for federation (PR #878)
  14. Changes in synapse v0.16.1-rc1 (2016-06-15)
  15. ===========================================
  16. Features: None
  17. Changes:
  18. * Log requester for ``/publicRoom`` endpoints when possible (PR #856)
  19. * 502 on ``/thumbnail`` when can't connect to remote server (PR #862)
  20. * Linearize fetching of gaps on incoming events (PR #871)
  21. Bugs fixes:
  22. * Fix bug where rooms where marked as published by default (PR #857)
  23. * Fix bug where joining room with an event with invalid sender (PR #868)
  24. * Fix bug where backfilled events were sent down sync streams (PR #869)
  25. * Fix bug where outgoing connections could wedge indefinitely, causing push
  26. notifications to be unreliable (PR #870)
  27. Performance improvements:
  28. * Improve ``/publicRooms`` performance(PR #859)
  29. Changes in synapse v0.16.0 (2016-06-09)
  30. =======================================
  31. NB: As of v0.14 all AS config files must have an ID field.
  32. Bug fixes:
  33. * Don't make rooms published by default (PR #857)
  34. Changes in synapse v0.16.0-rc2 (2016-06-08)
  35. ===========================================
  36. Features:
  37. * Add configuration option for tuning GC via ``gc.set_threshold`` (PR #849)
  38. Changes:
  39. * Record metrics about GC (PR #771, #847, #852)
  40. * Add metric counter for number of persisted events (PR #841)
  41. Bug fixes:
  42. * Fix 'From' header in email notifications (PR #843)
  43. * Fix presence where timeouts were not being fired for the first 8h after
  44. restarts (PR #842)
  45. * Fix bug where synapse sent malformed transactions to AS's when retrying
  46. transactions (Commits 310197b, 8437906)
  47. Performance improvements:
  48. * Remove event fetching from DB threads (PR #835)
  49. * Change the way we cache events (PR #836)
  50. * Add events to cache when we persist them (PR #840)
  51. Changes in synapse v0.16.0-rc1 (2016-06-03)
  52. ===========================================
  53. Version 0.15 was not released. See v0.15.0-rc1 below for additional changes.
  54. Features:
  55. * Add email notifications for missed messages (PR #759, #786, #799, #810, #815,
  56. #821)
  57. * Add a ``url_preview_ip_range_whitelist`` config param (PR #760)
  58. * Add /report endpoint (PR #762)
  59. * Add basic ignore user API (PR #763)
  60. * Add an openidish mechanism for proving that you own a given user_id (PR #765)
  61. * Allow clients to specify a server_name to avoid 'No known servers' (PR #794)
  62. * Add secondary_directory_servers option to fetch room list from other servers
  63. (PR #808, #813)
  64. Changes:
  65. * Report per request metrics for all of the things using request_handler (PR
  66. #756)
  67. * Correctly handle ``NULL`` password hashes from the database (PR #775)
  68. * Allow receipts for events we haven't seen in the db (PR #784)
  69. * Make synctl read a cache factor from config file (PR #785)
  70. * Increment badge count per missed convo, not per msg (PR #793)
  71. * Special case m.room.third_party_invite event auth to match invites (PR #814)
  72. Bug fixes:
  73. * Fix typo in event_auth servlet path (PR #757)
  74. * Fix password reset (PR #758)
  75. Performance improvements:
  76. * Reduce database inserts when sending transactions (PR #767)
  77. * Queue events by room for persistence (PR #768)
  78. * Add cache to ``get_user_by_id`` (PR #772)
  79. * Add and use ``get_domain_from_id`` (PR #773)
  80. * Use tree cache for ``get_linearized_receipts_for_room`` (PR #779)
  81. * Remove unused indices (PR #782)
  82. * Add caches to ``bulk_get_push_rules*`` (PR #804)
  83. * Cache ``get_event_reference_hashes`` (PR #806)
  84. * Add ``get_users_with_read_receipts_in_room`` cache (PR #809)
  85. * Use state to calculate ``get_users_in_room`` (PR #811)
  86. * Load push rules in storage layer so that they get cached (PR #825)
  87. * Make ``get_joined_hosts_for_room`` use get_users_in_room (PR #828)
  88. * Poke notifier on next reactor tick (PR #829)
  89. * Change CacheMetrics to be quicker (PR #830)
  90. Changes in synapse v0.15.0-rc1 (2016-04-26)
  91. ===========================================
  92. Features:
  93. * Add login support for Javascript Web Tokens, thanks to Niklas Riekenbrauck
  94. (PR #671,#687)
  95. * Add URL previewing support (PR #688)
  96. * Add login support for LDAP, thanks to Christoph Witzany (PR #701)
  97. * Add GET endpoint for pushers (PR #716)
  98. Changes:
  99. * Never notify for member events (PR #667)
  100. * Deduplicate identical ``/sync`` requests (PR #668)
  101. * Require user to have left room to forget room (PR #673)
  102. * Use DNS cache if within TTL (PR #677)
  103. * Let users see their own leave events (PR #699)
  104. * Deduplicate membership changes (PR #700)
  105. * Increase performance of pusher code (PR #705)
  106. * Respond with error status 504 if failed to talk to remote server (PR #731)
  107. * Increase search performance on postgres (PR #745)
  108. Bug fixes:
  109. * Fix bug where disabling all notifications still resulted in push (PR #678)
  110. * Fix bug where users couldn't reject remote invites if remote refused (PR #691)
  111. * Fix bug where synapse attempted to backfill from itself (PR #693)
  112. * Fix bug where profile information was not correctly added when joining remote
  113. rooms (PR #703)
  114. * Fix bug where register API required incorrect key name for AS registration
  115. (PR #727)
  116. Changes in synapse v0.14.0 (2016-03-30)
  117. =======================================
  118. No changes from v0.14.0-rc2
  119. Changes in synapse v0.14.0-rc2 (2016-03-23)
  120. ===========================================
  121. Features:
  122. * Add published room list API (PR #657)
  123. Changes:
  124. * Change various caches to consume less memory (PR #656, #658, #660, #662,
  125. #663, #665)
  126. * Allow rooms to be published without requiring an alias (PR #664)
  127. * Intern common strings in caches to reduce memory footprint (#666)
  128. Bug fixes:
  129. * Fix reject invites over federation (PR #646)
  130. * Fix bug where registration was not idempotent (PR #649)
  131. * Update aliases event after deleting aliases (PR #652)
  132. * Fix unread notification count, which was sometimes wrong (PR #661)
  133. Changes in synapse v0.14.0-rc1 (2016-03-14)
  134. ===========================================
  135. Features:
  136. * Add event_id to response to state event PUT (PR #581)
  137. * Allow guest users access to messages in rooms they have joined (PR #587)
  138. * Add config for what state is included in a room invite (PR #598)
  139. * Send the inviter's member event in room invite state (PR #607)
  140. * Add error codes for malformed/bad JSON in /login (PR #608)
  141. * Add support for changing the actions for default rules (PR #609)
  142. * Add environment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 (PR #612)
  143. * Add ability for alias creators to delete aliases (PR #614)
  144. * Add profile information to invites (PR #624)
  145. Changes:
  146. * Enforce user_id exclusivity for AS registrations (PR #572)
  147. * Make adding push rules idempotent (PR #587)
  148. * Improve presence performance (PR #582, #586)
  149. * Change presence semantics for ``last_active_ago`` (PR #582, #586)
  150. * Don't allow ``m.room.create`` to be changed (PR #596)
  151. * Add 800x600 to default list of valid thumbnail sizes (PR #616)
  152. * Always include kicks and bans in full /sync (PR #625)
  153. * Send history visibility on boundary changes (PR #626)
  154. * Register endpoint now returns a refresh_token (PR #637)
  155. Bug fixes:
  156. * Fix bug where we returned incorrect state in /sync (PR #573)
  157. * Always return a JSON object from push rule API (PR #606)
  158. * Fix bug where registering without a user id sometimes failed (PR #610)
  159. * Report size of ExpiringCache in cache size metrics (PR #611)
  160. * Fix rejection of invites to empty rooms (PR #615)
  161. * Fix usage of ``bcrypt`` to not use ``checkpw`` (PR #619)
  162. * Pin ``pysaml2`` dependency (PR #634)
  163. * Fix bug in ``/sync`` where timeline order was incorrect for backfilled events
  164. (PR #635)
  165. Changes in synapse v0.13.3 (2016-02-11)
  166. =======================================
  167. * Fix bug where ``/sync`` would occasionally return events in the wrong room.
  168. Changes in synapse v0.13.2 (2016-02-11)
  169. =======================================
  170. * Fix bug where ``/events`` would fail to skip some events if there had been
  171. more events than the limit specified since the last request (PR #570)
  172. Changes in synapse v0.13.1 (2016-02-10)
  173. =======================================
  174. * Bump matrix-angular-sdk (matrix web console) dependency to 0.6.8 to
  175. pull in the fix for SYWEB-361 so that the default client can display
  176. HTML messages again(!)
  177. Changes in synapse v0.13.0 (2016-02-10)
  178. =======================================
  179. This version includes an upgrade of the schema, specifically adding an index to
  180. the ``events`` table. This may cause synapse to pause for several minutes the
  181. first time it is started after the upgrade.
  182. Changes:
  183. * Improve general performance (PR #540, #543. #544, #54, #549, #567)
  184. * Change guest user ids to be incrementing integers (PR #550)
  185. * Improve performance of public room list API (PR #552)
  186. * Change profile API to omit keys rather than return null (PR #557)
  187. * Add ``/media/r0`` endpoint prefix, which is equivalent to ``/media/v1/``
  188. (PR #595)
  189. Bug fixes:
  190. * Fix bug with upgrading guest accounts where it would fail if you opened the
  191. registration email on a different device (PR #547)
  192. * Fix bug where unread count could be wrong (PR #568)
  193. Changes in synapse v0.12.1-rc1 (2016-01-29)
  194. ===========================================
  195. Features:
  196. * Add unread notification counts in ``/sync`` (PR #456)
  197. * Add support for inviting 3pids in ``/createRoom`` (PR #460)
  198. * Add ability for guest accounts to upgrade (PR #462)
  199. * Add ``/versions`` API (PR #468)
  200. * Add ``event`` to ``/context`` API (PR #492)
  201. * Add specific error code for invalid user names in ``/register`` (PR #499)
  202. * Add support for push badge counts (PR #507)
  203. * Add support for non-guest users to peek in rooms using ``/events`` (PR #510)
  204. Changes:
  205. * Change ``/sync`` so that guest users only get rooms they've joined (PR #469)
  206. * Change to require unbanning before other membership changes (PR #501)
  207. * Change default push rules to notify for all messages (PR #486)
  208. * Change default push rules to not notify on membership changes (PR #514)
  209. * Change default push rules in one to one rooms to only notify for events that
  210. are messages (PR #529)
  211. * Change ``/sync`` to reject requests with a ``from`` query param (PR #512)
  212. * Change server manhole to use SSH rather than telnet (PR #473)
  213. * Change server to require AS users to be registered before use (PR #487)
  214. * Change server not to start when ASes are invalidly configured (PR #494)
  215. * Change server to require ID and ``as_token`` to be unique for AS's (PR #496)
  216. * Change maximum pagination limit to 1000 (PR #497)
  217. Bug fixes:
  218. * Fix bug where ``/sync`` didn't return when something under the leave key
  219. changed (PR #461)
  220. * Fix bug where we returned smaller rather than larger than requested
  221. thumbnails when ``method=crop`` (PR #464)
  222. * Fix thumbnails API to only return cropped thumbnails when asking for a
  223. cropped thumbnail (PR #475)
  224. * Fix bug where we occasionally still logged access tokens (PR #477)
  225. * Fix bug where ``/events`` would always return immediately for guest users
  226. (PR #480)
  227. * Fix bug where ``/sync`` unexpectedly returned old left rooms (PR #481)
  228. * Fix enabling and disabling push rules (PR #498)
  229. * Fix bug where ``/register`` returned 500 when given unicode username
  230. (PR #513)
  231. Changes in synapse v0.12.0 (2016-01-04)
  232. =======================================
  233. * Expose ``/login`` under ``r0`` (PR #459)
  234. Changes in synapse v0.12.0-rc3 (2015-12-23)
  235. ===========================================
  236. * Allow guest accounts access to ``/sync`` (PR #455)
  237. * Allow filters to include/exclude rooms at the room level
  238. rather than just from the components of the sync for each
  239. room. (PR #454)
  240. * Include urls for room avatars in the response to ``/publicRooms`` (PR #453)
  241. * Don't set a identicon as the avatar for a user when they register (PR #450)
  242. * Add a ``display_name`` to third-party invites (PR #449)
  243. * Send more information to the identity server for third-party invites so that
  244. it can send richer messages to the invitee (PR #446)
  245. * Cache the responses to ``/initialSync`` for 5 minutes. If a client
  246. retries a request to ``/initialSync`` before the a response was computed
  247. to the first request then the same response is used for both requests
  248. (PR #457)
  249. * Fix a bug where synapse would always request the signing keys of
  250. remote servers even when the key was cached locally (PR #452)
  251. * Fix 500 when pagination search results (PR #447)
  252. * Fix a bug where synapse was leaking raw email address in third-party invites
  253. (PR #448)
  254. Changes in synapse v0.12.0-rc2 (2015-12-14)
  255. ===========================================
  256. * Add caches for whether rooms have been forgotten by a user (PR #434)
  257. * Remove instructions to use ``--process-dependency-link`` since all of the
  258. dependencies of synapse are on PyPI (PR #436)
  259. * Parallelise the processing of ``/sync`` requests (PR #437)
  260. * Fix race updating presence in ``/events`` (PR #444)
  261. * Fix bug back-populating search results (PR #441)
  262. * Fix bug calculating state in ``/sync`` requests (PR #442)
  263. Changes in synapse v0.12.0-rc1 (2015-12-10)
  264. ===========================================
  265. * Host the client APIs released as r0 by
  266. https://matrix.org/docs/spec/r0.0.0/client_server.html
  267. on paths prefixed by ``/_matrix/client/r0``. (PR #430, PR #415, PR #400)
  268. * Updates the client APIs to match r0 of the matrix specification.
  269. * All APIs return events in the new event format, old APIs also include
  270. the fields needed to parse the event using the old format for
  271. compatibility. (PR #402)
  272. * Search results are now given as a JSON array rather than
  273. a JSON object (PR #405)
  274. * Miscellaneous changes to search (PR #403, PR #406, PR #412)
  275. * Filter JSON objects may now be passed as query parameters to ``/sync``
  276. (PR #431)
  277. * Fix implementation of ``/admin/whois`` (PR #418)
  278. * Only include the rooms that user has left in ``/sync`` if the client
  279. requests them in the filter (PR #423)
  280. * Don't push for ``m.room.message`` by default (PR #411)
  281. * Add API for setting per account user data (PR #392)
  282. * Allow users to forget rooms (PR #385)
  283. * Performance improvements and monitoring:
  284. * Add per-request counters for CPU time spent on the main python thread.
  285. (PR #421, PR #420)
  286. * Add per-request counters for time spent in the database (PR #429)
  287. * Make state updates in the C+S API idempotent (PR #416)
  288. * Only fire ``user_joined_room`` if the user has actually joined. (PR #410)
  289. * Reuse a single http client, rather than creating new ones (PR #413)
  290. * Fixed a bug upgrading from older versions of synapse on postgresql (PR #417)
  291. Changes in synapse v0.11.1 (2015-11-20)
  292. =======================================
  293. * Add extra options to search API (PR #394)
  294. * Fix bug where we did not correctly cap federation retry timers. This meant it
  295. could take several hours for servers to start talking to ressurected servers,
  296. even when they were receiving traffic from them (PR #393)
  297. * Don't advertise login token flow unless CAS is enabled. This caused issues
  298. where some clients would always use the fallback API if they did not
  299. recognize all login flows (PR #391)
  300. * Change /v2 sync API to rename ``private_user_data`` to ``account_data``
  301. (PR #386)
  302. * Change /v2 sync API to remove the ``event_map`` and rename keys in ``rooms``
  303. object (PR #389)
  304. Changes in synapse v0.11.0-r2 (2015-11-19)
  305. ==========================================
  306. * Fix bug in database port script (PR #387)
  307. Changes in synapse v0.11.0-r1 (2015-11-18)
  308. ==========================================
  309. * Retry and fail federation requests more aggressively for requests that block
  310. client side requests (PR #384)
  311. Changes in synapse v0.11.0 (2015-11-17)
  312. =======================================
  313. * Change CAS login API (PR #349)
  314. Changes in synapse v0.11.0-rc2 (2015-11-13)
  315. ===========================================
  316. * Various changes to /sync API response format (PR #373)
  317. * Fix regression when setting display name in newly joined room over
  318. federation (PR #368)
  319. * Fix problem where /search was slow when using SQLite (PR #366)
  320. Changes in synapse v0.11.0-rc1 (2015-11-11)
  321. ===========================================
  322. * Add Search API (PR #307, #324, #327, #336, #350, #359)
  323. * Add 'archived' state to v2 /sync API (PR #316)
  324. * Add ability to reject invites (PR #317)
  325. * Add config option to disable password login (PR #322)
  326. * Add the login fallback API (PR #330)
  327. * Add room context API (PR #334)
  328. * Add room tagging support (PR #335)
  329. * Update v2 /sync API to match spec (PR #305, #316, #321, #332, #337, #341)
  330. * Change retry schedule for application services (PR #320)
  331. * Change retry schedule for remote servers (PR #340)
  332. * Fix bug where we hosted static content in the incorrect place (PR #329)
  333. * Fix bug where we didn't increment retry interval for remote servers (PR #343)
  334. Changes in synapse v0.10.1-rc1 (2015-10-15)
  335. ===========================================
  336. * Add support for CAS, thanks to Steven Hammerton (PR #295, #296)
  337. * Add support for using macaroons for ``access_token`` (PR #256, #229)
  338. * Add support for ``m.room.canonical_alias`` (PR #287)
  339. * Add support for viewing the history of rooms that they have left. (PR #276,
  340. #294)
  341. * Add support for refresh tokens (PR #240)
  342. * Add flag on creation which disables federation of the room (PR #279)
  343. * Add some room state to invites. (PR #275)
  344. * Atomically persist events when joining a room over federation (PR #283)
  345. * Change default history visibility for private rooms (PR #271)
  346. * Allow users to redact their own sent events (PR #262)
  347. * Use tox for tests (PR #247)
  348. * Split up syutil into separate libraries (PR #243)
  349. Changes in synapse v0.10.0-r2 (2015-09-16)
  350. ==========================================
  351. * Fix bug where we always fetched remote server signing keys instead of using
  352. ones in our cache.
  353. * Fix adding threepids to an existing account.
  354. * Fix bug with invinting over federation where remote server was already in
  355. the room. (PR #281, SYN-392)
  356. Changes in synapse v0.10.0-r1 (2015-09-08)
  357. ==========================================
  358. * Fix bug with python packaging
  359. Changes in synapse v0.10.0 (2015-09-03)
  360. =======================================
  361. No change from release candidate.
  362. Changes in synapse v0.10.0-rc6 (2015-09-02)
  363. ===========================================
  364. * Remove some of the old database upgrade scripts.
  365. * Fix database port script to work with newly created sqlite databases.
  366. Changes in synapse v0.10.0-rc5 (2015-08-27)
  367. ===========================================
  368. * Fix bug that broke downloading files with ascii filenames across federation.
  369. Changes in synapse v0.10.0-rc4 (2015-08-27)
  370. ===========================================
  371. * Allow UTF-8 filenames for upload. (PR #259)
  372. Changes in synapse v0.10.0-rc3 (2015-08-25)
  373. ===========================================
  374. * Add ``--keys-directory`` config option to specify where files such as
  375. certs and signing keys should be stored in, when using ``--generate-config``
  376. or ``--generate-keys``. (PR #250)
  377. * Allow ``--config-path`` to specify a directory, causing synapse to use all
  378. \*.yaml files in the directory as config files. (PR #249)
  379. * Add ``web_client_location`` config option to specify static files to be
  380. hosted by synapse under ``/_matrix/client``. (PR #245)
  381. * Add helper utility to synapse to read and parse the config files and extract
  382. the value of a given key. For example::
  383. $ python -m synapse.config read server_name -c homeserver.yaml
  384. localhost
  385. (PR #246)
  386. Changes in synapse v0.10.0-rc2 (2015-08-24)
  387. ===========================================
  388. * Fix bug where we incorrectly populated the ``event_forward_extremities``
  389. table, resulting in problems joining large remote rooms (e.g.
  390. ``#matrix:matrix.org``)
  391. * Reduce the number of times we wake up pushers by not listening for presence
  392. or typing events, reducing the CPU cost of each pusher.
  393. Changes in synapse v0.10.0-rc1 (2015-08-21)
  394. ===========================================
  395. Also see v0.9.4-rc1 changelog, which has been amalgamated into this release.
  396. General:
  397. * Upgrade to Twisted 15 (PR #173)
  398. * Add support for serving and fetching encryption keys over federation.
  399. (PR #208)
  400. * Add support for logging in with email address (PR #234)
  401. * Add support for new ``m.room.canonical_alias`` event. (PR #233)
  402. * Change synapse to treat user IDs case insensitively during registration and
  403. login. (If two users already exist with case insensitive matching user ids,
  404. synapse will continue to require them to specify their user ids exactly.)
  405. * Error if a user tries to register with an email already in use. (PR #211)
  406. * Add extra and improve existing caches (PR #212, #219, #226, #228)
  407. * Batch various storage request (PR #226, #228)
  408. * Fix bug where we didn't correctly log the entity that triggered the request
  409. if the request came in via an application service (PR #230)
  410. * Fix bug where we needlessly regenerated the full list of rooms an AS is
  411. interested in. (PR #232)
  412. * Add support for AS's to use v2_alpha registration API (PR #210)
  413. Configuration:
  414. * Add ``--generate-keys`` that will generate any missing cert and key files in
  415. the configuration files. This is equivalent to running ``--generate-config``
  416. on an existing configuration file. (PR #220)
  417. * ``--generate-config`` now no longer requires a ``--server-name`` parameter
  418. when used on existing configuration files. (PR #220)
  419. * Add ``--print-pidfile`` flag that controls the printing of the pid to stdout
  420. of the demonised process. (PR #213)
  421. Media Repository:
  422. * Fix bug where we picked a lower resolution image than requested. (PR #205)
  423. * Add support for specifying if a the media repository should dynamically
  424. thumbnail images or not. (PR #206)
  425. Metrics:
  426. * Add statistics from the reactor to the metrics API. (PR #224, #225)
  427. Demo Homeservers:
  428. * Fix starting the demo homeservers without rate-limiting enabled. (PR #182)
  429. * Fix enabling registration on demo homeservers (PR #223)
  430. Changes in synapse v0.9.4-rc1 (2015-07-21)
  431. ==========================================
  432. General:
  433. * Add basic implementation of receipts. (SPEC-99)
  434. * Add support for configuration presets in room creation API. (PR #203)
  435. * Add auth event that limits the visibility of history for new users.
  436. (SPEC-134)
  437. * Add SAML2 login/registration support. (PR #201. Thanks Muthu Subramanian!)
  438. * Add client side key management APIs for end to end encryption. (PR #198)
  439. * Change power level semantics so that you cannot kick, ban or change power
  440. levels of users that have equal or greater power level than you. (SYN-192)
  441. * Improve performance by bulk inserting events where possible. (PR #193)
  442. * Improve performance by bulk verifying signatures where possible. (PR #194)
  443. Configuration:
  444. * Add support for including TLS certificate chains.
  445. Media Repository:
  446. * Add Content-Disposition headers to content repository responses. (SYN-150)
  447. Changes in synapse v0.9.3 (2015-07-01)
  448. ======================================
  449. No changes from v0.9.3 Release Candidate 1.
  450. Changes in synapse v0.9.3-rc1 (2015-06-23)
  451. ==========================================
  452. General:
  453. * Fix a memory leak in the notifier. (SYN-412)
  454. * Improve performance of room initial sync. (SYN-418)
  455. * General improvements to logging.
  456. * Remove ``access_token`` query params from ``INFO`` level logging.
  457. Configuration:
  458. * Add support for specifying and configuring multiple listeners. (SYN-389)
  459. Application services:
  460. * Fix bug where synapse failed to send user queries to application services.
  461. Changes in synapse v0.9.2-r2 (2015-06-15)
  462. =========================================
  463. Fix packaging so that schema delta python files get included in the package.
  464. Changes in synapse v0.9.2 (2015-06-12)
  465. ======================================
  466. General:
  467. * Use ultrajson for json (de)serialisation when a canonical encoding is not
  468. required. Ultrajson is significantly faster than simplejson in certain
  469. circumstances.
  470. * Use connection pools for outgoing HTTP connections.
  471. * Process thumbnails on separate threads.
  472. Configuration:
  473. * Add option, ``gzip_responses``, to disable HTTP response compression.
  474. Federation:
  475. * Improve resilience of backfill by ensuring we fetch any missing auth events.
  476. * Improve performance of backfill and joining remote rooms by removing
  477. unnecessary computations. This included handling events we'd previously
  478. handled as well as attempting to compute the current state for outliers.
  479. Changes in synapse v0.9.1 (2015-05-26)
  480. ======================================
  481. General:
  482. * Add support for backfilling when a client paginates. This allows servers to
  483. request history for a room from remote servers when a client tries to
  484. paginate history the server does not have - SYN-36
  485. * Fix bug where you couldn't disable non-default pushrules - SYN-378
  486. * Fix ``register_new_user`` script - SYN-359
  487. * Improve performance of fetching events from the database, this improves both
  488. initialSync and sending of events.
  489. * Improve performance of event streams, allowing synapse to handle more
  490. simultaneous connected clients.
  491. Federation:
  492. * Fix bug with existing backfill implementation where it returned the wrong
  493. selection of events in some circumstances.
  494. * Improve performance of joining remote rooms.
  495. Configuration:
  496. * Add support for changing the bind host of the metrics listener via the
  497. ``metrics_bind_host`` option.
  498. Changes in synapse v0.9.0-r5 (2015-05-21)
  499. =========================================
  500. * Add more database caches to reduce amount of work done for each pusher. This
  501. radically reduces CPU usage when multiple pushers are set up in the same room.
  502. Changes in synapse v0.9.0 (2015-05-07)
  503. ======================================
  504. General:
  505. * Add support for using a PostgreSQL database instead of SQLite. See
  506. `docs/postgres.rst`_ for details.
  507. * Add password change and reset APIs. See `Registration`_ in the spec.
  508. * Fix memory leak due to not releasing stale notifiers - SYN-339.
  509. * Fix race in caches that occasionally caused some presence updates to be
  510. dropped - SYN-369.
  511. * Check server name has not changed on restart.
  512. * Add a sample systemd unit file and a logger configuration in
  513. contrib/systemd. Contributed Ivan Shapovalov.
  514. Federation:
  515. * Add key distribution mechanisms for fetching public keys of unavailable
  516. remote home servers. See `Retrieving Server Keys`_ in the spec.
  517. Configuration:
  518. * Add support for multiple config files.
  519. * Add support for dictionaries in config files.
  520. * Remove support for specifying config options on the command line, except
  521. for:
  522. * ``--daemonize`` - Daemonize the home server.
  523. * ``--manhole`` - Turn on the twisted telnet manhole service on the given
  524. port.
  525. * ``--database-path`` - The path to a sqlite database to use.
  526. * ``--verbose`` - The verbosity level.
  527. * ``--log-file`` - File to log to.
  528. * ``--log-config`` - Python logging config file.
  529. * ``--enable-registration`` - Enable registration for new users.
  530. Application services:
  531. * Reliably retry sending of events from Synapse to application services, as per
  532. `Application Services`_ spec.
  533. * Application services can no longer register via the ``/register`` API,
  534. instead their configuration should be saved to a file and listed in the
  535. synapse ``app_service_config_files`` config option. The AS configuration file
  536. has the same format as the old ``/register`` request.
  537. See `docs/application_services.rst`_ for more information.
  538. .. _`docs/postgres.rst`: docs/postgres.rst
  539. .. _`docs/application_services.rst`: docs/application_services.rst
  540. .. _`Registration`: https://github.com/matrix-org/matrix-doc/blob/master/specification/10_client_server_api.rst#registration
  541. .. _`Retrieving Server Keys`: https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys
  542. .. _`Application Services`: https://github.com/matrix-org/matrix-doc/blob/0c6bd9/specification/25_application_service_api.rst#home-server---application-service-api
  543. Changes in synapse v0.8.1 (2015-03-18)
  544. ======================================
  545. * Disable registration by default. New users can be added using the command
  546. ``register_new_matrix_user`` or by enabling registration in the config.
  547. * Add metrics to synapse. To enable metrics use config options
  548. ``enable_metrics`` and ``metrics_port``.
  549. * Fix bug where banning only kicked the user.
  550. Changes in synapse v0.8.0 (2015-03-06)
  551. ======================================
  552. General:
  553. * Add support for registration fallback. This is a page hosted on the server
  554. which allows a user to register for an account, regardless of what client
  555. they are using (e.g. mobile devices).
  556. * Added new default push rules and made them configurable by clients:
  557. * Suppress all notice messages.
  558. * Notify when invited to a new room.
  559. * Notify for messages that don't match any rule.
  560. * Notify on incoming call.
  561. Federation:
  562. * Added per host server side rate-limiting of incoming federation requests.
  563. * Added a ``/get_missing_events/`` API to federation to reduce number of
  564. ``/events/`` requests.
  565. Configuration:
  566. * Added configuration option to disable registration:
  567. ``disable_registration``.
  568. * Added configuration option to change soft limit of number of open file
  569. descriptors: ``soft_file_limit``.
  570. * Make ``tls_private_key_path`` optional when running with ``no_tls``.
  571. Application services:
  572. * Application services can now poll on the CS API ``/events`` for their events,
  573. by providing their application service ``access_token``.
  574. * Added exclusive namespace support to application services API.
  575. Changes in synapse v0.7.1 (2015-02-19)
  576. ======================================
  577. * Initial alpha implementation of parts of the Application Services API.
  578. Including:
  579. - AS Registration / Unregistration
  580. - User Query API
  581. - Room Alias Query API
  582. - Push transport for receiving events.
  583. - User/Alias namespace admin control
  584. * Add cache when fetching events from remote servers to stop repeatedly
  585. fetching events with bad signatures.
  586. * Respect the per remote server retry scheme when fetching both events and
  587. server keys to reduce the number of times we send requests to dead servers.
  588. * Inform remote servers when the local server fails to handle a received event.
  589. * Turn off python bytecode generation due to problems experienced when
  590. upgrading from previous versions.
  591. Changes in synapse v0.7.0 (2015-02-12)
  592. ======================================
  593. * Add initial implementation of the query auth federation API, allowing
  594. servers to agree on whether an event should be allowed or rejected.
  595. * Persist events we have rejected from federation, fixing the bug where
  596. servers would keep requesting the same events.
  597. * Various federation performance improvements, including:
  598. - Add in memory caches on queries such as:
  599. * Computing the state of a room at a point in time, used for
  600. authorization on federation requests.
  601. * Fetching events from the database.
  602. * User's room membership, used for authorizing presence updates.
  603. - Upgraded JSON library to improve parsing and serialisation speeds.
  604. * Add default avatars to new user accounts using pydenticon library.
  605. * Correctly time out federation requests.
  606. * Retry federation requests against different servers.
  607. * Add support for push and push rules.
  608. * Add alpha versions of proposed new CSv2 APIs, including ``/sync`` API.
  609. Changes in synapse 0.6.1 (2015-01-07)
  610. =====================================
  611. * Major optimizations to improve performance of initial sync and event sending
  612. in large rooms (by up to 10x)
  613. * Media repository now includes a Content-Length header on media downloads.
  614. * Improve quality of thumbnails by changing resizing algorithm.
  615. Changes in synapse 0.6.0 (2014-12-16)
  616. =====================================
  617. * Add new API for media upload and download that supports thumbnailing.
  618. * Replicate media uploads over multiple homeservers so media is always served
  619. to clients from their local homeserver. This obsoletes the
  620. --content-addr parameter and confusion over accessing content directly
  621. from remote homeservers.
  622. * Implement exponential backoff when retrying federation requests when
  623. sending to remote homeservers which are offline.
  624. * Implement typing notifications.
  625. * Fix bugs where we sent events with invalid signatures due to bugs where
  626. we incorrectly persisted events.
  627. * Improve performance of database queries involving retrieving events.
  628. Changes in synapse 0.5.4a (2014-12-13)
  629. ======================================
  630. * Fix bug while generating the error message when a file path specified in
  631. the config doesn't exist.
  632. Changes in synapse 0.5.4 (2014-12-03)
  633. =====================================
  634. * Fix presence bug where some rooms did not display presence updates for
  635. remote users.
  636. * Do not log SQL timing log lines when started with "-v"
  637. * Fix potential memory leak.
  638. Changes in synapse 0.5.3c (2014-12-02)
  639. ======================================
  640. * Change the default value for the `content_addr` option to use the HTTP
  641. listener, as by default the HTTPS listener will be using a self-signed
  642. certificate.
  643. Changes in synapse 0.5.3 (2014-11-27)
  644. =====================================
  645. * Fix bug that caused joining a remote room to fail if a single event was not
  646. signed correctly.
  647. * Fix bug which caused servers to continuously try and fetch events from other
  648. servers.
  649. Changes in synapse 0.5.2 (2014-11-26)
  650. =====================================
  651. Fix major bug that caused rooms to disappear from peoples initial sync.
  652. Changes in synapse 0.5.1 (2014-11-26)
  653. =====================================
  654. See UPGRADES.rst for specific instructions on how to upgrade.
  655. * Fix bug where we served up an Event that did not match its signatures.
  656. * Fix regression where we no longer correctly handled the case where a
  657. homeserver receives an event for a room it doesn't recognise (but is in.)
  658. Changes in synapse 0.5.0 (2014-11-19)
  659. =====================================
  660. This release includes changes to the federation protocol and client-server API
  661. that is not backwards compatible.
  662. This release also changes the internal database schemas and so requires servers to
  663. drop their current history. See UPGRADES.rst for details.
  664. Homeserver:
  665. * Add authentication and authorization to the federation protocol. Events are
  666. now signed by their originating homeservers.
  667. * Implement the new authorization model for rooms.
  668. * Split out web client into a seperate repository: matrix-angular-sdk.
  669. * Change the structure of PDUs.
  670. * Fix bug where user could not join rooms via an alias containing 4-byte
  671. UTF-8 characters.
  672. * Merge concept of PDUs and Events internally.
  673. * Improve logging by adding request ids to log lines.
  674. * Implement a very basic room initial sync API.
  675. * Implement the new invite/join federation APIs.
  676. Webclient:
  677. * The webclient has been moved to a seperate repository.
  678. Changes in synapse 0.4.2 (2014-10-31)
  679. =====================================
  680. Homeserver:
  681. * Fix bugs where we did not notify users of correct presence updates.
  682. * Fix bug where we did not handle sub second event stream timeouts.
  683. Webclient:
  684. * Add ability to click on messages to see JSON.
  685. * Add ability to redact messages.
  686. * Add ability to view and edit all room state JSON.
  687. * Handle incoming redactions.
  688. * Improve feedback on errors.
  689. * Fix bugs in mobile CSS.
  690. * Fix bugs with desktop notifications.
  691. Changes in synapse 0.4.1 (2014-10-17)
  692. =====================================
  693. Webclient:
  694. * Fix bug with display of timestamps.
  695. Changes in synpase 0.4.0 (2014-10-17)
  696. =====================================
  697. This release includes changes to the federation protocol and client-server API
  698. that is not backwards compatible.
  699. The Matrix specification has been moved to a separate git repository:
  700. http://github.com/matrix-org/matrix-doc
  701. You will also need an updated syutil and config. See UPGRADES.rst.
  702. Homeserver:
  703. * Sign federation transactions to assert strong identity over federation.
  704. * Rename timestamp keys in PDUs and events from 'ts' and 'hsob_ts' to 'origin_server_ts'.
  705. Changes in synapse 0.3.4 (2014-09-25)
  706. =====================================
  707. This version adds support for using a TURN server. See docs/turn-howto.rst on
  708. how to set one up.
  709. Homeserver:
  710. * Add support for redaction of messages.
  711. * Fix bug where inviting a user on a remote home server could take up to
  712. 20-30s.
  713. * Implement a get current room state API.
  714. * Add support specifying and retrieving turn server configuration.
  715. Webclient:
  716. * Add button to send messages to users from the home page.
  717. * Add support for using TURN for VoIP calls.
  718. * Show display name change messages.
  719. * Fix bug where the client didn't get the state of a newly joined room
  720. until after it has been refreshed.
  721. * Fix bugs with tab complete.
  722. * Fix bug where holding down the down arrow caused chrome to chew 100% CPU.
  723. * Fix bug where desktop notifications occasionally used "Undefined" as the
  724. display name.
  725. * Fix more places where we sometimes saw room IDs incorrectly.
  726. * Fix bug which caused lag when entering text in the text box.
  727. Changes in synapse 0.3.3 (2014-09-22)
  728. =====================================
  729. Homeserver:
  730. * Fix bug where you continued to get events for rooms you had left.
  731. Webclient:
  732. * Add support for video calls with basic UI.
  733. * Fix bug where one to one chats were named after your display name rather
  734. than the other person's.
  735. * Fix bug which caused lag when typing in the textarea.
  736. * Refuse to run on browsers we know won't work.
  737. * Trigger pagination when joining new rooms.
  738. * Fix bug where we sometimes didn't display invitations in recents.
  739. * Automatically join room when accepting a VoIP call.
  740. * Disable outgoing and reject incoming calls on browsers we don't support
  741. VoIP in.
  742. * Don't display desktop notifications for messages in the room you are
  743. non-idle and speaking in.
  744. Changes in synapse 0.3.2 (2014-09-18)
  745. =====================================
  746. Webclient:
  747. * Fix bug where an empty "bing words" list in old accounts didn't send
  748. notifications when it should have done.
  749. Changes in synapse 0.3.1 (2014-09-18)
  750. =====================================
  751. This is a release to hotfix v0.3.0 to fix two regressions.
  752. Webclient:
  753. * Fix a regression where we sometimes displayed duplicate events.
  754. * Fix a regression where we didn't immediately remove rooms you were
  755. banned in from the recents list.
  756. Changes in synapse 0.3.0 (2014-09-18)
  757. =====================================
  758. See UPGRADE for information about changes to the client server API, including
  759. breaking backwards compatibility with VoIP calls and registration API.
  760. Homeserver:
  761. * When a user changes their displayname or avatar the server will now update
  762. all their join states to reflect this.
  763. * The server now adds "age" key to events to indicate how old they are. This
  764. is clock independent, so at no point does any server or webclient have to
  765. assume their clock is in sync with everyone else.
  766. * Fix bug where we didn't correctly pull in missing PDUs.
  767. * Fix bug where prev_content key wasn't always returned.
  768. * Add support for password resets.
  769. Webclient:
  770. * Improve page content loading.
  771. * Join/parts now trigger desktop notifications.
  772. * Always show room aliases in the UI if one is present.
  773. * No longer show user-count in the recents side panel.
  774. * Add up & down arrow support to the text box for message sending to step
  775. through your sent history.
  776. * Don't display notifications for our own messages.
  777. * Emotes are now formatted correctly in desktop notifications.
  778. * The recents list now differentiates between public & private rooms.
  779. * Fix bug where when switching between rooms the pagination flickered before
  780. the view jumped to the bottom of the screen.
  781. * Add bing word support.
  782. Registration API:
  783. * The registration API has been overhauled to function like the login API. In
  784. practice, this means registration requests must now include the following:
  785. 'type':'m.login.password'. See UPGRADE for more information on this.
  786. * The 'user_id' key has been renamed to 'user' to better match the login API.
  787. * There is an additional login type: 'm.login.email.identity'.
  788. * The command client and web client have been updated to reflect these changes.
  789. Changes in synapse 0.2.3 (2014-09-12)
  790. =====================================
  791. Homeserver:
  792. * Fix bug where we stopped sending events to remote home servers if a
  793. user from that home server left, even if there were some still in the
  794. room.
  795. * Fix bugs in the state conflict resolution where it was incorrectly
  796. rejecting events.
  797. Webclient:
  798. * Display room names and topics.
  799. * Allow setting/editing of room names and topics.
  800. * Display information about rooms on the main page.
  801. * Handle ban and kick events in real time.
  802. * VoIP UI and reliability improvements.
  803. * Add glare support for VoIP.
  804. * Improvements to initial startup speed.
  805. * Don't display duplicate join events.
  806. * Local echo of messages.
  807. * Differentiate sending and sent of local echo.
  808. * Various minor bug fixes.
  809. Changes in synapse 0.2.2 (2014-09-06)
  810. =====================================
  811. Homeserver:
  812. * When the server returns state events it now also includes the previous
  813. content.
  814. * Add support for inviting people when creating a new room.
  815. * Make the homeserver inform the room via `m.room.aliases` when a new alias
  816. is added for a room.
  817. * Validate `m.room.power_level` events.
  818. Webclient:
  819. * Add support for captchas on registration.
  820. * Handle `m.room.aliases` events.
  821. * Asynchronously send messages and show a local echo.
  822. * Inform the UI when a message failed to send.
  823. * Only autoscroll on receiving a new message if the user was already at the
  824. bottom of the screen.
  825. * Add support for ban/kick reasons.
  826. Changes in synapse 0.2.1 (2014-09-03)
  827. =====================================
  828. Homeserver:
  829. * Added support for signing up with a third party id.
  830. * Add synctl scripts.
  831. * Added rate limiting.
  832. * Add option to change the external address the content repo uses.
  833. * Presence bug fixes.
  834. Webclient:
  835. * Added support for signing up with a third party id.
  836. * Added support for banning and kicking users.
  837. * Added support for displaying and setting ops.
  838. * Added support for room names.
  839. * Fix bugs with room membership event display.
  840. Changes in synapse 0.2.0 (2014-09-02)
  841. =====================================
  842. This update changes many configuration options, updates the
  843. database schema and mandates SSL for server-server connections.
  844. Homeserver:
  845. * Require SSL for server-server connections.
  846. * Add SSL listener for client-server connections.
  847. * Add ability to use config files.
  848. * Add support for kicking/banning and power levels.
  849. * Allow setting of room names and topics on creation.
  850. * Change presence to include last seen time of the user.
  851. * Change url path prefix to /_matrix/...
  852. * Bug fixes to presence.
  853. Webclient:
  854. * Reskin the CSS for registration and login.
  855. * Various improvements to rooms CSS.
  856. * Support changes in client-server API.
  857. * Bug fixes to VOIP UI.
  858. * Various bug fixes to handling of changes to room member list.
  859. Changes in synapse 0.1.2 (2014-08-29)
  860. =====================================
  861. Webclient:
  862. * Add basic call state UI for VoIP calls.
  863. Changes in synapse 0.1.1 (2014-08-29)
  864. =====================================
  865. Homeserver:
  866. * Fix bug that caused the event stream to not notify some clients about
  867. changes.
  868. Changes in synapse 0.1.0 (2014-08-29)
  869. =====================================
  870. Presence has been reenabled in this release.
  871. Homeserver:
  872. * Update client to server API, including:
  873. - Use a more consistent url scheme.
  874. - Provide more useful information in the initial sync api.
  875. * Change the presence handling to be much more efficient.
  876. * Change the presence server to server API to not require explicit polling of
  877. all users who share a room with a user.
  878. * Fix races in the event streaming logic.
  879. Webclient:
  880. * Update to use new client to server API.
  881. * Add basic VOIP support.
  882. * Add idle timers that change your status to away.
  883. * Add recent rooms column when viewing a room.
  884. * Various network efficiency improvements.
  885. * Add basic mobile browser support.
  886. * Add a settings page.
  887. Changes in synapse 0.0.1 (2014-08-22)
  888. =====================================
  889. Presence has been disabled in this release due to a bug that caused the
  890. homeserver to spam other remote homeservers.
  891. Homeserver:
  892. * Completely change the database schema to support generic event types.
  893. * Improve presence reliability.
  894. * Improve reliability of joining remote rooms.
  895. * Fix bug where room join events were duplicated.
  896. * Improve initial sync API to return more information to the client.
  897. * Stop generating fake messages for room membership events.
  898. Webclient:
  899. * Add tab completion of names.
  900. * Add ability to upload and send images.
  901. * Add profile pages.
  902. * Improve CSS layout of room.
  903. * Disambiguate identical display names.
  904. * Don't get remote users display names and avatars individually.
  905. * Use the new initial sync API to reduce number of round trips to the homeserver.
  906. * Change url scheme to use room aliases instead of room ids where known.
  907. * Increase longpoll timeout.
  908. Changes in synapse 0.0.0 (2014-08-13)
  909. =====================================
  910. * Initial alpha release