Skip to content

v0.4.0

Latest
Compare
Choose a tag to compare
@anoadragon453 anoadragon453 released this 26 Jul 12:03
v0.4.0

This is a new release to address the incompatibility between matrix-python v0.3.2 and Synapse v1.38.0+. See #320 for the full details.

Changes since v0.3.2:

  • Experimental support for encrypted rooms has been implemented. Note that
    the functionality is disabled by default, but can be enabled by first
    installing the native libolm library (v3.0.0+), then the
    encryption-related python dependencies with:

    pip install matrix-client[e2e]
    
  • Add an option (use_authorization_header) for sending auth tokens using the HTTP Authorization
    header instead of the access_token query parameter.

  • Add the ability to set the room name and whether room federation is allowed with create_room().

  • Catch MissingSchema errors that could be raised by the http library
    (see issue #221 for details).

  • Add urllib3 as an explicit dependency.

  • Include the SDK version in the User Agent of requests.

  • Speed up membership handling code in rooms.

  • Use lexicographical sort to room displayname calculation.

  • Add a new method, whoami, for determining the Matrix ID of the
    currently authenticated user.

  • Better support for global vs. per-room display names.

  • Better handling of users who lack a display name.

  • Add support for specifying a filename when uploading media.

  • Numerous fixes to the tests.