Releases: disgoorg/disgo
Releases · disgoorg/disgo
v0.15.3
v0.15.2
What's Changed
- fix voice by @TopiSenpai in a3ddd4a
- add helper to sync commands for guilds or globally by @TopiSenpai in 3dbf6a6
- simplify oauth2 by @TopiSenpai in #241
- add
CustomMessage
toAutoModerationActionMetadata
by @caneleex in #243
Breaking Changes
- removal of
oauth2.SessionController
oauth2.Session
is now a struct instead of interface- removal of
identifier
param inoauth2.Client.StartSession()
andoauth2.Client.RefreshSession()
Full Changelog: v0.15.1...v0.15.2
v0.15.1
What's Changed
handler
package improvements by @Thunder33345 in #240- add noop ratelimiter by @TopiSenpai in 24260e4
- fix some minor broken/incorrect stuff by @TopiSenpai in #237
- allow easy replacing of rest url by @TopiSenpai in #236
- add
MessageFlagSuppressNotifications
andMessageFlagFailedToMentionSomeRolesInThread
by @caneleex in 9cbba0b - add stage message types by @caneleex in 12bf0cc
- add
ConnectionTypeInstagram
by @caneleex in #234 - add
NSFW
andVideoQualityMode
toGuildStageVoiceChannelUpdate
by @caneleex in 0f4d6ca - add
StorePageAsset
cdn endpoint by @caneleex in 84cfc8d - match
MemberFlags
const names with other flags by @caneleex in 4aca7c2
Breaking
MemberFlags
consts have been renamed to follow appropriate flag naming- renamed
Router.HandleCommand
toRouter.Command
- renamed
Router.HandleAutocomplete
toRouter.Autocomplete
- renamed
Router.HandleComponent
toRouter.Component
- renamed
Router.HandleModal
toRouter.Modal
Full Changelog: v0.15.0...v0.15.1
v0.15.0
What's Changed
- voice support by @TopiSenpai in #164
- cache refactor by @TopiSenpai in #211
- simple interaction handler by @TopiSenpai in #222
- small gateway cleanup by @TopiSenpai in #213
- log unknown events & ops on debug by @TopiSenpai in #228
- add
EventGuildAuditLogEntryCreate
by @caneleex in #232 - add
after
param to audit log endpoints by @caneleex in #227 - add support for thread member pagination by @caneleex in #231
- add support for gif stickers by @caneleex in #230
- add
MemberFlags
by @caneleex in #233 - add
MessageTypeInteractionPremiumUpsell
andMessageTypeGuildApplicationPremiumSubscription
by @caneleex - add
ConnectionTypeTikTok
by @caneleex in #210 - add
GuildConnections
toRoleTag
by @caneleex in #224 - add missing
SystemChannelFlags
by @caneleex in 2f7b02b - add
IntegrationExpireBehavior
type by @caneleex in 0df3fba
Breaking
GetAuditLog
function signature was changed to include theafter
parameterGetThreadMember
function signature was changed to include thewithMember
parameterCaches.X().Get
,Caches.X().Put
,Caches.X().Remove
, etc have been replaced withCaches.X()
,Caches.AddX()
,Caches.RemoveX()
, etcWithCacheFlags
has been renamed toWithCaches
Connect
andDisconnect
have been replaced withUpdateVoiceState
Full Changelog: v0.14.1...v0.15.0
v0.14.1
What's Changed
- add role connections by @caneleex and @TopiSenpai in #219
- add
DefaultForumLayout
by @caneleex in #216 - add
LocaleIndonesian
by @caneleex in d1911d5 - add webhook URL parsing by @jolheiser in #221
- add some missing guild endpoints by @caneleex in #220
- add prefix to
DefaultSortOrder
consts by @caneleex in b0b2fe2 - rename some fields in
Application
to match the api naming by @caneleex in 2b22c86
Breaking
WelcomeScreen
inGuild
was renamed toGuildWelcomeScreen
DefaultSortOrder
consts now include theDefaultSortOrder
prefixCustomInstallationURL
was renamed toCustomInstallURL
,InstallationParams
were renamed toInstallParams
,CoverURL(...)
was renamed toCoverImageURL(...)
andInstallationParams
were renamed toInstallParams
inApplication
New Contributors
- @Pringlers made their first contribution in #214
- @jolheiser made their first contribution in #221
Full Changelog: v0.14.0...v0.14.1
v0.14.0
What's Changed
- Add pagination limit as a param for GetMembers() by @beachasaurus-rex in #212
- add support for nsfw application commands by @TopiSenpai in #207
- new select menu types by @TopiSenpai in #205
- fix rare ratelimit hits due to prioritizing the
reset
header overresetAfter
header by @TopiSenpai in ee9c030
…
Full Changelog: v0.13.22...v0.14.0
v0.13.22
What's Changed
- move json package into its own module https://github.com/disgoorg/json by @TopiSenpai in #206
- add
RegexPatterns
toAutoModerationTriggerMetadata
by @caneleex in #201 - add
UserFlagActiveDeveloper
by @caneleex in #208 - add
ApplicationID
toMessage
by @caneleex in 4049f4c - remove
GuildFeaturePrivateThreads
by @caneleex in 1855c7f - rename
Stickers
toStickerItems
by @caneleex in 65d39b8
Breaking
GuildFeaturePrivateThreads
was removedStickers
inMessage
were renamed toStickerItems
Full Changelog: v0.13.21...v0.13.22
v0.13.21
What's Changed
- add PremiumTypeNitroBasic by @caneleex in 903df64
- update guild features by @caneleex in 5f83211
- update
snowflake
module to fix issues with decoding someGuildCreate
events by @TopiSenpai in 2e94ec6 - add
SetFooterIconf
,SetImagef
,SetThumbnailf
andSetURLf
by @itasli in #204 - add more automod audit log types + fields by @caneleex in #189
- update oauth2 connections by @caneleex in 9910965
- add default sort order to forums by @caneleex in 0f47660
- add missing fields to
GuildForumChannelCreate
by @caneleex in d5b5254 - fix missing
guild_id
in GuildForumChannels by @TopiSenpai in 1624689 - add
Flags
toGuildForumChannelUpdate
by @caneleex in bdac2eb
New Contributors
Full Changelog: v0.13.20...v0.13.21
v0.13.20 - Forum Channel Updates
What's Changed
- implement recent forum updates by @caneleex in #197
- populate
GuildID
inMessage
s from interactions by @TopiSenpai in 9ebbc6e
Full Changelog: v0.13.19...v0.13.20
v0.13.19 - Pagination and Improved Presence UX
What's Changed
- pagination helpers by @TopiSenpai in #183
- improve presence UX by @caneleex in #196
- payload type consistency fixes by @caneleex in #198
- add
JumpURL()
toMessage
by @caneleex in 97dd956 - add
GuildFeatureInvitesDisabled
by @caneleex in #192 - rename
CommandNameLocalizations
toNameLocalizations
by @caneleex in 31933fc - replace
rest.UpdateSelfNick
withrest.UpdateCurrentMember
by @caneleex in #199
Breaking
gateway.WithPresence(...)
was renamed togateway.WithPresenceOpts(...)
andgateway.NewXPresence(...)
funcs were renamed togateway.WithXPresence(...)
. This change makes all presence data optional, meaning you won't have to pass unwanted data on every presence update.
Example:
bot.WithGatewayConfigOpts(
gateway.WithPresenceOpts(gateway.WithListeningActivity("music")),
...
)
New funcs:
gateway.WithOnlineStatus(...)
gateway.WithAfk(...)
gateway.WithSince(...)
- some payload field types were changed to match the behavior of the Discord API
CommandNameLocalizations
fields were renamed toNameLocalizations
- the
limit
parameter inrest.GetGuildScheduledEventUsers
was moved rest.UpdateSelfNick
was replaced withrest.UpdateCurrentMember
as the old endpoint is deprecated (structs were also renamed accordingly)MaxAgree
inInviteCreate
was renamed toMaxAge
(this probably didn't even need to be mentioned since no one complained lol)
Full Changelog: v0.13.18...v0.13.19