fix(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.4
Release Notes
serenity-rs/serenity (serenity)
v0.12.4
Compare Source
This is a hotfix release to fix broken behaviour of
Message::author_permissions
before it is relied on.Thanks to the following for their contributions:
Deprecations
_in
variants.Additions
From<&User>
has been added toCreateEmbedAuthor
, to avoid consuming the user.Fixes
Message::author_permissions
now respects permission overrides, as it is documented to.Message::author_permissions
now respectsSEND_MESSAGES_IN_THREADS
when used in threads.Documentation improvements
Guild::threads
has been expanded.v0.12.3
Compare Source
Thanks to the following for their contributions:
Deprecations
Message(Id)::link_ensured
can be replaced byMessage(Id)::link
if recieved via event, orMessageId::link
if the message was recieved via a HTTP request.CreateInteractionResponse::PremiumRequired
has been deprecated and replaced with Premium Buttons.GuildChannel::permissions_for_user
has been deprecated, use the newMessage::author_permissions
helper orGuild::user_permissions_in
.Additions
CreateButton
now implementsFrom<Button>
.User::display_name
has been added, as users may have two different names now.CurrentApplicationInfo
.GuildMemberFlags
have been added.USE_EXTERNAL_APPS
permission has been added.MessageReferenceKind
has been added to start supporting forwarding.{PartialGuild, Guild}::partial_member_permissions
has been added for more efficent permissions checkingunstable_discord_api
.Message::author_permissions
helper has been added, alongsidePermissions::dm_permissions
.Deserialisation Fixes
Messages with reactions no longer fail to deserialize due to super reaction changes.
unstable_discord_api
-1
no longer fail to deserialise.General fixes
GuildId::members_iter
documentation.CreateAttachment
documentation has been updated to be more consistent with other builders.CreateEmbedAuthor
documentation can now spellembed
correctly.AuthorizingIntegrationOwners
is now usable, as the field was previously private.Partial
)Guild::member_permissions
is now usable without cache.ChannelId::delete_messages
documentation has been expanded to document the single item case.BulkBanResponse
have been made public.bulk_ban
endpoint is now usable, previously unusable due toSend
issues.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.