Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update rust crate serenity to v0.12.4 #261

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 13, 2024

This PR contains the following updates:

Package Type Update Change
serenity dependencies patch 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
  • #​3037 Permission methods which do not respect channel permission overrides are now deprecated, use the _in variants.
Additions
  • #​3008 From<&User> has been added to CreateEmbedAuthor, to avoid consuming the user.
Fixes
  • #​3037 Message::author_permissions now respects permission overrides, as it is documented to.
  • #​3039 Message::author_permissions now respects SEND_MESSAGES_IN_THREADS when used in threads.
Documentation improvements
  • #​3038 Documentation for Guild::threads has been expanded.

v0.12.3

Compare Source

Thanks to the following for their contributions:

Deprecations
  • #​2894 Message(Id)::link_ensured can be replaced by Message(Id)::link if recieved via event, or MessageId::link if the message was recieved via a HTTP request.
  • #​2905 CreateInteractionResponse::PremiumRequired has been deprecated and replaced with Premium Buttons.
  • #​3030 GuildChannel::permissions_for_user has been deprecated, use the new Message::author_permissions helper or Guild::user_permissions_in.
Additions
  • #​2891 Guild Incident message types have been added to MessageType.
  • #​2913 CreateButton now implements From<Button>.
  • #​2914 User::display_name has been added, as users may have two different names now.
  • #​2920 Support for Application Emojis has been added, getting rid of those "emoji servers" many bots required.
  • #​2905 Support for Premium Buttons has been added, which link to the store page of a chosen SKU.
  • #​2926 A method to get the role icon URL has been added.
  • #​2939 Some missing fields have been added to to CurrentApplicationInfo.
  • #​2946 Support for the Get Guild Role endpoint has been added.
  • #​2960 Support for the Get Sticker Pack by Id endpoint has been added.
  • #​2962 Some missing entries in GuildMemberFlags have been added.
  • #​2950 The missing USE_EXTERNAL_APPS permission has been added.
  • #​2987 A builder for the Get Entitlements endpoint has been added.
  • #​2996 MessageReferenceKind has been added to start supporting forwarding.
  • #​3001 {PartialGuild, Guild}::partial_member_permissions has been added for more efficent permissions checking
  • #​3013 Interaction responses can now send polls.
  • #​3018 User App support has been stablised, usable without unstable_discord_api.
  • #​3021 Support for Entry Point Commands has been added.
  • #​3030 A Message::author_permissions helper has been added, alongside Permissions::dm_permissions.
Deserialisation Fixes
  • #​2887, #​2893
    Messages with reactions no longer fail to deserialize due to super reaction changes.
  • #​2917 Application no longer fails to deserialize with unstable_discord_api
  • #​3032 Guilds with an @​everyone role at position -1 no longer fail to deserialise.
General fixes
  • #​2886 A typo has been fixed in GuildId::members_iter documentation.
  • #​2906 CreateAttachment documentation has been updated to be more consistent with other builders.
  • #​2911 CreateEmbedAuthor documentation can now spell embed correctly.
  • Pushed to Current AuthorizingIntegrationOwners is now usable, as the field was previously private.
  • #​2945 (Partial)Guild::member_permissions is now usable without cache.
  • #​2973 ChannelId::delete_messages documentation has been expanded to document the single item case.
  • #​2959 The rules for attachment names for local attachments in embeds have now been documented.
  • #​3005 The fields of BulkBanResponse have been made public.
  • #​3006 The bulk_ban endpoint is now usable, previously unusable due to Send 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.


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

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

@renovate renovate bot added the renovate label Nov 13, 2024
@renovate renovate bot changed the title fix(deps): update rust crate serenity to v0.12.3 fix(deps): update rust crate serenity to v0.12.4 Nov 15, 2024
@renovate renovate bot force-pushed the renovate/serenity-0.x-lockfile branch from 33b3a62 to e0afbf4 Compare November 15, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants