Skip to content

v0.3.0

Compare
Choose a tag to compare
@Bluenix2 Bluenix2 released this 30 Jan 01:05
· 12 commits to main since this release
a8bcf16

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 and CloseDiscordConnection.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