CHANGES.rst 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. Changes in synapse v0.9.3 (2015-07-01)
  2. ======================================
  3. No changes from v0.9.3 Release Candidate 1.
  4. Changes in synapse v0.9.3-rc1 (2015-06-23)
  5. ==========================================
  6. General:
  7. * Fix a memory leak in the notifier. (SYN-412)
  8. * Improve performance of room initial sync. (SYN-418)
  9. * General improvements to logging.
  10. * Remove ``access_token`` query params from ``INFO`` level logging.
  11. Configuration:
  12. * Add support for specifying and configuring multiple listeners. (SYN-389)
  13. Application services:
  14. * Fix bug where synapse failed to send user queries to application services.
  15. Changes in synapse v0.9.2-r2 (2015-06-15)
  16. =========================================
  17. Fix packaging so that schema delta python files get included in the package.
  18. Changes in synapse v0.9.2 (2015-06-12)
  19. ======================================
  20. General:
  21. * Use ultrajson for json (de)serialisation when a canonical encoding is not
  22. required. Ultrajson is significantly faster than simplejson in certain
  23. circumstances.
  24. * Use connection pools for outgoing HTTP connections.
  25. * Process thumbnails on separate threads.
  26. Configuration:
  27. * Add option, ``gzip_responses``, to disable HTTP response compression.
  28. Federation:
  29. * Improve resilience of backfill by ensuring we fetch any missing auth events.
  30. * Improve performance of backfill and joining remote rooms by removing
  31. unnecessary computations. This included handling events we'd previously
  32. handled as well as attempting to compute the current state for outliers.
  33. Changes in synapse v0.9.1 (2015-05-26)
  34. ======================================
  35. General:
  36. * Add support for backfilling when a client paginates. This allows servers to
  37. request history for a room from remote servers when a client tries to
  38. paginate history the server does not have - SYN-36
  39. * Fix bug where you couldn't disable non-default pushrules - SYN-378
  40. * Fix ``register_new_user`` script - SYN-359
  41. * Improve performance of fetching events from the database, this improves both
  42. initialSync and sending of events.
  43. * Improve performance of event streams, allowing synapse to handle more
  44. simultaneous connected clients.
  45. Federation:
  46. * Fix bug with existing backfill implementation where it returned the wrong
  47. selection of events in some circumstances.
  48. * Improve performance of joining remote rooms.
  49. Configuration:
  50. * Add support for changing the bind host of the metrics listener via the
  51. ``metrics_bind_host`` option.
  52. Changes in synapse v0.9.0-r5 (2015-05-21)
  53. =========================================
  54. * Add more database caches to reduce amount of work done for each pusher. This
  55. radically reduces CPU usage when multiple pushers are set up in the same room.
  56. Changes in synapse v0.9.0 (2015-05-07)
  57. ======================================
  58. General:
  59. * Add support for using a PostgreSQL database instead of SQLite. See
  60. `docs/postgres.rst`_ for details.
  61. * Add password change and reset APIs. See `Registration`_ in the spec.
  62. * Fix memory leak due to not releasing stale notifiers - SYN-339.
  63. * Fix race in caches that occasionally caused some presence updates to be
  64. dropped - SYN-369.
  65. * Check server name has not changed on restart.
  66. * Add a sample systemd unit file and a logger configuration in
  67. contrib/systemd. Contributed Ivan Shapovalov.
  68. Federation:
  69. * Add key distribution mechanisms for fetching public keys of unavailable
  70. remote home servers. See `Retrieving Server Keys`_ in the spec.
  71. Configuration:
  72. * Add support for multiple config files.
  73. * Add support for dictionaries in config files.
  74. * Remove support for specifying config options on the command line, except
  75. for:
  76. * ``--daemonize`` - Daemonize the home server.
  77. * ``--manhole`` - Turn on the twisted telnet manhole service on the given
  78. port.
  79. * ``--database-path`` - The path to a sqlite database to use.
  80. * ``--verbose`` - The verbosity level.
  81. * ``--log-file`` - File to log to.
  82. * ``--log-config`` - Python logging config file.
  83. * ``--enable-registration`` - Enable registration for new users.
  84. Application services:
  85. * Reliably retry sending of events from Synapse to application services, as per
  86. `Application Services`_ spec.
  87. * Application services can no longer register via the ``/register`` API,
  88. instead their configuration should be saved to a file and listed in the
  89. synapse ``app_service_config_files`` config option. The AS configuration file
  90. has the same format as the old ``/register`` request.
  91. See `docs/application_services.rst`_ for more information.
  92. .. _`docs/postgres.rst`: docs/postgres.rst
  93. .. _`docs/application_services.rst`: docs/application_services.rst
  94. .. _`Registration`: https://github.com/matrix-org/matrix-doc/blob/master/specification/10_client_server_api.rst#registration
  95. .. _`Retrieving Server Keys`: https://github.com/matrix-org/matrix-doc/blob/6f2698/specification/30_server_server_api.rst#retrieving-server-keys
  96. .. _`Application Services`: https://github.com/matrix-org/matrix-doc/blob/0c6bd9/specification/25_application_service_api.rst#home-server---application-service-api
  97. Changes in synapse v0.8.1 (2015-03-18)
  98. ======================================
  99. * Disable registration by default. New users can be added using the command
  100. ``register_new_matrix_user`` or by enabling registration in the config.
  101. * Add metrics to synapse. To enable metrics use config options
  102. ``enable_metrics`` and ``metrics_port``.
  103. * Fix bug where banning only kicked the user.
  104. Changes in synapse v0.8.0 (2015-03-06)
  105. ======================================
  106. General:
  107. * Add support for registration fallback. This is a page hosted on the server
  108. which allows a user to register for an account, regardless of what client
  109. they are using (e.g. mobile devices).
  110. * Added new default push rules and made them configurable by clients:
  111. * Suppress all notice messages.
  112. * Notify when invited to a new room.
  113. * Notify for messages that don't match any rule.
  114. * Notify on incoming call.
  115. Federation:
  116. * Added per host server side rate-limiting of incoming federation requests.
  117. * Added a ``/get_missing_events/`` API to federation to reduce number of
  118. ``/events/`` requests.
  119. Configuration:
  120. * Added configuration option to disable registration:
  121. ``disable_registration``.
  122. * Added configuration option to change soft limit of number of open file
  123. descriptors: ``soft_file_limit``.
  124. * Make ``tls_private_key_path`` optional when running with ``no_tls``.
  125. Application services:
  126. * Application services can now poll on the CS API ``/events`` for their events,
  127. by providing their application service ``access_token``.
  128. * Added exclusive namespace support to application services API.
  129. Changes in synapse v0.7.1 (2015-02-19)
  130. ======================================
  131. * Initial alpha implementation of parts of the Application Services API.
  132. Including:
  133. - AS Registration / Unregistration
  134. - User Query API
  135. - Room Alias Query API
  136. - Push transport for receiving events.
  137. - User/Alias namespace admin control
  138. * Add cache when fetching events from remote servers to stop repeatedly
  139. fetching events with bad signatures.
  140. * Respect the per remote server retry scheme when fetching both events and
  141. server keys to reduce the number of times we send requests to dead servers.
  142. * Inform remote servers when the local server fails to handle a received event.
  143. * Turn off python bytecode generation due to problems experienced when
  144. upgrading from previous versions.
  145. Changes in synapse v0.7.0 (2015-02-12)
  146. ======================================
  147. * Add initial implementation of the query auth federation API, allowing
  148. servers to agree on whether an event should be allowed or rejected.
  149. * Persist events we have rejected from federation, fixing the bug where
  150. servers would keep requesting the same events.
  151. * Various federation performance improvements, including:
  152. - Add in memory caches on queries such as:
  153. * Computing the state of a room at a point in time, used for
  154. authorization on federation requests.
  155. * Fetching events from the database.
  156. * User's room membership, used for authorizing presence updates.
  157. - Upgraded JSON library to improve parsing and serialisation speeds.
  158. * Add default avatars to new user accounts using pydenticon library.
  159. * Correctly time out federation requests.
  160. * Retry federation requests against different servers.
  161. * Add support for push and push rules.
  162. * Add alpha versions of proposed new CSv2 APIs, including ``/sync`` API.
  163. Changes in synapse 0.6.1 (2015-01-07)
  164. =====================================
  165. * Major optimizations to improve performance of initial sync and event sending
  166. in large rooms (by up to 10x)
  167. * Media repository now includes a Content-Length header on media downloads.
  168. * Improve quality of thumbnails by changing resizing algorithm.
  169. Changes in synapse 0.6.0 (2014-12-16)
  170. =====================================
  171. * Add new API for media upload and download that supports thumbnailing.
  172. * Replicate media uploads over multiple homeservers so media is always served
  173. to clients from their local homeserver. This obsoletes the
  174. --content-addr parameter and confusion over accessing content directly
  175. from remote homeservers.
  176. * Implement exponential backoff when retrying federation requests when
  177. sending to remote homeservers which are offline.
  178. * Implement typing notifications.
  179. * Fix bugs where we sent events with invalid signatures due to bugs where
  180. we incorrectly persisted events.
  181. * Improve performance of database queries involving retrieving events.
  182. Changes in synapse 0.5.4a (2014-12-13)
  183. ======================================
  184. * Fix bug while generating the error message when a file path specified in
  185. the config doesn't exist.
  186. Changes in synapse 0.5.4 (2014-12-03)
  187. =====================================
  188. * Fix presence bug where some rooms did not display presence updates for
  189. remote users.
  190. * Do not log SQL timing log lines when started with "-v"
  191. * Fix potential memory leak.
  192. Changes in synapse 0.5.3c (2014-12-02)
  193. ======================================
  194. * Change the default value for the `content_addr` option to use the HTTP
  195. listener, as by default the HTTPS listener will be using a self-signed
  196. certificate.
  197. Changes in synapse 0.5.3 (2014-11-27)
  198. =====================================
  199. * Fix bug that caused joining a remote room to fail if a single event was not
  200. signed correctly.
  201. * Fix bug which caused servers to continuously try and fetch events from other
  202. servers.
  203. Changes in synapse 0.5.2 (2014-11-26)
  204. =====================================
  205. Fix major bug that caused rooms to disappear from peoples initial sync.
  206. Changes in synapse 0.5.1 (2014-11-26)
  207. =====================================
  208. See UPGRADES.rst for specific instructions on how to upgrade.
  209. * Fix bug where we served up an Event that did not match its signatures.
  210. * Fix regression where we no longer correctly handled the case where a
  211. homeserver receives an event for a room it doesn't recognise (but is in.)
  212. Changes in synapse 0.5.0 (2014-11-19)
  213. =====================================
  214. This release includes changes to the federation protocol and client-server API
  215. that is not backwards compatible.
  216. This release also changes the internal database schemas and so requires servers to
  217. drop their current history. See UPGRADES.rst for details.
  218. Homeserver:
  219. * Add authentication and authorization to the federation protocol. Events are
  220. now signed by their originating homeservers.
  221. * Implement the new authorization model for rooms.
  222. * Split out web client into a seperate repository: matrix-angular-sdk.
  223. * Change the structure of PDUs.
  224. * Fix bug where user could not join rooms via an alias containing 4-byte
  225. UTF-8 characters.
  226. * Merge concept of PDUs and Events internally.
  227. * Improve logging by adding request ids to log lines.
  228. * Implement a very basic room initial sync API.
  229. * Implement the new invite/join federation APIs.
  230. Webclient:
  231. * The webclient has been moved to a seperate repository.
  232. Changes in synapse 0.4.2 (2014-10-31)
  233. =====================================
  234. Homeserver:
  235. * Fix bugs where we did not notify users of correct presence updates.
  236. * Fix bug where we did not handle sub second event stream timeouts.
  237. Webclient:
  238. * Add ability to click on messages to see JSON.
  239. * Add ability to redact messages.
  240. * Add ability to view and edit all room state JSON.
  241. * Handle incoming redactions.
  242. * Improve feedback on errors.
  243. * Fix bugs in mobile CSS.
  244. * Fix bugs with desktop notifications.
  245. Changes in synapse 0.4.1 (2014-10-17)
  246. =====================================
  247. Webclient:
  248. * Fix bug with display of timestamps.
  249. Changes in synpase 0.4.0 (2014-10-17)
  250. =====================================
  251. This release includes changes to the federation protocol and client-server API
  252. that is not backwards compatible.
  253. The Matrix specification has been moved to a separate git repository:
  254. http://github.com/matrix-org/matrix-doc
  255. You will also need an updated syutil and config. See UPGRADES.rst.
  256. Homeserver:
  257. * Sign federation transactions to assert strong identity over federation.
  258. * Rename timestamp keys in PDUs and events from 'ts' and 'hsob_ts' to 'origin_server_ts'.
  259. Changes in synapse 0.3.4 (2014-09-25)
  260. =====================================
  261. This version adds support for using a TURN server. See docs/turn-howto.rst on
  262. how to set one up.
  263. Homeserver:
  264. * Add support for redaction of messages.
  265. * Fix bug where inviting a user on a remote home server could take up to
  266. 20-30s.
  267. * Implement a get current room state API.
  268. * Add support specifying and retrieving turn server configuration.
  269. Webclient:
  270. * Add button to send messages to users from the home page.
  271. * Add support for using TURN for VoIP calls.
  272. * Show display name change messages.
  273. * Fix bug where the client didn't get the state of a newly joined room
  274. until after it has been refreshed.
  275. * Fix bugs with tab complete.
  276. * Fix bug where holding down the down arrow caused chrome to chew 100% CPU.
  277. * Fix bug where desktop notifications occasionally used "Undefined" as the
  278. display name.
  279. * Fix more places where we sometimes saw room IDs incorrectly.
  280. * Fix bug which caused lag when entering text in the text box.
  281. Changes in synapse 0.3.3 (2014-09-22)
  282. =====================================
  283. Homeserver:
  284. * Fix bug where you continued to get events for rooms you had left.
  285. Webclient:
  286. * Add support for video calls with basic UI.
  287. * Fix bug where one to one chats were named after your display name rather
  288. than the other person's.
  289. * Fix bug which caused lag when typing in the textarea.
  290. * Refuse to run on browsers we know won't work.
  291. * Trigger pagination when joining new rooms.
  292. * Fix bug where we sometimes didn't display invitations in recents.
  293. * Automatically join room when accepting a VoIP call.
  294. * Disable outgoing and reject incoming calls on browsers we don't support
  295. VoIP in.
  296. * Don't display desktop notifications for messages in the room you are
  297. non-idle and speaking in.
  298. Changes in synapse 0.3.2 (2014-09-18)
  299. =====================================
  300. Webclient:
  301. * Fix bug where an empty "bing words" list in old accounts didn't send
  302. notifications when it should have done.
  303. Changes in synapse 0.3.1 (2014-09-18)
  304. =====================================
  305. This is a release to hotfix v0.3.0 to fix two regressions.
  306. Webclient:
  307. * Fix a regression where we sometimes displayed duplicate events.
  308. * Fix a regression where we didn't immediately remove rooms you were
  309. banned in from the recents list.
  310. Changes in synapse 0.3.0 (2014-09-18)
  311. =====================================
  312. See UPGRADE for information about changes to the client server API, including
  313. breaking backwards compatibility with VoIP calls and registration API.
  314. Homeserver:
  315. * When a user changes their displayname or avatar the server will now update
  316. all their join states to reflect this.
  317. * The server now adds "age" key to events to indicate how old they are. This
  318. is clock independent, so at no point does any server or webclient have to
  319. assume their clock is in sync with everyone else.
  320. * Fix bug where we didn't correctly pull in missing PDUs.
  321. * Fix bug where prev_content key wasn't always returned.
  322. * Add support for password resets.
  323. Webclient:
  324. * Improve page content loading.
  325. * Join/parts now trigger desktop notifications.
  326. * Always show room aliases in the UI if one is present.
  327. * No longer show user-count in the recents side panel.
  328. * Add up & down arrow support to the text box for message sending to step
  329. through your sent history.
  330. * Don't display notifications for our own messages.
  331. * Emotes are now formatted correctly in desktop notifications.
  332. * The recents list now differentiates between public & private rooms.
  333. * Fix bug where when switching between rooms the pagination flickered before
  334. the view jumped to the bottom of the screen.
  335. * Add bing word support.
  336. Registration API:
  337. * The registration API has been overhauled to function like the login API. In
  338. practice, this means registration requests must now include the following:
  339. 'type':'m.login.password'. See UPGRADE for more information on this.
  340. * The 'user_id' key has been renamed to 'user' to better match the login API.
  341. * There is an additional login type: 'm.login.email.identity'.
  342. * The command client and web client have been updated to reflect these changes.
  343. Changes in synapse 0.2.3 (2014-09-12)
  344. =====================================
  345. Homeserver:
  346. * Fix bug where we stopped sending events to remote home servers if a
  347. user from that home server left, even if there were some still in the
  348. room.
  349. * Fix bugs in the state conflict resolution where it was incorrectly
  350. rejecting events.
  351. Webclient:
  352. * Display room names and topics.
  353. * Allow setting/editing of room names and topics.
  354. * Display information about rooms on the main page.
  355. * Handle ban and kick events in real time.
  356. * VoIP UI and reliability improvements.
  357. * Add glare support for VoIP.
  358. * Improvements to initial startup speed.
  359. * Don't display duplicate join events.
  360. * Local echo of messages.
  361. * Differentiate sending and sent of local echo.
  362. * Various minor bug fixes.
  363. Changes in synapse 0.2.2 (2014-09-06)
  364. =====================================
  365. Homeserver:
  366. * When the server returns state events it now also includes the previous
  367. content.
  368. * Add support for inviting people when creating a new room.
  369. * Make the homeserver inform the room via `m.room.aliases` when a new alias
  370. is added for a room.
  371. * Validate `m.room.power_level` events.
  372. Webclient:
  373. * Add support for captchas on registration.
  374. * Handle `m.room.aliases` events.
  375. * Asynchronously send messages and show a local echo.
  376. * Inform the UI when a message failed to send.
  377. * Only autoscroll on receiving a new message if the user was already at the
  378. bottom of the screen.
  379. * Add support for ban/kick reasons.
  380. Changes in synapse 0.2.1 (2014-09-03)
  381. =====================================
  382. Homeserver:
  383. * Added support for signing up with a third party id.
  384. * Add synctl scripts.
  385. * Added rate limiting.
  386. * Add option to change the external address the content repo uses.
  387. * Presence bug fixes.
  388. Webclient:
  389. * Added support for signing up with a third party id.
  390. * Added support for banning and kicking users.
  391. * Added support for displaying and setting ops.
  392. * Added support for room names.
  393. * Fix bugs with room membership event display.
  394. Changes in synapse 0.2.0 (2014-09-02)
  395. =====================================
  396. This update changes many configuration options, updates the
  397. database schema and mandates SSL for server-server connections.
  398. Homeserver:
  399. * Require SSL for server-server connections.
  400. * Add SSL listener for client-server connections.
  401. * Add ability to use config files.
  402. * Add support for kicking/banning and power levels.
  403. * Allow setting of room names and topics on creation.
  404. * Change presence to include last seen time of the user.
  405. * Change url path prefix to /_matrix/...
  406. * Bug fixes to presence.
  407. Webclient:
  408. * Reskin the CSS for registration and login.
  409. * Various improvements to rooms CSS.
  410. * Support changes in client-server API.
  411. * Bug fixes to VOIP UI.
  412. * Various bug fixes to handling of changes to room member list.
  413. Changes in synapse 0.1.2 (2014-08-29)
  414. =====================================
  415. Webclient:
  416. * Add basic call state UI for VoIP calls.
  417. Changes in synapse 0.1.1 (2014-08-29)
  418. =====================================
  419. Homeserver:
  420. * Fix bug that caused the event stream to not notify some clients about
  421. changes.
  422. Changes in synapse 0.1.0 (2014-08-29)
  423. =====================================
  424. Presence has been reenabled in this release.
  425. Homeserver:
  426. * Update client to server API, including:
  427. - Use a more consistent url scheme.
  428. - Provide more useful information in the initial sync api.
  429. * Change the presence handling to be much more efficient.
  430. * Change the presence server to server API to not require explicit polling of
  431. all users who share a room with a user.
  432. * Fix races in the event streaming logic.
  433. Webclient:
  434. * Update to use new client to server API.
  435. * Add basic VOIP support.
  436. * Add idle timers that change your status to away.
  437. * Add recent rooms column when viewing a room.
  438. * Various network efficiency improvements.
  439. * Add basic mobile browser support.
  440. * Add a settings page.
  441. Changes in synapse 0.0.1 (2014-08-22)
  442. =====================================
  443. Presence has been disabled in this release due to a bug that caused the
  444. homeserver to spam other remote homeservers.
  445. Homeserver:
  446. * Completely change the database schema to support generic event types.
  447. * Improve presence reliability.
  448. * Improve reliability of joining remote rooms.
  449. * Fix bug where room join events were duplicated.
  450. * Improve initial sync API to return more information to the client.
  451. * Stop generating fake messages for room membership events.
  452. Webclient:
  453. * Add tab completion of names.
  454. * Add ability to upload and send images.
  455. * Add profile pages.
  456. * Improve CSS layout of room.
  457. * Disambiguate identical display names.
  458. * Don't get remote users display names and avatars individually.
  459. * Use the new initial sync API to reduce number of round trips to the homeserver.
  460. * Change url scheme to use room aliases instead of room ids where known.
  461. * Increase longpoll timeout.
  462. Changes in synapse 0.0.0 (2014-08-13)
  463. =====================================
  464. * Initial alpha release