Releases#

This page details the changelog containing every notable change of every releases.

  • The release with “Unreleased” in title indicates that the release is not yet released and is under development.

  • The releases with “Pre-release” in title or if the version ends with an identifier, It indicates that the release was a pre-release.

v0.4.0#

Additions#

Fixes#

v0.3.0#

Additions#

Changes#

  • ChannelPermission now supports equality comparisons.

  • All models now shows useful information in repr()

Bug fixes#

  • Fixed Embed.video property running into infinite loop.

  • Fixed disparity between embed and embeds parameters in send()

  • Fixed typing of Message.channel not including DM channels.

v0.3.0a2 (Pre-release)#

Additions#

Improvements/Misc.#

  • User.mention string no longer includes !, This is done in order to comply with the recent change done to Discord client. For more information, see this issue

  • DefaultCache.private_channels cache is now bound to limit of 256 channels.

  • File constructor no longer raises RuntimeError on failing to resolve file name and now fallbacks to untitled

Fixes#

  • Fixed cache not cleaning up on client closure.

  • Fixed typing issues across the library.
    • Passing None is not supported in various places especially x_url() methods.

    • None is now allowed in reason parameters in REST methods.

    • Various methods of cache handlers now return typing.List rather than the typing.Sequence

    • Other minor improvements and fixes.

  • Fixed GuildCache.roles() returning empty list for HTTP retrieved guilds.

v0.3.0a1 (Pre-release)#

Breaking Changes#

  • Event system restructure

    • Custom events are now created using BaseEvent

    • Client.invoke_event() now takes single BaseEvent instance.

    • BaseEvent is no longer a protocol, all custom events must inherit it.

    • New protocol class BaseGatewayEvent has been added for gateway related events.

    • MessagesSupport was renamed to BaseMessageChannel for consistency.

Additions#

Fixes#

  • Fix various crashes on startup.

  • Fix minor bugs.

Improvements#

  • Startup time has minor improvements.

  • Library is now completely typed, there may be breaking type changes.

v0.2.0#

Additions#

  • Added support for guild roles.

  • Added support for guild members.

  • Added support for permissions.

  • Added support for guild channels.

  • Added support for messages.

  • Added User.proper_name property.

  • Added User.mention property.

Improvements#

  • Guild.cache is no longer optional.

  • Startup time has been significantly improved.

Fixes#

  • Fixed GuildCache.clear() not getting called upon guild evictions.

  • Fixed extension parameter incorrectly behaving for various URL methods.

  • Fixed shards closing on receiving unhandleable OP code.

  • Fixed client not properly handling graceful closure in some cases.

  • Fixed Client.launch() raising RuntimeError upon relaunching the client after closing.

v0.2.0a1 (Pre-release)#

Additions#

Add support for users. Add support for guilds. Add support for caching.

Improvements#

  • Event listeners tasks now have proper exception handling.

  • Various performance improvements.

Fixes#

  • Fixed wrong instance check on manually passing a client session.

v0.1.0#

  • Initial release.