Skip to content

Releases: bwmarrin/discordgo

DiscordGo v0.29.0

24 May 11:21
6e8fa27
Compare
Choose a tag to compare

What's Changed

Breaking changes

  • Added banner parameter to UserUpdate #1509
  • Type of Activity.ApplicationID was changed to json.Number #1513
  • AuditLogChangeKeyPulibUpdatesChannelID was renamed to AuditLogChangeKeyPublicUpdatesChannelID #1574

New features

Additions

  • Add MessageAttachment.Flags #1626
  • Add MessageAttachment.Waveform and MessageAttachment.DurationSecs #1618
  • Add GuildAuditLogEntryCreate.GuildID #1367
  • Add onboarding and server guide audit log actions #1532
  • Add Session.GatewayWriteStruct #1409
  • Add AutomoderationActionMetadata.CustomMessage #1515
  • Add new permissions #1411
  • Add ChannelUpdate.BeforeUpdate #1539
  • Add integration events #1545
  • Add Message.Poll #1541
  • Add ApplicationCommandInteractionData.GetOption and ApplicationCommandInteractionDataOption.GetOption #1535
  • Add VoiceRegion.Deprecated, VoiceRegion.Optimal and VoiceRegion.Custom #1571
  • Add MessageReferenceType #1595
  • Add MessageSnapshot and Message.MessageSnapshots #1604
  • Add SubscriptionDelete event #1607
  • Add intents for guild and direct message polls #1612
  • Add User.DisplayName #1609
  • Add new features #1619
  • Add GuildStickersUpdate event #1614

Other changes

  • Fix A-z range emoji regex #1585
  • Expose Session.request as Session.RequestRaw #1560

Special thanks

Full Changelog: v0.28.1...v0.29.0

DiscordGo v0.28.1

01 Apr 13:32
da9e191
Compare
Choose a tag to compare

Hi all! This release, once again, only bumps semantic version of the library and does not contain any new fixes nor features.
Sorry for the inconvenience! See previous release for changelog.

DiscordGo v0.28.0

01 Apr 13:26
68c6268
Compare
Choose a tag to compare

Changelog

Breaking changes

  • ChannelEdit.Position is now a pointer #1385
  • Button.Emoji is now a pointer #1475
  • SelectMenuOption.Emoji is now a pointer #1476
  • Components and Embeds in MessageEdit are now pointers #1483
  • WebhookEdit and WebhookEditWithToken now return *Webhook, instead of *Role #1497
  • AuditLogGuildScheduledEventUpdare was renamed to AuditLogGuildScheduledEventUpdate #1370
  • Type of Message.StickerItems was changed to []StickerItem #1494
  • withMember parameter was added to Session.ThreadMember and Session.ThreadMembers #1325
  • limit parameter was added to Session.ThreadMembers #1325

Features

  • Onboarding #1401
  • Default values for auto-populated select menus #1452
  • Role icons #1334

Additions

  • Add support for usernames without disciminator #1387
  • Add WebhookParams.ThreadName #1412
  • Add SuppressNotification and IsVoiceMessage message flags #1428
  • Add MessageSend.Flags #1427
  • Add FailIfNotExists and SoftReference to Message #1376
  • Add MessageSend.StickerIDs #1340
  • Add ApplicationCommandInteractionData.CommandType #1362
  • Add AuditLogOptions.IntegrationType #1440
  • Add AuditLogOptions.ApplicationID #1380
  • Add auto moderation audit log actions and options #1371
  • Add monetization audit log actions #1442
  • Add BotHTTPInteractions and ActiveBotDeveloper user flags #1465
  • Add ThreadMember.Member #1325
  • Add Member.Flags #1499
  • Add Member.DisplayName #1426
  • Add Attachments to InteractionResponseData, WebhookEdit and WebhookParams #1392
  • Add Session.ShouldReconnectVoiceOnSessionError #1350
  • Add Role.Flags #1410
  • Add UpdateCustomStatus #1425
  • Add Spanish LATAM locale #1496
  • Add GuildDirectory and GuildMedia channel types #1514

Other changes

  • Fix error shadowing in WebhookEditWithToken #1372
  • Remove remove duplicated slash in EndpointGuildTemplate #1395
  • Fix incorrect AuditLogOptionsType values #1413
  • Allow Components and Embeds in MessageEdit to be set to [] #1483
  • Allow ChannelEdit.Position to be set to 0 #1385
  • Fix BUTTON_COMPONENT_INVALID_EMOJI error for Button #1475
  • Fix BUTTON_COMPONENT_INVALID_EMOJI error for SelectMenuOption #1476

Special thanks

Full Changelog: v0.27.1...v0.28.0

DiscordGo v0.26.3

11 Jan 14:55
97c1178
Compare
Choose a tag to compare

Hi all! This release contains backported fixes for unomitted empty Emoji fields in SelectMenuOption and Button structs.
Previously this would prevent bots from sending / editing select menu and button components, if the requests did not change or include the said field.

DiscordGo v0.25.2

11 Jan 14:56
dc6b552
Compare
Choose a tag to compare

Hi all! This release contains backported fixes for unomitted empty Emoji fields in SelectMenuOption and Button structs.
Previously this would prevent bots from sending / editing select menu and button components, if the requests did not change or include the said field.

DiscordGo v0.24.2

11 Jan 14:56
20c19bd
Compare
Choose a tag to compare

Hi all! This release contains backported fixes for unomitted empty Emoji fields in SelectMenuOption and Button structs.
Previously this would prevent bots from sending / editing select menu and button components, if the requests did not change or include the said field.

DiscordGo v0.25.1

15 Mar 02:19
b14883a
Compare
Choose a tag to compare

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on this version, please update to this patch. Some of Voice API may stop working in previous patches on March 15th.

DiscordGo v0.24.1

15 Mar 02:20
35477eb
Compare
Choose a tag to compare

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on this version, please update to this patch. Some of Voice API may stop working in previous patches on March 15th.

DiscordGo v0.26.2

14 Mar 23:49
6957f19
Compare
Choose a tag to compare

This is a backport of a voice UDP handshake change recently made by Discord.
You can read more about the change here. And you can find the list of versions with the fix here.

⚠️ If you have any voice related functionality on v0.26.x versions, please update to this patch. Some of the Voice API may stop working in previous patches on March 15th.

DiscordGo v0.27.1

09 Mar 23:44
cd4f875
Compare
Choose a tag to compare

Hi everyone. This is a out-of-schedule release, due to a recent breaking change made by Discord in voice API.

⚠️ If you have any voice related functionality, please update to this version. Voice API in previous versions will stop working on March 15th.

What's changed

Fixes

  • Use 74 byte handshake in voice UDP connection #1343
  • WithContext option did not have effect on the request sent by RequestWithLockedBucket #1337
  • ThreadMember.Flags has not been properly serialized #1335

Other changes

  • Add GIF sticker format #1330

Special thanks to @LightningDev1 and @armsnyder.

Full Changelog: v0.27.0...v0.27.1