Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jun 8, 2023

This PR contains the following updates:

Package Change Age Confidence
hikari ^2.0.0.dev118^2.0.0-alpha.118 age confidence

Release Notes

hikari-py/hikari (hikari)

v2.5.0

Compare Source

Breaking Changes
  • Drop Python 3.9 support (#​2576)
  • Remove several previously deprecated functionality:
    • ext parameter in make_x_url() methods in favour of file_format
    • x_url properties in favour of make_x_url() methods (#​2591)
Features
  • Add preliminary support for Python 3.14 (#​2220)
  • Add various new compression support:
    • ZSTD transport compression support (needs hikari to be installed with either [speedups] or [zstd])
    • ZLIB payload compression support (#​2545)
  • Add new edit own member arguments. (#​2551)
  • Slightly optimize buckets ratelimiting logic (#​2556)
  • Add pagination support for fetch_thread_members (#​2564)
  • Add token_id field to hikari.GatewayBot (#​2572)
  • Add LATAM Spanish locale (#​2577)

v2.4.1

Compare Source

Bugfixes
  • Properly release initial bucket lock. (#​2529)

v2.4.0

Compare Source

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)

v2.3.5

Compare Source

Bugfixes
  • Fix enum __getitem__ not properly returning items with a falsy value (#​2434)
  • Fix deserializing message snapshots (#​2435)

v2.3.4

Compare Source

Features
  • Add THREAD_CREATED, THREAD_STARTER_MESSAGE, INTERACTION_PREMIUM_UPSELL, STAGE_START, STAGE_END, STAGE_SPEAKER, STAGE_TOPIC, GUILD_APPLICATION_PREMIUM_SUBSCRIPTION, and PURCHASE_NOTIFICATION to MessageType enum. (#​2382)
  • Add SOUNDBOARD_SOUND_CREATE, SOUNDBOARD_SOUND_UPDATE, and SOUNDBOARD_SOUND_CREATE to AuditLogEventType enum. (#​2384)
  • Re-export hikari.impl.event_factory as part of hikari.impl (#​2388)
  • Add naming to dispatch tasks to allow to identify them in the event loop (#​2394)
  • Allow setting HTTP concurrent connection limit through HTTPSettings.connection_limit (#​2395)
  • Add HAS_THREAD member to MessageFlag. (#​2398)
  • Add message forwarding support. (#​2399)
  • Add support for guild media channels. (#​2409)
  • Add reason to error log when hitting a subratelimit, if available (#​2416)
Optimizations
  • Optimize request flow (#​2393)
  • Sligly optimize memory usage when dispatching tasks (#​2394)
  • Switch ratelimiting logic to a sliding window implementation to better match Discord's side. This will allow maximum throughput that Discord would allow (#​2427)
Bugfixes
  • Fix typing inconsistency for PartialInteraction.locale (#​2401)
Documentation Improvements
  • Add items with missing docstrings (mainly enum values) (#​2381)
  • Document members of ShardCloseCode and AuditLogEventType enums. (#​2383)

v2.3.3

Compare Source

Features
  • Add startup_window_delay argument to .run and .start to customize the time in between startup windows for shards (#​2369)
Optimizations
  • Greatly optimize event managers memory management by avoiding unnecessary tasks creations and reducing lifetime of objects (#​2368)
Bugfixes
  • Fix error when attempting to stringify http request with a non-ascii character (#​2365)

v2.3.2

Compare Source

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)

v2.3.1

Compare Source

Features
  • Add support for the auto-moderation API. (#​2205)
Bugfixes
  • Fix modal creations through builders (#​2330)

v2.3.0

Compare Source

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)

v2.2.1

Compare Source

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)

v2.2.0

Compare Source

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)

v2.1.1

Compare Source

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)

v2.1.0

Compare Source

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)

v2.0.0

Compare Source

Breaking Changes
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)

v2.0.0.dev126

Compare Source

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)

v2.0.0.dev125

Compare Source

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)

v2.0.0.dev124

Compare Source

Features
  • Improve Emoji.parse typing to make it more explicit (#​1870)
  • Add ability to edit own user banner (#​1871)
Bugfixes
  • Fix incorrectly formatted error strings (#​1866)
  • Properly handle initial opcode as being RECONNECT (7) (#​1867)
Documentation Improvements
  • Replace mentions of PRIVATE_MESSAGES with DM_MESSAGES (#​1874)

v2.0.0.dev123

Compare Source

Breaking Changes
  • Remove previously deprecated Permissions.MANAGE_EMOJIS_AND_STICKERS (#​1762)
Features
  • Allow subscribing to generic events (#​1814)
  • Allow changing guild features (community, etc.) (#​1828)
  • Improve embed parameters typing (#​1841)
Bugfixes
  • Fix CommandInteractionOption.value typehint not including float (#​1805)
  • Member.joined_at is now nullable due to breaking API change
    • This will be received on guest members with temporary membership (#​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)
Documentation Improvements
  • Switch documentation to mkdocs (#​1810)

v2.0.0.dev122

Compare Source

Deprecation
  • Deprecate Permissions.MANAGE_EMOJIS_AND_STICKERS in favour of Permissions.MANAGE_GUILD_EXPREASSIONS (#​1758)
Features
  • Add Python 3.12 support. (#​1357)
  • Allow class listeners (#​1661)
  • Add missing clear_x methods to InteractionMessageBuilder
    • This brings the functionality more in-line with other message edit APIs (#​1740)
  • Add missing permissions (#​1758)
Bugfixes
  • Fix optional connection "revoked" field KeyError when fetching connections. (#​1720)
  • Ensure shard connect and disconnect always get sent in pairs and properly waited for (#​1744)
  • Improve handing of force exiting a bot (double interrupt)
    • Improve exception message
    • Reset signal handlers to original ones after no longer capturing signals (#​1745)

v2.0.0.dev121

Compare Source

Features
  • Add approximate_member_count and approximate_presence_count to OwnGuild. (#​1659)
  • Add CacheSettings.only_my_member to only cache the bot member. (#​1679)
  • Bots can now utilize Activity.state
    • When used with type set to ActivityType.CUSTOM, it will show as the text for the custom status.
      Syntactic sugar also exists to support simply using name instead of state.
    • Can be used with other activity types to provide additional information on the activity. (#​1683)
  • Add missing Audit Log event types to AuditLogEventType (#​1705)
  • Add approximate_guild_count field to own Application (#​1712)
Bugfixes
  • Handle connection reset error on shards. (#​1645)
  • Retry REST requests on connection errors (#​1648)
  • Add support for text in stage channels (#​1653)
  • Fix incorrect calculation for the default avatar of migrated users (#​1673)
  • Fix attachments not being removed in message edits when attachment or attachments is None (#​1702)

v2.0.0.dev120

Compare Source

Breaking Changes
  • Remove previously deprecated hikari.impl.bot module (#​1612)
Deprecation
  • Deprecate User.discriminator (#​1631)
Features
  • Implement voice messages (#​1609)
  • Implement username changes:
    • Add global_name
    • User.__str__() respects global_name now
    • User.default_avatar_url returns correct URL for migrated accounts (#​1631)
Bugfixes
  • Fix a bug in RESTClient.edit_guild which load to closed stream errors (#​1627)
  • Properly handle DM channels in resolved interaction channels. (#​1628)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jun 8, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
[11:56:11.088] INFO (9): Installing tool python v3.11.4...
[11:56:11.091] INFO (9): Preparing legacy tool python ...
installing v2 tool python v3.11.4
linking tool python v3.11.4
Python 3.11.4
pip 23.1.2 from /opt/containerbase/tools/python/3.11.4/lib/python3.11/site-packages/pip (python 3.11)
[11:56:16.955] INFO (9): Installed tool python in 5.8s.
[11:56:17.067] INFO (154): Installing tool poetry v1.5.1...
[11:56:17.071] INFO (154): Preparing legacy tool poetry ...
installing v2 tool poetry v1.5.1
linking tool poetry v1.5.1
Poetry (version 1.5.1)
[11:56:26.024] INFO (154): Installed tool poetry in 8.9s.
Updating dependencies
Resolving dependencies...

/usr/local/bin/docker: line 4: .: filename argument required
.: usage: . filename [arguments]
Creating virtualenv 101-ai in /tmp/worker/fce035/67d7e3/repos/github/101dotxyz/GPTeam/.venv

Because 101-ai depends on hikari (^2.0.0-alpha.118) which doesn't match any versions, version solving failed.

@renovate renovate bot force-pushed the renovate/hikari-2.x branch from da3418a to 8c9ddf4 Compare July 9, 2023 11:56
@renovate renovate bot force-pushed the renovate/hikari-2.x branch from 8c9ddf4 to ae5a09a Compare August 11, 2025 04:10
@renovate renovate bot force-pushed the renovate/hikari-2.x branch from ae5a09a to 96de310 Compare August 19, 2025 13:51
@renovate renovate bot force-pushed the renovate/hikari-2.x branch 2 times, most recently from 0d59a2e to eec16db Compare September 9, 2025 00:27
@renovate renovate bot force-pushed the renovate/hikari-2.x branch from eec16db to 90ca640 Compare October 31, 2025 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant