Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Releases: yupix/Mi.py

v3.9.91

25 Mar 05:17
62c4c67
Compare
Choose a tag to compare
v3.9.91 Pre-release
Pre-release

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 to ChatManager class
  • exampleのrequirements.txt に python-dotenv を追記
  • DocString

Changed

  • AdminUserManager クラスの show メソッドを get_user に命名変更しました
  • extract_emojisget_unicode_emojis に変更しました

Removed

  • types モジュールにあるAbstractBotBaseクラスを削除

Fixed

  • Infinite loop when disconnecting WebSocket #102

v3.9.9

19 Feb 03:07
dc072cb
Compare
Choose a tag to compare
v3.9.9 Pre-release
Pre-release

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 to user to access the bot itself
  • モデルに __slots__ を定義しました
    • 副次的な効果としてメモリの使用量などが低下します

Fixed

  • FollowManager クラスの remove メソッドがうまく動かない

v3.3.0

25 Jan 11:46
e68b287
Compare
Choose a tag to compare

Added

  • get_files メソッドを追加しました。
    • It will be changed to a generator in the next update.

v3.2.1

24 Jan 10:13
3a11b95
Compare
Choose a tag to compare

Fixed

  • mention_command が複数登録できない不具合を修正しました

v3.2.0

24 Jan 09:31
44bc66a
Compare
Choose a tag to compare

Added

  • type hint

Fixed

  • 以下のNoteクラスのメソッドでnote_idが必須になっていたのを修正
    • add_clips
    • create_renote
    • create_quote
    • get_note
    • get_replies
    • get_reaction
    • delete
  • 以下の引数が正常な動作になりました
    • noExtractMentions
    • noExtractHashtags
    • noExtractEmojis

v3.1.0

23 Jan 13:33
8180ec3
Compare
Choose a tag to compare

Added

  • Added get_mention method to UserActions class

Fixed

  • propertiesが存在しない場合にエラーが出る

v3.0.1

23 Jan 12:44
e951d8c
Compare
Choose a tag to compare

Fixed

  • Instanceクラスがuser.pyで正常にインポートできてない

v3.0.0

23 Jan 12:10
74f97ea
Compare
Choose a tag to compare

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
  • ドキュメントを更新
  • 内部変更: UserActionsClientActions のメソッドを別クラスに分割
  • 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
  • Unused file view.py
  • BREAKING CHANGE: removed post_note method
    • from now on use self.client.note.send
  • BREAKING CHANGE: removed note_delete method
    • from now on use self.client.note.delete

Full Changelog: v2.1.1...v3.0.0

v2.1.1

29 Dec 23:56
ef6611c
Compare
Choose a tag to compare
v2.1.1 Pre-release
Pre-release

Fixed

  • ドキュメントのバージョン

v2.1.0

29 Dec 23:46
3e10d2e
Compare
Choose a tag to compare

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