chore(deps): update rust crate serenity to v0.12.4 #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.4Release Notes
serenity-rs/serenity (serenity)
v0.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.