Skip to content

Latest commit

 

History

History
180 lines (124 loc) · 6.33 KB

CHANGELOG.md

File metadata and controls

180 lines (124 loc) · 6.33 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

0.15.2 - 2020-10-29

Fixed

  • [#220] Copy the unencrypted m.relates_to part of an encrypted event into the decrypted event.

0.15.1 - 2020-08-28

Fixed

  • [#216] AsyncClient.room_get_state_event(): return a RoomGetStateEventError if the server returns a 404 error for the request
  • [[ffc4228]] When fetching the full list of room members, discard the members we previously had that are absent from the full list
  • [[c123e24]] MatrixRoom.members_synced: instead of depending on the potentially outdated room summary member count, become True when the full member list has been fetched for the room.

[[ffc4228]]: https://github.com/poljar/matrix-nio/commit/ffc42287c22a1179a9be7d4e47555693417f715d [[c123e24]]: https://github.com/poljar/matrix-nio/commit/c123e24c8df81c55d40973470b825e78fd2f92a2

0.15.0 - 2020-08-21

Added

  • [#194] Add server discovery info (.well-known API) support to AsyncClient
  • [#206] Add support for uploading sync filters to AsyncClient
  • New examples and documentation improvements

Fixed

  • [#206] Fix AsyncClient.room_messages() to not accept filter IDs, using one results in a server error
  • [4b6ea92] Fix the SqliteMemoryStore constructor
  • [4654c7a] Wait for current session sharing operation to finish before starting a new one
  • [fc9f5e3] Fix OverflowError occuring in AsyncClient.get_timeout_retry_wait_time() after a thousand retries

0.14.1 - 2020-06-26

Fixed

  • [238b6ad] Fix the schema for the devices response.

0.14.0 - 2020-06-21

Added

  • [#166] Add a method to restore the login with an access token.

Changed

  • [#159] Allow whitespace in HTTP headers in the HttpClient.
  • [42e70de] Fix the creation of PresenceGetError responses.
  • [bf60bd1] Split out the bulk of the key verification events into a common module.
  • [9a01396] Don't require the presence dict to be in the sync response.

Removed

  • [cc789f6] Remove the PartialSyncResponse. This is a breaking change, but hopefully nobody used this.

0.13.0 - 2020-06-05

Added

  • [#145] Added the room_get_event() method to AsyncClient.
  • [#151] Added the add_presence_callback method to base Client.
  • [#151] Added the get_presence() and set_presence() methods to AsyncClient.
  • [#151] Added the presence, last_active_ago, currently_active and status_msg attributes to MatrixUser
  • [#152] Added a docker container with E2E dependencies pre-installed.
  • [#153] Added the add_room_account_data_callback method to base Client.
  • [#153] Added the fully_read_marker and tags attributes to MatrixRoom.
  • [#156] Added the update_receipt_marker() method to AsyncClient.
  • [#156] Added the unread_notifications and unread_highlights attributes to MatrixRoom.

Changed

  • [#141] Improved the upload method to accept file objects directly.

0.12.0 - 2020-05-21

Added

  • [#140] Added the update_device() method to the AsyncClient.
  • [#143] Added the login_info() method to the AsyncClient.
  • [c4f460f] Added support for the new SAS key agreement protocol.

Fixed

  • [#146] Fix room summary updates when new summary doesn't have any attributes.
  • [#147] Added missing requirements to the test requirements file.

0.11.2 - 2020-05-11

Fixed

  • Fixed support to run nio without python-olm.
  • Fixed an incorrect raise in the group sessions sharing logic.
  • Handle 429 errors correctly even if they don't contain a json response.

0.11.1 - 2020-05-10

Fixed

  • Fix a wrong assertion resulting in errors when trying to send a message.

0.11.0 - 2020-05-10

Added

  • Kick, ban, unban support to the AsyncClient.
  • Read receipt sending support in the AsyncClient.
  • Read receipt parsing and emitting.
  • Support token login in the AsyncClient login method.
  • Support for user registration in the BaseClient and AsyncClient.
  • Support for ID based filters for the sync and room_messages methods.
  • Support filter uploading.

Changed

  • Convert attrs classes to dataclasses.
  • Fire the synced asyncio event only in the sync forever loop.

Fixed

  • Don't encrypt reactions.
  • Properly put event relationships into the unencrypted content.
  • Catch Too Many Requests errors more reliably.
  • Better room name calculation, now using the room summary.

Removed

  • Removed the legacy store.