Skip to content

Releases: discord-net/Discord.Net

v3.10.0

27 Mar 10:08
9ccd9cf
Compare
Choose a tag to compare

[3.10.0] - 2023-03-17

This release adds AutoMod support, support for webhooks in forums, text-in-stage support, and much more. Notably, this release also fixes issues with voice related to the changes to Discords voice API.

Added

  • #2507 Added selects v2 support (48fb1b5)
  • #2509 Added SendFileAsync to UserExtensions (25cfb88)
  • #2510 Added missing invite guild properties & welcome screen support (7c535b9)
  • #2520 Added ClientDisconnect event for audio client. (4cad546)
  • #2521 Added OwnerId to IThreadChannel and RestThreadChannel
  • #2521 Added ActiveDeveloper to UserProperies
  • #2523 Added emojis from Emoji 13.0, Emoji 13.1 and Emoji 14.0 (23b2822)
  • #2528 Added wildcard length quantifiers and TreatAsRegex property
  • #2530 Added application Role Connections Metadata support (37d868f)
  • #2531 Added age restricted (NSFW) application commands support (56b1a93)
  • #2537 Added RemoveModulesFromGuildAsync (7acbcfd)
  • #2560 Added app Command channel target permission (2616d35)
  • #2562 Added new message types & error codes (a3ee855)
  • #2564 Added RespondWithModal() which accepts an IModal instance as template (e7bda0f)
  • #2571 Added guild member flags (7d8d6ec)
  • #2573 Added missing VoiceChannel properties (1e21a6e)
  • #2574 Added GetCurrentUser method to DiscordRestClient (e3da96f)
  • #2574 Added GetCurrentUserGuildMemberAsync method to DiscordRestClient and RestGuild (e3da96f)
  • #2574 Added GuildFeatures property to IUserGuild (e3da96f)
  • #2575 Added Thread property to RestMessage (91e2084)
  • #2578 Added AutoMod support (673b02d)
  • #2579 Added Thread property to IUserMessage (0998285)
  • #2580 Added thread user member & thread members pagination (b085621)
  • #2582 Added IIntegrationChannel (75f3c91)
  • #2582 Added support for creating webhooks in forums (75f3c91)
  • #2590 Added FollowAnnouncementChannelAsync to INewsChannel (bb056df)
  • #2591 Added support for silent mentions (2ea8af1)
  • #2599 Added AddModalCommand to ModalBuilder with option to specify callback (50e0e59)
  • #2605 Added GuildFeatures to GuildProperties (177df2c)
  • #2603 Added support for creating forum posts with DiscordWebhookClient (e69e27a)
  • #2610 Added Text-In-Stage support & missing IVoiceChannel properties (76bb901)
  • #2613 Added AutoMod custom block message (709364a)
  • #2615 Added missing invite properties (abfa8d1)

Fixed

  • #2483 Fixed an NRE when event was changed from in channel to external or vice versa (493f604)
  • #2526 Fixed GetActiveThreadsAsync & add it to ITextChannel (bd2f719)
  • #2528 Fixed catastrophic backtracking (3b107c2)
  • #2532 Fixed permissions on deleteMissing=false (274be5d)
  • #2540 Fixed reason not being included in audit logs when calling AddBanAsync and BanAsync (e71faf7)
  • #2541 Fixed CreatePost methods for IForumChannel (a53f1df)
  • #2549 Fixed NullReferenceException caused by Options being undefined. (02d3ce6)
  • #2557 Fixed customId template generator to escape regex metachars used in … (1602437)
  • #2577 Fixed GetEventCoverImageUrl (0af835a)
  • #2600 Fixed gateway deadlock (0c27395)
  • #2606 Fixed AutoMod action executed event message being null (7b321af)

Misc

v3.9.0

23 Dec 15:25
5c9be0d
Compare
Choose a tag to compare

[3.9.0] - 2022-12-23

This release properly implements all forum features and fixes a major issue with socket connections. Additionally, TimestampTag has received a functionality revision, which may be cause for minor refactor when compiling against the new version.

Thanks to the following contributors for this release

