CHANGES.rst 42 KB

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