Releases: serenity-rs/serenity
v0.7.8
v0.8.5
v0.7.7
v0.8.4
v0.7.6
v0.8.3
Another bugfix release. This time it fixes a panic that would occur when using a string delimiter and messages contained a unicode character after the delimiter.
Thanks to the following for their contributions:
Fixed
- [framework] Fix a panic when parsing unicode characters after a string delimiter (@acdenisSK) c:7f04ecf c:9ebd779
v0.8.2
This is a release for a critical bugfix.
In an attempt to fix one thing, other things broke. Any time Serenity made a request to a POST or PUT endpoint (such as creating reactions or banning users), Discord would return HTTP 400. This release corrects that.
Thanks to the following for their contributions:
Fixed
v0.8.1
This is the last release for the 0.8.x series. 0.9.x will contain async/await support!
It is mostly comprised of bugfixes and quality of life changes.
Note
While this is a minor release, a change that is technically breaking has been included. Some MessageBuilder
methods were forgotten about when changing builders to mutably borrow in 0.8.0. This release fixes that.
Thanks to the following for their contributions:
- @acdenisSK
- @bikeshedder
- @Elinvynia
- @KamranMackey
- @Lakelezz
- @MaxOhn
- @natsukagami
- @nitsuga5124
- @Noituri
- @NovusTheory
- @TitusEntertainment
- @vivianhellyer
Added
-
[model] Add
guild_id
into theReaction
model struct (@Elinvynia) c:820d50e -
[model] Add missing
guild_id
to various events (@NovusTheory) c:3ca41fd -
[model] Add support for client statuses (@KamranMackey) c:5f9a27a
-
[http] make error module public (@vivianhellyer) c:d2b19a2
-
[builder] Reexport
Timestamp
from the builder's module. (@acdenisSK) c:3a313c8 -
[model] Implement various
kick_with_reason()
methods (@nitsuga5124) c:5b0e9f3
Changed
-
[framework] If finding the argument fails, return to the original position (@acdenisSK) c:e005ef1
-
[framework] Display groups without commands in help. (@Lakelezz) c:d6b0038
-
[model] Make
Member::distinct()
show the discriminator as a 4-digit number (@natsukagami) c:a23acc7 -
[utils] &mut self instead of mut self for MessageBuilder methods (@MaxOhn) c:91f10dd
-
[utils] Implement
Color
type alias toColour
(@Elinvynia) c:c3d5264 -
[http] Only set the content type header if there's a body (@acdenisSK) c:d851fea
-
[framework] Store command names in lowercase when case-insensitivity is on (@acdenisSK) c:8bba7b0
Fixed
-
[misc] Fix release dates (@bikeshedder) c:f27c7c1
-
[framework/docs] Fill in the missing attribute options (@acdenisSK) c:683ff27
-
[http/docs] Fix link to the
fire
method (@acdenisSK) c:1361b33 -
[framework] Fix strikethrough options refusing to accept
name = value
syntax (@acdenisSK) c:581eb2f -
[framework/docs] Fix a broken link in docs (@Elinvynia) c:48c4b59
-
[misc] Fix a typo in the message builder example (@TitusEntertainment) c:f2d0ad5
-
[framework] Fix
check_in_help
being unaccounted for (@acdenisSK) c:a692bcd -
[http] Support image URLs in
add_file
(@Elinvynia) c:61bcfbc -
[http] Add impls for borrowed
Arc
s toCacheHttp
(@acdenisSK) c:4b67d8e
Removed
- [all] Remove usage of deprecated
std::error::Error
functions (@acdenisSK) c:ec306ee
v0.7.5
v0.8.0
The next major release of Serenity, coupled with improvements, bugfixes and some breaking changes.
group!
is now #[group]
To stay consistent with the #[command]
, #[help]
and #[check]
macros,
the function-like group!
procedural macro has also joined in to
the squad of the attribute procedural macros.
Thanks to the following for their contributions:
- @acdenisSK
- @CarlGroth
- @Erk-
- @ikkerens
- @Lakelezz
- @LeSeulArtichaut
- @Mendess2526
- @nickelc
- @TheUnitedStatesOfAmerica
- @zeyla
Added
- [framework] Allow multiple examples in commands (@Mendess2526) c:08d894e
- [gateway] Add support for receiving custom statuses (@Erk-) c:f897a8d
Changed
- [http] Rename 'raw' module to 'client' (@zeyla) c:8326dc7
- [http] Rework ratelimit structure (@zeyla) c:5dbe078
- [cache/http] Use
CacheRwLock
inCacheAndHttp
(@Lakelezz) c:28a91c6 - [framework] Apply case-insensitivity on prefixes (@acdenisSK) c:b2c951d
- [framework] Turn off the
owner_privilege
option (@acdenisSK) c:d4b45f4 - [model] Ensure nullable Discord API values are optional in audit log fields (@ikkerens) c:3a3f9b3
- [framework] Turn the function-like group macro to an attribute macro (@acdenisSK) c:5b01290
- [http] Utilise Discord's new precision and reset-after headers (@acdenisSK) c:6916bfc
- [http] Change
AttachmentType
to useCow
s instead (@ikkerens) c:b5deb39 - [framework] Format the list of attribute options with tables (@acdenisSK) c:3c2f9ad
- [framework] Impose thread-safety requirements on the event handlers (@acdenisSK) c:3a449ee
- [framework] Deduplicate Client initialisation code (@acdenisSK) c:e807288 c:ab7f631
- [client/gateway] Add an option to turn off guild subscriptions (@acdenisSK) c:db5a09e
- [framework] Interpret doc-comments as the description attribute (@acdenisSK) c:cc2f918
- [framework] Account for checks in the help command (@acdenisSK) c:240d3e6
- [framework] Add documentation to the
check
macro (@acdenisSK) c:0b3ad00 - [model] Mark the
Event
enum as untagged (serde) ([@CarlGroth oth]) c:173f7fa - [model] Add new auditlog type enums (@ikkerens) c:aed4b24
- [framework] Abuse the compiler to do type checking for us (@acdenisSK) c:d6699c2
- [meta] Upgrade to reqwest v0.10.0 (@nickelc) c:69f2dff
Fixed
- [http] Fix crash due to Bearer token not having the 'email' scope (@LeSeulArtichaut) c:ae0acd0
- [model] Fix
Guild::edit_role_position
example (@LeSeulArtichaut) c:346a7fe - [utils] Fix compilation of the
utils
feature without themodel
feature (@Erk-) c:487fa04
Removed
- [framework] Get rid of the
Arc
implementation forFramework
(@acdenisSK) c:05044b6 - [client] Turn the function-like group macro to an attribute macro (@acdenisSK) c:5b01290
- [http] Remove april fools functions (@TheUnitedStatesOfAmerica) c:caeeda1