chore(deps): update rust crate serenity to v0.12.5 #261
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:
0.12.2→0.12.5Release Notes
serenity-rs/serenity (serenity)
v0.12.5Compare Source
This compiles all of the changes that had accumulated since the prior release,
and, unless another minor release is warranted, constitutes as the last release
for the 0.12.x series.
We also extend our heartfelt thanks to [@jamesbt365], who passed away a few
months ago. We deeply appreciate his code contributions, which started back in
2023, as well as his social contributions for helping people with using
Serenity, Songbird, and Poise, on Github and/or Discord. We were saddened to
hear that he's no longer with us, but we hope he rests well.
Thanks to the following for their contributions:
Deprecations
Member::distinctContentSafeOptions::show_discriminatorAdditions
PURCHASE_NOTIFICATIONmessage typeMessage::message_snapshotsPartialEqandEqforActivityData?with_componentsin webhooksavatarfield toPartialMemberImageHashusable as key in std containersbannertoMemberandPartialMemberflagstoEditWebhookMessageandEditInteractionResponseget_user_voice_stateendpointresolveddata toComponentInteractionDataapplied_tagsfield to ExecuteWebhookattachment_size_limitfieldRemovals
Message::super_reactFixes
Ordimpl forRoleDocumentation improvements
Guild::featuresdocumentationGuild::preferred_locale, it is only available to guilds with theCOMMUNITYfeatureMiscellaneous
fxhashdependency withrustc-hashCreatePollto useu16for durationv0.12.4Compare Source
This is a hotfix release to fix broken behaviour of
Message::author_permissionsbefore it is relied on.Thanks to the following for their contributions:
Deprecations
_invariants.Additions
From<&User>has been added toCreateEmbedAuthor, to avoid consuming the user.Fixes
Message::author_permissionsnow respects permission overrides, as it is documented to.Message::author_permissionsnow respectsSEND_MESSAGES_IN_THREADSwhen used in threads.Documentation improvements
Guild::threadshas been expanded.v0.12.3Compare Source
Thanks to the following for their contributions:
Deprecations
Message(Id)::link_ensuredcan be replaced byMessage(Id)::linkif recieved via event, orMessageId::linkif the message was recieved via a HTTP request.CreateInteractionResponse::PremiumRequiredhas been deprecated and replaced with Premium Buttons.GuildChannel::permissions_for_userhas been deprecated, use the newMessage::author_permissionshelper orGuild::user_permissions_in.Additions
CreateButtonnow implementsFrom<Button>.User::display_namehas been added, as users may have two different names now.CurrentApplicationInfo.GuildMemberFlagshave been added.USE_EXTERNAL_APPSpermission has been added.MessageReferenceKindhas been added to start supporting forwarding.{PartialGuild, Guild}::partial_member_permissionshas been added for more efficent permissions checkingunstable_discord_api.Message::author_permissionshelper has been added, alongsidePermissions::dm_permissions.Deserialisation Fixes
Messages with reactions no longer fail to deserialize due to super reaction changes.
unstable_discord_api-1no longer fail to deserialise.General fixes
GuildId::members_iterdocumentation.CreateAttachmentdocumentation has been updated to be more consistent with other builders.CreateEmbedAuthordocumentation can now spellembedcorrectly.AuthorizingIntegrationOwnersis now usable, as the field was previously private.Partial)Guild::member_permissionsis now usable without cache.ChannelId::delete_messagesdocumentation has been expanded to document the single item case.BulkBanResponsehave been made public.bulk_banendpoint is now usable, previously unusable due toSendissues.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.