Skip to content

Releases: Bluenix2/discord-gateway

v0.4.0

01 Aug 23:02
8fd7015
Compare
Choose a tag to compare

Inching closer

As discord-gateway reaches feature completeness, the releases get smaller.
As such, this is a small release only consisting of 4 commits!

Changes

Features

  • Add latency property
  • Allow connections to be RESUMED at startup

Fixes

  • Delay reset of backoff delay until successful READY / RESUMED granting sessions

v0.3.1

05 Mar 00:43
9290a79
Compare
Choose a tag to compare

Back on track

This is a very small patch release that fixes a bug from ETF support although it includes simplification of internals.

Changes

Bugfixes

  • Fix incorrect ETF encoding and compression logic when receiving data

Features

  • Add orjson as an optional json library to use if present.

v0.3.0

30 Jan 01:05
a8bcf16
Compare
Choose a tag to compare

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

v0.2.0

30 Nov 21:50
ee8c007
Compare
Choose a tag to compare

One step forward

This is a rather small update, only adding a property and improving the documentation

Changes

Features

  • Add closing property allowing heartbeaters to be aware of when the closing handshake is happening

v0.1.0

28 Nov 15:34
c50ce5d
Compare
Choose a tag to compare

Initial Release

This is the first release of discord-gateway and possibly the only, not a lot changes are made to the Discord gateway so this does not need a lot of updates.

Changes

Features

  • Create main DiscordConnection class
  • Create Exception subclasses for errors raised
  • Create enums for appropriate opcodes