8000 Releases · hikari-py/hikari · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: hikari-py/hikari

2.3.2

09 May 15:17
2d86966
Compare
Choose a tag to compare

2.3.2 (2025-05-09)

Deprecation

  • Deprecate all x_url properties in favour of make_x_url() methods (#2338)

Features

  • Added rest.create_voice_message to support sending voice messages. (#2251)
  • Add AWEBP support for asset URLs and increase sticker asset availability (#2338)
  • Add old_thread field to GuildThreadUpdateEvent. (#2353)
  • Add reason parameter to the following endpoints:
    • delete_permission_overwrite
    • delete_webhook
    • delete_invite
    • reposition_channels
    • reposition_roles
    • delete_role
    • create_stage_instance
    • edit_stage_instance
    • delete_stage_instance (#2354)

Optimizations

  • Optimize reusing file resources when uploading repeated ones (#2336)

Bugfixes

  • Fix event filtering for interaction create specialized events (#2335)
  • Fix duplicated uploaded attachments when reusing resources in embeds (#2336)
  • Added partial missing documentation for rest voice-message interaction methods. (#2355)

2.3.1

27 Apr 20:14
a427ef5
Compare
Choose a tag to compare

2.3.1 (2025-04-27)

Features

  • Add support for the auto-moderation API. (#2205)

Bugfixes

  • Fix modal creations through builders (#2330)

2.3.0

22 Apr 20:36
7b2a0a5
Compare
Choose a tag to compare

2.3.0 (2025-04-22)

Breaking Changes

Features

  • Add components V2 (UIKit) support
  • Add Permissions.SEND_POLLS and Permissions.USE_EXTERNAL_APPS. (#2311)
  • Add the following values to UserFlag:
    • SPAMMER 1 << 20
    • PROVISIONAL_ACCOUNT 1 << 23
    • QUARANTINED 1 << 44
    • COLLABORATOR 1 << 50
    • RESTRICTED_COLLABORATOR 1 << 51 (#2314)

Bugfixes

  • Add approximate_user_install_count attribute to Application. (#2303)

2.2.1

06 Apr 17:31
1d6d244
Compare
Choose a tag to compare

2.2.1 (2025-04-06)

Features

  • Add polls support:
    • New rest endpoints: RESTClient.fetch_poll_voters, RESTClient.end_poll
    • New objects: Poll, PollLayoutType, PollResult, PollAnswer, PollMedia
    • New builders: PollBuilder, PollAnswerBuilder
    • New events: BasePollVoteEvent, PollVoteCreateEvent, PollVoteDeleteEvent (#2219)
  • Added more specialized interaction events CommandInteractionCreateEvent, ComponentInteractionCreateEvent, AutocompleteInteractionCreateEvent and ModalInteractionCreateEvent to improve developer experience (#2241)
  • Added support for guild specific member banners. (#2271)
  • HTTP interaction handlers can return None to indicate a response was/will be sent using REST instead. (#2280)
  • Added support for guild incidents.
    • New object GuildIncidents as an attribute on Guild.
    • New property invites_disabled added to Guild to ease the confusion on the independent invites_disabled_until incident action and INVITES_DISABLED guild feature.
    • New guild function set_incident_actions and rest function set_guild_incident_actions. (#2289)
  • Added support for global and guild specific avatar decorations.
    • New AvatarDecoration class.
    • New optional avatar_decoration, display_avatar_decoration, and guild_avatar_decoration attributes on User and Member as applicable. (#2295)

Optimizations

  • Improve protocol checking speed. (#2252)

Bugfixes

  • Add in the missing hikari.api.InteractionMessageBuilder.clear_components, hikari.api.InteractionMessageBuilder.clear_embeds and abstract methods + enforce using @typing_extensions.override within the library. (#2244)

Documentation Improvements

  • Fix TOC jumping around when scrolling (#2255)

2.2.0

21 Mar 16:59
2c415b8
Compare
Choose a tag to compare

2.2.0 (2025-03-21)

Breaking Changes

  • Remove PartialInteraction.get_channel and PartialInteraction.fetch_channel. You can directly use PartialInteraction.channel instead (#1621)

  • User commands breaking changes:

    • Remove previously deprecated command_interactions.InteractionChannel and command_interactions.ResolvedOptionData
    • CommandInteraction.app_permissions is no longer optional
    • Removal of Commands.dm_permissions and Message.interaction. Use Commands.contexts and Message.interaction_metadata respectively (#2195)
  • Remove with_expiration parameter from REST client's fetch_invite method.

    • The parameter has been a noop for a while as Discord removed it (#2224)

Features

  • Several new PartialInteraction features:

    • Add new PartialInteraction.channel attribute
    • Moved common interaction fields to PartialInteraction
    • app_permissions is now available for all interaction types
    • Add missing fields to InteractionChannel (#1621)
  • Add missing fields to AuditLogEventType (#1991)

  • Add user installations support (#2177)

2.1.1

26 Feb 11:14
4200bc4
Compare
Choose a tag to compare

2.1.1 (2025-02-26)

Features

  • Allow specifying a reason for message deletions (#2066)
  • Allow setting name and value of an EmbedField to an empty string. (#2105)

Bugfixes

  • Fixed Entitlement starts_at and ends_at erroring when set to None. (#2149)
  • Properly handle and error on Cloudflare bans (#2168)

Documentation Improvements

  • Added missing documentation for GatewayShard and for trait ShardAware, adding missing errors which can be thrown. (#2100)

2.1.0

25 Sep 11:08
dddcfb3
Compare
Choose a tag to compare

2.1.0 (2024-09-25)

Breaking Changes

  • VoiceState.member can now be None in cases where Discord doesn't send the relevant information (#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)

Bugfixes

  • Fix issue when deserializing voice states with missing member data (#2038)
  • Fix fetch_application_emojis endpoint deserialization (#2050)
  • Fix uploading files when using aiohttp 3.10.6 and onwards (#2059)

2.0.0

28 Aug 12:34
b5ce62d
Compare
Choose a tag to compare

2.0.0 (2024-08-28)

Breaking Changes

  • Drop Python 3.8 support. (#2008)

Features

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

Bugfixes

  • Fix incorrect cleanup when failing to create request with a web reader (#1946)

  • Fix serializing JSON dicts with enum values as keys.

    See #1955 (#1957)

  • Use Discord Media Proxy instead of CDN for animated stickers urls (#1982)

  • Use correct URL route for scheduled event covers. (#1983)

  • Perform proper comparison when checking CustomEmoji against KnownCustomEmoji. (#1986)

  • Add NITRO_BASIC attribute to PremiumType (#1988)

  • Fix incorrectly deserialized field type in ChannelOverwriteEntryInfo (#1993)

  • Add missing AuditLogChangeKey.COMMUNICATION_DISABLED_UNTIL and matching key deserialization (#1996)

2.0.0.dev126

20 Jun 12:27
f65737f
Compare
Choose a tag to compare

2.0.0.dev126 (2024-06-20)

Features

  • Add registered_guild_id field to BaseCommandInteraction (#1930)
  • Add clear_fields() method to Embed (#1933)
  • Add payload to deserialization error to make it easier to diagnose (#1943)

Bugfixes

  • Fix incorrect form uploads with transport sensitive content (#1909)

Documentation Improvements

  • Greatly optimize loading time (#1901)
  • Remove extra indentation level from codeblocks (#1902)

2.0.0.dev125

28 Apr 08:31
8ff87e5
Compare
Choose a tag to compare

2.0.0.dev125 (2024-04-28)

Features

  • Add monetization support. (#1803)
  • Add missing link properties
    • Add message_link property to MessageReference
    • Add channel_link property to MessageReference (#1877)
  • Add missing video_quality_mode field to GuildStageChannel (#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)

Bugfixes

  • Fix warning raised in aiohttp 3.9.4 when using FormData (most commonly, when uploading attachments) (#1881)
  • Properly handle websocket transport errors and recover
    • Additionally, errors will now include additional information (#1897)
0