Update dependency hikari to ^2.0.0-alpha.118 #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.0.0.dev118→^2.0.0-alpha.118Release Notes
hikari-py/hikari (hikari)
v2.5.0Compare Source
Breaking Changes
extparameter inmake_x_url()methods in favour offile_formatx_urlproperties in favour ofmake_x_url()methods (#2591)Features
[speedups]or[zstd])fetch_thread_members(#2564)token_idfield tohikari.GatewayBot(#2572)v2.4.1Compare Source
Bugfixes
v2.4.0Compare Source
Breaking Changes
PREMIUM_REQUIREDresponse supportPREMIUMbutton components instead (#2454)Features
parent_idandlock_permissionstorest.reposition_channels(#2238)rest.fetch_guild_onboarding,rest.edit_guild_onboarding) (#2337)PREMIUMbutton support (#2454)primary_guilduser feature. (#2469)InteractionCallbackResponseobject that gets returned in the initial response to an interaction (#2479)PIN_MESSAGESpermission. (#2498)code_verifierfield toauthorize_access_tokenfor PKCE use-cases (#2510)Bugfixes
allowed_mentionswhen editing a message to match functionality that documentation mentions (#2447)OAuth2AuthorizationToken.refresh_tokentypehint beingintinstead ofstr(#2493)fetch_guild_inviteswill now return a sequence of invites (no metadata) if you only have theVIEW_AUDIT_LOGpermission (#2509)Documentation Improvements
GuildReactionDeleteEmojiEventandDMReactionDeleteEmojiEvent(#2450)v2.3.5Compare Source
Bugfixes
__getitem__not properly returning items with a falsy value (#2434)v2.3.4Compare Source
Features
THREAD_CREATED,THREAD_STARTER_MESSAGE,INTERACTION_PREMIUM_UPSELL,STAGE_START,STAGE_END,STAGE_SPEAKER,STAGE_TOPIC,GUILD_APPLICATION_PREMIUM_SUBSCRIPTION, andPURCHASE_NOTIFICATIONtoMessageTypeenum. (#2382)SOUNDBOARD_SOUND_CREATE,SOUNDBOARD_SOUND_UPDATE, andSOUNDBOARD_SOUND_CREATEtoAuditLogEventTypeenum. (#2384)hikari.impl.event_factoryas part ofhikari.impl(#2388)HTTPSettings.connection_limit(#2395)HAS_THREADmember toMessageFlag. (#2398)Optimizations
Bugfixes
PartialInteraction.locale(#2401)Documentation Improvements
ShardCloseCodeandAuditLogEventTypeenums. (#2383)v2.3.3Compare Source
Features
startup_window_delayargument to.runand.startto customize the time in between startup windows for shards (#2369)Optimizations
Bugfixes
v2.3.2Compare Source
Deprecation
x_urlproperties in favour ofmake_x_url()methods (#2338)Features
rest.create_voice_messageto support sending voice messages. (#2251)old_threadfield toGuildThreadUpdateEvent. (#2353)delete_permission_overwritedelete_webhookdelete_invitereposition_channelsreposition_rolesdelete_rolecreate_stage_instanceedit_stage_instancedelete_stage_instance(#2354)Optimizations
Bugfixes
v2.3.1Compare Source
Features
Bugfixes
v2.3.0Compare Source
Breaking Changes
GuildBuilderclass,RestClient.guild_builder()andRestClient.create_guild_from_template()due to Discord removing the feature for applications.Features
Permissions.SEND_POLLSandPermissions.USE_EXTERNAL_APPS. (#2311)1 << 201 << 231 << 441 << 501 << 51(#2314)Bugfixes
approximate_user_install_countattribute toApplication. (#2303)v2.2.1Compare Source
Features
RESTClient.fetch_poll_voters,RESTClient.end_pollPoll,PollLayoutType,PollResult,PollAnswer,PollMediaPollBuilder,PollAnswerBuilderBasePollVoteEvent,PollVoteCreateEvent,PollVoteDeleteEvent(#2219)CommandInteractionCreateEvent,ComponentInteractionCreateEvent,AutocompleteInteractionCreateEventandModalInteractionCreateEventto improve developer experience (#2241)Noneto indicate a response was/will be sent using REST instead. (#2280)GuildIncidentsas an attribute onGuild.invites_disabledadded toGuildto ease the confusion on the independentinvites_disabled_untilincident action andINVITES_DISABLEDguild feature.set_incident_actionsand rest functionset_guild_incident_actions. (#2289)AvatarDecorationclass.avatar_decoration,display_avatar_decoration, andguild_avatar_decorationattributes onUserandMemberas applicable. (#2295)Optimizations
Bugfixes
hikari.api.InteractionMessageBuilder.clear_components,hikari.api.InteractionMessageBuilder.clear_embedsand abstract methods + enforce using@typing_extensions.overridewithin the library. (#2244)Documentation Improvements
v2.2.0Compare Source
Breaking Changes
PartialInteraction.get_channelandPartialInteraction.fetch_channel. You can directly usePartialInteraction.channelinstead (#1621)command_interactions.InteractionChannelandcommand_interactions.ResolvedOptionDataCommandInteraction.app_permissionsis no longer optionalCommands.dm_permissionsandMessage.interaction. UseCommands.contextsandMessage.interaction_metadatarespectively (#2195)with_expirationparameter from REST client'sfetch_invitemethod.Features
PartialInteractionfeatures:PartialInteraction.channelattributePartialInteractionapp_permissionsis now available for all interaction typesInteractionChannel(#1621)AuditLogEventType(#1991)v2.1.1Compare Source
Features
nameandvalueof anEmbedFieldto an empty string. (#2105)Bugfixes
starts_atandends_aterroring when set toNone. (#2149)Documentation Improvements
GatewayShardand for traitShardAware, adding missing errors which can be thrown. (#2100)v2.1.0Compare Source
Breaking Changes
VoiceState.membercan now beNonein cases where Discord doesn't send the relevant information (#2038)Features
reasonargument tohikari.api.rest.RESTClient.delete_channelandhikari.impl.rest.RESTClientImpl.delete_channel, the same way it already exists for e.g.edit_channel(#2058)Bugfixes
fetch_application_emojisendpoint deserialization (#2050)v2.0.0Compare Source
Breaking Changes
Features
titleanddescriptionfields toAttachment. (#1945)display_nametoPartialUser(#1951)Optionaltype hint fromCommandInteraction.options- it will now always be an empty sequence when not provided. (#1965)Member.guild_flagand matchingGuildMemberFlagsenum. (#2004)Message.threadfield. (#2012)fetch_my_voice_stateandfetch_voice_state) (#2016)fetch_rolemethod toRESTClient(#2020)Bugfixes
See #1955 (#1957)
CustomEmojiagainstKnownCustomEmoji. (#1986)NITRO_BASICattribute toPremiumType(#1988)typeinChannelOverwriteEntryInfo(#1993)AuditLogChangeKey.COMMUNICATION_DISABLED_UNTILand matching key deserialization (#1996)v2.0.0.dev126Compare Source
Features
registered_guild_idfield toBaseCommandInteraction(#1930)clear_fields()method toEmbed(#1933)Bugfixes
Documentation Improvements
v2.0.0.dev125Compare Source
Features
message_linkproperty toMessageReferencechannel_linkproperty toMessageReference(#1877)video_quality_modefield toGuildStageChannel(#1891)bytes, rather than instrto make good use of speedups (similar toRESTClient) (#1898)Bugfixes
FormData(most commonly, when uploading attachments) (#1881)v2.0.0.dev124Compare Source
Features
Emoji.parsetyping to make it more explicit (#1870)Bugfixes
Documentation Improvements
PRIVATE_MESSAGESwithDM_MESSAGES(#1874)v2.0.0.dev123Compare Source
Breaking Changes
Permissions.MANAGE_EMOJIS_AND_STICKERS(#1762)Features
Bugfixes
CommandInteractionOption.valuetypehint not includingfloat(#1805)Member.joined_atis now nullable due to breaking API changeDocumentation Improvements
v2.0.0.dev122Compare Source
Deprecation
Permissions.MANAGE_EMOJIS_AND_STICKERSin favour ofPermissions.MANAGE_GUILD_EXPREASSIONS(#1758)Features
clear_xmethods toInteractionMessageBuilderBugfixes
v2.0.0.dev121Compare Source
Features
approximate_member_countandapproximate_presence_counttoOwnGuild. (#1659)CacheSettings.only_my_memberto only cache the bot member. (#1679)Activity.statetypeset toActivityType.CUSTOM, it will show as the text for the custom status.Syntactic sugar also exists to support simply using
nameinstead ofstate.AuditLogEventType(#1705)approximate_guild_countfield to ownApplication(#1712)Bugfixes
attachmentorattachmentsisNone(#1702)v2.0.0.dev120Compare Source
Breaking Changes
hikari.impl.botmodule (#1612)Deprecation
User.discriminator(#1631)Features
global_nameUser.__str__()respectsglobal_namenowUser.default_avatar_urlreturns correct URL for migrated accounts (#1631)Bugfixes
RESTClient.edit_guildwhich load to closed stream errors (#1627)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.
This PR was generated by Mend Renovate. View the repository job log.