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