Releases: interactions-py/interactions.py
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
4.3.0-beta.2: Merge pull request #923 from interactions-py/unstable
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.3.0-beta.2
What's Changed
- Fixed misplaced
.id - 💥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. - Added an event page to documentation
- 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.
Full Changelog: 4.3.0-beta.1...4.3.0-beta.2
4.3.0-beta.1
Due to the nature of this beta release, this will point from the unstable branch.
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.3.0-beta.1
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.
- Fixed parsing subcommands and subcommand groups from
attrs. - 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.
- Implemented Automod helper methods.
- Tweaked the consistency of
get_role.
Full Changelog: 4.2.1...4.3.0-beta.1
4.2.1
What's Changed
- Fixed autocomplete dispatching for sub commands.
- Fixed bug that causes bot to crash if invited without
application.commandsscope. - Fixed bug that didn't modify channels outside of a category.
- Changed logging missing attributes to
DEBUGto avoid console spam.
Full Changelog: 4.2.0...4.2.1
4.2.0
What's Changed
- Implemented
Converterclass - Changed API requirement to
v10. - 💥BREAKING: Fixed
NoneTypeerror during sub command checks and adding kwarg for sub_commands without options. - Fixed minor bugs in
interactions.Extension - Added missing f-string in
leave_guildendpoint - 💥BREAKING: Fixed json serialisation.
- Filled
Context.userfrom member data if user data isn't given by default - Allowed services to be added to
interactions.ext.Base - 💥BREAKING: Fixed message serialisation in Context.
- 💥BREAKING: Allowed JSON builtin if
orjsonis not present. - Added
Embedhelper methods. - Removed
Formatclass. - 💥BREAKING: Fixed member role attribute.
- Fixed
Invitemodel with added attributes. - Added
Colorobject. - Added
banner_colorattribute toUserobject. - 💥BREAKING: Fixed
guild.create_threadhelper method and fixed embed image serialisation. - Implemented emoji helper methods.
- Implemented `bot.guilds`` property.
- Fixed example of
extension_commandusage. - Implemented channel permission overwrites.
- Implemented changing presences on runtime.
- Fixed grammatical errors for the
Modalssection. - Added
__eq__to Snowflake. - Removed extra
"in quickstart example. - Reorganised http endpoints.
- Implemented helper methods to gateway member model.
- Added more helper methods to guild channel.
- Added autoupdating _json in component models.
- Logged missing attributes as
INFO. - Dropped
_jsonrequirement to Embed attributes. - Added
icon_urlproperty toteam.Application. - Checked
WS_CLOSED_MESSAGEin gateway. - Allowed autocomplete get_application_commands when sync is False.
- Prevented
kwargsmodification during a for loop. - Allowed archiving of threads in channel helper methods.
- Implemented
get_all_membershelper method. - Added
icon_urlproperty toGuild. - Reflect class attributes when editing subclassed objects.
- Fixed quickstart typo.
- Checked
CLOSING_MESSAGEin gateway. - 💥BREAKING: Fixed and optimised command synchronisation.
- Added
urlto message objects. - Implemented
Localesupport and per-route HTTP exhaust ratelimiting. - 💥BREAKING: Fixed context resolution due to internal architecture change.
- Fixed
remainingHTTP ratelimit references. - 💥BREAKING: Fixed local imports surrounding component building.
- Fixed webhook execution payload.
- Implemented File support to all non-Context message sending/editing. (and #706)
- Added image URL helper properties.
- 💥BREAKING: Fixed endpoint typo in headers.
- 💥BREAKING: Implemented v2 permissions.
New Contributors
- @LuigiFan25 made their first contribution in #586
- @Bastien1533 made their first contribution in #531
- @arHSM made their first contribution in #585
- @Dworv made their first contribution in #612
- @shivrm made their first contribution in #642
- @Jimmy-Blue made their first contribution in #656
- @MaskDuck made their first contribution in #669
Full Changelog: 4.1.0...4.2.0
4.1.1-rc.1
This is a release candidate, which closely represents what we envision the final outcome of 4.1.1 to be.
New Contributors
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.1.1-rc.1Full Changelog: 4.1.1-beta.1...4.1.1-rc.1
4.1.1-beta.2
New Contributors
- @Dworv made their first contribution in #612
- @Nanrech made their first contribution in #639
- @shivrm made their first contribution in #642
- @Jimmy-Blue made their first contribution in #656
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.1.1-beta.2
Full Changelog: 4.1.1-beta.1...4.1.1-beta.2
4.1.1-beta.1
New Contributors
- @LuigiFan25 made their first contribution in #586
- @Bastien1533 made their first contribution in #531
- @arHSM made their first contribution in #585
In order to install, use the following line in your terminal:
pip install git+https://github.com/interactions-py/library.git@4.1.1-beta.1
Full Changelog: 4.1.0...4.1.1-beta.1