Added

  • #2469 Add missing properties in forum & thread channels (01ae904)
  • #2501 Add new discord stuff (ed38635)
  • #2521 Add missing property & new stuff (82b772a)
  • #2520 Implemented ClientDisconnect event for audio client. (4cad546)
  • #2509 Add SendFiles to UserExtensions ( 4cad546)
  • #2528 Implement wildcard lenght quantifiers, TreatAsRegex property and solve catastrpohic backtracking (25cfb88)
  • #2531 Add Age restricted (NSFW) application commands support (60956c7)

Fixed

Misc

  • #2471 Update samples to use MessageContent intent & update v2 => v3 guide (a4d34f6)
  • #2505 Update events.cs (ea039b8)
  • #2467 Update license and icon nuspec props (11ed0ff)
  • #2306 Command execution code rework & TypeConverters auto-scope fix (6869817)
  • #2534 Fully qualify SlashCommandBuilder namespace ( 3b107c2)

v3.8.1

14 Sep 18:11
9c5f1ec
Compare
Choose a tag to compare

[3.8.1] - 2022-09-12

This release introduces bug fixes mainly targeting the ones related to App Command localizations. This release additionally changes the target API version of the library.

Thanks to the following contributers for this release

Added

  • #2437 Added scheduled event types to AuditLog ActionTypes (fca9c6b)
  • #2423 Added support for resume gateway url (d4c533a)

Fixed

  • #2443 Fixed typos of word length (adf012d)
  • #2438 Fixed http query symbol in ModifyWebhookMessageAsync (0aa381d)
  • #2444 Fixed BulkOverwriteCommands NRE (9feb703)
  • #2417 Fixed CommandService RemoveModuleMethod not removing modules (fca9c6b)
  • #2345 Fixed EmbedBuilder.Length NRE (11ece4b)
  • #2453 Fixed NRE on SlashCommandBuilder.Build method (5073afa)
  • #2457 Fixed typo in SlashCommandBuilder.AddNameLocalizationMethod (1b01fed)

Misc

  • #2462 Add additional checks for gateway event warnings (b45b152)
  • #2448 Bump to Discord API V10 (fbc5ad4)
  • #2451 Return a list instead of an array in GetModulePath and GetChoicePath methods (370bdfa)
  • #2453 Update app commands regex and fix localization on app context commands (3dec99f)
  • #2333 Update package logo (2b86a79)

v3.8.0

28 Aug 15:06
adf012d
Compare
Choose a tag to compare

[3.8.0] - 2022-08-27

Upgrade Path

This version changes the method signature of every Get*ApplicationCommandsAsync method to feature two new parameters (withLocalizations, locale), see commit 39bbd29.
Additionally, the method signature of every Send* method of IRestClient now accepts a new requestHeaders parameter, custom implementations of IRestClient need to be updated.

Thanks to the following contributers for this release

Added

  • #2384 Added support for the WEBHOOKS_UPDATED event (010e8e8)
  • #2370 Add async callbacks for IModuleBase (503fa75)
  • #2367 Added DeleteMessagesAsync for TIV and added remaining rate limit in client log (f178660)
  • #2379 Added Max/Min length fields for ApplicationCommandOption (e551431)
  • #2369 Added support for using RespondWithModalAsync<IModal>() without prior IModal declaration (500e7b4)
  • #2347 Added Embed field comparison operators (89a8ea1)
  • #2359 Added support for creating lottie stickers (32b03c8)
  • #2395 Added App Command localization support and ILocalizationManager to IF (39bbd29)

Fixed

Misc

  • #2366 Fixed typo in ChannelUpdatedEvent's documentation (cfd2662)
  • #2408 Fix sharding sample throwing at appcommand registration (519deda)
  • #2420 Fix broken code snippet in dependency injection docs (ddcf68a)
  • #2430 Add a note about DontAutoRegisterAttribute (917118d)
  • #2418 Update xmldocs to reflect the ConnectedUsers split (65b98f8)
  • #2415 Adds missing DI entries in TOC (c49d483)
  • #2407 Introduces high quality dependency injection documentation (6fdcf98)
  • #2348 Added RequiredInput attribute to example in int.framework intro (ee6e0ad)
  • #2385 Add ServerStarter.Host to deployment.md (06ed995)
  • #2405 Add a note about IgnoreGroupNames to IF docs (cf25acd)
  • #2356 Makes voice section about precompiled binaries more visible (e0d68d4 )
  • #2405 IF intro docs improvements (246282d)
  • #2406 Labs deprecation & readme/docs edits (bf493ea)

