Skip to content

fix(deps): update dependency com.discord4j:discord4j-core to v3.3.2#95

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/discord4j.version
Open

fix(deps): update dependency com.discord4j:discord4j-core to v3.3.2#95
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/discord4j.version

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Sep 25, 2021

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
com.discord4j:discord4j-core 3.1.73.3.2 age confidence

Release Notes

Discord4J/Discord4J (com.discord4j:discord4j-core)

v3.3.2

Compare Source

Discord4J v3.3.2

Discord4J v3.3.2 is now available on Maven Central with bugfixes, new features and improvements.

Commits: Discord4J/Discord4J@3.3.1...3.3.2

⚠️ Update considerations (API or behavior changes)

  • If your bot use voice features please check https://github.com/Discord4J/Discord4J/blob/master/voice/README.md for how handle the necesary steps for make your bot works with DAVE Protocol
  • This update consider using REST/Gateway V10 with all the requirements by discord (ref: https://docs.discord.com/developers/change-log#api-v10)
  • The MultipartRequest used for upload of files was updated for handle the V10 requeriments and also handle new rules for another API usades like Community Invites (b60f40c)
  • MessageCreateFields.File has a new field called "description" related to how fiels can have this value added, this make any addFile(String name, InputStream stream) method now become addFile(String name, String description, InputStream stream) where this new field is required unless you use MessageCreateFields.File#of static method

⭐️ New features

  • Add support for Targeted Invites (#​1341)
  • Add support for DAVE Protocol (#​1344)

📔 Documentation

  • Fix mention of deprecated permissions (23d3b85)
  • Fix format warnings in docs (b57ca9e)

🔨 Dependency upgrades

  • Update Gradle Wrapper and Build with JDK 25 (the target still is 1.8) (e88aa79)
  • Include JSpecify (in favor of deprecated Reactor Nullable annotations) (b0aa7d7)
  • Update Immutables to 2.12.1
  • Update discord-json to 1.7.22

💜 Contributors

Thanks to all contributors and collaborators involved in this release.
@​Azn9 @​baskwo @​Doc94

v3.3.1

Compare Source

Discord4J v3.3.1

Discord4J v3.3.1 is now available on Maven Central with bugfixes, new features and improvements.

Commits: Discord4J/Discord4J@3.3.0...3.3.1

⭐️ New features

  • Add permission for BYPASS_SLOWMODE (94d7b8b)
  • Add support for CheckboxGroup, Checkbox and RadioGroup in Modals (#​1339)
  • Add support for get reactions in message using Reaction.Type (#​1340)
  • Add support for Role Member Counts (#​1336)

🐞 Bug fixes

  • Fix MessageEdit and InteractionReplyEdit Spec when flags or components are null (#​1335)
  • Fix Reaction.Type ID (07c989d)
  • Fix CustomEmoji throw exception when come from a Reaction (78c46db)

🔨 Dependency upgrades

💜 Contributors

Thanks to all contributors and collaborators involved in this release.
@​Alex1304 @​Doc94 @​LeonTG

v3.3.0

Compare Source

A new major release of Discord4J is now available for general usage, built from months of feedback, ideas and contributions from small and large bot owners alike. We'd like to thank all collaborators, contributors, GitHub sponsors and users working with us towards this release.

Major releases allow us to reshape some architectural concepts required to either match Discord evolution as a platform, or new features we want to implement, so they come with migration steps that are detailed in our docs page for Migration Notes and API changes.

What's new in v3.3

Discord features

  • Discord API v10, providing richer error messages and mandatory gateway intents
  • Support for the new Channel Structure
  • Better spec methods to support type hierarchies like working with #​1009 Discord4J/discord-json#128
  • Support for new Components to Modals and Messages

Changelog

3.3.0
  • #​1317 Support for Modal Label Component
  • #​1320 More SelectMenu in Modals and TextDisplay Modal Support
  • #​1322 Support File Upload and Resolved Data in Modals
  • #​1323 Support self BOT member edit
  • #​1325 Support more data for ResolvedChannel
  • #​1324 Support expiresAt for Invite
  • #​1319 Add Role Colors
  • #​1307 Abstract Reaction Events
  • 6298baa Add more Guild.GuildFeature
  • d9f8732 Deprecate Guild#delete not allowed to bots
  • 50445c6 Add PartialMember.Flag.AUTOMOD_QUARANTINED_GUILD_TAG
  • 19e0095 Add ActionType#AUTO_MODERATION_QUARANTINE_USER
  • 244c4cf Support for invite flags
  • c8fd951 Fix Incorrect Guild Member Avatar format
  • #​1321 Support new Pinned Messages behaviour
  • #​1328 Fix missing public modifier for UnfurledMediaItem.LoadingState
v3.3.0-RC3
  • Support for Components V2
  • Fix missing Guild Forum Channel to Legacy Store Layout (#​1309)
  • Fix OnboardingPromptOption fails when discord send an invalid Emoji (#​1312)
  • Fix AllowedMentions when starting a thread in Spec (#​1315)
  • Fix Store member update not update all the available fields (#​1318)
v3.3.0-RC2
  • ReactionEmoji was removed, please refer to the RC release to see the replacement
v3.3.0-M2
  • Implement forum channels (#​1126)
  • Stage channels and instances (#​1021)
  • Allow populating EmbedCreateSpec.Builder from existing EmbedData (#​1137)
  • Migrate to reactor.util.retry.Retry to be compatible with future Reactor versions (#​1128)
v3.3.0-M1
  • A new channel hierarchy #​960 is required to support threads #​958
  • Better spec methods to support type hierarchies like working with #​1009 Discord4J/discord-json#128
  • Text methods in voice channels
  • Behaviour changes for the channel structure, please check the M1 release for more info
💜 Contributors

Many thanks to
@​Alex1304 @​Azn9 @​Doc94 @​dominoxp @​EasternGamer @​gmisiurny @​Gregory-Widmer @​HappyHacker123 @​jasonmokk @​kashike @​mennafabio @​quanticc @​rfresh2 @​skykatik @​sss-ryun and everyone in the Discord Server for all the help in this release.

v3.2.10

Compare Source

Discord4J v3.2.10

Discord4J v3.2.10 is now available on Maven Central with bugfixes, new features and improvements. This is a recommended upgrade to all v3.2 users.

Commits: Discord4J/Discord4J@3.2.9...3.2.10

[!IMPORTANT]
This release only contains fixs for 3.2.x, please refert to 3.3.x versions instead for new features.

🐞 Bug fixes

  • Fix MessageEdit and InteractionReplyEdit Spec when flags or components are null (#​1335)
  • Fix Reaction.Type ID (02fc704)
  • Fix CustomEmoji throw exception when come from a Reaction (8efa7fd)

💜 Contributors

Thanks to all contributors and collaborators involved in this release.
@​Alex1304 @​Doc94

v3.2.9

Compare Source

Discord4J v3.2.9

Discord4J v3.2.9 is now available on Maven Central with bugfixes, new features and improvements. This is a recommended upgrade to all v3.2 users.

Commits: Discord4J/Discord4J@3.2.8...3.2.9

[!IMPORTANT]
This release only contains fixs and minor improvements for 3.2.x, please refert to 3.3.x versions instead for new features.

⭐️ New features

  • Add support for make Create/Edit Message Spec include the CV2 flag if can (#​1305)

🐞 Bug fixes

  • Fix bad bounded type parameters in Container and Section (#​1303)
  • Fix in Webhook edit not working with Components V2 (#​1304)
  • Fix RestChannel#createMessage using a deprecated builder method and failing

⚠️ Deprecations

  • TextInput#label deprecated by discord (#​1316)

💜 Contributors

Thanks to all contributors and collaborators involved in this release.
@​Azn9 @​Doc94

v3.2.8

Compare Source

Discord4J v3.2.8

Discord4J v3.2.8 is now available on Maven Central with bugfixes, new features and improvements. This is a recommended upgrade to all v3.2 users.

Commits: Discord4J/Discord4J@3.2.7...3.2.8

[!IMPORTANT]
This release is intended to be the last one with features for 3.2.x, please refert to 3.3.x versions instead.

⚠️ Update considerations

  • Access to the conent of message without MESSAGE_CONTENT intent
    • This change aligns with Discord's current requirements regarding message content access and aims to avoid confusion caused by an empty content return.
    • For avoid an UnsupportedOperationException please make sure you have the MESSAGE_CONTENT intent
  • ApplicationInfo#getOwnerId now returns an Optional
  • ResolvedChannel#getName and ResolvedChannel#getEffectivePermissions are now Optional
  • RestGuild#modifyChannelPositions now return Void and not RoleData
  • GuildService#modifyGuildChannelPositions now return Void and not RoleData

⭐️ New features

  • Add SuperReactions (Burst) (#​1161)
    • Reaction now include methods to identify burst reactions
    • Added ReactionCountDetails for the count details in reactions
    • Add burst/type fields for MessageReaction events (#​1214)
  • Add TeamMemberRole for Teams (#​1167)
  • Improvements Guild Features from raw String to EnumSet (#​1207)
  • Add support for user-installed applications (#​1183)
  • Add support for Avatar Decoration for User and Member (#​1234)
  • Add support for Bulk Ban to Guild (#​1212)
  • Add support for Components V2 (#​1294)
  • Add support for Polls (#​1222)
    • Add support for add poll in InteractionReplyEditSpec (#​1284)
  • Add support for the Guild Resource Navigation (#​1197)
  • Add support for default values in SelectMenus (#​1163)
  • Add OptionKey for AutoMod and Integrations (#​1166)
  • Add support for Edit Current Application (#​1164)
  • Add OptionKey for Application Id (#​1208)
  • Add ActionType for Threads/Application/Monetization AuditLog Events (#​1209)
  • Add ActionType for Onboarding and Guide (#​1213)
  • Add getUser method to Interaction events (#​1217)
  • Add news Message.Type for INCIDENT/PURCHASE (#​1224)
    • Add isDeletable method to Message.Type for allow users know if that type can be deleted
  • Add isEditable to PartialMember.Flag for allow user know if that flag can be added/removed (#​1276)
  • Add Member Profile Actions for AutoMod (#​1221)
  • Add shortcut methods for ChatInputInteractionEvent to get option values (#​1226)
  • Add new Permissions
    • Permission#USE_EXTERNAL_APPS (#​1233)
    • Permission#CREATE_GUILD_EXPRESSIONS and Permission#CREATE_EVENTS (#​1177)
  • Add missing fields in ApplicationInfo (#​1236)
  • Add support for "thread_name" and "thread_id" in webhook execution and message actions (#​1232)
  • Add support for the enforce_nonce parameter on message creation (#​1235)
  • Add support for monetization endpoints, SKU and entitlements (#​1184)
  • Add method for get Avatar in ResolvedMember (#​1251)
  • Add Onboarding Support (#​1231)
  • Add support for the new premium button style (#​1240)
  • Add support for reason in Role/Channel change position (#​1247)
  • Add support for Application Role Connection Metadata (#​1238)
  • Add support for Application Emoji (#​1252)
  • Add support for get Voice State using REST endpoints (#​1257)
  • Add support for get StickerPack by ID (#​1259)
  • Add support for get role from Guild using REST (#​1265)
  • Add support for Guild Member Banner (#​1290)
  • Add PartialMember.Flag for id 4,5,6,7,9 (#​1286)
  • Add support for Recurrence Rule in ScheduledEvent (#​1266)
  • Add support for linked role mention (#​1285)
  • Add support for stickers and flags in Message/Webhook create request (#​1272)
  • Add support for Message Forward (#​1283)
  • Add support for Subscriptions (#​1288)
  • Add support for SoundboardSound (#​1289)
  • Update retrieve limits for guilds and guild members (#​1275)

🐞 Bug fixes

  • Fix unsigned long printing in requests (#​1129)
  • Fix code example for Modals (#​1170)
  • Fix scope of dependency com.discord4j:stores-api (#​1201)
  • Fix inconsistence in Role/Channel position modification request (#​1237)
  • Fix ReactionEmoji.Custom name can be null (#​1244)
  • Fix ConcurrentModification for WrappedGuildData#unwrap in store (#​1271)
  • Fix nullable messageAuthorId for Reaction Add Event (#​1274)
  • Fix NullPointerException in Entitlement#getEndsAt (b16d69a)

⚠️ Deprecations

  • Guild#getFeatures in favor of Guild#getGuildFeatures (#​1207)
  • Routes#NITRO_STICKER_PACKS_GET in favor of Routes#STICKER_PACKS_GET (#​1219)
  • ApplicationInfo#requireCodeGrant in favor of ApplicationInfo#botRequiresCodeGrant (#​1236)
  • ApplicationInfo#isPublic in favor of ApplicationInfo#isBotPublic (#​1236)
  • IntegrationApplication#getSummary in favor of IntegrationApplication#getDescription (#​1277)

🔨 Dependency upgrades

💜 Contributors

Thanks to all contributors and collaborators involved in this release.
@​Alex1304 @​Azn9 @​Doc94 @​dominoxp @​EasternGamer @​gmisiurny @​Gregory-Widmer @​HappyHacker123 @​jasonmokk @​mennafabio @​rfresh2 @​sss-ryun

v3.2.7

Compare Source

Discord4J v3.2.7

Commits: Discord4J/Discord4J@3.2.6...3.2.7

[!IMPORTANT]
This release only includes a change related to voice encryption, as Discord's requirements will change on November 18th.
You NEED to update to this release if you're currently using 3.2.6 and use the voice connection, or else it will stop working!

If you don't need voice, or are using either 3.2.7-SNAPSHOT or 3.3.0-SNAPSHOT, then you only need to refresh your dependencies, the snapshot versions already contain this change.

⭐️ New features

v3.2.6

Compare Source

Discord4J v3.2.6

Closed issues: Milestone
Commits: Discord4J/Discord4J@3.2.5...3.2.6

⭐️ New features

  • Add support for setting custom activities 7613e3a
    • ClientActivity#custom to set a bot custom status
    • ClientActivity#withState to include extra information to other activity types
    • Activity#getName will return the custom status if present
  • Add getDurationSeconds, getWaveform and getFlags to Attachment #​1156
  • Add ReactionAddEvent#getMessageAuthorId method #​1157
  • Implement Flags in Role #​1160

🐞 Bug fixes

  • Fix voice moves causing invalid session if done in quick succession 884a981
  • Fix unmapped integration create/update/delete events #​1158
  • Fix member getDisplayName returning incorrect value 1a8e6ae
  • Fix #​1155 and support missing Scheduled event features fa81c5b
  • Fix LocalStoreLayout using wrong type on message nonce field b8b955f

💜 Contributors

Thanks to our contributors and collaborators involved in this release: @​Azn9 @​Doc94

v3.2.5

Compare Source

Discord4J v3.2.5 is now available on Maven Central. Includes many bugfixes, improvements, new API and Discord features supported as well as one behavior change.

Stable branch: 3.2.x
Closed issues: Milestone
Full Changelog: Discord4J/Discord4J@3.2.4...3.2.5

⚠️ Behavior change

  • Exclude message content intent from IntentSet.nonPrivileged()
    • Relevant for verified bots only, if your bot is unverified and under 100 guilds this change doesn't affect you
    • Since this is our default setting, if you didn't previously set intents, make sure to switch to the following set and keep previous behavior:
GatewayDiscordClient client = DiscordClient.create(System.getenv("token"))
        .gateway()
        .setEnabledIntents(IntentSet.nonPrivileged().or(IntentSet.of(MESSAGE_CONTENT)))
        .login()
        .block();

⭐️ New features

  • Add support for the new username system (#​1147)
  • Add OAuth2 module (#​1083)
    • Allowing you to support new command permissions system
    • Fetching user connections
    • Advanced bot authorization and webhooks
    • Use it by adding discord4j-oauth2 to your dependencies and check out our examples
  • Implement guild scheduled events (#​1134)
    • New event payloads, ScheduledEvent
  • Support partial or multiple store backends (#​1152)
    • Filling the role of our legacy MappingStoreService to the new API
    • SelectiveStoreLayout and StoreFlag abstractions
    • Can disable parts of the caching system or combine backends
  • Add GuildCommandRegistrar and GlobalCommandRegistrar (Example)
  • Add ActionRow#withAddedComponent and withRemovedComponent
  • Support deleteMessageSeconds in BanQuerySpec (#​1146)
  • Implement fields for raid mention and safety alerts (#​1148)
  • Add rateLimitPerUser to all supported channels
  • Implement Application Flags (#​1131)

⚠️ Deprecations

  • BanQuerySpec#deleteMessageDays: check #​1146
  • RestGuild#modifyOwnNickname: switch to modifyCurrentMember
  • Message#suppressEmbeds: to be removed (#​1138)
  • Permission.MANAGE_EMOJIS_AND_STICKERS: for MANAGE_GUILD_EXPRESSIONS (#​1141)

🚀 Enhancements

  • Update available permissions (#​1141) (#​1151)
  • Update message flags and types (#​1142)
  • Update system channel flags
  • Ignore event type GUILD_JOIN_REQUEST_UPDATE and stop spamming log.warn on future unsupported events

🐞 Bug fixes

  • Propagate request cancellation to HttpClient (#​1153)
    • Fix potential leaks due to unprocessed responses after a cancellation
  • Return proper values in AutoModActionExecutedEvent accessors (#​1145)
  • Throw proper exception from AuditLogEntry.getResponsibleUser if it originated from a gateway event (#​1136)
  • Fix wrong variable name in GetAutoModRuleByIdAction (#​1127)

🔨 Dependency upgrades

💜 Contributors

Thanks to all contributors and collaborators involved in this release!
@​indyteo @​Doc94 @​kashike @​Gregory-Widmer @​j0rdanit0 @​Azn9

v3.2.4

Compare Source

Discord4J v3.2.4 is now available on Maven Central with bugfixes, new features and improvements. This is a recommended upgrade to all v3.2 users.

Voice module users must use this version or newer to properly connect to voice servers.

Stable branch: 3.2.x
Closed issues: Milestone
Full Changelog: Discord4J/Discord4J@3.2.3...3.2.4

⭐️ New features

  • Add asAttachment() method to option value #​1092
  • Add support for remaining select menu components #​1101
  • Add support for AuditLogEntryCreateEvent #​1113
  • Add ACTIVE_DEVELOPER User Flag #​1105
  • Add missing Intents #​1107
  • Add Flags to Member #​1115
  • Add support for the AutoMod Feature #​1074
  • Add support for command permission update event #​1124
  • Add support for invite query params #​1043
  • Add support to replace attachments when editing messages and replies 2d4093f example usage

🚀 Enhancements

  • Change implementations of getX(id/name) methods in application commands objects #​1097
  • Update Permission enum according to official discord docs #​1100
  • Update voice IP discovery to the 74-byte UDP packet protocol 7057bfc

🐞 Bug fixes

  • Fix User flags not supporting long values #​1087
  • Fix audit log messageId option using an incorrect key #​1094
  • Fix invite getExpiration return depending on temporary membership value #​1099
  • Fix workflow status badge #​1114
  • Fix deadlock affecting Router because of ParkEmissionStrategy #​1053

🔨 Dependency upgrades

💜 Contributors

Thanks to all contributors and collaborators involved in this release
@​Doc94 @​dominoxp @​j0rdanit0 @​NovaFox161 @​skykatik @​superbob

v3.2.3

Compare Source

Discord4J v3.2.3 is now available on Maven Central. We recommend this upgrade to all 3.2.x users as it includes multiple fixes and new features.

Stable branch: 3.2.x
Closed issues: Milestone
Commits: Discord4J/Discord4J@3.2.2...3.2.3

⭐️ New features and enhancements

  • Add attachment support to createInteractionResponse f344ef2
  • Add missing methods to GuildMemberUpdate #​1066
  • Add guild sticker support #​1055
    • For custom store support, check the new default methods here
  • Add support for UnicodeEmoji and Icon for Role #​1061
    • New methods: Role#getIconUrl and Role#getUnicodeEmoji
  • Add missing Embed.Type for article and GIFV #​1075
  • Handle unimplemented channel types using UnknownChannel entity, allowing access to underlying ChannelData structure 454d9c1
    • However, these channels will be excluded from methods like Guild#getChannels
  • Add localization fields to application command objects #​1080
  • Handle gateway resumeUrl, allowing less frequent reconnects in the future

🐞 Bug fixes

  • Move TweelNaclFast class to common module: fix issues due to duplicate class
  • Fix regex issue in RouteUtils under Android platform #​1067
  • Fix incorrect return for Member#getEffectiveAvatarUrl #​1065
  • Fix incorrectly caching VoiceStates for moved users under new stores #​1070
  • Fix User#getBannerUrl calling an incorrect method #​1069
  • Update Integration#isEnabled as Discord now treats this field as optional #​1072
  • Fix WebhookService#executeWebhook response type if wait = false
  • Use then operator over cast in Webhook#execute
    • In the future this method may return Mono<Message>

🔨 Dependency upgrades

💜 Contributors

Thanks to all contributors and collaborators involved in this release
@​skykatik @​NovaFox161 @​Doc94 @​dominoxp

v3.2.2

Compare Source

Discord4J 3.2.2 is now available on Maven Central, adding support for modal interactions, multiple new features and some bug fixes.

Stable branch: 3.2.x
Closed issues: Milestone
Commits: Discord4J/Discord4J@3.2.1...3.2.2

⭐️ New features

  • Modal interactions #​1059
    • New method: presentModal, takes one or more ActionRow containing TextInput components
    • New event type: ModalSubmitInteractionEvent
    • Example code here
    • Docs to be added soon
  • User timeouts #​1051
    • New method in Member#edit: communicationDisabledUntil
  • Add support for locale fields on interaction
    • New methods: Interaction#getUserLocale and Interaction#getGuildLocale
  • Add support for attachment option type on interactions
    • New method: getAttachments in the resolved interaction object
    • New value: ApplicationCommandOption.Type#ATTACHMENT (type 11)
    • See this example for usage details
  • Add missing message flags and types #​1042
  • Add equals/hashCode to rest entities #​1052
  • Add missing ChangeKey fields in audit logs #​1054
  • Add endpoint interactions validator using TweetNaclFast #​1058

🐞 Bug fixes

  • Fix channel deletions removing parent guild voice states from cache #​1044
  • Fix allowed mentions behavior with new specs #​1014
  • Fix incorrect type of USE_SLASH_COMMANDS permission value
  • Prevent NPE from using deprecated method Guild#getRegionId

📔 Documentation

  • Fix javadoc issue where using the search bar gave an invalid url

🔨 Dependency upgrades

💜 Contributors

Thanks to all contributors and collaborators involved in this release
@​Doc94 @​brielmayer @​NovaFox161 @​AnthonySkoury

v3.2.1

Compare Source

Discord4J 3.2.1 is now available on Maven Central, including bug fixes and new features like autocomplete interactions and support for text in voice channels, among others.

⚠️ Upgrade considerations

  • Experimental API change: if you directly imported InteractionCreateEvent class to use methods like deferReply, reply, etc. You'll need to migrate the type to DeferrableInteractionEvent due to the implementation of autocomplete interactions in #​1033. Check the linked issue for details.

⭐️ New features

  • Autocomplete application commands #​1033 #​1029
  • Get, edit and delete helper methods to Webhook #​1026
  • Support text in voice channels 3c1cd1a
  • Member guild avatars #​1013
  • Add resolve methods to context menu interactions #​1019 #​1007
    • getResolvedMessage and getResolvedUser
  • New channel_types in command options: getAllowedChannelTypes
  • Add PermissionOverwrite#getData #​1024
  • Add min/max value support in app command options 8990d51
  • New SessionInvalidatedEvent to be notified of that gateway lifecycle event #​1036
  • New activity flags fe81917
  • New user flag e85a257
  • New channel flag 8c49a84

🐞 Bug fixes

  • Fix global allowed mentions not taking precedence with new specs #​1015 #​1014
  • Fix cast exception on Guild#createCategory 8bd22e5 #​1030
  • Fix issue in AuditLogEntry#getChange #​1037
  • Fix performance issue when adding list elements to cached guilds #​1039
  • Fix incorrect user id in GatewayDataUpdater#onMessageCreate #​1041
  • Return proper mention for the everyone role

📔 Documentation

  • Include generated Spec sources in sources jar #​1022
  • Update embeds example in README #​1040

🔨 Dependency upgrades

💜 Contributors

Thanks to all contributors and collaborators involved in this release
@​skykatik @​Alex1304 @​j0rdanit0 @​napstr @​Doc94 @​NovaFox161 @​darichey @​danthonywalker

v3.2.0

Compare Source

A new major release of Discord4J is now available for general usage, built from months of feedback, ideas and contributions from small and large bot owners alike. We'd like to thank all collaborators, contributors, GitHub sponsors and users working with us towards this release.

Major releases allow us to reshape some architectural concepts required to either match Discord evolution as a platform, or new features we want to implement, so they come with migration steps that are detailed in our docs page for Migration Notes and API changes.

What's new in v3.2

Discord features

  • Discord API v8, providing richer error messages and mandatory gateway intents
  • Changes needed in preparation for threads, to be available in 3.3.0 snapshots
  • Reduced queries to Store as user data is provided by Discord in some payloads
  • Improved API over recent Discord additions, such as Slash commands initial response handling and resolved objects

Entity cache

Our entity cache (named Store in D4J) has been reworked and abstracted to enable more flexible implementations that can go beyond a fixed 9-Store scheme. A new default in-memory Store is provided and previous implementations are still compatible. Thanks a lot to @​Alex1304 for designing and contributing this key feature for future performance improvements.

Deeper org.immutables library usage, improving our deserialization process to reduce memory usage.

New specs API

Immutable Specs are now available in Discord4J, enabling more ways of working with API requests through Core module: easier templating, builders and Mono so you can organize your bot code to your liking. This is a very new feature so we expect to get feedback from you to make it better. Older Spec API (based on Consumer) is still available for gradual migration.

Check our docs page for Specs for more details.

Better audit log API

A major release let us fix how to work better with audit logs in D4J, requiring some API changes.

Reactor changes

We can get the most of Reactor v2020.x changes:

  • Processor usage is deprecated and replaced with Sinks/EmitResult API for sending signals programmatically
  • Improvements to retry configurations with RetrySpec
  • Non-blocking DNS resolver in Reactor Netty 1.0.x

What's next

Threads support

Discord4J v3.3 will soon start development to support threads and improve support on stage channels, features that require additional API changes.

OAuth2

We have a great contribution to support OAuth2 as a module in D4J from @​cottoncammy, unfortunately we couldn't add it to v3.2.0 on time without affecting the planned scope. Our goal is to merge it to v3.3.x branch after threads are settled in the D4J API.

Documentation

Deeper involvement in our Documentation project is planned, providing more how-to guides and sections to quickly implement most common patterns. We'll make use of the Diataxis framework to organize our articles.

Reactor

We detected places where improvements can be made after a better understanding of Reactor as a runtime, like a more compact gateway implementation that can work better with back-pressure, mainly for standalone use cases. We would like to explore these in the upcoming releases.

Distributed architectures

As we remove roadblocks like improving the performance of D4J handling an initial storm of payloads in a distributed bot, we want to spend some time building Store/Connect project implementations that can work more efficiently at large scale.

Changelog

3.2.0
  • #​1005 New methods to work with interactions
    • getReply, editReply, deleteReply, createFollowup, editFollowup, deleteFollowup
    • Prefer deferReply and deferEdit over acknowledge
  • #​1001 Add support for context menu commands
    • Check the release notes from 3.1.8 for upgrade considerations
  • #​966 Fix nullability annotations in new specs API
  • Add MultipartRequest support to message edit and interaction edit route
  • Upgrade to Reactor 2020.0.11
  • Fix ephemeral messages filtering
  • Fix missing guildId in stored VoiceStates
  • More details: Milestone
RC3
  • #​982 Add PartialMember implementation for message mentions
  • #​980 Add ApplicationCommandInteraction::getResolved
  • #​977 Add support for user banner and bannerAccentColor
  • #​975 Add InteractionValidator for webhook-mode interactions
  • deac3ac Allow editing interaction messages with a MultipartRequest
  • More details: Milestone
RC2
  • #​959 Modify channel hierarchy in preparation for threads
  • #​964 Deserialize interaction message on demand
  • More details: Milestone
RC1
  • #​799 New default JDK store, under the new entity

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@sonarqubecloud
Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@renovate renovate bot changed the title chore(deps): update dependency com.discord4j:discord4j-core to v3.1.8 chore(deps): update dependency com.discord4j:discord4j-core to v3.2.0 Sep 27, 2021
@renovate renovate bot force-pushed the renovate/discord4j.version branch from d9e9314 to de82590 Compare September 27, 2021 00:26
@renovate renovate bot force-pushed the renovate/discord4j.version branch from de82590 to f44a868 Compare March 7, 2022 16:18
@renovate renovate bot changed the title chore(deps): update dependency com.discord4j:discord4j-core to v3.2.0 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.2 Mar 7, 2022
@renovate renovate bot force-pushed the renovate/discord4j.version branch from f44a868 to a63ead6 Compare September 25, 2022 19:04
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.2 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.3 Sep 25, 2022
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.3 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.4 Mar 23, 2023
@renovate renovate bot force-pushed the renovate/discord4j.version branch from a63ead6 to 57b6a23 Compare March 23, 2023 21:14
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.4 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.5 Jun 15, 2023
@renovate renovate bot force-pushed the renovate/discord4j.version branch from 57b6a23 to 9721b95 Compare June 15, 2023 07:02
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.5 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.6 Sep 3, 2023
@renovate renovate bot force-pushed the renovate/discord4j.version branch from 9721b95 to fb1fb90 Compare September 3, 2023 18:55
@renovate renovate bot force-pushed the renovate/discord4j.version branch from fb1fb90 to b26e8f2 Compare November 16, 2024 13:04
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.6 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.7 Nov 16, 2024
@renovate renovate bot force-pushed the renovate/discord4j.version branch from b26e8f2 to 3436970 Compare April 26, 2025 18:41
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.7 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.8 Apr 26, 2025
@renovate renovate bot force-pushed the renovate/discord4j.version branch from 3436970 to 0a0ee19 Compare August 26, 2025 16:31
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.8 fix(deps): update dependency com.discord4j:discord4j-core to v3.2.9 Aug 26, 2025
@renovate renovate bot force-pushed the renovate/discord4j.version branch from 0a0ee19 to 443176c Compare October 19, 2025 21:01
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.2.9 fix(deps): update dependency com.discord4j:discord4j-core to v3.3.0 Oct 19, 2025
@renovate renovate bot force-pushed the renovate/discord4j.version branch from 443176c to 307e7b1 Compare February 17, 2026 23:49
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.3.0 fix(deps): update dependency com.discord4j:discord4j-core to v3.3.1 Feb 17, 2026
@renovate renovate bot force-pushed the renovate/discord4j.version branch from 307e7b1 to 4432326 Compare April 2, 2026 18:29
@renovate renovate bot changed the title fix(deps): update dependency com.discord4j:discord4j-core to v3.3.1 fix(deps): update dependency com.discord4j:discord4j-core to v3.3.2 Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants