Skip to content

Commit 8ef27c2

Browse files
Prepare for release of version 2.0.0.dev107 (#1055)
Co-authored-by: hikari-bot <90276125+hikari-bot[bot]@users.noreply.github.com>
1 parent b660381 commit 8ef27c2

14 files changed

Lines changed: 31 additions & 18 deletions

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,37 @@ This file is updated every release with the use of `towncrier` from the fragment
66

77
.. towncrier release notes start
88

9+
Hikari 2.0.0.dev107 (2022-03-04)
10+
================================
11+
12+
Features
13+
--------
14+
15+
- Added a `total_length` function to `hikari.embeds.Embed`
16+
- Takes into account the character length of the embed's title, description, fields (all field names and values), footer, and author combined.
17+
- Useful for determining if the embed exceeds Discord's 6000 character limit. ([#796](https://github.com/hikari-py/hikari/issues/796))
18+
- Added attachment command option type support. ([#1015](https://github.com/hikari-py/hikari/issues/1015))
19+
- Add MESSAGE_CONTENT intent. ([#1021](https://github.com/hikari-py/hikari/issues/1021))
20+
- Custom substitutions can now be used in `hikari.internal.ux.print_banner`. ([#1022](https://github.com/hikari-py/hikari/issues/1022))
21+
- `get_guild()` is now available on `hikari.Member`. ([#1025](https://github.com/hikari-py/hikari/issues/1025))
22+
- The notorious "failed to communicate with server" log message is now a warning rather than an error. ([#1041](https://github.com/hikari-py/hikari/issues/1041))
23+
- `hikari.applications`, `hikari.files`, `hikari.snowflakes` and `hikari.undefined` are now all explicitly exported by `hikari.__init__`, allowing pyright to see them without a direct import. ([#1042](https://github.com/hikari-py/hikari/issues/1042))
24+
25+
26+
Bugfixes
27+
--------
28+
29+
- Fix bucket lock not being released on errors while being acquired, which locked the bucket infinitely ([#841](https://github.com/hikari-py/hikari/issues/841))
30+
- `enable_signal_handlers` now only defaults to `True` when the run/start method is called in the main thread.
31+
This avoids these functions from always raising when being run in a threaded environment as only the main thread can register signal handlers. ([#998](https://github.com/hikari-py/hikari/issues/998))
32+
- Sub-command options are now properly deserialized in the autocomplete flow to `AutocompleteInteractionOption` instead of `CommandInteractionOption`. ([#1012](https://github.com/hikari-py/hikari/issues/1012))
33+
- Attempt to reconnect on a gateway `TimeoutError`. ([#1014](https://github.com/hikari-py/hikari/issues/1014))
34+
- Properly close `GatewayBot` when not fully started. ([#1023](https://github.com/hikari-py/hikari/issues/1023))
35+
- The async context manager returned by `File.stream` now errors on enter if the target file doesn't exist to improve error handling when a file that doesn't exist is sent as an attachment.
36+
37+
The multiprocessing file reader strategy now expands user relative (`~`) links (like the threaded strategy). ([#1046](https://github.com/hikari-py/hikari/issues/1046))
38+
39+
940
Hikari 2.0.0.dev106 (2022-02-03)
1041
================================
1142

changes/1012.bugfix.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1014.bugfix.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1015.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1021.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1022.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1023.bugfix.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1025.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1041.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changes/1042.feature.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)