fix(deps): update dependency net.dv8tion:jda to v6#53
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
fix(deps): update dependency net.dv8tion:jda to v6#53renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
6d619dc to
b93e34b
Compare
b93e34b to
0e8ebfe
Compare
0e8ebfe to
7356104
Compare
7356104 to
b0055c5
Compare
42a8045 to
56f079e
Compare
56f079e to
a8cc091
Compare
a8cc091 to
67ea289
Compare
67ea289 to
b405385
Compare
b405385 to
20b5e22
Compare
20b5e22 to
c39f605
Compare
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
c39f605 to
78c863c
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.0.0-beta.22→6.4.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
discord-jda/JDA (net.dv8tion:JDA)
v6.4.1Bug Fixes
CheckboxGroup.Builder.setRequiredRange()incorrectly setting min and max by @replaceitem in #3065getCommandTypereading value of interaction type instead of command type by @freya022 in #3074Full Changelog: discord-jda/JDA@v6.4.0...v6.4.1
Installation
Gradle
Maven
v6.4.0Overview
This release adds support for new checkbox and radio groups in modals as well as support for voice channel effects and soundboards.
Checkboxes and Radio Groups (#3010)
You can now include checkboxes and radio groups in your modals:
When a user submits a modal with a checkbox group, the selected values can be accessed in the
ModalInteractionEventwithgetValue(groupId).getAsStringList()and radio groups usinggetValue(groupId).getAsString().New Features
Changes
ANIMATED_WEBPfor all animated assets by @freya022 in #3036CREATE_*permissions when managing/deleting our own events/emojis/stickers by @freya022 in #3061Full Changelog: discord-jda/JDA@v6.3.2...v6.4.0
Installation
Gradle
Maven
v6.3.2Overview
Small bug fix release.
Changes
minValuesis zero by @freya022 in #3023Bug Fixes
Helpers.appendCause: Add special case for circular causes by @freya022 in #3041Full Changelog: discord-jda/JDA@v6.3.1...v6.3.2
Installation
Gradle
Maven
v6.3.1Overview
This is primarily a bug fix release, but also includes a minor breaking change for emojis.
Enable users to choose the requested format of assets (#3009)
Most methods, that previously returned
ImageProxyor an image URL, now support passingImageFormatto choose a different format. This enables users to easily switch fromPNGtoWEBPor other formats.Additionally, most of the template strings used to create image URLs, such as
User.AVATAR_URL, have been deprecated in favor of the new DiscordAssets utility class. You can useDiscordAssets.userAvatar(ImageFormat.PNG, userId, avatarId)to get anImageProxyinstance and useImageProxy#getUrlto get the respective URL.New Features
Bug Fixes
Deprecations
Full Changelog: discord-jda/JDA@v6.3.0...v6.3.1
Installation
Gradle
Maven
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
v5.6.1Bug Fixes
Full Changelog: discord-jda/JDA@v5.6.0...v5.6.1
Installation
Gradle
Maven
v5.6.0: | ApplicationManager and minor improvementsOverview
This release introduces the ApplicationManager, which can be used to update the application's description and other settings through JDA.
New Features
UserSnowflakeinmoveVoiceMemberandkickVoiceMemberby @freya022 in #2852Changes
with_components=truequery param to WebhookClient requests by @Xirado in #2850Bug Fixes
Full Changelog: discord-jda/JDA@v5.5.1...v5.6.0
Installation
Gradle
Maven
v5.5.1: | Bug fixes and performance improvementsOverview
This is a small release, including a bug fix for
editCommandandeditCommandById, as well as some performance improvements for looking up members by roles.Additionally, you can now create threads with a custom slowmode.
New Features
AbstractThreadCreateAction#setSlowmodeby @replaceitem in #2842Bug Fixes
Full Changelog: discord-jda/JDA@v5.5.0...v5.5.1
Installation
Gradle
Maven
v5.5.0: | Improved voice state cache and file proxiesChanges to voice state cache (#2835)
Voice states are now cached independently of guild members. JDA can now detect when a member connects or disconnects from an audio channel, even when the member is not currently cached.
With this change, you can technically use
MemberCachePolicy.NONEand will still receive voice join / leave events, as long asCacheFlag.VOICE_STATEis enabled.To reduce the memory footprint, we now only cache voice states if the member is connected to an audio channel. While disconnected, we will not keep the voice state cached, meaning we lose track of muted/deafend state and return an "empty" voice state for
Member#getVoiceState.Improvements to FileProxy (#2782 and #2727)
The FileProxy, ImageProxy, and AttachmentProxy now all support downloadAsFileUpload to easily stream a Discord proxies URL to a message.
New Features
downloadAsFileUploadto file proxies by @freya022 in #2782ImageProxy#downloadAsIconby @freya022 in #2727Changes
Bug Fixes
Full Changelog: discord-jda/JDA@v5.4.0...v5.5.0
Installation
Gradle
Maven
v5.4.0: | Interaction callback response and security incidentsAccess the created or updated message from interaction replies (#2798)
You can now use InteractionHook#getCallbackResponse to access the messages created by interaction replies.
Previously, this could be done using an additional
retrieveOriginalrequest. To reduce requests and improve responsiveness, we recommend preferring this new getter instead.Guild security incidents (#2577)
With guild security incidents, you can now be aware when Discord detects raids or spam in direct messages in a guild. These detections are available with Guild#getSecurityIncidentDetections and are updated with GuildUpdateSecurityIncidentDetectionsEvent.
Additionally, you can modify the security incident actions to temporarily pause invites or disable direct messages in your guild. See Guild#modifySecurityIncidents for details.
New Features
Changes
Bug Fixes
FileProxy#withClientreturn types by @freya022 in #2698Full Changelog: discord-jda/JDA@v5.3.2...v5.4.0
Installation
Gradle
Maven
v5.3.2: | Bug fix for PrivateChannel#getNameOverview
Small bug fix release.
Bug Fixes
PrivateChannel#getNamereturningnullby @freya022 in #2820Full Changelog: discord-jda/JDA@v5.3.1...v5.3.2
Installation
Gradle
Maven
v5.3.1: | Bug fixesOverview
Small bug fix release due to API changes regarding user-installed applications.
Bug Fixes
Full Changelog: discord-jda/JDA@v5.3.0...v5.3.1
Installation
Gradle
Maven
v5.3.0: | User-Installable AppsOverview
After many months of waiting, this release finally adds support for user-installable apps. This will allow you to make use of interactions (and especially commands) anywhere on Discord, by installing the application on a user directly instead of a guild.
Creating User-Installable Apps
To create a user-installable app, you first have to enable the feature in your application dashboard in the installation settings:
Once enabled, you can create user-installable commands, by changing the integration types:
Installing to a User
To actually install your app to a user, you can use the generator provided by discord. In the OAuth2 URL Generator, change the integration type to User Install:
The generated link, can now be used to install your application to the authorizing user.
Detached Guilds / Roles / Channels / Members
This comes with a few changes to expectations around JDA functionality. Since interactions can now come from anywhere on Discord, some features aren't available in certain contexts.
Some entities can now appear as Detachable Entity, which essentially means that they come from a guild or private channel, that your bot is not directly involved in.
For instance, if a command is installed on a user and that command is used in a guild, your bot is not necessarily a member of that guild. Since the bot is not a member, it only has access to the guild context, that the interaction event provides. Many features such as channels, roles, or members are not accessible without being an actual member of the guild. If you try to use or access anything that isn't accessible, JDA will throw a new DetachedEntityException.
New Features
Guild#retrieveMemberVoiceStateby @PascalNB in #2729Full Changelog: discord-jda/JDA@v5.2.3...v5.3.0
Installation
Gradle
Maven
v5.2.3Small bug fix release.
Bug Fixes
Changes
ApplicationEmoji#APPLICATION_EMOJI_CAP->MAX_APPLICATION_EMOJISby @freya022 in #2791Full Changelog: discord-jda/JDA@v5.2.2...v5.2.3
Installation
Gradle
Maven
v5.2.2Small bug fix release.
Bug Fixes
DefaultShardManagerBuilder#setDisabledIntentsby @freya022 in #2785Full Changelog: discord-jda/JDA@v5.2.1...v5.2.2
Installation
Gradle
Maven
v5.2.1Small bug fix release.
Bug Fixes
Full Changelog: discord-jda/JDA@v5.2.0...v5.2.1
Installation
Gradle
Maven
v5.2.0: | Application emoji and premium buttonsOverview
This release adds some new features for applications. We've also started working on more compliance tests to make contributing and reviewing changes easier.
Premium Buttons (#2752)
The interaction response
replyWithPremiumRequiredis being phased out in favor of custom messages with a new button styleButton.premium(sku)to upsell specific premium features instead.You can change your code to a simple
reply(content)with this button as a component.For more info, see the official Discord Changelog.
Application Emoji (#2726)
Your bot can now manage emoji with JDA by using
JDA#createApplicationEmoji. These emojis can then be used like any other emoji withEmoji.fromCustom(name, id, animated).New Features
ScheduledEvent::getJumpUrlby @raul1ro in #2736Bug Fixes
Changes
GatewayIntent#GUILD_EMOJIS_AND_STICKERSin favor ofGUILD_EXPRESSIONSby @freya022 in #2755Full Changelog: discord-jda/JDA@v5.1.2...v5.2.0
Installation
Gradle
Maven
v5.1.2: | Message Forwarding and Voice MessagesOverview
This release adds support for new message features.
Forwarding messages (#2744)
You can now handle forwarded messages using the new message snapshots.
A bot can also forward a message using [
Message#fowardTo](https://docs.jda.wiki/net/dv8tion/jda/api/entities/Message.html#forwaConfiguration
📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.