Skip to content

Bump Discord.Net from 3.16.0 to 3.20.1 - #13

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/BotManager.Backend.Bots/Discord.Net-3.20.1
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/BotManager.Backend.Bots/Discord.Net-3.20.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 26, 2026

Copy link
Copy Markdown

Updated Discord.Net from 3.16.0 to 3.20.1.

Release notes

Sourced from Discord.Net's releases.

3.20.1

[3.20.1] - 2026-06-07

This release fixes a regression introduced in 3.20.0

Fixed

  • #​3276 Handle null VoiceChannel in SocketVoiceState constructor (61ed916)

Full Changelog: discord-net/Discord.Net@3.20.0...3.20.1

3.20.0

[3.20.0] - 2026-06-06

This release brings support for checkboxes and checkbox/radio groups in modals, and also covers the "new" message search endpoint.

Breaking changes

  • SelectMenuOptionAttribute from the Interaction Framework was renamed to EnumOptionAttribute.

Added

  • #​3232 IF modal radio buttons, and checkboxes (c95fbf6)
  • #​3268 add support for getting messages from a guild (with filters) (31fed25)
  • #​3255 add missing audit log action types (4476eea)
  • #​3265 Add GET voice-state REST wrappers (13d83da)

Fixed

  • #​3258 propagate parent module attributes to child commands (cbc61d9)
  • #​3263 strip RTP padding before DAVE decrypt (RFC 3550 В§5.1) (1a843fb)
  • #​3256 Add empty payload check (6527e71)
  • #​3264 Fix reference to PreCompiledLambdas/UseCompiledLambda (763aa79)
  • #​3271 fix for #​3269 (9abfbfd)
  • #​3272 Fix default array converter in modals & add docs for checkboxes/radio groups (527764c)

Misc

  • #​3254 user global_name description (05af64b)
  • #​3257 feat(Core): add missing JSON error codes (4272ae1)
  • #​3259 refactor(Core): rename JSON error code (504e1db)
  • #​3261 Message call data timestamp nullability (5a328a0)
  • #​3266 Add play audio sample (4d8b0bc)

New Contributors

Full Changelog: discord-net/Discord.Net@3.19.1...3.20.0

3.19.1

[3.19.1] - 2026-03-12

This release fixes some issues with libdave as well as adds some missing API coverage

Added

  • #​3226 Added Community Invites (9bb0e06)
  • #​3229 Added Modal radio/checkbox groups & checkboxes (c0fbefe)
  • #​3246 Added support for enhanced role colors ( gradient and holograpic ) (3e8aacf)

Fixed

  • #​3224 Fixed forum CreatePostWithFileAsync with V2 components (0449e53)
  • #​3231 Derived types of ContextCommandAttribute should be able to specify a RunMode in their constructor. (8556416)
  • #​3244 Fixed libdave audio issues for users joining/leaving vc, as well as empty vcs (1c534fa)
  • #​3249 GetComponentIds missing accessory component in sections (66c7409)

Misc

  • #​3219 Document new modal components (8333e4b)
  • #​3245 Patch modal docs oversights (c0bde1c)
  • #​3248 Replace a deprecated Exception in the slash command guide (f5b9d3a)

3.19.0

[3.19.0] - 2025-03-02

This release introduces libdave support as well as some fixes and misc. additions

Added

  • #​3241 libdave support (#​3222) (0195461)
  • #​3242 Added voice close code 4017 (0ea1dcb)
  • #​3221 Added missing channel types for selects in interaction framework (9c1db3f)
  • #​3228 Added BypassSlowmode permission (0dea5bb)
  • #​3233 Added optional id parameter to ThumbnailBuilder constructor (09e0fdb)
  • #​3234 Added optional id parameter to SeparatorBuilder constructor (c3a30db)
  • #​3235 Added constructor for SectionBuilder with id (b169a11)
  • #​3236 Added constructor for ActionRowBuilder with id (e05e849)
  • #​3237 Added overloaded constructor to ContainerBuilder (e3cb507)
  • #​3238 Added overloaded constructor with id to MediaGalleryBuilder (16ea091)

Fixed

  • #​3221 Fix Modal write invocation without instance (9c1db3f)

Misc

  • #​3240 Removed unnecessary checks for content in ModifyAsync (414b1a0)

3.19.0-beta.1

[3.19.0-beta.1] - 2026-01-03

This beta release brings some large much wanted updates to DNet, with the most notable change being support for more components in modals. Thanks to contributors, DNet's voice implementation has been updated to support newer encryption modes and voice gateway API versions, although there's still no libdave e2ee support, which is hopefully on its way.

Aside from the new features and fixes, DNet drops legacy SDK versions and switches to modern .NET targets (.NET8+). This also comes alongside the switch to System.Linq.AsyncEnumerable from System.Interactive.Async

