Releases: serenity-rs/serenity
Releases · serenity-rs/serenity
v0.10.5
Thanks to the following for their contributions:
Added
- [model] Add support for stage channels (@drklee3) c:4018632
- [http/model/builder] Allow editing and deleting messages from webhooks (@acdenisSK) c:8d0b307
- [model] Add support for
GuildChannel::{rtc_region, video_quality_mode}
fields (@drklee3) c:95c2f78 - [command_attr] Add a way for joining lines in
#[doc]
comments using\$
(@acdenisSK) c:dbc40cb c:cc184a4 - [model] Add
User::public_flags
field (@miqbalrr @acdenisSK) c:b999f46 c:8ab0305 - [model] Add a
Parse
trait for some model types (@kangalioo) c:3088652 - [command_attr] Add documentation for the
#[hook]
macro (@acdenisSK) c:412f5a9 - [model] Add new Emoji fields and adjust existing ones (@acdenisSK) c:8dfd97d
- [model] Apply changes to interaction response types and add a new interaction type (@acdenisSK) c:eba755c
Changed
- [builder] Update
EditGuild
to match current Discord API (@Lakelezz) c:feda47c - [misc] Signify code that needs the
collector
feature (@acdenisSK) c:a04291f - [framework] Make the
Suggestions::{as_vec, join}
methods public (@Daggy1234) c:4186996 - [gateway] Alter
Activity
constructor methods to useToString
(@acdenisSK) c:859355c - [model] Improve conformity and fix updating certain fields for
Member
(@acdenisSK) c:909bf8e
Fixed
- [command_attr] Fix a case of iterator invalidation when moving
#[doc]
attributes (@acdenisSK) c:166c248 - [http] Escape hashes in HTTP reaction methods (@acdenisSK) c:17233a2
- [gateway] Reconnect in event of failed ShardActions (@FelixMcFelix) c:03dd250
- [framework] Do not invoke the help command in DMs if
allow_dm
is false (@acdenisSK) c:16e7556 - [examples] Fix tracing compilation error in example 7 (@acdenisSK) c:3aa6aae
v0.10.4
Thanks to the following for their contributions:
Fixed
- [misc] Fix invalid usage of
#[doc(cfg)]
(@acdenisSK) c:b192609
v0.10.3
Thanks to the following for their contributions:
- @AriusX7
- @acdenisSK
- @aria-7553
- @baeuric
- @cab404
- @Daggy1234
- @DrBluefall
- @dapper-gh
- @drklee3
- @drp19
- @Lakelezz
- @lapin-b
- @merlleu
- @nickelc
- @Prof-Bloodstone
- @SinsofSloth
- @s0lst1ce
- @Th3-M4jor
Added
- [framework/command_attr] Rename
#[doc]
attributes to#[description]
for groups (@acdenisSK) c:1cbc935 - [model] Add missing variants to
MessageType
(@merlleu) c:8f38985 c:e5ae947 - [model] Add Requiring Guild Presences Intent Note (@drklee3) c:136adef
- [misc] Add clippy lint to deny let underscore binding of values which must be used (@Th3-M4jor) c:53d5007
- [misc] Add clippy lint for denying missing error documentation (@Th3-M4jor) c:dcc1ac4
- [framework] Document help-macro attributes
#[lacking_conditions]
and#[wrong_channel]
(@aria-7553) c:8931c4c - [model] Add new fields for the
Member
model (@acdenisSK) c:810b033 - [misc] Add a clippy lint for denying the usage of
unwrap()
(@Th3-M4jor) c:3f93c87 - [model] Add interaction create methods to
Guild
,GuildId
,PartialGuild
, andInteraction
(@Th3-M4jor) c:abfbb9f - [builder] Allow adding permissions when editing a channel (@baeuric) c:abe955f
- [builder] Add builders for creating interactions (@Th3-M4jor) c:0d743fd
- [client] Allow users to reuse
Http
when building theClient
(@acdenisSK) c:0e2b648 - [builder] Add builders for interaction responses (@SinsofSloth) c:835e826
Changed
- [model] Ignore Missing Cache Items on Permission Checks (@Lakelezz) c:2812236 c:75b404a
- [framework] Capture sub-commands and aliases in
similar_commands
(@Lakelezz) c:5892db2 - [framework] Handle nested sub-commands in help (@Lakelezz) c:3db32fb
- [model] Don't require the
cache
feature forMembersIter
andGuildId::members_iter
(@AriusX7) c:4ed30c3 - [misc] Bump dependencies to make them build with minimal versions (@nickelc) c:53b2dc5
- [misc] Update to
tracing
0.1.23 (@nickelc) c:2a21347 - [builder] Use vectors for passing permissions in the builders' documentation (@acdenisSK) c:2e50a12
- [misc] Update the contributing guide to reflect the state of the project (@acdenisSK) c:7e8620f
- [model] Change the type of the
embeds
field inMessageUpdateEvent
back toEmbed
(@cab404) c:8133a43 - [misc] Enable the
log
feature fortracing
(@DrBluefall) c:73e6d8a - [examples] Make
ShardManagerContainer
in thee06_sample_bot_structure
example public (@Daggy1234) c:dfd0b32 - [misc] Format the repository and add a workflow for formatting and linting (@acdenisSK) c:9bbb25a
- [client] Ignore the
msg
parameter when creating a tracing span (@acdenisSK) c:cb6b528
Fixed
- [model] Fix the type of
token
and add fieldkind
toWebhook
(@acdenisSK) c:de72951 - [framework] Skip the
Available
segment in help if empty. (@Lakelezz) c:6b6e5fe - [model] Check if Private Channel Before Returning
NotAuthor
(@Lakelezz) c:1ab52a0 - [framework/command_attr] Preserve documentation comments for the help command (@acdenisSK) c:83360f8
- [model] Fix typo on
MessageCollector
(@s0lst1ce) c:291e4f2 - [model] Fix outdated link to example 5 in
Client::data
's documentation (@aria-7553) c:2be89e2 - [framework] Add missing verb 'be' in
Configuration::no_dm_prefix
's documentation (@aria-7553) c:4477690 - [examples] Update comments in the 7th example to mention
tracing
(@acdenisSK) c:10de463 - [misc] Fix commit links for the v0.9.3 release (@acdenisSK) c:5457cda
- [gateway] Fix
WebSocketGatewayClientExt::send_chunk_guild
to not get disconnected by Discord's gateway (@lapin-b) c:2f835a3 - [gateway] Fix token logging from
WebSocketGatewayClientExt::send_resume
(@Prof-Bloodstone) c:2854e6b - [builder] Fix a typo in the create interaction builder (@drp19) c:5254e2b
- [examples] Fix the owner check in the
e05_command_framework
example (@dapper-gh) c:e59314e
v0.10.2
v0.10.1
v0.9.4
Thanks to the following for their contributions:
Fixed
- [misc] Fixate
command_attr
version to 0.3.2 (@acdenisSK) c:b03df91
v0.10.0
Thanks to the following for their contributions:
- @AgathaSorceress
- @acdenisSK
- @Baev1
- @casey
- @chocological00
- @Daggy1234
- @drklee3
- @FelixMcFelix
- @ikkerens
- @JellyWX
- @james7132
- @KamranMackey
- @Lakelezz
- @LavaToaster
- @nickelc
- @peppizza
- @SadiinsoSnowfall
- @SinsofSloth
- @sam-kirby
- @Th3-M4jor
- @ThatsNoMoon
- @thebongy
- @Wolvereness
Added
- [client/voice] Document VoiceGatewayManager interface (@FelixMcFelix) c:7647e1e
- [misc] Describe the
unstable_discord_api
feature (@acdenisSK) c:0b1fc27 - [gateway] Log unhandled errors when handling events in the gateway (@LavaToaster) c:2e8f968
- [model/http] Add Slash Command Gateway and REST API Support (@Baev1) [c:649f8f2]
- [framework] Add Max Delay Limits, Delay Hook, and
RateLimitInfo
(@Lakelezz) [c:aed3886] - [model] Add partial application information to the Ready event. (@KamranMackey) [c:d4caf12]
- [model] Add Default Limit And Validate When Fetching Members (@SadiinsoSnowfall) [c:f1204a8]
- [model] Add Guild::banner_url() and support animated guild icons via Guild::icon_url() (@drklee3) [c:2ef6da8]
- [model] Add sync_id and session_id fields to Activity. (@KamranMackey) [c:6240625]
- [framework] Add Reverting and Awaiting Bucket Rate Limits (@Lakelezz) [c:1589475]
- [model] Add support for stickers (@drklee3) [c:1b4d408]
- [framework] Support custom colours in the help command attributes (@acdenisSK) [c:fb1f0bf]
- [model] Add a helper method for partial comparing unicode reaction emojis (@Th3-M4jor) [c:46c74e9]
- [framework] Add summary as a brief description for groups (@Lakelezz) [c:ce66f8e]
- [framework] Add support for displaying sub-commands in plaintext help (@KamranMackey) [c:977fa19]
- [framework] Implement the
Display
andError
traits for the checkReason
(@peppizza) [c:2c9c64f] - [model] Add a helper method for comparing unicode reaction emojis (@Th3-M4jor) [c:0de77e7]
- [framework] Add sub-command support to help (@Lakelezz) [c:707752c]
- [model] Add functions to use inlined replies on
Message
(@Lakelezz) [c:35c8f7b] - [model] Implement inline replies (@ikkerens) [c:e521849]
- [voice] Implement Songbird driver configuration (@FelixMcFelix) [c:4fdbe98]
- [model] Add
guild_id
,member
, andself_video
fields to VoiceState model (@sam-kirby) [c:7034564] - [http] Allow sending files with webhooks (@JellyWX) [c:99c27fe]
- [model] Add associated constants to
EventType
and conversion methods betweenEvent
(@casey) [c:f3e4a6b]
Changed
- [model] Change
Mentionable
to return a struct that implementsDisplay
(@Wolvereness) c:2624170 - [misc] Update to tokio 1.0 and reqwest 0.11 (@nickelc) c:a27d7bb
- [model] Point to
User::nick_in
inMessage::author_nick
's documentation (@Wolvereness) [c:51dc943] - [model] Improve permission checking (@ThatsNoMoon) [c:dbb3669]
- [model] Change signatures of
Emoji
methods to requireCache
andHttp
. (@Lakelezz) [c:6aa2841] - [model] Check @ everyone and user permission overwrites for uncached users (@ThatsNoMoon) [c:12d1b22]
- [framework] Rework buckets to offer fine-grained control (@Lakelezz) [c:309bd5d]
- [framework] Clarify framework configuration dynamic_prefix docs (@drklee3) [c:0ca5813]
- [framework] Remove only one leading space in command descriptions (@acdenisSK) [c:216d579]
- [misc] Increase MSRV to 1.48 (@acdenisSK) [c:e74fd6f]
- [docs] Replace links with intra-doc links (@nickelc) [c:69cae50]
- [framework] Replace
CheckResult
with a simpleResult<(), Reason>
(@Lakelezz) [c:6e39727] - [model] Switch from
u64
tousize
to represent overflow in a message (@SadiinsoSnowfall) [c:b7b0318] - [example] Make the
ShardManagerContainer
type in example 6 public (@Daggy1234) [c:59e09d0] - [model] Expose guild id in the message delete event handlers (@SadiinsoSnowfall) [c:08bd87f]
- [voice] Move songbird and examples relying on it to the new repository (@acdenisSK) [c:be6eefe]
- [voice] Update versions for twilight and serenity-voice-model in songbird (@FelixMcFelix) [c:b3a71db]
- [model/framework] Retrieve the member from HTTP if missing in cache when calculating permissions (@JellyWX) [c:6dd66e1]
- [docs] Update the version in lib.rs to rely on any patch version in 0.9 (@acdenisSK) [c:1606e09]
- [misc] Credit the real author of the Serenity.await commit (@acdenisSK) [c:2587e6a]
- [voice] Document intents for Songbird (@FelixMcFelix) [c:49be2ab]
- [framework] Apply cooked attributes on generated functions (@acdenisSK) [c:879ae4b]
- [misc] Bump MSRV to 1.43.0 (@nickelc) [c:477925f]
- [model] Change the use of the
#[doc]
attribute onVerificationLevel
to doc comments (@nickelc) [c:2b1e2fc] - [gateway] Use the info level when notifying the user that a shard is running (@acdenisSK) [c:49ebbd7]
- [client/gateway/http/model] Introduce initial changes for v8 of the gateway (@james7132) [c:d74a0a6]
- [voice] Voice Rework -- Events, Track Queues (@FelixMcFelix) [c:fd6f08b]
- [misc] Reduce size of the crate by only including files that are necessary (@nickelc) [c:a836180]
Fixed
- [http] Fix local ratelimit bug (@chocological00 @Lakelezz) c:3d56a57 c:4f07798
- [http] Fix path to the HTTP endpoint of interaction responses (@SinsofSloth) c:fcb1daa
- [model] Fix deserialization of interactions (@acdenisSK) c:b42591c
- [model] Fix doc comments for
ReactionCollector
(@Th3-M4jor) [c:7684323] - [model] Fix the stated order of
ChannelId::messages_iter
(@acdenisSK) [c:03a1f97] - [model] Use
ApplicationId
instead ofu64
inMessageApplication
(#1158) (@sam-kirby) [c:66e7add] - [model] Use guild splash hash for splash_url() instead of icon hash (@drklee3) [c:d3ab6a7]
- [model/http] Handle 200 Response when modifying Members on API v8 (@drklee3) [c:8471f5b]
- [framework] Check for discrepancies in prefixless groups (@acdenisSK) [c:692e984]
- [framework] Check a sub-command's parent first. (@Lakelezz) [c:20043d4]
- [model] Percent encode audit log reasons to prevent missing characters or truncation (@drklee3) [c:02916dc]
- [model] Reverse the message buffer before returning messages from it (@acdenisSK) [c:e49fae4]
- [misc] Fix clippy warnings (@nickelc) [c:a7ab03e] [c:7ad3abe] [c:a42bba2] c:3282d77
- [model] Fix voice region deserialization (@KamranMackey) [c:ba85299]
- [framework] Avoid cloning the entire guild object upon a command invocation (@acdenisSK) [c:ac23e19]
- [framework] Fix typo in check-docs. (@Lakelezz) [c:5fea8e4]
- [example] Fix typo of the strikethrough option in the framework example (@thebongy) [c:177adbf]
- [model] Fix url for animated emojis in
EmojiIdentifier
(@AgathaSorceress) [c:e8ae00f] - [model] Use the correct bits for privileged intents (@FelixMcFelix) [c:2225c8d]
- [voice] Handle Voice close codes, prevent Songbird spinning WS threads (@FelixMcFelix) [c:79c506e]
- [model] Fix serialization of
PermissionOverwrite
s (@acdenisSK) [c:8fb18e6] - [model] Correctly set gateway to v8 and fix
Permission
deserialisation (@FelixMcFelix) [c:b1bcc67] - [framework] Allow missing documentation for generated statics and functions (@acdenisSK) [c:9cc30c3]
Removed
- [misc] Remove
#[deprecated]
items. (@Lakelezz) c:aca54ac - [client] Remove unused event handlers for groups (@acdenisSK) [c:52f9dca]
- [framework/command_attr] Remove unnecessary
extern crate
incommand_attr
(@acdenisSK) [c:d6984a8] - [framework/command_attr] Remove recursion limit in
command_attr
(@acdenisSK) [c:4729f26] - [misc] Remove remaining instances of private
_nonexhausive
fields (@KamranMackey) [c:ac66a54]
v0.9.3
Thanks to the following for their contributions:
Added
- [command_attr/framework] Support custom colours in the help command attributes (@acdenisSK) c:1cc66b3
Fixed
- [framework] Fix invocation by defaulting ticket limit to 1. (@Lakelezz) c:1047eac
- [framework] Fix handling sub-commands in the help-system. Adds an example command with sub-command to the command framework example as well. (@Lakelezz) c:fac94f2
- [framework] Fix not setting
set_time
by default. (@Lakelezz) c:5399d44 - [framework] Check for discrepancies in prefixless groups (@acdenisSK) c:75feff2
- [command_attr/framework] Remove only one leading space in command descriptions (@acdenisSK) c:8f5a2e9
- [model] Reverse the message buffer before returning messages from it (@acdenisSK) c:1dba16a
- [model] Fix incorrect documentation for the
MessageTooLong
error (@SadiinsoSnowfall) c:8b42790
v0.8.9
Thanks to the following for their contributions:
Fixed
- [framework] Fix invocation by defaulting ticket limit to 1. (@Lakelezz) c:eaead53
- [framework] Fix handling sub-commands in the help-system. Adds an example command with sub-command to the command framework example as well. (@Lakelezz) c:b96529e
- [model] Fix incorrect documentation for the
MessageTooLong
error (@SadiinsoSnowfall) c:bb04fad
v0.9.2
Thanks to the following for their contributions:
Changed
- [misc] Update the version in lib.rs to rely on any patch version in 0.9 (@acdenisSK) c:85e5722
- [misc] Credit the real author of the Serenity.await commit (@acdenisSK) c:757e0d6
Fixed
- [framework] Avoid cloning the entire guild object upon a command invocation (@acdenisSK) c:bc78991
- [model] Only add roles that the member does not possess when calling
Member::add_roles
(@acdenisSK) c:e6fd09b