Skip to content

Releases: disgoorg/disgo

v0.12.6

18 Jun 09:32
0be38bc
Compare
Choose a tag to compare

What's Changed

  • rename InteractionCallback to InteractionResponse in e36b668
  • fix locked mutext when using ShardByGuildID in 172dfb2
  • fix delete application command API route by @Arden144 in #166

Breaking Changes

  • rename discord.InteractionCallbackType to discord.InteractionResponseType
  • rename discord.InteractionCallbackData to discord.InteractionResponseData

New Contributors

Full Changelog: v0.12.5...v0.12.6

v0.12.5

14 Jun 20:52
Compare
Choose a tag to compare

What Changed

  • fix incorrect return in integration_update_handler by @caneleex in 9f75fcd

Full Changelog: v0.12.4...v0.12.5

v0.12.4

11 Jun 14:09
Compare
Choose a tag to compare

Whats Changed

  • fixed route mutex not being unlocked in cleanup task
  • removed useless logger in httpserver.VerifyRequest

Full Changelog: v0.12.3...v0.12.4

v0.12.3

05 Jun 17:15
e527a8f
Compare
Choose a tag to compare

What's Changed

  • Use tryLock to clean up expired buckets by @wnxd in #163

Full Changelog: v0.12.2...v0.12.3

v0.12.2

03 Jun 12:16
b385c99
Compare
Choose a tag to compare

What's Changed

  • Fix getRouteHash concurrency safety by @wnxd in #160

Full Changelog: v0.12.1...v0.12.2

v0.12.1

01 Jun 20:14
758a43d
Compare
Choose a tag to compare

What's Changed

  • support text in voice channels in #134
  • fix LastMessageID not getting updated in MessageChannel in 33d0ea6
  • add missing WebhookMessageCreate Flags and ThreadName fields in 5019b64
  • added missing TextInputs getter in ActionRowComponent 44e9223
  • move Guild.Roles/Emojis/Stickers fields into RestGuild in 2351211

Breaking Changes

  • removed InputComponent interface & InteractiveComponent.SetID setter in 44e9223

Full Changelog: v0.12.0...v0.12.1

v0.12.0

28 May 12:18
3466575
Compare
Choose a tag to compare

What's Changed

  • Fixed link by @BrandonDoesDev in #156
  • some more cache policies in d76a8f1
  • add missing attachment getters and SlashCommandResolved.Attachments field in f6505ce
  • periodically clear expired ratelimit buckets to avoid memory leak by @TopiSenpai in #157
  • lots of docs in other commits

Breaking Changes

  • rename ForEachGroup > GroupForEach
  • change Caches.GetMemberPermissions(guildID, member) discord.Permissions > Caches.GetMemberPermissions(member) discord.Permissions
  • rename cache.GroupedCacheFilterFunc > cache.GroupedFilterFunc
  • remove httpserver.WithPublicKey and require public key in bot.WithHTTPServerConfigOpts
  • change bot.WithHTTPServerConfigOpts(opts) ConfigOpt > bot.WithHTTPServerConfigOpts(publicKey, opts) ConfigOpt
  • change httpserver.New(eventHandlerFunc, opts) Server > httpserver.New(publicKey, eventHandlerFunc, opts) Server
  • rename events.XEvent to events.X
  • move ratelimiters into their parent packages
  • rename discord.ApplicationScopeX to discord.OAuth2ScopeX
  • rename discord.AccessTokenExchange to discord.AccessTokenResponse

New Contributors

  • @BrandonDoesDev made their first contribution in #156

Full Changelog: v0.11.5...v0.12.0

v0.11.5

20 May 18:48
Compare
Choose a tag to compare

What Changed

  • adjust latency calculation before first heartbeat has been sent & schedule heartbeat sending directly in hello in a6e8703
  • make ListenerFunc[E Event] a struct so it's comparable, cleanup event collector & make ListenerAdapter.OnEvent a pointer receiver in bf955b2

Full Changelog: v0.11.4...v0.11.5

v0.11.4

20 May 10:54
Compare
Choose a tag to compare

What Changed

  • fixed Connection.ID not being a snowflake in 6d84402
  • fixed non pointer field in MemberUpdate in 7ec4b12
  • added missing oauth2 scope & endpoint in 81eddfc

Full Changelog: v0.11.3...v0.11.4

v0.11.3

19 May 00:16
Compare
Choose a tag to compare

What Changed

  • CreateWebhook always makes webhooks of type incoming in 636f5e1
  • hotfix Party.ID is a string not a snowflake in c8154ff

Full Changelog: v0.11.2...v0.11.3