CHANGES.rst 21 KB

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