Skip to content

Releases: disgoorg/disgo

v0.19.2

14 Feb 12:38
972eaa4

Choose a tag to compare

What's Changed

  • fix(component): update field name from 'value' to 'values' in CheckboxGroupComponent by @ikafly144 in #517

Full Changelog: v0.19.1...v0.19.2

v0.19.1

13 Feb 20:17
2ec1a37

Choose a tag to compare

What's Changed

  • feat: new RadioGroupComponent, CheckboxGroupComponent & CheckboxComponent by @topi314 in #510

Full Changelog: v0.19.0...v0.19.1

v0.19.0

12 Feb 19:43
733e186

Choose a tag to compare

v0.19.0

What's Changed

Note

This release includes support DAVE (E2EE voice) which will be required for all voice connections starting on March 1st 2026.
If you need help or found issues with our implementation please reach out to us via GitHub issues/discussions or our support server (see README.md for invite link).
For a basic example see: https://github.com/disgoorg/disgo/blob/v0.19.0/_examples/voice/main.go

Warning

This release includes breaking changes. Please review the Breaking Changes section below for details.
If you need help migrating please reach out to us via GitHub discussions or our support server (see README.md for invite link).

Added

Fixed

  • Fixed Members.UpdateCurrentMember to return discord.Member by @norio-nomura in #458
  • Fixed guild cache logic for unavailable states by @topi314 in #461
  • Fixed ensure open returns on invalid session by @topi314 in #466
  • Fixed identify rate limiting for gateway sharding by @topi314 in #467
  • Fixed multiple gateway logic bugfixes by @davfsa in #468
  • Fixed logical condition in ShardByGuildID method by @Qreepex in #470
  • Fixed shard ID calculation during shard splitting by @topi314 in #472
  • Fixed small component issues by @topi314 in #475
  • Fixed voice example for DCA0 audio by @cactysman in #477
  • Fixed close websocket connection before inflators by @davfsa in #485
  • Fixed data race when opening shards by @apricotbucket28 in #484
  • Fixed to only use JoinSnowflakes when array isn't empty by @merlinfuchs in #493
  • Fixed to not omit zero attachment id by @merlinfuchs in #495
  • Fixed to always immediately send initial heartbeat by @davfsa in #499
  • Fixed to prevent immediately zombieing by @davfsa in #501
  • Fixed gateway ratelimiter implementation by @davfsa in #500
  • Fixed nil pointer dereference in flags checks by @davfsa in #504
  • Fixed nil pointer dereference when failing to create client in voice example by @davfsa in #505
  • Fixed Recipients not being public on dm channel by @Qreepex in #486
  • Fixed before and after in GetEntitlementsParams not being snowflakes by @merlinfuchs in #492

Refactored

  • Refactored connection management and simplified handleMessage function by @topi314 in #473
  • Refactored to remove builders by @topi314 in #515
  • Refactored DefaultAllowedMentions configuration by @TheKodeToad in #483

Removed

Breaking Changes

  • Added support for DAVE (E2EE voice) via godave. Discord will require DAVE for all voice connections starting on March 1st 2026.
    See: https://docs.discord.com/developers/change-log#deprecating-non-e2ee-voice-calls
  • bot.Client is now a struct instead of an interface.
    Some methods have been converted to struct fields instead.
  • Removed MessageCreateBuilder, MessageUpdateBuilder, ModalCreateBuilder, WebhookMessageCreateBuilder & WebhookMessageUpdateBuilder. Use the methods on their base structs instead.
  • Removed discord.XCommandCreate, discord.XCommandUpdate, DMPermission field. Use the Contexts field instead.
  • Removed discord.Interaction ChannelID method. Use Channel method instead.
  • Removed discord.XInteractionCreate PremiumRequired method. Use CreateMessage etc. with discord.ButtonStylePremium instead.
  • Removed discord.IntentGuildEmojisAndStickers intent. Use discord.IntentGuildExpressions instead.
  • Upgraded github.com/disgoorg/json to github.com/disgoorg/json/v2 and added github.com/disgoorg/omit for nullable & optional handling.
  • Removed non context methods on bot.MemberChunkingManager & renamed to remove Ctx suffix. Use the context versions instead.
  • Replaced cache ForEach(func(entity T)) with All() iter.Seq[T].
  • gateway.Gatewat.Open now blocks until the ready event.
  • Removed guild creation API as discord dropped support for it.
  • Updated rest.Error to be returned as a pointer *rest.Error instead of a value rest.Error.
  • Added support for components v2 which includes breaking changes to component interfaces.
  • Removed global discord.DefaultAllowedMentions configuration. Use rest.WithDefaultAllowedMentions instead.

New Contributors

Full Changelog: v0.18.16...v0.19.0

v0.19.0-rc.15

06 Jan 23:37
a6614b0

Choose a tag to compare

v0.19.0-rc.15 Pre-release
Pre-release

What's Changed

  • Fixed gateway not reconnecting when gateway dial errors by @topi314 in d072b7c

Full Changelog: v0.19.0-rc.14...v0.19.0-rc.15

v0.19.0-rc.14

28 Dec 20:04
fa747a1

Choose a tag to compare

v0.19.0-rc.14 Pre-release
Pre-release

What's Changed

Full Changelog: v0.19.0-rc.13...v0.19.0-rc.14

v0.19.0-rc.13

16 Dec 13:29
af19f96

Choose a tag to compare

v0.19.0-rc.13 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v0.19.0-rc.12...v0.19.0-rc.13

v0.19.0-rc.12

09 Nov 20:50
89ea9c9

Choose a tag to compare

v0.19.0-rc.12 Pre-release
Pre-release

v0.19.0-rc.11

03 Nov 22:29
e79e3c1

Choose a tag to compare

v0.19.0-rc.11 Pre-release
Pre-release

What's Changed

  • Added ResolvedData from ModalSubmitInteractionData to UnmarshalJSON by @ikafly144 in #482
  • Fixed close websocket connection before inflators by @davfsa in #485
  • Fixed prevent data race when opening shards by @apricotbucket28 in #484
  • Fixed Activity.ApplicationID failing to unmarshal when unquoted by @topi314 in e79e3c1

Full Changelog: v0.19.0-rc.10...v0.19.0-rc.11

v0.19.0-rc.10

18 Oct 20:41
7bd477a

Choose a tag to compare

v0.19.0-rc.10 Pre-release
Pre-release

v0.19.0-rc.9

15 Oct 22:35
f391b60

Choose a tag to compare

v0.19.0-rc.9 Pre-release
Pre-release