v0.3.0
The next big stride forward
This is the 3rd release, and next minor version bump of discord-gateway
. Thanks to @arHSM for their (early) contribution!
Changes
Features
- Add
dispatch_handled
option, allowing for still receiving automatically handled events - Expose
CloseDiscordConnection.code
andCloseDiscordConnection.reason
attributes - Introduce
RejectedConnectionData
exception after receiving HTTP response body - Support all gateway commands as
DiscordConnection
methods - Add
should_reconnect()
utility function to correctly handle close codes - Support more URI customization (for example, additional query parameters and paths)
Bugfixes
- Add missing annotations
- Fix technically incorrect
large_threshold
typo