This repository has been archived by the owner on Sep 2, 2024. It is now read-only.
Update dependency org.javacord:javacord to v3.8.0 #52
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:
3.3.2
->3.8.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
Javacord/Javacord (org.javacord:javacord)
v3.8.0
Starting in early 2023, support for Java 8 will be discontinued and Java 11 will be the new minimum requirement for using Javacord.
If you are not yet running Java 11+, we strongly recommend that you upgrade before the end of this year.
📦 Download
Using a Build Manager
Gradle
repositories { mavenCentral() } dependencies { implementation 'org.javacord:javacord:3.8.0' }
Maven
Sbt
📋 Changelog
Improvements
TextableRegularServerChannel
which contains shared methods for text related functionality of RegularServerChannels (https://github.com/Javacord/Javacord/pull/1014) by @felldoSUPPRESS_NOTIFICATIONS
message flag (https://github.com/Javacord/Javacord/pull/1213) by @RealYusufIsmailBugfixes
canWrite
and more methods return always true for Threads (https://github.com/Javacord/Javacord/pull/1014) by @felldoNullPointerException
when passing downnull
inTextInputBuilder#setValue
(https://github.com/Javacord/Javacord/pull/1204) by @ShindouMihoumin/max_values
so getting these values (getMaximumValues
) would always return 1 (https://github.com/Javacord/Javacord/pull/1206) by @felldov3.7.0
Starting in early 2023, support for Java 8 will be discontinued and Java 11 will be the new minimum requirement for using Javacord.
If you are not yet running Java 11+, we strongly recommend that you upgrade before the end of this year.
📦 Download
Using a Build Manager
Gradle
repositories { mavenCentral() } dependencies { implementation 'org.javacord:javacord:3.7.0' }
Maven
Sbt
📋 Changelog
Improvements
ServerVoiceChannel
(https://github.com/Javacord/Javacord/pull/1127)Message#addMessageReplyListener
) (https://github.com/Javacord/Javacord/pull/1139)SelectMenu#create
methods in favor of#createStringMenu
(https://github.com/Javacord/Javacord/pull/1150)getThreadMembers
in favor ofrequestThreadMembers
(https://github.com/Javacord/Javacord/pull/1155)SlashCommand#getMentionTags
to get all mention tags of all subcommands (https://github.com/Javacord/Javacord/pull/1157)RestRequestResultErrorCodes
50039
and40062
(https://github.com/Javacord/Javacord/pull/1163)emoji
property to a unicode emoji on Select Menu Options (https://github.com/Javacord/Javacord/pull/1166)delete_message_seconds
field is set when banning a user from as query parameter to the request json body (https://github.com/Javacord/Javacord/pull/1167)MessageDecoration#applyToText(String)
which applies the decoration to a given string (https://github.com/Javacord/Javacord/pull/1169)Discord Interaction handler
and removedsdcf4j
because it is deprecated (https://github.com/Javacord/Javacord/pull/1175)ApplicationCommandInteraction#getRegisteredCommandServerId
andgetRegisteredCommandServer
to get the id/server the command is registered on from an application command interaction (https://github.com/Javacord/Javacord/pull/1176)ApplicationCommand#deleteGlobal
anddeleteForServer
in favor ofdelete
(https://github.com/Javacord/Javacord/pull/1177)Message#canYouReadContent
which checks if you can read the content of a message if you do not have theMESSAGE_CONTENT
intent enabled to cover special cases like DMs, bot mentions or your own messages (https://github.com/Javacord/Javacord/pull/1185)Bugfixes
Breaking Changes
downloadAsXY
methods toasXY
(https://github.com/Javacord/Javacord/pull/1147)VoiceChannel
toServerVoiceChannel
(https://github.com/Javacord/Javacord/pull/1147)SELECT_MENU_*
component type and acustom_id
to be instantiated. (https://github.com/Javacord/Javacord/pull/1150)get/requestSticketById(String)
methods do no longer throw an exception when the id is being parsed and instead return an empty optional or complete exceptionally with the number parsing exception (https://github.com/Javacord/Javacord/pull/1156)SlashCommand#getMentionTag
now returns the mention tag with only the base command (https://github.com/Javacord/Javacord/pull/1157)SlashCommand#getFullCommandName
to#getFullCommandNames
and changed return type toList<String>
(https://github.com/Javacord/Javacord/pull/1157)SlashCommandOptionsProvider
methods that are only usable for arguments of a slash command fromgetOption*
togetArgument*
and changed the implementation from getting the options from the option to getting always the command arguments if there are any (https://github.com/Javacord/Javacord/pull/1171)MESSAGE_CONTENT
enabled (https://github.com/Javacord/Javacord/pull/1182)Contributors in this release:
@Bastian (https://github.com/Javacord/Javacord/pull/1188, https://github.com/Javacord/Javacord/pull/1189, https://github.com/Javacord/Javacord/pull/1190)
@felldo (https://github.com/Javacord/Javacord/pull/1150, https://github.com/Javacord/Javacord/pull/1156, https://github.com/Javacord/Javacord/pull/1157, https://github.com/Javacord/Javacord/pull/1168, https://github.com/Javacord/Javacord/pull/1169, https://github.com/Javacord/Javacord/pull/1170, https://github.com/Javacord/Javacord/pull/1171, https://github.com/Javacord/Javacord/pull/1175, https://github.com/Javacord/Javacord/pull/1176, https://github.com/Javacord/Javacord/pull/1177, https://github.com/Javacord/Javacord/pull/1179, https://github.com/Javacord/Javacord/pull/1181, https://github.com/Javacord/Javacord/pull/1182, https://github.com/Javacord/Javacord/pull/1185)
@Lainika (https://github.com/Javacord/Javacord/pull/1172)
@Mysterypotatoguy (https://github.com/Javacord/Javacord/pull/1139, https://github.com/Javacord/Javacord/pull/1166)
@RealYusufIsmail (https://github.com/Javacord/Javacord/pull/1127, https://github.com/Javacord/Javacord/pull/1155, https://github.com/Javacord/Javacord/pull/1163, https://github.com/Javacord/Javacord/pull/1167)
@Saladoc (https://github.com/Javacord/Javacord/pull/1147, https://github.com/Javacord/Javacord/pull/1154)
@haseeb-xd (https://github.com/Javacord/Javacord/pull/1178)
v3.6.0
Starting in early 2023, support for Java 8 will be discontinued and Java 11 will be the new minimum requirement for using Javacord.
If you are not yet running Java 11+, we strongly recommend that you upgrade before the end of this year.
📦 Download
Using a Build Manager
Gradle
repositories { mavenCentral() } dependencies { implementation 'org.javacord:javacord:3.6.0' }
Maven
Sbt
📋 Changelog
Highlights in this release:
Improvements
replied user
mention (https://github.com/Javacord/Javacord/pull/1091)Message
(https://github.com/Javacord/Javacord/pull/1088)Message
instances (https://github.com/Javacord/Javacord/pull/1051)ServerVoiceChannel
(https://github.com/Javacord/Javacord/pull/638)Bugfixes
ServerThreadChannelChangeInvitableEvent
possibly being thrown for public threads (https://github.com/Javacord/Javacord/pull/1133)Server
(https://github.com/Javacord/Javacord/pull/1104, https://github.com/Javacord/Javacord/pull/1130)Breaking Changes
has(Boost|Join)MessagesEnabled
methods fromServer
(https://github.com/Javacord/Javacord/pull/1096)ThreadMetadata
class (https://github.com/Javacord/Javacord/pull/1094)MessageEditEvent
to now give twoMessage
instances for comparison (https://github.com/Javacord/Javacord/pull/1051)addFile
methods (https://github.com/Javacord/Javacord/pull/925)v3.5.0
Starting in early 2023, support for Java 8 will be discontinued and Java 11 will be the new minimum requirement for using Javacord.
If you are not yet running Java 11+, we strongly recommend that you upgrade before the end of this year.
📦 Download
Using a Build Manager
Gradle
repositories { mavenCentral() } dependencies { implementation 'org.javacord:javacord:3.5.0' }
Maven
Sbt
📋 Changelog
Highlights in this release:
Improvements
UserFlag#CERTIFIED_MODERATOR
andUserFlag#BOT_HTTP_INTERACTIONS
(https://github.com/Javacord/Javacord/pull/762)MessageType#THREAD_CREATED
(https://github.com/Javacord/Javacord/pull/1008)Bugfixes
ServerTextChannel#hasSlowmode()
(https://github.com/Javacord/Javacord/pull/731)SlashCommandInteraction
not properly parsing resolved users (https://github.com/Javacord/Javacord/pull/953)DiscordApi#getMessageById(...)
returning cached messages from other channels (https://github.com/Javacord/Javacord/pull/963)ServerThreadChannelBuilder#setInvitableFlag(...)
(https://github.com/Javacord/Javacord/pull/966)DiscordApi#hasAllUsersInCache()
(https://github.com/Javacord/Javacord/pull/975)nsfw
field is present in channel category updates (https://github.com/Javacord/Javacord/pull/981)Server#getBans(...)
only returning the latest 1000 bans (https://github.com/Javacord/Javacord/pull/993)Breaking Changes
UserFlag#SYSTEM
and renamed others (https://github.com/Javacord/Javacord/pull/762)Message
,LocalRatelimiter
, andSlashCommandInteractionOptionsProvider
(https://github.com/Javacord/Javacord/pull/847, https://github.com/Javacord/Javacord/pull/882)SafeSpecializable
interface (https://github.com/Javacord/Javacord/pull/880)Rename PermissionType#READ_MESSAGES
toVIEW_CHANNEL
(https://github.com/Javacord/Javacord/pull/952)InteractionCallbackDataFlag
(https://github.com/Javacord/Javacord/pull/961)Message#getMentionedChannels()
fromList<ServerTextChannel>
toList<ServerChannel>
(https://github.com/Javacord/Javacord/pull/1012)v3.4.0
📦 Download
Using a Build Manager
Gradle
repositories { mavenCentral() } dependencies { implementation 'org.javacord:javacord:3.4.0' }
Maven
Sbt
Manually
The
javacord-3.4.0-shaded.jar
file contains Javacord and all its dependencies.📋 Changelog
Highlights in this release:
Improvements
Server#requestMember(long)
to get a server member by their user id (https://github.com/Javacord/Javacord/pull/684)DiscordApi#getKnownCustomEmojiOrCreateCustomEmoji(...)
to get custom emojis from different shards (https://github.com/Javacord/Javacord/pull/830)MessageAttachment#isEphemeral()
(https://github.com/Javacord/Javacord/pull/870)GUILD
intent is now automatically set (https://github.com/Javacord/Javacord/pull/868)DiscordApi#disconnect()
now returns a future (https://github.com/Javacord/Javacord/pull/884)MessageAuthor#getAvatar(...)
now accepts an optional size parameter (https://github.com/Javacord/Javacord/pull/902)MessageSet
to utilize performance-improvements from newer Stream methods likeStream#takeWhile(...)
(https://github.com/Javacord/Javacord/pull/938)Bugfixes
User#getMutualServers()
(https://github.com/Javacord/Javacord/pull/821)SlashCommandInteractionOption#getBooleanValue()
(https://github.com/Javacord/Javacord/pull/841)SlashCommandInteractionOption#isSubcommandOrGroup()
to check the string representation instead of string value (https://github.com/Javacord/Javacord/pull/872)ServerVoiceChannelEvent
now extendsServerChannelEvent
(https://github.com/Javacord/Javacord/pull/918)SlashCommandInteractionOptionImpl#getUserValue()
(https://github.com/Javacord/Javacord/pull/921)SelectMenuChooseEvent
andServerChangeRulesChannelEvent
(https://github.com/Javacord/Javacord/pull/936)sendMessage(...)
variants (https://github.com/Javacord/Javacord/pull/912)Breaking Changes
User#getMutualServers()
fromCollection<Server>
toSet<Server>
(https://github.com/Javacord/Javacord/pull/821)MessageComponentInteractionBase#getMessageId()
(https://github.com/Javacord/Javacord/pull/846)MessageComponentInteractionBase#getMessage()
fromOptional<Message>
toMessage
(https://github.com/Javacord/Javacord/pull/846)InteractionMessageBuilder#setFlags(...)
now expectsInteractionCallbackDataFlag
instead ofMessageFlags
enums as parameters (https://github.com/Javacord/Javacord/pull/871)DiscordApi#disconnect()
fromvoid
toCompletableFuture<Void>
(https://github.com/Javacord/Javacord/pull/884)ChannelCategory#getChannels()
fromList<ServerChannel>
toList<RegularServerChannel>
(https://github.com/Javacord/Javacord/pull/864)ServerChannel
toRegularServerChannel
(Threads do not have a position) (https://github.com/Javacord/Javacord/pull/864)SlashCommandInteractionOption#getIntValue()
withSlashCommandInteractionOption#getLongValue()
andSlashCommandOptionChoiceBuilderDelegate#setValue(int)
withSlashCommandOptionChoiceBuilderDelegate#setValue(long)
(https://github.com/Javacord/Javacord/pull/899)canCreateInstantInvite
and permission methods from theServerChannel
to the newRegularServerChannel
(https://github.com/Javacord/Javacord/pull/903)ServerChannel[Updater|Builder]
toRegularServerChannel[Updater|Builder]
(https://github.com/Javacord/Javacord/pull/903)Deprecations
MessageBuilder#addFile(...)
in favor ofMessageBuilder#addAttachment(...)
SlashCommandInteractionOptionsProvider#get[First|Second|Third]Option[Boolean|Long|User|...]Value()
in favor ofgetOption[Boolean|Long|User|...]ValueByIndex(...)
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.
🔕 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.