Skip to content

Releases: KnugiHK/synapse-admin-api-python

Major update (2021/6/10)

10 Jun 08:14
Compare
Choose a tag to compare
Pre-release

Changes since 0.2.0rc1

  1. Allow user to get the access token by logging in their admin account
  2. Correct the data type of argument "federation" in ClientAPI.client_create and Room.create
  3. Separated the client API to another module
  4. Added 'Mgt' as an alias for Management
  5. Unprotected two new APIs introduced in 1.36.0
  6. Added more type hints

Bug fixed

  1. Wrong Pypi classifier
  2. No exception information available when the user authenticated successfully but not an admin

Major update (2021/6/6)

06 Jun 12:18
6558ab2
Compare
Choose a tag to compare
Pre-release

Changes since 0.1.5:

  1. Support automatically set or revoke admin in User.set_admin
  2. Support enter password interactively
  3. Re-implemented Admin.modify_config
  4. Added context managers (with User() as user)
  5. Added some type hints
  6. Added some documentation strings
  7. Added docs

Major update (2021/5/30)

03 Jun 09:27
Compare
Choose a tag to compare
Pre-release

As the original HTTP client library Hyper is no longer maintained, this update migrated the HTTP client from Hyper to HTTPX.

Changes since 0.1.5rc2:

  1. Tested all API endpoints after the HTTP library migrated.
  2. Changed the User.modify from a method to an alias.
  3. Removed redundant validation of username in User.
  4. Separated the endpoint of getting nonce for register.
  5. Changed type hint in Room.create.
  6. Renamed a variable in Management.
  7. Added validate_group method.
  8. Support argument "valid_until_ms" in User.login.

Bug fixed

  1. Exception will be raised when DELETE requests have a body.
  2. Unusable _Device class.
  3. Some returned status_code variables are incorrect in Management and Room.

Major update (2021/5/30)

30 May 12:09
9295fa5
Compare
Choose a tag to compare
Pre-release

As the original HTTP client library Hyper is no longer maintained, this update migrated the HTTP client from Hyper to HTTPX.
This update is not yet tested heavily, use it at your own risk.

Changes since 0.1.5rc1:

  1. Allow the connection information not to be saved after the prompt of asking for the information.
  2. Support protocol selection in the connection information
  3. Refactored code
  4. Added some type hints
  5. Added some documentation
  6. Requires at least Python 3.7

Major update (2021/5/21)

21 May 13:35
775d887
Compare
Choose a tag to compare
Pre-release

Major update

As the original HTTP client library Hyper is no longer maintained, this major update migrated the HTTP client from Hyper to HTTPX.
This update is not yet tested heavily, use it at your own risk.

Bug fixed:

  1. Configuration creation function will be invoked even connection information is provided in the instantiation of classes.
  2. HTTP/1 was not supported properly.

Minor bug fix for User.creates

19 May 15:50
66199d9
Compare
Choose a tag to compare
Pre-release

Description of the fixed bug: The function goes into the exception section instead of returning True when user is created successfully.

No other changes since 0.1.0.

First pre-release

19 May 03:36
Compare
Choose a tag to compare
First pre-release Pre-release
Pre-release

This version is now up to Synapse 1.34.0.

All functions have been tested, however, they are not being tested heavily.