github hikari-py/hikari 2.4.0

latest releases: 2.5.0, 2.4.1
2 months ago

2.4.0 (2025-09-08)

Breaking Changes

  • Remove PREMIUM_REQUIRED response support
    • Use PREMIUM button components instead (#2454)

Features

  • Add parent_id and lock_permissions to rest.reposition_channels (#2238)
  • Add support for fetching and editing guild onboarding (rest.fetch_guild_onboarding, rest.edit_guild_onboarding) (#2337)
  • Add PREMIUM button support (#2454)
  • Add primary_guild user feature. (#2469)
  • Add InteractionCallbackResponse object that gets returned in the initial response to an interaction (#2479)
  • Add PIN_MESSAGES permission. (#2498)
  • Add iterator pins feature. (#2501)
  • Add code_verifier field to authorize_access_token for PKCE use-cases (#2510)
  • Further improve ratelimiting to track in-flight requests (#2515)

Bugfixes

  • Always send allowed_mentions when editing a message to match functionality that documentation mentions (#2447)
  • Improve ratelimit handling when starting bot in the middle of a ratelimit window (#2452)
  • Fix OAuth2AuthorizationToken.refresh_token typehint being int instead of str (#2493)
  • Properly handle ratelimit buckets with fixed periods (#2506)
  • fetch_guild_invites will now return a sequence of invites (no metadata) if you only have the VIEW_AUDIT_LOG permission (#2509)

Documentation Improvements

  • Improve documentation for GuildReactionDeleteEmojiEvent and DMReactionDeleteEmojiEvent (#2450)

Don't miss a new hikari release

NewReleases is sending notifications on new releases.