Skip to content

Releases: DisnakeDev/disnake

v2.7.0

01 Nov 19:45
v2.7.0
1d2325d
Compare
Choose a tag to compare

What's Changed

This release adds support for python 3.11 and the new selects released by Discord.

See the docs for how to use these new selects.

Breaking Changes

  • Properly document that Message.system_content may return None. While this is documented as a breaking change, this function always could return None if the message type was not recognised. (#766)
  • Rename InteractionDataResolved.get() to get_by_id(). (#814)

Deprecations

New Features

Bug Fixes

  • Add the missing attributes for PermissionOverwrite: use_application_commands and use_embedded_activities. (#777)
  • Ensure that embed fields are copied properly by Embed.copy() and that the copied embed is completely separate from the original one. (#792)
  • Fix an issue with Member.ban() erroring when the delete_message_days parameter was provided. (#810)
  • Try to get threads used in interactions (like threads in command arguments) from the cache first, before creating a new instance. (#814)
  • Fix creation of threads in text channels without Permissions.manage_threads. (#818)
  • Fix off-by-one error in AutoModKeywordPresets values. (#820)
  • Update event loop handling to avoid warnings when running on Python 3.11. (#827)
  • [ext.commands] Fix a case where optional variadic arguments could have infinite loops in parsing depending on the user input. (#825)

Documentation

  • Speed up page load by changing hoverxref tooltips to be lazily loaded. (#393)
  • Remove reference to the v1.0 migration guide from the main index page, and move legacy changelogs to a separate page. (#697)
  • Update sphinx from version 5.1 to 5.3. (#764, #821)Add a note warning mentioning that using a disnake.File object as file kwarg makes a disnake.Embed not reusable. (#786)
  • Update broken Discord API Docs links, add :ddocs: role for easily creating links to the API documentation. ([#793](https://github.c...
Read more

v2.6.2

01 Nov 19:45
v2.6.2
ea52687
Compare
Choose a tag to compare

Bug Fixes


Full changelog: https://docs.disnake.dev/en/v2.6.2/whats_new.html#v2-6-2
Git history: v2.6.1...v2.6.2

v2.6.1

20 Oct 23:28
v2.6.1
17a5717
Compare
Choose a tag to compare

Bug Fixes

  • Ensure that embed fields are copied properly by Embed.copy() and that the copied embed is completely separate from the original one. (#792)
  • Fix an issue with Member.ban() erroring when the delete_message_days parameter was provided. (#810)

Full changelog: https://docs.disnake.dev/en/v2.6.1/whats_new.html#v2-6-1
Git history: v2.6.0...v2.6.1

v2.6.0

29 Sep 19:55
v2.6.0
da18cec
Compare
Choose a tag to compare

This release adds support for new forum channel features (like tags) as well as auto moderation, among other things. See below for more.

Also note the breaking changes listed below, which may require additional code changes.

Full changelog: https://docs.disnake.dev/en/stable/whats_new.html#v2-6-0
Git history: v2.5.0...v2.6.0

New Contributors

v2.5.3

29 Sep 19:55
d76494e
Compare
Choose a tag to compare

This is a maintenance release with backports from v2.6.0.

Full changelog: https://docs.disnake.dev/en/v2.5.3/whats_new.html#v2-5-3
Git history: v2.5.2...v2.5.3

v2.4.2

02 Sep 22:39
Compare
Choose a tag to compare

Includes a backport of a fix relating to the message content intent always being requested by the client.

Changelog: https://docs.disnake.dev/en/v2.4.x/whats_new.html#v2-4-2

v2.5.2

27 Jul 18:44
Compare
Choose a tag to compare

Includes several bug fixes and documentation updates.

More details and full changelog: https://docs.disnake.dev/en/v2.5.x/whats_new.html#v2-5-2

v2.4.1

27 Jul 18:44
Compare
Choose a tag to compare

Includes several bug fixes and documentation updates.

More details and full changelog: https://docs.disnake.dev/en/v2.4.x/whats_new.html#v2-4-1

v2.5.1

10 May 13:40
Compare
Choose a tag to compare

Small patch release to fix an issue with the @slash.autocomplete(...) decorator in v2.5.0.

Changelog: https://docs.disnake.dev/en/latest/whats_new.html#v2-5-1

v2.5.0

07 May 13:32
v2.5.0
1b27223
Compare
Choose a tag to compare

This version adds support for API v10 (which comes with a few breaking changes), forum channels, localizations, permissions v2, improves API coverage by adding support for previously missing features like guild previews, widgets, or welcome screens, and contains several miscellaneous enhancements and bugfixes.

Regarding the message content intent:
Note that earlier versions will continue working fine after the message content intent deadline (August 31st 2022), as long as the intent is enabled in the developer portal. However, from this version (2.5.0) onward, the intent needs to be enabled in the developer portal and your code.
See this page of the guide for more information.
If you do not have access to the intent yet, you can temporarily continue using API v9 by calling disnake.http._workaround_set_api_version(9) before connecting, which will keep sending message content before the intent deadline, even with the intent disabled.

More details and full changelog: https://docs.disnake.dev/en/latest/whats_new.html#v2-5-0