Skip to content

Releases: discord-net/Discord.Net

v3.17.1

19 Jan 10:59
bb58d71
Compare
Choose a tag to compare

[3.17.1] - 2025-01-19

This minor release addresses the dependency issue brought in 3.17.0, fixes some bugs and features a few neat little additions.

Added

  • #3056 Add IAutomodRule.MentionRaidProtectionEnabled (0e9caf3)
  • #3052 Added Header and Subtext to the Format class (0174745)

Fixed

  • #3057 Use 8.0.x dependencies for net6 support (50aa278)
  • #3049 Task.Delay(0) => Task.CompletedTask (b5f5df0)
  • #3014 An AddSlashCommand overload should be AddAutocompleteCommand in ModuleBuilder (35e8122)
  • #3053 DiscordSocketClient.GetEntitlementsAsync requiring unused BaseDiscordClient parameter (d828cd8)

Misc

New Contributors

Full Changelog: 3.17.0...3.17.1

v3.17.0

20 Dec 20:36
bc9d1d6
Compare
Choose a tag to compare

[3.17.0] - 2024-12-20

This release comes with added .NET9 target (and .NET8 for that matter).
And also fixed a number of issues and brings some new features aswell.

Important notice

This is probably going to be the last Discord.Net release coming out before a limited set of breaking changes gets introduced.
Due to Discord making breaking changes on their end, it's not always possible/sensible to hide or make workarounds for those; join our server to discuss this if you haven't already.

Added

Fixed

  • #2974 rest client add webporxy config, keep the processing logic with WebSocketProvider (292f8c4)
  • #3008 fix webhook ctor (433bdc2)
  • #3015 Fixes incorrect cast of parameters in CommandBuilder (aaa8df9)
  • #3028 Create a new scope when building interaction service modules if AutoServiceScopes = true (a1e50c4)
  • #3035 NRE in message commands in user app contexts (c78296f)
  • #3034 Entitlements starts_at is nullable (d5879c8)
  • #3031 Interaction Service failing to create scopes with some DI providers (a884ad1)
  • #3030 NRE on thread member creation without a guild user in the payload (96a8327)

Misc

New Contributors

Full Changelog: 3.16.0...3.17.0

v3.16.0

13 Sep 21:39
7f18f7f
Compare
Choose a tag to compare

[3.16.0] - 2024-09-14

This release brings support for a number of API features and adds a few nice utilities :3

Added

Fixed

Misc

  • #2979 Create a (Discord)Color using a string (bc84b94)
  • #2991 Minor optimization + make sure top level components are action rows (623a457)
  • #2995 Use interaction method in InteractionModuleBase.DeleteOriginalResponse (f65d3ad)
  • #2999 Option to dump gw payloads on errors (b87ec6e)

New Contributors

Full Changelog: 3.15.3...3.16.0

v3.15.3

21 Jul 16:34
13ec6a0
Compare
Choose a tag to compare

[3.15.3] - 2024-07-21

This release brings support for application owned custom emojis and fixes a number of bugs within the library.

Added

Fixed

  • #2958 crash when poll is null in RestMessageComponent (24c7605)
  • #2962 incomplete validation when ChannelFlags.RequireTag is true (f5fdfb2)
  • #2948 Fix IndexOf bug in CreateBucketId (ec0ba49)
  • #2959 Fix automod related events in the sharded client (8b6be64)
  • #2966 Fix CustomSticker.DeleteAsync() (359f6db)

Misc

New Contributors

Full Changelog: 3.15.2...3.15.3

3.15.2

18 Jun 19:18
85a13e9
Compare
Choose a tag to compare

[3.15.2] - 2024-06-18

Fixed

  • readded back empty AutocompleteAttribute ctor
  • removed validation in Emote ctor

Full Changelog: 3.15.1...3.15.2

v3.15.1

17 Jun 22:04
28d3dcd
Compare
Choose a tag to compare

[3.15.1] - 2024-06-18

This release brings some minor but useful additions and QoL changes. "It aint much but it's honest work"

Added

Fixed

Misc

New Contributors

Full Changelog: 3.15.0...3.15.1

v3.15.0

11 May 23:04
9dd67b2
Compare
Choose a tag to compare

