-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update dependency net.dv8tion:JDA to v5.1.2 #122
Closed
Closed
Conversation
This file contains 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
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.4
Update dependency net.dv8tion:JDA to v5.0.0-beta.5
Mar 1, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
March 1, 2023 18:50
ba95b41
to
a45243c
Compare
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
March 19, 2023 16:44
a45243c
to
cf90b80
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.5
Update dependency net.dv8tion:JDA to v5.0.0-beta.6
Mar 19, 2023
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.6
Update dependency net.dv8tion:JDA to v5.0.0-beta.8
Apr 17, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
April 17, 2023 12:53
cf90b80
to
7d5e25b
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.8
Update dependency net.dv8tion:JDA to v5.0.0-beta.9
May 28, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
May 28, 2023 09:58
7d5e25b
to
49c4fa0
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.9
Update dependency net.dv8tion:JDA to v5.0.0-beta.10
Jun 4, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
June 4, 2023 16:58
49c4fa0
to
ee2c967
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.10
Update dependency net.dv8tion:JDA to v5.0.0-beta.11
Jun 19, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
June 19, 2023 20:31
ee2c967
to
7df99de
Compare
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
July 1, 2023 16:48
7df99de
to
f2c6385
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.11
Update dependency net.dv8tion:JDA to v5.0.0-beta.12
Jul 1, 2023
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.12
Update dependency net.dv8tion:JDA to v5.0.0-beta.13
Aug 6, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
August 6, 2023 16:47
f2c6385
to
476e032
Compare
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
September 29, 2023 17:19
476e032
to
1435cc9
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.13
Update dependency net.dv8tion:JDA to v5.0.0-beta.14
Sep 29, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
September 30, 2023 19:08
1435cc9
to
b59e918
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.14
Update dependency net.dv8tion:JDA to v5.0.0-beta.15
Sep 30, 2023
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.15
Update dependency net.dv8tion:JDA to v5.0.0-beta.16
Oct 22, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
October 22, 2023 16:17
b59e918
to
b35ccdd
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.16
Update dependency net.dv8tion:JDA to v5.0.0-beta.17
Oct 29, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
October 29, 2023 15:42
b35ccdd
to
0a97add
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.17
Update dependency net.dv8tion:JDA to v5.0.0-beta.18
Nov 19, 2023
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
November 19, 2023 11:09
0a97add
to
5f02ef0
Compare
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
July 5, 2024 23:46
5f02ef0
to
d39444d
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.18
Update dependency net.dv8tion:JDA to v5.0.0-beta.24
Jul 5, 2024
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
July 7, 2024 19:55
d39444d
to
435a0f2
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0-beta.24
Update dependency net.dv8tion:JDA to v5.0.0
Jul 7, 2024
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
July 15, 2024 20:22
435a0f2
to
c92490b
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.0
Update dependency net.dv8tion:JDA to v5.0.1
Jul 15, 2024
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
August 4, 2024 15:25
c92490b
to
6058918
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.1
Update dependency net.dv8tion:JDA to v5.0.2
Aug 4, 2024
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
August 21, 2024 17:22
6058918
to
ecaee3d
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.0.2
Update dependency net.dv8tion:JDA to v5.1.0
Aug 21, 2024
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
September 21, 2024 13:04
ecaee3d
to
4dfefdd
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.1.0
Update dependency net.dv8tion:JDA to v5.1.1
Sep 21, 2024
renovate
bot
force-pushed
the
renovate/net.dv8tion-jda-5.x
branch
from
October 5, 2024 10:21
4dfefdd
to
a62d1dd
Compare
renovate
bot
changed the title
Update dependency net.dv8tion:JDA to v5.1.1
Update dependency net.dv8tion:JDA to v5.1.2
Oct 5, 2024
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update ( If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
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.3
->5.1.2
Release Notes
discord-jda/JDA (net.dv8tion:JDA)
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
. Note that a forwarded message cannot contain any additional content.Voice messages (#2738)
You can now send voice messages with JDA, by utilizing the new
FileUpload#asVoiceMessage
method on your audio attachments.To create a voice message, you must first determine the audio media type of your voice message and sample a waveform up to 256 bytes. Voice messages require a valid
audio/*
media type likeaudio/ogg
.The waveform is used to render the voice message shape in the preview. It must not be an accurate sampling of the actual audio.
New Features
Bug Fixes
Full Changelog: discord-jda/JDA@v5.1.1...v5.1.2
Installation
Gradle
Maven
v5.1.1
: | Small bugfix releaseOverview
Small release to fix a few bugs. This fixes an issue that caused voice receive to no longer work as intended in 5.1.0.
Bug Fixes
@CheckReturnValue
from Once.Builder.subscribe by @freya022 in https://github.com/discord-jda/JDA/pull/2730Full Changelog: discord-jda/JDA@v5.1.0...v5.1.1
Installation
Gradle
Maven
v5.1.0
: | Voice Gateway v8Overview
This release updates the implementation of the voice gateway to API version 8 (previously 4). Previous versions will be incompatible coming November 18, 2024. This includes adding a new dependency on tink, to support the new encryption modes.
Additionally, the
MessageEmbedEvent
has been removed. Discord sends standard update events for embed loading now, this event can no longer be supported.New Features
Changes
Bug Fixes
Full Changelog: discord-jda/JDA@v5.0.2...v5.1.0
Installation
Gradle
Maven
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/2273Bug Fixes
Bugs fixed since 4.4.0
v5.0.0-beta.24
: | Bug fixes and entitlement typesOverview
This is a small bugfix release, including some missing features for premium app entitlements.
Additional Entitlement Features (#2667)
This release adds support for test entitlements and consumed entitlements.
An entitlement can be consumed, marking it as already used. This can be useful for one-time entitlements, which are consumed on use.
New Features
IPostContainerManager#setTopic
by @freya022 in https://github.com/discord-jda/JDA/pull/2666Changes
Bug Fixes
Full Changelog: discord-jda/JDA@v5.0.0-beta.23...v5.0.0-beta.24
Installation
Gradle
Maven
v5.0.0-beta.23
: | Message PollsOverview
This release includes an updated README, please let us know if you spot any issues with it!
Polls (#2649)
Discord has recently released a new feature on their platform to start and vote in polls. These polls can now be sent in messages: