Hikari

Latest version: v2.1.0

Safety actively analyzes 682387 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

2.1.0

Breaking Changes

- `VoiceState.member` can now be `None` in cases where Discord doesn't send the relevant information ([2038](https://github.com/hikari-py/hikari/issues/2038))

Features

- Add the optional audit log `reason` argument to `hikari.api.rest.RESTClient.delete_channel` and
`hikari.impl.rest.RESTClientImpl.delete_channel`, the same way it already exists for e.g.
`edit_channel` ([2058](https://github.com/hikari-py/hikari/issues/2058))

Bugfixes

- Fix issue when deserializing voice states with missing member data ([2038](https://github.com/hikari-py/hikari/issues/2038))
- Fix `fetch_application_emojis` endpoint deserialization ([2050](https://github.com/hikari-py/hikari/issues/2050))
- Fix uploading files when using aiohttp 3.10.6 and onwards ([2059](https://github.com/hikari-py/hikari/issues/2059))

---

2.0.0

Breaking Changes

- Drop Python 3.8 support. ([2008](https://github.com/hikari-py/hikari/issues/2008))

Features

- Implement stage instances ([1725](https://github.com/hikari-py/hikari/issues/1725))
- Add Python 3.13 support ([1793](https://github.com/hikari-py/hikari/issues/1793))
- Add `title` and `description` fields to `Attachment`. ([1945](https://github.com/hikari-py/hikari/issues/1945))
- Add `display_name` to `PartialUser` ([1951](https://github.com/hikari-py/hikari/issues/1951))
- Remove `Optional` type hint from `CommandInteraction.options` - it will now always be an empty sequence when not provided. ([1965](https://github.com/hikari-py/hikari/issues/1965))
- Application-bound emojis API support. ([1990](https://github.com/hikari-py/hikari/issues/1990))
- Add `Member.guild_flag` and matching `GuildMemberFlags` enum. ([2004](https://github.com/hikari-py/hikari/issues/2004))
- Add `Message.thread` field. ([2012](https://github.com/hikari-py/hikari/issues/2012))
- Add new voice endpoints (`fetch_my_voice_state` and `fetch_voice_state`) ([2016](https://github.com/hikari-py/hikari/issues/2016))
- Add `fetch_role` method to `RESTClient` ([2020](https://github.com/hikari-py/hikari/issues/2020))

Bugfixes

- Fix incorrect cleanup when failing to create request with a web reader ([1946](https://github.com/hikari-py/hikari/issues/1946))
- Fix serializing JSON dicts with enum values as keys.

See https://github.com/hikari-py/hikari/issues/1955 ([#1957](https://github.com/hikari-py/hikari/issues/1957))
- Use Discord Media Proxy instead of CDN for animated stickers urls ([1982](https://github.com/hikari-py/hikari/issues/1982))
- Use correct URL route for scheduled event covers. ([1983](https://github.com/hikari-py/hikari/issues/1983))
- Perform proper comparison when checking `CustomEmoji` against `KnownCustomEmoji`. ([1986](https://github.com/hikari-py/hikari/issues/1986))
- Add `NITRO_BASIC` attribute to `PremiumType` ([1988](https://github.com/hikari-py/hikari/issues/1988))
- Fix incorrectly deserialized field `type` in `ChannelOverwriteEntryInfo` ([1993](https://github.com/hikari-py/hikari/issues/1993))
- Add missing `AuditLogChangeKey.COMMUNICATION_DISABLED_UNTIL` and matching key deserialization ([1996](https://github.com/hikari-py/hikari/issues/1996))

---

2.0.0.dev126

Features

- Add `registered_guild_id` field to `BaseCommandInteraction` ([1930](https://github.com/hikari-py/hikari/issues/1930))
- Add `clear_fields()` method to `Embed` ([1933](https://github.com/hikari-py/hikari/issues/1933))
- Add payload to deserialization error to make it easier to diagnose ([1943](https://github.com/hikari-py/hikari/issues/1943))

Bugfixes

- Fix incorrect form uploads with transport sensitive content ([1909](https://github.com/hikari-py/hikari/issues/1909))

Documentation Improvements

- Greatly optimize loading time ([1901](https://github.com/hikari-py/hikari/issues/1901))
- Remove extra indentation level from codeblocks ([1902](https://github.com/hikari-py/hikari/issues/1902))

---

2.0.0.dev125

Features

- Add monetization support. ([1803](https://github.com/hikari-py/hikari/issues/1803))
- Add missing link properties
- Add `message_link` property to `MessageReference`
- Add `channel_link` property to `MessageReference` ([1877](https://github.com/hikari-py/hikari/issues/1877))
- Add missing `video_quality_mode` field to `GuildStageChannel` ([1891](https://github.com/hikari-py/hikari/issues/1891))
- Optimize gateway transport
- Merge cold path for zlib compression into main path to avoid additional call
- Handle data in `bytes`, rather than in `str` to make good use of speedups (similar to `RESTClient`) ([1898](https://github.com/hikari-py/hikari/issues/1898))

Bugfixes

- Fix warning raised in aiohttp 3.9.4 when using `FormData` (most commonly, when uploading attachments) ([1881](https://github.com/hikari-py/hikari/issues/1881))
- Properly handle websocket transport errors and recover
- Additionally, errors will now include additional information ([1897](https://github.com/hikari-py/hikari/issues/1897))

---

2.0.0.dev124

Features

- Improve `Emoji.parse` typing to make it more explicit ([1870](https://github.com/hikari-py/hikari/issues/1870))
- Add ability to edit own user banner ([1871](https://github.com/hikari-py/hikari/issues/1871))

Bugfixes

- Fix incorrectly formatted error strings ([1866](https://github.com/hikari-py/hikari/issues/1866))
- Properly handle initial opcode as being RECONNECT (7) ([1867](https://github.com/hikari-py/hikari/issues/1867))

Documentation Improvements

- Replace mentions of `PRIVATE_MESSAGES` with `DM_MESSAGES` ([1874](https://github.com/hikari-py/hikari/issues/1874))

---

2.0.0.dev123

Breaking Changes

- Remove previously deprecated `Permissions.MANAGE_EMOJIS_AND_STICKERS` ([1762](https://github.com/hikari-py/hikari/issues/1762))

Features

- Allow subscribing to generic events ([1814](https://github.com/hikari-py/hikari/issues/1814))
- Allow changing guild features (community, etc.) ([1828](https://github.com/hikari-py/hikari/issues/1828))
- Improve embed parameters typing ([1841](https://github.com/hikari-py/hikari/issues/1841))

Bugfixes

- Fix `CommandInteractionOption.value` typehint not including `float` ([1805](https://github.com/hikari-py/hikari/issues/1805))
- `Member.joined_at` is now nullable due to breaking API change
- This will be received on guest members with temporary membership ([1812](https://github.com/hikari-py/hikari/issues/1812))
- Shard rate-limiters are now reset per websocket connection, avoiding a rare issue where a persistent network issue could allow the shard to be rate-limited ([1813](https://github.com/hikari-py/hikari/issues/1813))

Documentation Improvements

- Switch documentation to mkdocs ([1810](https://github.com/hikari-py/hikari/issues/1810))

---

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.