Skip to content

Releases: disgoorg/disgo

v0.16.2

10 Apr 18:33
4929351
Compare
Choose a tag to compare

What's Changed

  • Fix interaction events by @TopiSenpai in #264

Breaking Changes

  • Renamed events.XInteractionCreate.Channel() to events.XInteractionCreate.MessageChannel()

Full Changelog: v0.16.1...v0.16.2

v0.16.1

08 Apr 15:54
250d1c9
Compare
Choose a tag to compare

What's Changed

  • Add Channel to interactions by @caneleex in #261
  • Add OnHeartbeatAck to ListenerAdapter (fixes #263) by @caneleex in 250d1c9

Deprecations

  • ChannelID in interactions has been deprecated. Use Channel() instead

Full Changelog: v0.16.0...v0.16.1

v0.16.0

04 Apr 07:20
f689ccb
Compare
Choose a tag to compare

What's Changed

  • prevent event dispatcher goroutine from capturing only the last loop index when asynchronously handling events by @jkdlgy in #250
  • feat(gateway): add HeartbeatAck event by @ZenShibata in #253
  • allow middlewares to abort handler execution by @TopiSenpai in cb10239
  • Update permissions by @caneleex in #251
  • Refactor permissions by @caneleex in #255
  • Add guild onboarding by @caneleex in #238
  • Introduce PartialEmoji by @caneleex in #259
  • Add MaxStageVideoChannelUsers to Guild by @caneleex in #191
  • Add ApplicationFlagApplicationAutoModerationRuleCreateBadge by @caneleex in #252
  • Add json error code & message to rest.Error by @TopiSenpai in #257
  • Pass through logger from config by @iangcarroll in #260

Breaking changes

  • some permissions were renamed to match the Discord API docs
  • ReactionEmoji was replaced with PartialEmoji

New Contributors

Full Changelog: v0.15.3...v0.16.0

v0.15.3

20 Mar 20:35
8369a3b
Compare
Choose a tag to compare

What's Changed

  • fix goroutine leaks from reconnects & resumes by @TopiSenpai in #246
  • Added Len func to each XCache interface by @TisLeo in #248

New Contributors

Full Changelog: v0.15.2...v0.15.3

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
65d39b8
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