Skip to content

v2.7.0

Compare
Choose a tag to compare
@onerandomusername onerandomusername released this 01 Nov 19:45
· 259 commits to master since this release
v2.7.0
1d2325d

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)
  • Add a custom 404 page for when the navigated page does not exist. (#797)

Miscellaneous

  • Increase the upper bound for the aiohttp dependency from <3.9 to <4. (#789)
  • Use importlib.metadata instead of the deprecated pkg_resources in the cli for displaying the version. (#791)
  • [ext.commands] Add missing py.typed marker. (#784)
  • [ext.tasks] Add missing py.typed marker. (#784)

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