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:
v4.3.3
->v4.3.6
21.0.3-alpine
->21.0.4-alpine
8.8
->8.10
66535aa
->093dfe9
3.14.0
->3.16.0
5.10.2
->5.11.0
5.10.2
->5.11.0
3.4.0
->3.4.1
2.2.224
->2.3.232
7.10.0
->7.14.0
1.5.6
->1.5.7
5.0.0-beta.24
->5.0.2
Release Notes
actions/upload-artifact (actions/upload-artifact)
v4.3.6
Compare Source
v4.3.5
Compare Source
v4.3.4
Compare Source
What's Changed
Full Changelog: actions/upload-artifact@v4.3.3...v4.3.4
gradle/gradle (gradle)
v8.10
Compare Source
v8.9
Compare Source
mariadb-corporation/mariadb-connector-j (org.mariadb.jdbc:mariadb-java-client)
v3.4.1
Compare Source
Full Changelog
Bugs Fixed
getsentry/sentry-java (io.sentry:sentry)
v7.14.0
Compare Source
Features
Fixes
buffer
replay type for the entire replay when converting from buffer mode to session modebuffer
modeRejectedExecutionException
when redacting a screenshotFileNotFoundException
when persisting segment valuesChores
ReplayShadowMediaCodec
and refactor tests using custom encoder (#3612)v7.13.0
Compare Source
Features
Fixes
session
mode at 1 hour deadlineDependencies
v7.12.1
Compare Source
Fixes
v7.12.0
Compare Source
Features
Session Replay Public Beta (#3339)
To enable Replay use the
sessionReplay.sessionSampleRate
orsessionReplay.errorSampleRate
experimental options.To learn more visit Sentry's Mobile Session Replay documentation page.
v7.11.0
Compare Source
Features
Fixes
User.segment
. Use a custom tag or context instead. (#3511)Dependencies
discord-jda/JDA (net.dv8tion:JDA)
v5.0.2
: | Single time event listenerOverview
This release includes some bug fixes as well as a new event listener feature to add a one-time-use event listener.
Once Event Listener (#2683)
A common problem that developers run into, is "waiting" for a specific event in the context of some command. For instance, waiting for a user to add a reaction or reply with a message in response to some prompt.
This can now be achieved using the new listenOnce event listener:
New Features
TeamMember.RoleType
by @freya022 in https://github.com/discord-jda/JDA/pull/2703createCopy
method inSelectMenu
by @Kaktushose in https://github.com/discord-jda/JDA/pull/2684JDA#listenOnce
by @freya022 in https://github.com/discord-jda/JDA/pull/2683Changes
Bug Fixes
Full Changelog: discord-jda/JDA@v5.0.1...v5.0.2
Installation
Gradle
Maven
v5.0.1
: | Hotfix shard manager thread handlingOverview
Small hotfix release, fixes problem with default thread config for
DefaultShardManager
. This caused requests to fail if a shard is stopped or restarted.Bug Fixes
Full Changelog: discord-jda/JDA@v5.0.0...v5.0.1
Installation
Gradle
Maven
v5.0.0
: | End of beta phaseThe Long Awaited Stabilization
After almost 3 years of refactoring and polishing, the stabilization of JDA 5.0.0 is here. If you have been following along, not much has changed since the latest beta release.
If you have somehow avoided updating to a beta release since 2021, here is a list of the most noteworthy additions, changes, and bug fixes since 4.4.0.
You can also use our Migration Guide to help you update to the latest version of JDA 5. This guide also includes the most important changes you need to consider.
Interactions / Application Features
Discord has further improved the capabilities of applications with new types of interactions. This major release of JDA adds support for these features, coming with some restructuring to properly accomodate the new types.
We've renamed interaction events to a more consistent naming scheme:
SlashCommandEvent
becomesSlashCommandInteractionEvent
ButtonClickEvent
becomesButtonInteractionEvent
Similarly, we've renamed component types slightly:
SelectionMenu
is nowStringSelectMenu
, while adding a newEntitySelectMenu
Component
has now been renamed toActionComponent
andItemComponent
, allowing us to introduceComponent
as an abstraction over bothButton
andActionRow
(which is now aLayoutComponent
). The newComponent
interface is now an abstraction over bothItemComponent
andLayoutComponent
.To learn more about interactions in JDA 5, take a look at our Interactions Wiki Guide.
Channel Type Rework
We've refactored the channel types and usages in JDA to be more maintainable. Each type of channel now directly maps to a specific channel interface, unlike before where
VoiceChannel
was used for both stage and voice type channels.Instead there are now concrete interfaces for each type, such as
NewsChannel
,StageChannel
,ForumChannel
, etc.The channel type hierarchy has been further refined, by introducing higher level abstractions to represent the features of multiple channel types:
Channel
GuildChannel
MessageChannel
andGuildMessageChannel
AudioChannel
As well as more specific features or attributes of channels:
IPermissionContainer
IPositionableChannel
IThreadContainer
IWebhookContainer
To properly maintain these many different channel types and make them easy to use, we've also introduced new union types to encompass multiple channels into a simple common union type. This replaces the old
getTextChannel()
/getVoiceChannel()
getters on events withgetChannel().asTextChannel()
. However, you can also use the standard features of the unions directly. For instance, aMessageChannelUnion
allows to send messages and these specialization methods:Cache access has also seen some improvement, by introducing a new
getChannelById(Class, long)
method, allowing to just get aMessageChannel
without worrying about the concrete type.Learn more about the channel rework in Channel Rework.
Message Features
We've refactored our message sending interfaces to be more consistent, by abstracting
MessageAction
,MessageBuilder
, andReplyAction
into shared interfacesMessageCreateRequest
andMessageEditRequest
. This makes all message sending code consistent. We recommend to simply chain your builder-like code directly on send messages:However, if you need to use builders, we've introduced MessageEditBuilder and MessageCreateBuilder to replace the old
MessageBuilder
utility. You can also now useSplitUtil
to easily divide message content into multiple messages.To support file descriptions and reduce the number of sendFile overloads, we've also introduced a new
FileUpload
type that unifies all attachments into a single type.Learn more about the changes to message sending in Message Send/Edit Rework.
Emojis and Stickers
In JDA 5, we have decided to unify all emoji types into a consistent type structure:
Emoji
, a top-level interface representing all emoji as well as a type discriminator withEmoji#getType
UnicodeEmoji
, standard unicode emoji such as 🤔CustomEmoji
, custom emoji found in messages, like<:minn:245267426227388416>
RichCustomEmoji
, emoji with more information such as owner, accessible through the guild settings.EmojiUnion
, adding type casting for things likeMessageReaction#getEmoji
These new emoji types replace the duplication of
ReactionEmote
andActivity.Emoji
.Stickers have also been refactored in a similar way, making a clear distinction between stickers found in messages and guild settings:
Sticker
, a top-level abstraction of all sticker typesStickerItem
, stickers found in messagesRichSticker
, stickers with more information that is usually omitted for messages (sticker items)StandardSticker
, rich stickers provided by nitro instead of guildsGuildSticker
, rich stickers provided in guildsStickerUnion
, adding type castingLearn more about the changes to emojis and stickers in Sticker and Emoji Rework.
Installation
All future JDA releases will be distributed through maven central. You no longer need to use
jcenter()
in your dependency manager.Gradle
Maven
Changelog (5.0.0-beta.24 -> 5.0.0)
The changes since the latest beta release to this release.
Changelog (4.4.0 -> 5.0.0)
Note that this changelog is a linear history of changes. This means some earlier changes have already been superseded or refined in more recent changes. This changelog is slightly compressed to remove unimportant changes, you can see the full list of commits here.
Thank you all for contributing!
New Features
New feature additions since 4.4.0
SUPPRESS_NOTIFICATIONS
flag for message by @Mysterious-Dev in https://github.com/discord-jda/JDA/pull/2393Breaking Changes
Breaking changes since 4.4.0
Other Changes
Other noteworthy changes since 4.4.0
toString
methods by @freya022 in https://github.com/discord-jda/JDA/pull/2273Configuration
📅 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.