CHANGES.rst 39 KB

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