v0.4.0
Added
- added DocString.
- added
get_state
method atClientNoteActions
class. - added
INoteState
class. - added
NoteState
class. - added
IBasePoll
class. - added
ICreatePoll
class. - added
MiPoll
class. - added
PollManager
class. - added
PollActions
class. - added
AdminEmojiActions
class. - added
AdminManager
class. - added
AdminModeratorManager
class. - added
ActiveUsersChart
class. - added
IDriveChart
class. - added
IDriveLocalChart
class. - added
IDriveRemoteChart
class. - added
get_exception_from_id
function. - Return an exception appropriate for the error encountered.
- @omg-xtao added
users_search_by_username_and_host
method atUserActions
class #24. - @omg-xtao added
note_translate
method atUserActions
class #24. - @omg-xtao added
users_search
method atUserActions
class #24. - added new
ClientActions
class. - added
avatar_color
property atLiteUser
class.- Note: Since avatar_color is deprecated in v13, only None is returned for v13 instances.
- added
un_renote
method atClientNoteActions
class. - added
get_children
method atClientNoteActions
class. - added
invalidate
method atFollowActions
class. - added
cancel
method atFollowRequestActions
class. - added
mute
attribute atUserManager
class. - added
MuteManager
class. - added
MuteActions
class. - added
MuteUser
class. - added
IMuteUser
class. - added
AdminActions
class. - added
ICustomEmojiLiteRequired
class. - The following methods are added to the
AdminEmojiActions
class.gets
gets_remote
- added some meta class.
ICPU
IPolicies
IAnnouncement
IV12Features
IV11Features
IFeatures
IV12AdminMeta
ISharedAdminMeta
ILiteV12Meta
ILiteV11Meta
IMetaCommonV12
ICommonV11
IMetaCommon
ILiteMeta
IV12Meta
IMeta
IAdminMeta
Policies
Features
Meta
AdminMeta
CPU
MetaCommon
LiteMeta
- added some federation class.
IFederationInstanceRequired
IFederationInstance
FederationInstance
- added some notification classes.
Notification
NotificationFollow
NotificationFollowRequest
NotificationNote
NotificationPollEnd
NotificationReaction
IUserNf
INoteNf
IPollEndNf
Changed
- rename
ActiveUsersChartPayload
class toIActiveUsersChart
class. - rename
DriveLocalChartPayload
class toIDriveLocalChart
class. - rename
DriveRemoteChartPayload
class toIDriveRemoteChart
.class. - rename
DriveChartPayload
class toIDriveChart
class. - The attribute
emojis
for Note and LiteUser is obsolete in misskey v13, so v13 will return an empty list. - config is now a global variable.
- If you want to change the config, please use
Client.config.from_dict
.
- If you want to change the config, please use
- CustomEmoji now inherits PartialCustomEmoji.
- PartialCustomEmoji url has been changed to return
str | None
to match v13. - AdminManager's
get_invite
method has been moved to `AdminActions. - BREAKING CHANGE
ClientActions
has been changed toClientManager
- BREAKING CHANGE Some paths will be changed as follows
manager.admin
->manager.admins
manager.admin.manager
->manager.admins.admin
actions.admin
->actions.admins
- BREAKING CHANGE
- The
action
property in the model has been changed toapi
.- Change
note.action.send
tonote.api.action.send
.
- Change
- Moved the reaction attribute of
ClientActions
toNoteManager
.- Change
api.reaction
toapi.note.reaction
.
- Change
- Moved methods from
AdminEmojiManager
toAdminEmojiActions
.- Change
api.admin.emoji.add
toapi.admin.emoji.action.add
.
- Change
- Moved methods from
AdminModeratorManager
toAdminModeratorActions
.- Change
api.admin.moderator.add
toapi.admin.moderator.action.add
.
- Change
- Moved methods from
ChartManager
toChartActions
.- Change
api.chart.get_active_user
toapi.chat.action.get_active_user
.
- Change
- Moved methods from
FollowManager
toFollowActions
.- Change
api.user.follow.add
toapi.user.follow.action.add
.
- Change
- Moved methods from
FollowRequestManager
toFollowRequestActions
.api.user.follow.action.get_all
.
- Moved some attributes of
NoteActions
toNoteManager
.- Change
api.note.action.reaction.add
toapi.note.reaction.action.add
.
- Change
- Moved the reaction attribute of
NoteActions
toClientNoteManager
.- Change
api.note.action.reaction
toapi.note.reaction.action
. - Change
api.note.action.favorite
toapi.note.favorite.action
.
- Change
- The
Fixed
- can't delete emoji with v12.
- fixed
ChatMessage
model.- For v13, the url is automatically generated. (Although it returns None by type, it never actually returns None.
- fixed
Chat
action. - fixed
Chat
action.
Removed
- The following attributes have been removed
api.user.action.note
- Delete
RawActiveUsersChart
class. - Delete
RawDriveLocalChart
class. - Delete
RawDriveRemoteChart
class. - Delete
RawDriveChart
class. - Delete
get_user
method atFollowRequestActions
class. - removed some meta classes.
LiteInstanceMeta
IInstanceMetaLite
IInstanceFeatures
IInstancePolicies
InstanceMeta
What's Changed
- ⚡️ refactor: errors classes by @omg-xtao in #22
- ✨ feat: upload_file by @omg-xtao in #23
- ✨ More features by @omg-xtao in #24
- 🚑️ fix: upload_file TypeError by @omg-xtao in #25
- ✨ feat: add method #MP-28 by @omg-xtao in #26
- ✨ added some notification classes by @omg-xtao in #27
- 🎨 chore: notification classes api by @omg-xtao in #28
- Add license scan report and status by @fossabot in #30
- Feat/support v13 by @yupix in #31
- Feat/support v13 by @yupix in #32
- fix:
ChatMessage
model by @omg-xtao in #33 - fix:
Chat
action by @omg-xtao in #35 - Refactory/meta by @yupix in #34
New Contributors
Full Changelog: 0.3.1...0.4.0