Releases: interactions-py/interactions.py
5.0.1 - Hotfix
What's Changed
- Checks are now copied for inheritance #1342
- Include opus dlls in pypi package
Full Changelog: 5.0.0...5.0.1
5.0.0
What's Changed
This PR acts as the conclusion of the merge between NAFF and i.py. All changes made in this version have been community-driven, through pre-release feedback
I'll be blunt, I'm not writing the changelog here. Your best bet is to read the relevant migration guides.
Docs: https://interactions-py.github.io/interactions.py/
For NAFF users: https://interactions-py.github.io/interactions.py/Guides/99%202.x%20Migration_NAFF/
For i.py v4: https://interactions-py.github.io/interactions.py/Guides/98%20Migration%20from%204.X/
New Contributors
- @AlbertUnruh made their first contribution in #1315
- @sami0596 made their first contribution in #1322
Full Changelog: 4.4.0...5.0.0
5.0.0-alpha.5
What's Changed
- feat: Support forum layout by @LordOfPolls in #1308
- Feat: support bytesio as child object of ipy.files
- Feat: support uiser.global_name
What's Fixed?
- Fix a bug in exception unloading
- fix: incorrect type annotation for
async_startup_tasks
by @Damego in #1309 - fix: Missing
dm_permision
field in group() by @B1ue-Dev in #1305 - fix: Fix missing
premium_progress_bar_enabled
by @B1ue-Dev in #1306
Full Changelog: 5.0.0-alpha.4...5.0.0-alpha-5
5.0.0-alpha.4
What's Changed
- feat: supporting editing messages with modal interaction without resolving the interaction
- refactor: remove legacy NAFF references
- feat: allow disabling autodefer through auto_defer invocation
- feat: audio rcv is now merged
What's Fixed
- fix:
file
/files
inctx.edit_origin
not included by @B1ue-Dev in #1302 - fix: ValueError raised when having
file
by @B1ue-Dev in #1303 - fix: handle users passing
list
to methods that don't expect it - fix: buttonstyle accepts int
- fix: handle emoji deletion on guild leave
Full Changelog: 4.4.0...5.0.0-alpha.4
5.0.0-alpha.3
What's Changed
- Fix
editing_origin
not working properly by @Speedcup in #1295 - Add single item list_converter support by @Speedcup in #1293
- Latency is no longer returned as an average
- FFMPEG version is logged when the player starts
- Audio is now probed before playback to ensure bitrate and sample rate
- Handle
StringIO
being passed as a file AutoDefer
is now kwargs onlyModal
can now accept a list being passed erroneously toadd_componets
- Fix
kwargs
being passed to commands when only context is expected - Filenames are now parsed for string paths
New Contributors
Full Changelog: 5.0.0-alpha.2...5.0.0-alpha.3
5.0.0-alpha.2
As before, this is another pre-release - all changes here are thanks to community feedback. Thanks a bunch!
I'm glad to report, so far only one bug has been found in the pre-release!
What's New
- feat!: Add command enhancements by @Damego in #1286
- feat: implement console ext by @LordOfPolls in #1287
- feat: Support async checks in
bot.wait_for
- feat: support linked roles
- feat: support orjson, ujson, and msgspec for [de]serialization
What's Fixed
- fix: prevent guild_join event firing prematurely
Full Changelog: 5.0.0-alpha.1...5.0.0-alpha.2
5.0.0-alpha.1
We are excited to announce the preview release of the merge between i.py and NAFF. Please note that this release is not intended for production use, as it is considered very breaking. We highly encourage you to provide us with feedback by pinging LordOfPolls on the support Discord server.
Currently, there are no available changelogs or migration docs. However, we will be generating them based on the feedback we receive during this preview release. We understand that the lack of migration docs may seem daunting, but we want to assure you that our private alpha testing showed that migration should not be difficult as long as you carefully read the documentation.
Thank you for your support, and we look forward to hearing your feedback!
Docs are available here https://lordofpolls.github.io/interactions.py/
4.4.0
What's Changed
- Fixed parenthesis location in
create_guild_from_guild_template
function. - 💥BREAKING: Replaced the Color class with an enum.
- Implemented
guild_join
event. - Fixed WebSocketClient's slots.
- Added missed client attribute to
Message.attachments
. - Merged wait-for into the main library.
- Added
wait_for_select
. - Converted
Snowflake
to 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_id
attribute 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
files
extension. - Fixed
KeyError
within cache. - Added
locale
andguild_locale
to context. - Switched
_json
attribute towardsattrs.asdict
. - Optimised
channel.purge()
by ignoring undeletable messages. . - Refactored
_dispatch_event
in 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_iterable
function. - Implemented barebones Server Subscriptions support.
- Implemented
created_at
property 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_CREATE
event. - 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
,command
andextension
attribute implementation inon_command
. - Added component helper property of ComponentContext.
- Implemented the
on_disconnect
event. - Fixed a bug with null values for
message_reference
after 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/[email protected]
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