serenity-rs/serenity (serenity)
### [`v0.12.4`](https://redirect.github.com/serenity-rs/serenity/blob/HEAD/CHANGELOG.md#0124---2024-11-15)
[Compare Source](https://redirect.github.com/serenity-rs/serenity/compare/v0.12.3...v0.12.4)
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:
- \[[@GnomedDev](https://redirect.github.com/GnomedDev)]
- \[[@jamesbt365](https://redirect.github.com/jamesbt365)]
##### Deprecations
- [#3037](https://redirect.github.com/serenity-rs/serenity/pull/3037) Permission methods which do not respect channel permission overrides are now deprecated, use the `_in` variants.
##### Additions
- [#3008](https://redirect.github.com/serenity-rs/serenity/pull/3008) `From<&User>` has been added to `CreateEmbedAuthor`, to avoid consuming the user.
##### Fixes
- [#3037](https://redirect.github.com/serenity-rs/serenity/pull/3037) `Message::author_permissions` now respects permission overrides, as it is documented to.
- [#3039](https://redirect.github.com/serenity-rs/serenity/pull/3039) `Message::author_permissions` now respects `SEND_MESSAGES_IN_THREADS` when used in threads.
##### Documentation improvements
- [#3038](https://redirect.github.com/serenity-rs/serenity/pull/3038) Documentation for `Guild::threads` has been expanded.
### [`v0.12.3`](https://redirect.github.com/serenity-rs/serenity/blob/HEAD/CHANGELOG.md#0123---2024-11-13)
[Compare Source](https://redirect.github.com/serenity-rs/serenity/compare/v0.12.2...v0.12.3)
Thanks to the following for their contributions:
- \[[@FabseGP](https://redirect.github.com/FabseGP)]
- \[[@GnomedDev](https://redirect.github.com/GnomedDev)]
- \[[@HiccupEnthusiast](https://redirect.github.com/HiccupEnthusiast)]
- \[[@MarkusTheOrt](https://redirect.github.com/MarkusTheOrt)]
- \[[@NiiightmareXD](https://redirect.github.com/NiiightmareXD)]
- \[[@ValgulNecron](https://redirect.github.com/ValgulNecron)]
- \[[@gBasil](https://redirect.github.com/gBasil)]
- \[[@ivinjabraham](https://redirect.github.com/ivinjabraham)]
- \[[@jamesbt365](https://redirect.github.com/jamesbt365)]
- \[[@limonfort](https://redirect.github.com/limonfort)]
- \[[@m1sk9](https://redirect.github.com/m1sk9)]
- \[[@mkrasnitski](https://redirect.github.com/mkrasnitski)]
- \[[@onzecki](https://redirect.github.com/onzecki)]
- \[[@rhgndf](https://redirect.github.com/rhgndf)]
- \[[@stormofice](https://redirect.github.com/stormofice)]
- \[[@thmasq](https://redirect.github.com/thmasq)]
- \[[@thou-vow](https://redirect.github.com/thou-vow)]
##### Deprecations
- [#2894](https://redirect.github.com/serenity-rs/serenity/pull/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](https://redirect.github.com/serenity-rs/serenity/pull/2905) `CreateInteractionResponse::PremiumRequired` has been deprecated and replaced with Premium Buttons.
- [#3030](https://redirect.github.com/serenity-rs/serenity/pull/3030) `GuildChannel::permissions_for_user` has been deprecated, use the new `Message::author_permissions` helper or `Guild::user_permissions_in`.
##### Additions
- [#2891](https://redirect.github.com/serenity-rs/serenity/pull/2891) Guild Incident message types have been added to MessageType.
- [#2913](https://redirect.github.com/serenity-rs/serenity/pull/2913) `CreateButton` now implements `From
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 contains the following updates:
0.12.2
->0.12.4
Release Notes
serenity-rs/serenity (serenity)
### [`v0.12.4`](https://redirect.github.com/serenity-rs/serenity/blob/HEAD/CHANGELOG.md#0124---2024-11-15) [Compare Source](https://redirect.github.com/serenity-rs/serenity/compare/v0.12.3...v0.12.4) 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: - \[[@GnomedDev](https://redirect.github.com/GnomedDev)] - \[[@jamesbt365](https://redirect.github.com/jamesbt365)] ##### Deprecations - [#3037](https://redirect.github.com/serenity-rs/serenity/pull/3037) Permission methods which do not respect channel permission overrides are now deprecated, use the `_in` variants. ##### Additions - [#3008](https://redirect.github.com/serenity-rs/serenity/pull/3008) `From<&User>` has been added to `CreateEmbedAuthor`, to avoid consuming the user. ##### Fixes - [#3037](https://redirect.github.com/serenity-rs/serenity/pull/3037) `Message::author_permissions` now respects permission overrides, as it is documented to. - [#3039](https://redirect.github.com/serenity-rs/serenity/pull/3039) `Message::author_permissions` now respects `SEND_MESSAGES_IN_THREADS` when used in threads. ##### Documentation improvements - [#3038](https://redirect.github.com/serenity-rs/serenity/pull/3038) Documentation for `Guild::threads` has been expanded. ### [`v0.12.3`](https://redirect.github.com/serenity-rs/serenity/blob/HEAD/CHANGELOG.md#0123---2024-11-13) [Compare Source](https://redirect.github.com/serenity-rs/serenity/compare/v0.12.2...v0.12.3) Thanks to the following for their contributions: - \[[@FabseGP](https://redirect.github.com/FabseGP)] - \[[@GnomedDev](https://redirect.github.com/GnomedDev)] - \[[@HiccupEnthusiast](https://redirect.github.com/HiccupEnthusiast)] - \[[@MarkusTheOrt](https://redirect.github.com/MarkusTheOrt)] - \[[@NiiightmareXD](https://redirect.github.com/NiiightmareXD)] - \[[@ValgulNecron](https://redirect.github.com/ValgulNecron)] - \[[@gBasil](https://redirect.github.com/gBasil)] - \[[@ivinjabraham](https://redirect.github.com/ivinjabraham)] - \[[@jamesbt365](https://redirect.github.com/jamesbt365)] - \[[@limonfort](https://redirect.github.com/limonfort)] - \[[@m1sk9](https://redirect.github.com/m1sk9)] - \[[@mkrasnitski](https://redirect.github.com/mkrasnitski)] - \[[@onzecki](https://redirect.github.com/onzecki)] - \[[@rhgndf](https://redirect.github.com/rhgndf)] - \[[@stormofice](https://redirect.github.com/stormofice)] - \[[@thmasq](https://redirect.github.com/thmasq)] - \[[@thou-vow](https://redirect.github.com/thou-vow)] ##### Deprecations - [#2894](https://redirect.github.com/serenity-rs/serenity/pull/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](https://redirect.github.com/serenity-rs/serenity/pull/2905) `CreateInteractionResponse::PremiumRequired` has been deprecated and replaced with Premium Buttons. - [#3030](https://redirect.github.com/serenity-rs/serenity/pull/3030) `GuildChannel::permissions_for_user` has been deprecated, use the new `Message::author_permissions` helper or `Guild::user_permissions_in`. ##### Additions - [#2891](https://redirect.github.com/serenity-rs/serenity/pull/2891) Guild Incident message types have been added to MessageType. - [#2913](https://redirect.github.com/serenity-rs/serenity/pull/2913) `CreateButton` now implements `FromConfiguration
📅 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.