This release brings many new features such as ratelimits handling, permissions support etc. as well as many bug fixes. This would most likely be the last alpha release for v0.3 and next release would be stable v0.3.0!
The major outlines for this release are given below:
Additions
- Added handling of HTTP ratelimits.
- Added support for channel permission overwrites.
- Added equality comparison support for various Discord models.
- Added module `qord.utils`, see [API reference](https://qord.rtfd.io/en/latest/reference.html#reference-utilities) for more info.
- Added `Message.referenced_message` attribute.
- Added `qord.utils.create_timestamp` helper function.
- Added `Embed.total_length` and `builtins.len()` support on `Embed`
- Added ``channel`` keyword argument in `GuildMember.edit`
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](https://github.com/discord/discord-api-docs/issues/4734)
- `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.
- Minor bug fixes.