Added

  • #​3172 Modal refactoring & select menu support (a476014)
  • #​3178 Add PinMessages permission (5273f1d)
  • #​3183 Update voice API to version 8 (927c905)
  • #​3189 Modal Select Components Support for IF (e8c5436)
  • #​3196 Add modify current guild member support (80fbbc2)
  • #​3198 Get Archived thread calls on text channels (ca6c9bc)
  • #​3199 Add select menu IsRequired property and fix usage of DefaultValues (0aff637)
  • #​3200 Add net10.0 build target, update deps (f205bba)
  • #​3193 Remove unsupported SDK targets (5ca29fd))
  • #​3195 Add GetRoleUserCounts REST method (dade9b2)
  • #​3207 Added UnknownComponent classes, and support to MessageComponentConverter and MessageComponentExtensions (ad8182f)
  • #​3209 Modal Components v2 Single-select Typeconverters, Rest, and Patches (1e27c99)

Fixed

  • #​3167 Incorrect casts in the legacy component builder (958d286)
  • #​3173 Remove voice gateway port stripping (0b078d7)
  • #​3174 Fix duplicated flag value in ActivityProperties enum (ebc7db8)
  • #​3186 Fix missing SelectMenu Type, ChannelTypes, DefaultValues in ComponentBuilder.AddComponent (8883596)
  • #​3190 Fix voice receiving (a468e18)
  • #​3192 fixed error on changing role icon/emoji to an image. (06510e1)
  • #​3204 Fix user status update when speaking (11a56bc)
  • #​3206 Fix AutocompleteResult.Value having no length limit (161a91e)
  • #​3210 Fix NRE in Rest Interaction Guild User Resolution (fd6e3ad)
  • #​3218 fix modal text display constructor initialization (86b885b)
  • #​3197 Correct IUserMessage.ModifyAsync precondition expression (8668092)

Misc

  • #​3169 Make ParameterChoice constructor public (9cb6ffd)
  • #​3171 Bump guild batch limit to 200 (fc0712d)
  • #​3176 Add better json type exception (ae6e7d5)
  • #​3177 Make Cacheable constructors public (e61eb51
  • #​3216 Improve .NET 9.0+ locking performance (4e95dd7)
  • #​3217 Switch lock backport package to #if defs instead (b386a0e)

New Contributors

Full Changelog: discord-net/Discord.Net@3.18.0...3.19.0-beta.1

3.18.0

[3.18.0] - 2025-07-19

This release finally brings components v2 support to stable 🎉
It did not come for free though, involving a few breaking changes, which should be minimal, but they are breaking nontheless; you can find more info in the docs.

Added

  • #​3145 add ApproximateUserAuthorizationCount (6e1f9c1)
  • #​3147 [CV2] add children component counts to IComponentContainer (f18c836)
  • #​3153 [CV2] QoL & fixes (800a234)
  • #​3156 Add user primary guild (79b455e)
  • #​3131 support POLL_RESULT (46) in MessageType enum (dc3bd76)
  • #​3162 Components v2 docs :wires: (cf66ab4)

Fixed

  • #​3138 Fix value of TextDisplayBuilder.MaxContentLength (b338d30)
  • #​3140 Fixed incorrect ComponentType in TextDisplayBuilder. (7a74f78)
  • #​3142 Fix overflow exception (0c1536d)
  • #​3146 Fixed missing Type in constructor SelectMenuBuilder(SelectMenuComponent) (c07c28d)
  • #​3148 fix(IsLoadableModule): return false for abstract classes (978f999)
  • #​3152 Guild member JoinedAt nullability (c343ce9)
  • #​3158 Certain global user properies not getting updated (f9ba642)

Misc

  • #​3139 Fix visibility of MessageComponent.Empty (35d94ca)
  • #​3144 edge case missed (1e50900)
  • #​3161 Fix guild tag badge URL helper (80b4328)

New Contributors

Full Changelog: discord-net/Discord.Net@3.18.0-beta.3...3.18.0

3.18.0-beta.3

[3.18.0-beta.3] - 2025-05-26

Fixed

  • #​3125 Add empty constructors for containers (56d6980)
  • #​3126 Include section accessories in ComponentCount() (5f2d173)
  • #​3129 Fix error when only sending components in response to interactions (b1c2fcb)
  • #​3135 Fix some CV2 oversights (35b493c)

Misc

  • #​3130 correct typo (523212a)
  • #​3127 Change comment to reflect longer polls (9f9b093)
  • #​3133 refactor(TimestampTagStyles): replace ASCII integer values with character literals (e68fa50)

New Contributors

Full Changelog: discord-net/Discord.Net@3.18.0-beta.2...3.18.0-beta.3

3.18.0-beta.2

[3.18.0-beta.2] - 2025-05-09