[3.15.0] - 2024-05-12

This release brings support for polls & related gateway events, new store features and a bunch of utility attributes for interaction & text command frameworks.

Important notes:

Known Issues

  • services.AddSingleton<InteractionService>(); may fail on this version, we are working on a fix. As a temporary solution do the following:
services.AddSingleton<IRestClientProvider>(x => x.GetRequiredService<DiscordSocketClient>());

replace DiscordSocketClient with DiscordShardedClient if you use one.

Added

Fixed

Misc

New Contributors

Full Changelog: 3.14.1...3.15.0

v3.14.0-v3.14.1

18 Mar 22:00
3.14.1
439d679
Compare
Choose a tag to compare

[3.14.1] - 2024-03-19

  • Fix Discord.Net assembly version

[3.14.0] - 2024-03-19

This release brings a bunch of new Discord feature as well as some fixes.
This release also brings initial support for User Apps.
Interaction framework example for user app commands is available on our docs.

Deprecation notes

Due to deprecation of these properties in the API the following parts of the library were marked as Obsolete:

  • IsEnabledInDm properties of application commands & their corresponding builders
    • ContextTypes should be used instead.
  • EnabledInDmAttribute
    • CommandContextTypesAttribute should be used instead.
  • IMessage.Interaction
    • IUserMessage.InteractionMetadata should be used istead.

Added

Fixed

  • #2866 Allow switching voice channels without disconnecting (external clients only) (5a62ba1)
  • #2857 Receiving voice packets (use system-assigned port) (1a16f4d)
  • #2850 NRE in automod audit logs (1eb7a53)
  • #2862 Fixed a bug when creating a SelectMenuBuilder from a SelectMenuComponent incorrectly set the CustomId (6870ac5)
  • Incorrect ConnectionState of a DiscordSocketClient casted to IDiscordClient/BaseSocketClient (955fae0)
  • #2867 InteractionService.AddModulesXAsync command duplication (2787db3)

Misc

v3.13.1

11 Feb 21:04
a198702
Compare
Choose a tag to compare

[3.13.1] - 2024-02-11

This release fixes a couple of bugs within the library and adds some new features.

Added

  • #2804 Add Incident actions message types (178ff58)
  • #2805 Add AppliedTags to DiscordWebhookClient.SendXAsync (d382e5c)
  • #2700 Optional Aliasses, Summary and Remarks Properties to CommandAttribute (5a8582c)
  • #2584 Log InteractionCommand execution exceptions in Wrapped Exception (0f0f3f7)
  • #2827 44 (Add message type 44) (541571c)
  • #2837 Allow creating announcement channels (f1777de)

Fixed

  • #2801 Add null check in SelectMenuBuilder (b18cc31)
  • #2813 Incorrect json model for Guild Scheduled Events (de4b6b9)
  • #2800 Warning about missing intents not being logged (8227d70)
  • #2818 GetEventCoverImageUrl throwing NRE in case event cover image is null (138e18c)

Misc

v3.13.0

18 Nov 21:59
4994053
Compare
Choose a tag to compare

[3.13.0] - 2023-11-18

This release adds a bunch of new Discord features into the library, as well as fixes some bugs.

Added

Fixed

  • #2758 Fixed Slash Command Localizations lost after AddCommandsToGuildAsync and deleteMissing = false (8d5022a)
  • #2759 Fixed missing null checks in RoleConnectionProperties (ab3b30d)
  • #2766 Fixed UpdateAsync Remove Attachment Bug (a668757)
  • #2763 Fixed SocketKickAuditLogData User never having value (5cfec05)
  • #2770 Fixed URL encode timestamps sent as query parameters (589c58a)
  • #2774 Fixed some IDiscordClient methods are not properly implemented in clients (8baf913)
  • #2789 Fixed multiline values in short TextInputs (33e8340)

Misc

  • #2739 Remove some unnecessary async/await (86655a8)
  • #2754 Replace Moq with NSubstitute for Mocking in GuildHelperTests (b988a18)
  • #2765 Use Discord heartbeat interval in audio. (9cedfbc)
  • #2771 Extract GetDisplayAvatarUrl in IUser (b1787d8)