Closed
Conversation
2aace1e to
2b9f164
Compare
2b9f164 to
5337af8
Compare
5337af8 to
2d2a6e0
Compare
4b0f324 to
dc9009e
Compare
f8a3f47 to
f355d4e
Compare
d5fc85f to
960ca62
Compare
e479543 to
0f0ba68
Compare
67d529f to
3b58fe9
Compare
3b58fe9 to
1655543
Compare
ae46a05 to
fbc0379
Compare
fbc0379 to
a20b942
Compare
a20b942 to
3809716
Compare
3809716 to
8fb34fc
Compare
9a42f6f to
38cbb0a
Compare
38cbb0a to
1b2ea17
Compare
1b2ea17 to
d25964e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.10.3→5.14.25.10.3→5.14.23.1.8→3.2.31.5.6→1.5.312.1→2.2.16.0.0-rc.2→6.3.02.2.10→2.3.10Release Notes
ben-manes/caffeine (com.github.ben-manes.caffeine:caffeine)
v3.2.3: 3.2.3Compare Source
CaffeineSpecwhen using numeric literals (#1890)CompletableFutureis in an inconsistent state (quarkus#50513)v3.2.2: 3.2.2Compare Source
v3.2.1: 3.2.1Compare Source
computeIfAbsentfor an async cache's synchronous view to retry if incompleteCaffeineSpecwhen being reflectively constructed (#1839)v3.2.0: 3.2.0Compare Source
Cache
Expirystatic factory methods (#1499)WeigherorExpiryfail on an async completion (#1687)containsKeyfor an async cache's synchronous view while in-flight (#1626)Guava
JCache
hibernate.javax.cache.urito load the configuration from a jar (#1347)discord-jda/JDA (net.dv8tion:JDA)
v6.3.0: | DAVE Protocol SupportOverview
This release adds initial support for the DAVE Protocol.
Setting up DAVE Protocol in JDA
Since the implementation for DAVE requires native library dependencies, it is not included by default by JDA. We've decided that dependencies related to audio features will no longer be included by default in the future.
Starting with JDA 6.3.0, audio features require additional setup in your
JDABuilderorDefaultShardManagerBuilder. Once you have added a dependency that implementsDaveSessionFactory, you can configure it in your builder using setAudioModuleConfig:You can use JDAVE, which provides an implementation for this interface. Note that this library requires Java 25 and only supports a few platforms for now. Read the README for setup instructions.
There are other libraries still in development that will add support for older java versions, such as libdave-jvm which uses JNI instead of the modern FFM API.
New Features
Full Changelog: discord-jda/JDA@v6.2.1...v6.3.0
Installation
Gradle
Maven
v6.2.1Overview
In this release, we have added new compliance tests that automatically validate some of our enums against the Official Discord OpenAPI Specification. This allows us to easily verify the completeness of our enums, which is why we added a lot of new enum constants. In the future, we might use this spec for serialization / deserialization internally, or even expand it to a public REST-only module.
New Features
DiscordLocale.ARABIC,DiscordLocale.HEBREWActionType.SOUNDBOARD_SOUND_CREATE,ActionType.SOUNDBOARD_SOUND_UPDATE,ActionType.SOUNDBOARD_SOUND_DELETEActionType.AUTO_MODERATION_QUARANTINE_USERActionType.CREATOR_MONETIZATION_REQUEST_CREATED,ActionType.CREATOR_MONETIZATION_TERMS_ACCEPTEDActionType.ONBOARDING_PROMPT_CREATE,ActionType.ONBOARDING_PROMPT_UPDATE,ActionType.ONBOARDING_PROMPT_DELETEActionType.ONBOARDING_CREATE,ActionType.ONBOARDING_UPDATEActionType.HOME_SETTINGS_CREATE,ActionType.HOME_SETTINGS_UPDATE,ActionType.GUILD_PROFILE_UPDATEAuditLogKey.GUILD_BRAND_COLOR_PRIMARYTargetType.SOUNDBOARD_SOUNDTargetType.ONBOARDING_PROMPT_STRUCTURETargetType.ONBOARDINGChannelType.GUILD_DIRECTORYChanges
Full Changelog: discord-jda/JDA@v6.2.0...v6.2.1
Installation
Gradle
Maven
v6.2.0Overview
This release includes a permission change that will go into effect on February 26th, 2026. Any versions older than this will not have the correct permission checks for the new rules, or only partially support the new rules.
Permission Changes (#2967)
After the deadline of February 26th, 2026, some permissions will lose capabilities in favor of new permissions.
MESSAGE_MANAGEwill no longer allow users to Pin/Unpin Messages or Bypass Slowmode. Instead, the newBYPASS_SLOWMODEandPIN_MESSAGESpermissions have been added.MANAGE_GUILD_EXPRESSIONSwill no longer allow users to Create Emojis/Stickers. Instead, the newCREATE_GUILD_EXPRESSIONSpermission has been added.MANAGE_EVENTSwill no longer allow users to Create Scheduled Events. Instead, the newCREATE_SCHEDULED_EVENTSpermission has been added.See the Discord Changelog for details.
Retrieve Role Member Counts (#2973)
The guild role member count can now be retrieved with Guild#retrieveRoleMemberCounts.
Example:
Enhanced Role Colors (#2975)
You can now access and modify the Gradient or Holographic role colors, a feature unlocked through boosting a guild.
Example:
New Features
Guild#retrieveRoleMemberCountsby @freya022 in #2973Changes
Full Changelog: discord-jda/JDA@v6.1.3...v6.2.0
Installation
Gradle
Maven
v6.1.3Bug Fixes
Full Changelog: discord-jda/JDA@v6.1.2...v6.1.3
Installation
Gradle
Maven
v6.1.2Bug Fixes
Full Changelog: discord-jda/JDA@v6.1.1...v6.1.2
Installation
Gradle
Maven
v6.1.1New Features
Bug Fixes
ModalMapping::getAsAttachmentListif no attachments were submitted by @archer-321 in #2941Full Changelog: discord-jda/JDA@v6.1.0...v6.1.1
Installation
Gradle
Maven
v6.1.0: | Modal File UploadsOverview
This release primarily adds support for file uploads in modals.
Creating a Modal accepting file uploads
Using the uploaded file
New Features
Invite.Guildfields by @freya022 in #2914Full Changelog: discord-jda/JDA@v6.0.0...v6.1.0
Installation
Gradle
Maven
v6.0.0: | New Component APIOverview
This is the stable release of JDA 6.0.0. To avoid repeating the same information again, please look at the release notes of the release candidates for detailed explanations of the breaking changes and new features.
Release Candidates
Migrating to 6.0.0
To help ease the upgrade to JDA 6.0.0, we've provided an OpenRewrite recipe that can automatically refactor parts of your codebase. This will update imports and replace a few method calls with their new equivalents in JDA 6.0.0.
However, not all breaking changes can be handled automatically — for example, code that relied on the mutability of
ActionRowwill require manual adjustments.You will also have to update your code for creating
Modalinstances. Instead of usingActionRow, modals now make use of theLabelcomponent. Read the release notes for v6.0.0-rc.4 to learn more.The OpenRewrite Recipe
Before applying the recipe, make sure you’re using version control (e.g., Git) or back up your project manually. You’ll also need to be using Gradle or Maven to apply the migration.
Gradle
We are using the OpenRewrite Gradle Plugin. Before changing your JDA version in gradle, you can add the rewrite plugin and use the recipe to migrate your code:
Once you configured this plugin, you can use the
rewriteDryRuntask to generate a git patch inbuild/reports/rewrite/rewrite.patchto see what the plugin will do with your source code. To apply the changes, either use this patch or userewriteRun.After migrating your code, you can then update your JDA version (if the rewrite hasn't done it already) and remove the plugin again.
Maven
We are using the OpenRewrite Maven Plugin. Before changing your JDA version in your pom, you can add the rewrite plugin and use the recipe to migrate your code:
Once you configured this plugin, you can use the
rewrite:dryRuntask to generate a git patch intarget/site/rewrite/rewrite.patchto see what the plugin will do with your source code. To apply the changes, either use this patch or userewrite:run.After migrating your code, you can then update your JDA version (if the rewrite hasn't done it already) and remove the plugin again.
New Features
Changes
interactionspackage by @freya022 in #2890Bug Fixes
DELETE_GUILDroute according to the Discord Docs by @kiLeo13 in #2875Full Changelog: discord-jda/JDA@v5.6.1...v6.0.0
Installation
Gradle
Maven
v6.0.0-rc.5: | Modal Components and SerializationOverview
This release adds support for more components in Modals and reintroduces serialization for all components.
Modal Components (#2913)
In the previous release, support for
StringSelectMenuwithin modals has been added. This is now expanded to also includeEntitySelectMenuandTextDisplaycomponents.The
TextDisplaycomponent has full markdown support, which allows you to create more fleshed out modals than before:Results in this modal being shown:
Serialization and Deserialization (#2906)
We've added a new
ComponentSerializerandComponentDeserializer, which can be used to serialize components intoDataObjectandFileUploadinstances. This replaces the previouscomponent.toData()from JDA 5, with a newserializer.serialize(component).Example:
New Features
StringSelectMenu.Builder#isRequired()by @freya022 in #2911Changes
TextInput.Builder#setIdwithsetCustomIdby @freya022 in #2909Bug Fixes
Full Changelog: discord-jda/JDA@v6.0.0-rc.4...v6.0.0-rc.5
Installation
Gradle
Maven
v6.0.0-rc.4: | Change to ModalsOverview
This release primarily introduces breaking changes to Modals. Discord has finally added support for
StringSelectMenuin Modals, which comes with a minor breaking change in how Modals are created.Breaking Changes
With the update to Modals, we removed legacy functionality around
ActionRowinModal. Instead of usingActionRow.of(...), modals make use of the new Label components instead.Before:
After:
With this update, you can now also use
StringSelectMenuin Modals, which can also be added using theLabelcomponent.When a user submits a modal with a select menu, the values are available in the
ModalInteractionEventusinggetValue("menu-custom-id").getAsStringList().New Features
Bug Fixes
Full Changelog: discord-jda/JDA@v6.0.0-rc.3...v6.0.0-rc.4
Installation
Gradle
Maven
v6.0.0-rc.3: | New pin permissions and removal of bot owned guildsOverview
Another release candidate for JDA 6.0.0 with some more minor breaking changes. Modal features have been moved to a new package and functionality to bot owned guilds has been removed, including
Guild#delete,Guild#transferOwnership,JDA#createGuild, andGuildManager#setMFALevel.This release candidate also includes some underlying API changes and bug fixes that are backwards compatible, as well as some minor feature additions.
Breaking Changes
Some of these changes have been integrated into the 6.0.0 OpenRewrite recipe, please re-apply it if necessary. See the release notes for 6.0.0-rc.1 for details.
interactionspackage by @freya022 in #2890New Features
Other Changes
Bug Fixes
Full Changelog: discord-jda/JDA@v6.0.0-rc.2...v6.0.0-rc.3
Installation
Gradle
Maven
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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.