This repository was archived by the owner on May 28, 2022. It is now read-only.
Releases: yupix/Mi.py
Releases · yupix/Mi.py
v3.9.91
Added
- added
on_drive_file_createdevent - pyproject.tomlの追加
- added
PageContentPayloadclass - added
VariablePayloadclass - added
PageFilePayloadclass - added
EyeCatchingImagePayloadclass - added
AttachedFilePayloadclass - added
PagePayloadclass - added
PagesManagerclass - added
get_historymethod toChatManagerclass - exampleのrequirements.txt に
python-dotenvを追記 - DocString
Changed
AdminUserManagerクラスのshowメソッドをget_userに命名変更しましたextract_emojisをget_unicode_emojisに変更しました
Removed
- types モジュールにある
AbstractBotBaseクラスを削除
Fixed
- Infinite loop when disconnecting WebSocket #102
v3.9.9
Added
- added
ActiveUsersChartPayloadclass - added
DriveLocalChartPayloadclass - added
DriveRemoteChartPayloadclass - added
DriveChartPayloadclass - added
RawDriveLocalChartclass - added
RawDriveRemoteChartclass - added
RawDriveChartclass - added
RawActiveUsersChartclass - added
ChartManagerclass - added
get_usermethod toFollowRequestManagerclass - feat: ClientActionsクラスに
chart変数を追加 Contextクラスを追加しました
Changed
- Changed the attribute
itouserto access the bot itself - モデルに
__slots__を定義しました- 副次的な効果としてメモリの使用量などが低下します
Fixed
FollowManagerクラスのremoveメソッドがうまく動かない
v3.3.0
v3.2.1
v3.2.0
v3.1.0
v3.0.1
v3.0.0
Added
- added
ChatManagerclass - added
RawReactionclass - added
RawChatclass - added
EmojiManagerclass - added
FolderManagerclass - added
DriveManagerclass - added
textarg to mention_command - added
RawNoteclass - added
RawRenoteclass - added
RawEmojiclass - added
RawPropertiesclass - added
RawFolderclass - added
RawFileclass - added
RawPollChoicesclass - added
RawPollclass - added
RawInstanceclass - added
RawUserDetailsclass - added
RawUserclass - added
FavoriteManagerclass - added
FollowManagerclass - added FollowRequestManager class
Changed
- updated a examples
- ドキュメントを更新
- 内部変更:
UserActionsやClientActionsのメソッドを別クラスに分割 - Allow only property-based access to most data classes.
- BREAKING CHANGE:
Userクラスのプロパティーを以下のように変更name->nicknameusername->name
- BREAKING CHANGE:
Userクラスのfollowunfollowメソッドを削除- 今後は
Userクラスのactionメソッドからaddremoveメソッドを使用できます
- 今後は
- BREAKING CHANGE: モデル名の変更
Following->Follower - BREAKING CHANGE: モデル名の変更
Follower->Followee - BREAKING CHANGE: モデルの_state 属性を__state に変更
- BREAKING CHANGE:
Followingクラスのメソッドを以下のとおりに変更accept_request->acceptreject_request->rejectfollow->addremove_follow->remove
Removed
- Unused class UserDetails
- from now on use
RawUserDetails
- from now on use
- Unused file view.py
- BREAKING CHANGE: removed
post_notemethod- from now on use
self.client.note.send
- from now on use
- BREAKING CHANGE: removed
note_deletemethod- from now on use
self.client.note.delete
- from now on use
Full Changelog: v2.1.1...v3.0.0
v2.1.1
v2.1.0
Added
- Pass the regular expression retrieved by
mention_commandas a function argument
Fixed
- I used a list as the default argument.
- The
fetch_usermethod is not doing a return. - DocString
Changed
- command_prefix is no longer used, it will be removed from the argument in v3.0.0
Removed
- Unused arguments