Releases: interactions-py/interactions.py
Releases · interactions-py/interactions.py
4.4.0
What's Changed
- Fixed parenthesis location in
create_guild_from_guild_templatefunction. - 💥BREAKING: Replaced the Color class with an enum.
- Implemented
guild_joinevent. - Fixed WebSocketClient's slots.
- Added missed client attribute to
Message.attachments. - Merged wait-for into the main library.
- Added
wait_for_select. - Converted
Snowflaketo integer in audit log helper methods. - Added the ability to limit cache.
- Fixed 429 error visibility.
- Fixed error when deleting ephemeral messages.
- Reimplemented the voice state event.
- Fixed issue of multiple client unable to load the commands from the same extension.
- 💥BREAKING: Removed all unwanted
__repr__and__str__. - Added more
guild_idattribute references. - Added new triggers, fix create rule endpoint.
- Implemented new ACTIVE_DEVELOPER badge flag.
- Fixed all index errors in the history iterator.
- Added support for getting template invite code.
- Fixed issues about creating stickers in guild.
- Improved
get(). - Added new guild properties to member and channel .
- Fixed edge case error occurring when adding guild IDs to the resolved data in the option dispatching.
- Merged with the
filesextension. - Fixed
KeyErrorwithin cache. - Added
localeandguild_localeto context. - Switched
_jsonattribute towardsattrs.asdict. - Optimised
channel.purge()by ignoring undeletable messages. . - Refactored
_dispatch_eventin two methods. - Implemented defered_ephemeral property.
- Implemented helper method to get the current user.
- Removed abstraction from the context class.
- Implement stacking extension decorators.
- Implemented guild pagination when syncing.
- Removed restriction on positional arguments for the
search_iterablefunction. - Implemented barebones Server Subscriptions support.
- Implemented
created_atproperty for models. - Fixed wrong reference data in
Message.referenced_message. - Passed HTTPClient to all objects when using get() with cache.
- Implemented barebones Linked Roles support.
- implemented modify guild emoji helper methods.
- Fixed error starting when using scope param in command decorator.
- Implemented fallback default value to interaction resolved data.
- Fixed a bug that can't use list with components in
disable_components. - Implemented support for the
GUILD_AUDIT_LOG_ENTRY_CREATEevent. - Added precaution that warns user that the bot is not in guild than fails with syncing.
- 💥BREAKING: Changed type of permissions attrs to
Permissions. - Implemented an ability to put token outside of client instantiation.
- Added support for age-restricted commands.
- Tweaked logging level to debug for per-route ratelimit.
- Modify return value for embed helper methods.
- Added edit message support from modal interaction.
- Added missing
client,commandandextensionattribute implementation inon_command. - Added component helper property of ComponentContext.
- Implemented the
on_disconnectevent. - Fixed a bug with null values for
message_referenceafter serializing.
New Contributors
- @H3rmt made their first contribution in #1217
- @Morgandri1 made their first contribution in #1259
Full Changelog: 4.3.4...4.4.0
4.4.0-beta.1
In order to install, please use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.4.0-beta.1
Full Changelog: 4.3.4...4.4.0-beta.1
4.3.4
What's Changed
- Implemented SelectMenus for other supporting types.
- Fixed missing HTTPClient in guild role associated events.
Full Changelog: 4.3.3...4.3.4
4.3.3
4.3.2
What's Changed
- Added command and option name for
Exceptionmessages. - Removed
Client.__resolve_eventsand associated events. - Added download helper method for
Attachments. - Added helper methods for component disabling.
- Added
presenceproperty toUser. - Added
AllowedMentionsobject. - 💥BREAKING: Renamed outdated channel name types.
- 💥BREAKING: Completely redone gateway connection for better stability.
- 💥BREAKING: Implemented a guild id property for the member object.
- Fixed
Member.get_avatar_urlreturningNonewhen no guild avatar exists. - Removed any unclosed client session messages.
- Added
APPLICATION_COMMAND_BADGEtoAppFlags. - Added sticker helper methods.
- Implemented
has_permissions()for theContextandMemberclass. - Implemented
Guild.get_scheduled_events(). - Implemented full support for prune endpoints.
- Changed type of parameters in scheduled event requests from
Snowflaketoint. - Fixed autodefer with
*argsand**kwargssupport in commands. - 💥BREAKING: Changed
delete_message_daysargument for banning to seconds. - Implemented Forum channel support.
- Added new auditlog event support.
- 💥BREAKING: Added
eventargument toraw_socket_create()dispatch function. - Added support for chunking members via Gateway.
- Added embed suppression in interaction responses.
- Implemented debug parameter for the client.
- Added client, command, and extension to
CommandContextinstances. - Updated
ComponentContext.labelto reflect component models. - Implemented
send()method for User class.
New Contributors
Full Changelog: 4.3.1...4.3.2
4.3.2-rc.1: Merge pull request #1085 from interactions-py/unstable
In order to install, please use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.3.2-rc.1
Full Changelog (from v4.3.1): 4.3.1...4.3.2-rc.1
4.3.2-beta.1
In order to install, please use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.3.2-beta.1
Full Changelog: 4.3.1...4.3.2-beta.1
4.3.1
What's Changed
- Fixed option annotation type parsing in option decorator.
- Fixed component conversion in message editing.
- Added
message_delete_bulkevent object support. - Added compatibility with comparing
Emojito string. - Fixed bug in creating
ActionRowto empty list. - Fixed sequence order in getting channel overwrites.
- Fixed import error from importing
search_iterable(). - Added
_clientto member object for message reactions. - Changed conditional in update dispatch event.
- Added member and channel permissions calculation.
Full Changelog: 4.3.0...4.3.1
4.3.0: Merge pull request #985 from interactions-py/unstable
What's Changed
- Implemented
@func.autocomplete. - Changed FAQ from dis-snek to NAFF.
- Implemented
urlproperty forEmoji. - Added ability to suppress embeds on message edit.
- 💥BREAKING: Fixed english locale definition
- Added
remove_commandsargument for removing and reloading extensions. - Implemented
clone_channelGuild helper method. - Implemented Scheduled Event Gateway objects
- Implemented Webhook object
- Fixed WebSocket url retrieval when returned None as an edge case
- Fixed
channel.get_history()parsing bug. - Added shard/presence metadata consistency after reboot.
- Implemented
has_public_flagUser helper attribute. - Added GET HTTP invite endpoint support.
- Fixed incorrect
Overwriteid typehint. - Fixed autocompletion parsing past the first option.
- Implemented
get_users_from_reactionMessage helper method. - 💥BREAKING: Changed method name from
get_member_avatar_urltoget_avatar_url - 💥BREAKING: Implemented
__all__ - 💥BREAKING: Rewritten all models and attributes to use
attrs - Fixed autocompletion for more than 1 autocomplete option per command.
- Reverted command locale checking for allowing Japanese/Korean names.
- Fixed broken documentation and updating outdated locale.
- Allowed proper timestamp parsing for
Embedobjects. - Set a default type for
SelectMenu. - Added query parameters to
get_reactions_of_emojihelper method. - Improved error handling traceback.
- 💥BREAKING: Add support for other objects like
Snowflakeand direct object usage in helper methods - Caught
CancelledError/Exceptionerrors instart(). - Added
KeyboardInterrupterror handling instart(). - Refactored exceptions to utilise the built-in
LibraryExceptionerror class. - 💥BREAKING: Implemented better
reprforMemberandUsermodels. - Added Automod support.
- Tweaked the consistency of
get_role. - 💥BREAKING: Allowed ignoring Missing Access errors during synchronisation cleaner.
- 💥BREAKING: Implemented appending attachments on message/context edit without reuploading.
- Added more thread helper functions.
- Fixed command synchronisation for option/choice changes.
- 💥BREAKING: Change
Colorclass attributes to static methods. - Created
IDMIxinto compare/hash models easier. - Implemented
with_countsparam forget_guild. - Fixed iterating through
NoneType. - Implemented
app_permissionsin Context. - Added support for sending stickers.
- 💥BREAKING: Changed LibraryException arguments to respect usage.
- Removed the majority of
.pyifiles. - Refactored context sending/editing/deffering.
- 💥BREAKING: Refactored cache and dispatch cached models in delete/remove events.
- Merged the
enhancedextension. - Fixed an issue for resolving data for mentionable option type.
- Merged the
getextension/function. - Implemented
on_startevent. - Fixed encoding errors when logging events.
- Implemented converters into command options.
- Removed
PresenceButtonobject. - Fixed errors within
get()when requesting anything that isn't a role/emoji. - Fixed missing logic to
Embed.insert_field_at. - Added new JSON error codes.
- Added
min_length&max_lengthtoOption. - Added
total_message_senttoChannelwhen in a thread. - Added
positiontoMessagewhen in a thread. - Added Audit Log support.
- Implemented
on_command_errorevent. - 💥BREAKING: Implemented a smarter option decorator.
- Added
communication_disabled_untiltoGuildMember. - Suppressed voice state console logs when the event occurs.
- Changed logging level to warning when events aren't properly dispatched.
- Changed error code parsing for invite links.
- Added
on_rawfor update events. - Moved
Emojito its own module. - Fixed
Attachmentis not JSON serialisable error. - 💥BREAKING: Added converters to components.
New Contributors
- @MultiDragon made their first contribution in #937
- @athyk made their first contribution in #968
Full Changelog: 4.2,1...4.3.0
4.3.0-rc.1
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.3.0-rc.1
What's Changed
- Implemented
on_startevent. - Fixed encoding errors when logging events.
- Implemented converters into command options.
- Removed
PresenceButtonobject. - Fixed errors within
get()when requesting anything that isn't a role/emoji. - Added Spanish language translation support in docs.
- Fixed missing logic to
Embed.insert_field_at. - Added new JSON error codes.
- Added
min_length&max_lengthtoOption. - Added
total_message_senttoChannelwhen in a thread. - Added
positiontoMessagewhen in a thread. - Added Audit Log support.
- Implemented
on_command_errorevent. - 💥BREAKING: Implemented a smarter option decorator.
- Added
communication_disabled_untiltoGuildMember. - Suppressed voice state console logs when the event occurs.
- Changed logging level to warning when events aren't properly dispatched.
New Contributors
- @MultiDragon made their first contribution in #937
- @athyk made their first contribution in #968
Full Changelog: 4.3.0-beta.2...4.3.0-rc.1