Releases: Bluenix2/discord-gateway
Releases · Bluenix2/discord-gateway
v0.4.0
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
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
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
v0.2.0
v0.1.0
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