This repository has been 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_created
event - pyproject.tomlの追加
- added
PageContentPayload
class - added
VariablePayload
class - added
PageFilePayload
class - added
EyeCatchingImagePayload
class - added
AttachedFilePayload
class - added
PagePayload
class - added
PagesManager
class - added
get_history
method toChatManager
class - 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
ActiveUsersChartPayload
class - added
DriveLocalChartPayload
class - added
DriveRemoteChartPayload
class - added
DriveChartPayload
class - added
RawDriveLocalChart
class - added
RawDriveRemoteChart
class - added
RawDriveChart
class - added
RawActiveUsersChart
class - added
ChartManager
class - added
get_user
method toFollowRequestManager
class - feat: ClientActionsクラスに
chart
変数を追加 Context
クラスを追加しました
Changed
- Changed the attribute
i
touser
to 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
ChatManager
class - added
RawReaction
class - added
RawChat
class - added
EmojiManager
class - added
FolderManager
class - added
DriveManager
class - added
text
arg to mention_command - added
RawNote
class - added
RawRenote
class - added
RawEmoji
class - added
RawProperties
class - added
RawFolder
class - added
RawFile
class - added
RawPollChoices
class - added
RawPoll
class - added
RawInstance
class - added
RawUserDetails
class - added
RawUser
class - added
FavoriteManager
class - added
FollowManager
class - added FollowRequestManager class
Changed
- updated a examples
- ドキュメントを更新
- 内部変更:
UserActions
やClientActions
のメソッドを別クラスに分割 - Allow only property-based access to most data classes.
- BREAKING CHANGE:
User
クラスのプロパティーを以下のように変更name
->nickname
username
->name
- BREAKING CHANGE:
User
クラスのfollow
unfollow
メソッドを削除- 今後は
User
クラスのaction
メソッドからadd
remove
メソッドを使用できます
- 今後は
- BREAKING CHANGE: モデル名の変更
Following
->Follower
- BREAKING CHANGE: モデル名の変更
Follower
->Followee
- BREAKING CHANGE: モデルの_state 属性を__state に変更
- BREAKING CHANGE:
Following
クラスのメソッドを以下のとおりに変更accept_request
->accept
reject_request
->reject
follow
->add
remove_follow
->remove
Removed
- Unused class UserDetails
- from now on use
RawUserDetails
- from now on use
- Unused file view.py
- BREAKING CHANGE: removed
post_note
method- from now on use
self.client.note.send
- from now on use
- BREAKING CHANGE: removed
note_delete
method- 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_command
as a function argument
Fixed
- I used a list as the default argument.
- The
fetch_user
method 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