Releases
0.5.0
Compare
Sorry, something went wrong.
No results found
This version has incompatibility with the previous version
Any methods that will return total number and/or next token will now return a new class, named Contents and ContentsDict, instance
The returned data (list/dict) can be accessed by Contents and ContentsDict itself
The total number can be accessed through Contents.total and ContensDict.total
The next token can be accessed through Contents.next and ContensDict.next
Changes since 0.3.0
Added homeserver alias validation
Added default value for size_gt in Media.delete_media
Added type checking on argument "timestamp" in Media.delete_local_media_by_condition
Added checking for the conflict values of members and leave in Room.create
Added some alias for Room, Management, Media and ClientAPI
Added an option for non-admin login in ClientAPI
Added a new class named "Contents" to handle returned data with the total number and/or next token
Replaced all return data which contain a total number and/or next token
Converted some tuple in return data of some methods to NamedTuple
Improved docstrings
Re-implemented User._generate_mac
Handled error in User.deactivate, User.active_sessions and User.query
Renamed the package name in __init__
Renamed ClientAPI.client_create to client_create_room and ClientAPI.client_leave to client_leave_room
Made argument "userid" in Room.set_admin optional to implement the feature of granting power to the user themself
Set the default value of size_gt to 0 in Media.delete_local_media_by_condition
Support encryption when creating room
Raise SynapseException instead of just returning False when an error occurs in _Device.delete and _Device._delete_multiple
Accept a mxc URI as media id in class Media
Bug fixed
User() and ClientAPI() read configuration when connection information is provided in initial variable
Suppression of exception in _Device is missing
The key, purge_id, is being accessed too early in Management.purge_history
Wrong key being accessed in Room.lists and ClientAPI.client_create
Parameter members in Room.create is not being checked for None before goes to the for loop
You can’t perform that action at this time.