This beta release brings more QoL things to CV2 support and fixes some bugs discovered during testing.

Added

  • #​3119 Add component => builder converters (b729380)
  • #​3120 use Color for container AccentColor & fix action row validation (c888c84)
  • #​3123 Component search fixes & improvements (be8e6e0)

Fixed

  • #​3121 fix & improve ToBuilder methods (4ab96c7)
  • #​3122 Fix Ids in ActionRowComponent and SelectmenuComponent (57cdec7)

Misc

  • #​3108 Ensure the required gateway intent is available when connected to audio (f1ff191)

Full Changelog: discord-net/Discord.Net@3.18.0-beta.1...3.18.0-beta.2

3.18.0-beta.1

[3.18.0-beta.1] - 2025-05-08

This prerelease brings initial support for components v2!

Added

  • #​3065 Components V2 (ba78e0c)
  • #​3110 CV2 Find component by id (cc81669)

Fixed

  • #​3106 Providing multiple message flags fails to pass validations (05a0acc)
  • #​3114 Fix NRE responding with a modal info class with null required fields (2b6a912)

Misc

  • #​3107 update component limits + add ComponentCount() extension (348928a)

Full Changelog: discord-net/Discord.Net@3.17.4...3.18.0/beta.1

3.17.4

[3.17.4] - 2025-04-26

An error slipped past the review and testing, so here's the hotfix. Apologies for the inconvenience

Full Changelog: discord-net/Discord.Net@3.17.3...3.17.4

3.17.3

[3.17.3] - 2025-04-26

This release brings a few more fixes and little addition in preparation for the Components V2 release.

Added

  • #​3088 Add handler for unknown Discord dispatch events (9b79f0b)
  • #​3090 Per file attachement size limits (649f52b)

Fixed

  • #​3084 Fixed type reader/converter parsing exception (88cfbe5)
  • #​3091 Fixed modals with value type properties (a8523c5)
  • #​3094 Fix WriteSilentFramesAsync sending a partial frame at first (2da25f3)

Misc

  • #​3081 add missing gif sticker format (6f623a6)
  • #​3087 Add size in CDN.GetGuildSplashUrl (fb90701)
  • #​3092 Improved exception messages of builders (cce6274)
  • #​3096 Refactor MentionedUsers in the SocketMessage (0c3e7a8)

New Contributors

Full Changelog: discord-net/Discord.Net@3.17.2...3.17.3

3.17.2

[3.17.2] - 2025-03-09

This minor release fixes a few bugs in prepare for Component V2 update

Added

  • #​3074 Add excludeDeleted argument to GetEntitlementsAsync (9c9407b)

Fixed

  • #​3063 SocketApplicationCommand missing GuildId (c625f5f)
  • #​3064 Correct empty value exception (6e7b3c2)
  • #​3068 Consider AutoServiceScopes in autocomplete handler executions (7fb537f)
  • #​3070 Possibly fix mute & deaf state for guild users (5f6c26b)
  • #​3072 AutoServiceScopes strikes again (d71fcb1)
  • #​3073 SocketGuild.GetApplicationCommandAsync was fetching global commands (aa66928)
  • #​3078 Add EmptyServiceScope (54e8416)

Misc

  • #​3075 Make Make GetShardFor(ulong guildId) & DiscordShardedClient.GetUserAsync() public (41ad6ac)
  • #​3061 yeet FluentAssertions (52c2f0d)

New Contributors

Full Changelog: discord-net/Discord.Net@3.17.1...3.17.2

3.17.1

[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

  • #​3046 Refactor & update member search v2 (36439b6)

New Contributors

Full Changelog: discord-net/Discord.Net@3.17.0...3.17.1

3.17.0

[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

  • #​3025 Build with .NET 9 SDK (164a289)

  • #​3032 Add net8.0 and net9.0 (d780d6c)

  • #​3033 Add net8.0 and net9.0 to the metapackage (93229f6)

  • #​3005 Add StickerId to REST and WebSocket Sticker audit log data classes (8a2ea4b)

  • #​3023 Scheduled event recurrence rule (b7208d4)

  • #​3024 Support sending voice messages (5904ecd)

  • #​3036 Support for multiple subscription tiers (79fade6)

  • #​3017 Add support for keyed services. (3017f6b)

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

  • #​3021 Expose channel type property on IChannel (8b92969)
  • #​3006 Add missing permissions (6b92cc2)
  • #​3007 Allow setting SuppressNotification in webhook client (682d87e)
  • #​3027 Eliminate the waste of checking arguments under the same conditions. (f644e68)
  • #​3037 add missing overwrite perms (d2d8d73)
  • #​3038 Clamp cache size (438e31e)

New Contributors

Full Changelog: discord-net/Discord.Net@3.16.0...3.17.0

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Discord.Net
  dependency-version: 3.20.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Sep 26, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants