-
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
2,227 additions
and
1,931 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Lifetime improvements breaking changes: | ||
- `GatewayBot.join`'s `until_close` argument removed. | ||
- `GatewayShardImpl.get_user_id` is no longer async and will now always be available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Lifetime improvements bugfixes: | ||
- `GatewayShardImpl` can now be instantiated out of an async environment for consistency with other components. | ||
- Correct signal handling in `RESTBot`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Improve components lifetimes: | ||
- `GatewayBot`: | ||
- General speedups. | ||
- Fix a lot of edge cases of hard crashes if the application shuts unexpectedly. | ||
- More consistent signal handling. | ||
- `run`' `shard_ids` argument can now be a `typing.Sequence`. | ||
- Improved logging. | ||
- `RESTBot`: | ||
- Consistent signal handling inline with `GatewayBot`. | ||
- Improved logging. | ||
- Improved loop closing. | ||
- `GatewayShardImpl`: | ||
- New `is_connected` property to determine whether the shard is connected to the gateway. | ||
- Faster websocket pulling and heartbeating. | ||
- Improved error handling. | ||
- New gateway reconnect logic to account for `resume_gateway_url`. | ||
- Rate limiting changes: | ||
- Chunking no longer has its own special ratelimit. Now it is shared with the rest of | ||
"non-priority" packages sent, which is of 117/60s (3 less than the hard limit). | ||
- "priority" packages currently only include heartbeating. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.