Skip to content

Releases: disgoorg/disgo

v0.15.2

01 Mar 21:24
2ac4b5d
Compare
Choose a tag to compare

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 to AutoModerationActionMetadata by @caneleex in #243

Breaking Changes

  • removal of oauth2.SessionController
  • oauth2.Session is now a struct instead of interface
  • removal of identifier param in oauth2.Client.StartSession() and oauth2.Client.RefreshSession()

Full Changelog: v0.15.1...v0.15.2

v0.15.1

16 Feb 15:05
604780d
Compare
Choose a tag to compare

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 and MessageFlagFailedToMentionSomeRolesInThread by @caneleex in 9cbba0b
  • add stage message types by @caneleex in 12bf0cc
  • add ConnectionTypeInstagram by @caneleex in #234
  • add NSFW and VideoQualityMode to GuildStageVoiceChannelUpdate 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 to Router.Command
  • renamed Router.HandleAutocomplete to Router.Autocomplete
  • renamed Router.HandleComponent to Router.Component
  • renamed Router.HandleModal to Router.Modal

Full Changelog: v0.15.0...v0.15.1

v0.15.0

24 Jan 15:04
1030fa9
Compare
Choose a tag to compare

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 and MessageTypeGuildApplicationPremiumSubscription by @caneleex
  • add ConnectionTypeTikTok by @caneleex in #210
  • add GuildConnections to RoleTag 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 the after parameter
  • GetThreadMember function signature was changed to include the withMember parameter
  • Caches.X().Get, Caches.X().Put, Caches.X().Remove, etc have been replaced with Caches.X(), Caches.AddX(), Caches.RemoveX(), etc
  • WithCacheFlags has been renamed to WithCaches
  • Connect and Disconnect have been replaced with UpdateVoiceState

Full Changelog: v0.14.1...v0.15.0

v0.14.1

17 Dec 14:25
Compare
Choose a tag to compare

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 in Guild was renamed to GuildWelcomeScreen
  • DefaultSortOrder consts now include the DefaultSortOrder prefix
  • CustomInstallationURL was renamed to CustomInstallURL, InstallationParams were renamed to InstallParams, CoverURL(...) was renamed to CoverImageURL(...) and InstallationParams were renamed to InstallParams in Application

New Contributors

Full Changelog: v0.14.0...v0.14.1

v0.14.0

29 Nov 19:22
5e33848
Compare
Choose a tag to compare

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 over resetAfter header by @TopiSenpai in ee9c030

Full Changelog: v0.13.22...v0.14.0

v0.13.22

18 Nov 22:54
Compare
Choose a tag to compare

What's Changed

  • move json package into its own module https://github.com/disgoorg/json by @TopiSenpai in #206
  • add RegexPatterns to AutoModerationTriggerMetadata by @caneleex in #201
  • add UserFlagActiveDeveloper by @caneleex in #208
  • add ApplicationID to Message by @caneleex in 4049f4c
  • remove GuildFeaturePrivateThreads by @caneleex in 1855c7f
  • rename Stickers to StickerItems by @caneleex in 65d39b8

Breaking

  • GuildFeaturePrivateThreads was removed
  • Stickers in Message were renamed to StickerItems

Full Changelog: v0.13.21...v0.13.22

v0.13.21

31 Oct 12:33
Compare
Choose a tag to compare

What's Changed

  • add PremiumTypeNitroBasic by @caneleex in 903df64
  • update guild features by @caneleex in 5f83211
  • update snowflake module to fix issues with decoding some GuildCreate events by @TopiSenpai in 2e94ec6
  • add SetFooterIconf, SetImagef, SetThumbnailf and SetURLf 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 to GuildForumChannelUpdate by @caneleex in bdac2eb

New Contributors

Full Changelog: v0.13.20...v0.13.21

v0.13.20 - Forum Channel Updates

14 Sep 21:18
f04f463
Compare
Choose a tag to compare

What's Changed

  • implement recent forum updates by @caneleex in #197
  • populate GuildID in Messages from interactions by @TopiSenpai in 9ebbc6e

Full Changelog: v0.13.19...v0.13.20

v0.13.19 - Pagination and Improved Presence UX

08 Sep 14:56
1c504a9
Compare
Choose a tag to compare

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() to Message by @caneleex in 97dd956
  • add GuildFeatureInvitesDisabled by @caneleex in #192
  • rename CommandNameLocalizations to NameLocalizations by @caneleex in 31933fc
  • replace rest.UpdateSelfNick with rest.UpdateCurrentMember by @caneleex in #199

Breaking

  • gateway.WithPresence(...) was renamed to gateway.WithPresenceOpts(...) and gateway.NewXPresence(...) funcs were renamed to gateway.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 to NameLocalizations
  • the limit parameter in rest.GetGuildScheduledEventUsers was moved
  • rest.UpdateSelfNick was replaced with rest.UpdateCurrentMember as the old endpoint is deprecated (structs were also renamed accordingly)
  • MaxAgree in InviteCreate was renamed to MaxAge (this probably didn't even need to be mentioned since no one complained lol)

Full Changelog: v0.13.18...v0.13.19

v0.13.18 - Gateway Resume URL Handling

30 Aug 17:28
6ea9ab4
Compare
Choose a tag to compare

What's Changed

  • implement gateway resume URL handling by @caneleex in #186
  • replace DeleteMessageDays with DeleteMessageSeconds and make rest.AddBan take a time.Duration by @caneleex in #195
  • add MessageURL format to Message by @TopiSenpai in 9f10939
  • add ApplicationCommands to AuditLog by @caneleex in #193
  • add Scopes to BotIntegration by @caneleex in #190

Breaking Changes

  • rest.AddBan now takes a time.Duration instead of an int of deleteMessageDays

Full Changelog: v0.13.17...v0.13.18