v3.7.2

02 Jun 15:53
Compare
Choose a tag to compare

[3.7.2] - 2022-06-02

Added

  • #2328 Add method overloads to InteractionService (0fad3e8)
  • #2336 Add support for attachments on interaction response type 7 (35db22e)
  • #2338 AddOptions no longer has an uneeded restriction, added AddOptions to SlashCommandOptionBuilder (3a37f89)

Fixed

  • #2342 Disable TIV restrictions for rollout of TIV (7adf516)

v3.7.1

27 May 11:44
Compare
Choose a tag to compare

[3.7.1] - 2022-5-27

This release fixes bugs with voice channel permissions and an NRE in GuildMemberUpdated

Added

Fixed

v3.7.0

24 May 08:24
Compare
Choose a tag to compare

[3.7.0] - 2022-05-24

This release brings with it Text-In-Voice channel support and Forum channel support as well as bug fixes.

Upgrade Path

Users has been changed to ConnectedUsers within voice channels. The Users property now gets all users who can view the channel rather than the connected users.

Thanks to the following contributors for this release

Added

Fixed

  • #2290 Possible NRE in Sanitize (20ffa64)
  • #2293 Application commands are disabled to everyone except admins by default (b465d60)
  • #2299 Close-stage bucketId being null (725d255)
  • #2313 Upload file size limit being incorrectly calculated (54a5af7)
  • #2319 Use IDiscordClient.GetUserAsync impl in DiscordSocketClient (f47f319)
  • #2320 NRE with bot scope and user parameters (88f6168)

v3.6.1

30 Apr 22:08
Compare
Choose a tag to compare

[3.6.1] - 2022-04-30

This release fixes a json Invalid Operation Exception when using the new permissions v2 system.

Added

Fixed

Misc

v3.6.0

28 Apr 15:28
Compare
Choose a tag to compare

[3.6.0] - 2022-04-28

This release brings along the long awaited V2 permission system into the interaction service.

Upgrade path

This release is compatible with 3.5.0 and should not require code adaptation.

Added

Fixed

  • #2260 Guarding against empty descriptions in SlashCommandBuilder/SlashCommandOptionBuilder (0554ac2)
  • #2248 Fix SocketGuild not returning the AudioClient (daba58c)
  • #2254 Fix browser property (275b833)

v3.5.0

05 Apr 19:23
Compare
Choose a tag to compare

[3.5.0] - 2022-04-05

This release brings with it bug fixes and API changes.

Upgrade path

This release changes the IGuild.GetBansAsync behavior per this commit. Any code referencing the get guild bans functions must be updated to the newer version supporting pagination.

Thanks to the following contributors for this release

Added

  • #2204 Added config option for bidirectional formatting of usernames (e38104b)
  • #2210 Add a way to remove type readers from the interaction/command service. (7339945)
  • #2213 Add global interaction post execution event. (a744948)
  • #2223 Add ban pagination support (d8757a5)
  • #2201 Add missing interface methods to IComponentInteraction (741ed80)
  • #2226 Add an action delegate parameter to RespondWithModalAsync<T>() for modifying the modal (d2118f0)
  • #2227 Add RespondWithModal methods to RestInteractinModuleBase (1c680db)

Fixed

  • #2168 Fix Integration model from GuildIntegration and added INTEGRATION gateway events (305d7f9)
  • #2187 Fix modal response failing (d656722)
  • #2188 Fix serialization error on thread creation timestamp. (d48a7bd)
  • #2209 Fix GuildPermissions.All not including newer permissions (91d8fab)
  • #2219 Fix ShardedClients not pushing PresenceUpdates (c4131cf)
  • #2225 Fix GuildMemberUpdated cacheable before entity being incorrect (bfd0d9b)
  • #2217 Fix gateway interactions not running without bot scope. (8522447)

Misc