[!WARNING]
This is a breaking change, which affects permission handling and what will be available to your bot. Please report any bugs / unexpected results you might encounter with JDA behavior.
Channels for interactions will use snapshots of the channel instead, utilizing the IDetachableEntity handling previously introduced for user-installed commands. These channels carry the current information about the channel, such as name and topic. They also have the permissions for the member that used the interaction, to allow permission checks to still work as expected for that specific member through member.hasPermission(channel, permissions).
This is a minor release adding a few new features before a bigger change coming in 6.7.0 which will introduce handling for Obfuscated Channels.
If you can, please try out and give feedback on Add handling for obfuscated channels #3042. To enable obfuscated channels early for testing purposes, you can toggle a switch in your application dashboard as described here.
New Features
Add file type filtering in slash command attachment options and modal attachment uploads by @freya022 in #3113
guild.searchMessages().attachmentFilenames("cat.png").includeAuthorTypes(MessageSearchAction.AuthorType.USER).queue(response->{if(response.isNotReady()){intretryAfter=response.asNotReady().getRetryAfter();event.reply("The server is still indexing messages, try again later").queue();return;}List<Message>messages=response.asResults().getMessages();event.reply("Found %s messages of cats!".formatted(messages.size())).queue();});
Additionally, we made a minor change in the handling for received messages. For messages received in guilds JDA now handles events with missing member objects, which is necessary to handle messages that arrive shortly after a user is banned from the guild. These messages will contain members which are not added to cache and have no roles.
This PR contains the following updates:
| Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [net.dv8tion:JDA](https://github.com/discord-jda/JDA) | `6.4.1` → `6.7.0` |  |  |
---
### Release Notes
<details>
<summary>discord-jda/JDA (net.dv8tion:JDA)</summary>
### [`v6.7.0`](https://github.com/discord-jda/JDA/releases/tag/v6.7.0): | Handle Channel Obfuscation
[Compare Source](https://github.com/discord-jda/JDA/compare/v6.6.0...v6.7.0)
### Overview
This release makes JDA aware of [Channel Obfuscation](https://docs.discord.com/developers/change-log#channel-obfuscation-for-users-and-bots), which will become mandatory on **November 16, 2026**.
You can test your bot early by enabling channel obfuscation in the [discord developer portal](https://discord.com/developers/applications/select/bot).
<img width="2088" height="446" alt="image" src="https://github.com/user-attachments/assets/c94cbe57-f7d9-45dc-8122-4031a306554f" />
> \[!WARNING]
> This is a breaking change, which affects permission handling and what will be available to your bot. Please report any bugs / unexpected results you might encounter with JDA behavior.
Channels for interactions will use snapshots of the channel instead, utilizing the [IDetachableEntity](https://docs.jda.wiki/net/dv8tion/jda/api/entities/detached/IDetachableEntity.html) handling previously introduced for user-installed commands. These channels carry the current information about the channel, such as name and topic. They also have the permissions for the member that used the interaction, to allow permission checks to still work as expected for that specific member through `member.hasPermission(channel, permissions)`.
#### Breaking Changes
- Add handling for obfuscated channels by [@​MinnDevelopment](https://github.com/MinnDevelopment) in [#​3042](https://github.com/discord-jda/JDA/pull/3042)
**Full Changelog**: <https://github.com/discord-jda/JDA/compare/v6.6.0...v6.7.0>
### Installation
#### Gradle
```gradle
repositories {
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:6.7.0")
}
```
#### Maven
```xml
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>6.7.0</version>
</dependency>
```
### [`v6.6.0`](https://github.com/discord-jda/JDA/releases/tag/v6.6.0)
[Compare Source](https://github.com/discord-jda/JDA/compare/v6.5.0...v6.6.0)
### Overview
This is a minor release adding a few new features before a bigger change coming in 6.7.0 which will introduce handling for [Obfuscated Channels](https://github.com/discord/discord-api-docs/pull/8454).
If you can, please try out and give feedback on [**Add handling for obfuscated channels #​3042**](https://github.com/discord-jda/JDA/pull/3042). To enable obfuscated channels early for testing purposes, you can toggle a switch in your application dashboard as described [here](https://github.com/discord/discord-api-docs/pull/8454).
#### New Features
- Add file type filtering in slash command attachment options and modal attachment uploads by [@​freya022](https://github.com/freya022) in [#​3113](https://github.com/discord-jda/JDA/pull/3113)
- Add support for guild member banners by [@​Whizyyy](https://github.com/Whizyyy) in [#​3126](https://github.com/discord-jda/JDA/pull/3126)
#### Changes
- Make LabelChildComponent replaceable by [@​Kaktushose](https://github.com/Kaktushose) in [#​3128](https://github.com/discord-jda/JDA/pull/3128)
- Read `flags_new` of `ApplicationInfo` instead of `flags` by [@​freya022](https://github.com/freya022) in [#​3131](https://github.com/discord-jda/JDA/pull/3131)
- Guild member pruning: Check for admin if `PRUNE_REQUIRES_ADMIN` is enabled by [@​freya022](https://github.com/freya022) in [#​3129](https://github.com/discord-jda/JDA/pull/3129)
- Update `Message.MAX_FILE_SIZE` to 20 MiB by [@​freya022](https://github.com/freya022) in [#​3142](https://github.com/discord-jda/JDA/pull/3142)
#### Bug Fixes
- Fix `MarkdownUtil#monospace` not correctly applying monospace formatting to strings with backticks by [@​ManosSef](https://github.com/ManosSef) in [#​3139](https://github.com/discord-jda/JDA/pull/3139)
- Fix icon URLs for GIF stickers by [@​jjj-n](https://github.com/jjj-n) in [#​3140](https://github.com/discord-jda/JDA/pull/3140)
**Full Changelog**: <https://github.com/discord-jda/JDA/compare/v6.5.0...v6.6.0>
### Installation
#### Gradle
```gradle
repositories {
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:6.6.0")
}
```
#### Maven
```xml
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>6.6.0</version>
</dependency>
```
### [`v6.5.0`](https://github.com/discord-jda/JDA/releases/tag/v6.5.0): | Message Search API
[Compare Source](https://github.com/discord-jda/JDA/compare/v6.4.2...v6.5.0)
### Overview
This release adds support for the [Message Search API](https://docs.discord.com/developers/change-log#search-guild-messages), which allows bots to search messages in a guild. See [Guild#searchMessages](https://docs.jda.wiki/net/dv8tion/jda/api/entities/Guild.html#searchMessages\(\)) and [MessageSearchAction](https://docs.jda.wiki/net/dv8tion/jda/api/requests/restaction/MessageSearchAction.html) for detailed documentation.
**Example**:
```java
guild.searchMessages()
.attachmentFilenames("cat.png")
.includeAuthorTypes(MessageSearchAction.AuthorType.USER)
.queue(response -> {
if (response.isNotReady()) {
int retryAfter = response.asNotReady().getRetryAfter();
event.reply("The server is still indexing messages, try again later").queue();
return;
}
List<Message> messages = response.asResults().getMessages();
event.reply("Found %s messages of cats!".formatted(messages.size())).queue();
});
```
Additionally, we made a minor change in the handling for received messages. For messages received in guilds JDA now handles events with missing `member` objects, which is necessary to handle messages that arrive shortly after a user is banned from the guild. These messages will contain members which are not added to cache and have no roles.
#### New Features
- Add message search by [@​freya022](https://github.com/freya022) in [#​3052](https://github.com/discord-jda/JDA/pull/3052)
- Add attachment flags by [@​MinnDevelopment](https://github.com/MinnDevelopment) in [#​3109](https://github.com/discord-jda/JDA/pull/3109)
- Add support for image descriptions in embeds by [@​MinnDevelopment](https://github.com/MinnDevelopment) in [#​310](https://github.com/discord-jda/JDA/pull/310)
#### Changes
- Handle messages received after ban by [@​MinnDevelopment](https://github.com/MinnDevelopment) in [#​3103](https://github.com/discord-jda/JDA/pull/3103)
**Full Changelog**: <https://github.com/discord-jda/JDA/compare/v6.4.2...v6.5.0>
### Installation
#### Gradle
```gradle
repositories {
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:6.5.0")
}
```
#### Maven
```xml
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>6.5.0</version>
</dependency>
```
### [`v6.4.2`](https://github.com/discord-jda/JDA/releases/tag/v6.4.2)
[Compare Source](https://github.com/discord-jda/JDA/compare/v6.4.1...v6.4.2)
#### New Features
- Add attachment flags, embed flags and fields, and, media flags by [@​freya022](https://github.com/freya022) in [#​3081](https://github.com/discord-jda/JDA/pull/3081)
- Add missing `NO_MUTUAL_GUILDS` ErrorResponse by [@​srnyx](https://github.com/srnyx) in [#​3083](https://github.com/discord-jda/JDA/pull/3083)
- Add `ErrorResponse#CANNOT_FORWARD_UNREADABLE_MESSAGE` by [@​freya022](https://github.com/freya022) in [#​3087](https://github.com/discord-jda/JDA/pull/3087)
#### Changes
- Improve error messages caused by entities relying on the cache to find themselves by [@​freya022](https://github.com/freya022) in [#​3067](https://github.com/discord-jda/JDA/pull/3067)
- Component options: Prevent setting an out-of-range number of default values by [@​freya022](https://github.com/freya022) in [#​3068](https://github.com/discord-jda/JDA/pull/3068)
- Fix deserialization of components without unfurled media by [@​freya022](https://github.com/freya022) in [#​3078](https://github.com/discord-jda/JDA/pull/3078)
#### Bug Fixes
- Fix Guild#invalidate not removing thread channels from global cache by [@​MinnDevelopment](https://github.com/MinnDevelopment) in [#​3094](https://github.com/discord-jda/JDA/pull/3094)
- Fix incorrect ID used in AbstractGuildChannelImpl#getGuild for entity parent refresh by [@​MinnDevelopment](https://github.com/MinnDevelopment) in [#​3095](https://github.com/discord-jda/JDA/pull/3095)
- Fix incorrect check for choice value length by [@​MinnDevelopment](https://github.com/MinnDevelopment) in [#​3096](https://github.com/discord-jda/JDA/pull/3096)
- fix: handle integer sound ids in voice channel effects by [@​rxsto](https://github.com/rxsto) in [#​3085](https://github.com/discord-jda/JDA/pull/3085)
**Full Changelog**: <https://github.com/discord-jda/JDA/compare/v6.4.1...v6.4.2>
### Installation
#### Gradle
```gradle
repositories {
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:6.4.2")
}
```
#### Maven
```xml
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>6.4.2</version>
</dependency>
```
</details>
---
### Configuration
📅 **Schedule**: (in timezone America/Toronto)
- Branch creation
- Between 12:00 AM and 03:59 AM, on day 1 of the month (`* 0-3 1 * *`)
- 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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yODguMCIsInVwZGF0ZWRJblZlciI6IjQ0LjE1MS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJyZW5vdmF0ZSJdfQ==-->
anthorob
was assigned by renovate-bot2026-08-24 17:02:47 -04:00
renovate-bot
changed title from Update dependency net.dv8tion:JDA to v6.6.0 to Update dependency net.dv8tion:JDA to v6.7.02026-09-20 15:02:13 -04:00
renovate-bot
changed title from Update dependency net.dv8tion:JDA to v6.7.0 to Update dependency net.dv8tion:JDA to v6.7.0 - autoclosed2026-10-25 22:05:27 -04:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
6.4.1→6.7.0Release Notes
discord-jda/JDA (net.dv8tion:JDA)
v6.7.0: | Handle Channel ObfuscationCompare Source
Overview
This release makes JDA aware of Channel Obfuscation, which will become mandatory on November 16, 2026.
You can test your bot early by enabling channel obfuscation in the discord developer portal.
Channels for interactions will use snapshots of the channel instead, utilizing the IDetachableEntity handling previously introduced for user-installed commands. These channels carry the current information about the channel, such as name and topic. They also have the permissions for the member that used the interaction, to allow permission checks to still work as expected for that specific member through
member.hasPermission(channel, permissions).Breaking Changes
Full Changelog: https://github.com/discord-jda/JDA/compare/v6.6.0...v6.7.0
Installation
Gradle
Maven
v6.6.0Compare Source
Overview
This is a minor release adding a few new features before a bigger change coming in 6.7.0 which will introduce handling for Obfuscated Channels.
If you can, please try out and give feedback on Add handling for obfuscated channels #3042. To enable obfuscated channels early for testing purposes, you can toggle a switch in your application dashboard as described here.
New Features
Changes
flags_newofApplicationInfoinstead offlagsby @freya022 in #3131PRUNE_REQUIRES_ADMINis enabled by @freya022 in #3129Message.MAX_FILE_SIZEto 20 MiB by @freya022 in #3142Bug Fixes
MarkdownUtil#monospacenot correctly applying monospace formatting to strings with backticks by @ManosSef in #3139Full Changelog: https://github.com/discord-jda/JDA/compare/v6.5.0...v6.6.0
Installation
Gradle
Maven
v6.5.0: | Message Search APICompare Source
Overview
This release adds support for the Message Search API, which allows bots to search messages in a guild. See Guild#searchMessages and MessageSearchAction for detailed documentation.
Example:
Additionally, we made a minor change in the handling for received messages. For messages received in guilds JDA now handles events with missing
memberobjects, which is necessary to handle messages that arrive shortly after a user is banned from the guild. These messages will contain members which are not added to cache and have no roles.New Features
Changes
Full Changelog: https://github.com/discord-jda/JDA/compare/v6.4.2...v6.5.0
Installation
Gradle
Maven
v6.4.2Compare Source
New Features
NO_MUTUAL_GUILDSErrorResponse by @srnyx in #3083ErrorResponse#CANNOT_FORWARD_UNREADABLE_MESSAGEby @freya022 in #3087Changes
Bug Fixes
Full Changelog: https://github.com/discord-jda/JDA/compare/v6.4.1...v6.4.2
Installation
Gradle
Maven
Configuration
📅 Schedule: (in timezone America/Toronto)
* 0-3 1 * *)🚦 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 has been generated by Mend Renovate CLI.
a48ee9518bto23bb5c54b2Update dependency net.dv8tion:JDA to v6.5.0to Update dependency net.dv8tion:JDA to v6.6.023bb5c54b2to5592a1860f5592a1860ftoeb7a3113e7Update dependency net.dv8tion:JDA to v6.6.0to Update dependency net.dv8tion:JDA to v6.7.0Update dependency net.dv8tion:JDA to v6.7.0to Update dependency net.dv8tion:JDA to v6.7.0 - autoclosedPull request closed