-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bump net.dv8tion:JDA from 5.0.0-beta.3 to 5.0.0-beta.4 #163
Merged
dependabot
merged 1 commit into
master
from
dependabot/gradle/net.dv8tion-JDA-5.0.0-beta.4
Feb 26, 2023
Merged
Bump net.dv8tion:JDA from 5.0.0-beta.3 to 5.0.0-beta.4 #163
dependabot
merged 1 commit into
master
from
dependabot/gradle/net.dv8tion-JDA-5.0.0-beta.4
Feb 26, 2023
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
Bumps [net.dv8tion:JDA](https://github.com/DV8FromTheWorld/JDA) from 5.0.0-beta.3 to 5.0.0-beta.4. - [Release notes](https://github.com/DV8FromTheWorld/JDA/releases) - [Commits](discord-jda/JDA@v5.0.0-beta.3...v5.0.0-beta.4) --- updated-dependencies: - dependency-name: net.dv8tion:JDA dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
bot
added
Category - Enhancement
New feature or request
Priority - Normal ↓
Normal priority
labels
Feb 20, 2023
@dependabot merge
…On Mon, Feb 20, 2023 at 3:12 PM dependabot[bot] ***@***.***> wrote:
Assigned #163 <#163> to
@Gamebuster19901 <https://github.com/Gamebuster19901>.
—
Reply to this email directly, view it on GitHub
<#163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABWTAI5HIZTH7DQ3RPVLI2LWYPFZJANCNFSM6AAAAAAVCH75A4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
dependabot
bot
deleted the
dependabot/gradle/net.dv8tion-JDA-5.0.0-beta.4
branch
February 26, 2023 19:58
@dependabot merge
…On Mon, Feb 20, 2023 at 3:12 PM dependabot[bot] ***@***.***> wrote:
Bumps net.dv8tion:JDA <https://github.com/DV8FromTheWorld/JDA> from
5.0.0-beta.3 to 5.0.0-beta.4.
Release notes
*Sourced from net.dv8tion:JDA's releases
<https://github.com/DV8FromTheWorld/JDA/releases>.*
v5.0.0-beta.4 | Audit Log Events and Silent Messages Overview
This release adds support for recent Discord features, such as linked
roles and silent messages. We also improved the user experience for
shutting down, which should come in handy for anyone building reloadable
plugins.
Add GuildAuditLogEntryCreateEvent (#2380
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2380>)
Discord has finally introduced an event for new audit log entries. This
can be used for keeping track of all kinds of moderation relevant activity
in a guild. However, to receive this event you must have the *View Audit
Logs*
<https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/Permission.html#VIEW_AUDIT_LOGS>
permission and enable the GUILD_MODERATION
<https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/requests/GatewayIntent.html#GUILD_MODERATION>
intent (formerly GUILD_BANS).
Silent Messages (#2392
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2392>)
You can now send and receive messages which do not trigger desktop and
mobile push notifications. This is done in the client by prefixing a
message with @silent. In JDA you can use setSuppressedNotifications(true)
<https://ci.dv8tion.net/job/JDA5/javadoc/net/dv8tion/jda/api/utils/messages/MessageCreateRequest.html#setSuppressedNotifications(boolean)>
to achieve the same. Note that @silent is not the correct way to create
these messages with a bot, as it is a client only feature.
You can check the release pull request for more information:
discord/discord-api-docs#5910
<https://github-redirect.dependabot.com/discord/discord-api-docs/issues/5910>
Await Shutdown (#2269
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2269>)
The shutdown logic has adapted to allow more consistent behavior. We've
introduced jda.awaitShutdown() as a way to allow blocking until all JDA
subsystems reach completion. Note that this might take a long time,
depending on how long your RestAction queue is at the time.
The recommended way to gracefully shutdown is to define a maximum wait
threshold and use it to cancel requests after some time:
// Initating the shutdown, this closes the gateway connection and subsequently closes the requester queue
jda.shutdown();
// Allow at most 10 seconds for remaining requests to finish
if (!jda.awaitShutdown(Duration.ofSeconds(10))) { // returns true if shutdown is graceful, false if timeout exceeded
jda.shutdownNow(); // Cancel all remaining requests, and stop thread-pools
jda.awaitShutdown(); // Wait until shutdown is complete (indefinitely)
}
In order to save CPU time, we make use of conditional variables for all of
our wait loops internally. This is much more efficient than using sleep
polling, like suggested in the past.
New Features
- Add GuildAuditLogEntryCreateEvent by @MinnDevelopment
<https://github.com/MinnDevelopment> in discord-jda/JDA#2380
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/pull/2380>
- Add SUPPRESS_NOTIFICATIONS flag for message by @Mysterious-Dev
<https://github.com/Mysterious-Dev> in discord-jda/JDA#2393
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/pull/2393>
- Add thread message positions by @freya022
<https://github.com/freya022> in discord-jda/JDA#2366
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/pull/2366>
- Necessary additions for role subscriptions by @MinnDevelopment
<https://github.com/MinnDevelopment> in discord-jda/JDA#2375
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/pull/2375>
Changes
- Improve conditional waiting and shutdown handling by
@MinnDevelopment <https://github.com/MinnDevelopment> in
discord-jda/JDA#2269
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/pull/2269>
- Add Modal.Builder#addComponents by @MinnDevelopment
<https://github.com/MinnDevelopment> in discord-jda/JDA#2388
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/pull/2388>
*Full Changelog*: ***@***.***
<discord-jda/JDA@v5.0.0-beta.3...v5.0.0-beta.4>
Installation Gradle
... (truncated)
Commits
- f774ba8
<discord-jda/JDA@f774ba8>
Bump to 5.0.0-beta.4
- 411d676
<discord-jda/JDA@411d676>
Necessary additions for role subscriptions (#2375
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2375>
)
- 92e9f5f
<discord-jda/JDA@92e9f5f>
Add thread message positions (#2366
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2366>
)
- 8852b5e
<discord-jda/JDA@8852b5e>
Add SUPPRESS_NOTIFICATIONS flag for message (#2393
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2393>
)
- b9161cf
<discord-jda/JDA@b9161cf>
Add Modal.Builder#addComponents (#2388
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2388>
)
- a7f2518
<discord-jda/JDA@a7f2518>
")" was missing (#2389
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2389>
)
- 30ba384
<discord-jda/JDA@30ba384>
Improve conditional waiting and shutdown handling (#2269
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2269>
)
- 299f4d0
<discord-jda/JDA@299f4d0>
Add GuildAuditLogEntryCreateEvent (#2380
<https://github-redirect.dependabot.com/DV8FromTheWorld/JDA/issues/2380>
)
- See full diff in compare view
<discord-jda/JDA@v5.0.0-beta.3...v5.0.0-beta.4>
[image: Dependabot compatibility score]
<https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores>
Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting @dependabot
rebase.
------------------------------
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- @dependabot rebase will rebase this PR
- @dependabot recreate will recreate this PR, overwriting any edits
that have been made to it
- @dependabot merge will merge this PR after your CI passes on it
- @dependabot squash and merge will squash and merge this PR after
your CI passes on it
- @dependabot cancel merge will cancel a previously requested merge
and block automerging
- @dependabot reopen will reopen this PR if it is closed
- @dependabot close will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- @dependabot ignore this major version will close this PR and stop
Dependabot creating any more for this major version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this minor version will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen the
PR or upgrade to it yourself)
- @dependabot ignore this dependency will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the PR
or upgrade to it yourself)
------------------------------
You can view, comment on, or merge this pull request online at:
#163
Commit Summary
- 01e9bec
<01e9bec>
Bump net.dv8tion:JDA from 5.0.0-beta.3 to 5.0.0-beta.4
File Changes
(1 file <https://github.com/TheGameCommunity/ExciteBot/pull/163/files>)
- *M* build.gradle
<https://github.com/TheGameCommunity/ExciteBot/pull/163/files#diff-49a96e7eea8a94af862798a45174e6ac43eb4f8b4bd40759b5da63ba31ec3ef7>
(4)
Patch Links:
- https://github.com/TheGameCommunity/ExciteBot/pull/163.patch
- https://github.com/TheGameCommunity/ExciteBot/pull/163.diff
—
Reply to this email directly, view it on GitHub
<#163>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABWTAI5WCAFQAJCB5BLSMD3WYPFZDANCNFSM6AAAAAAVCH75A4>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
This PR has already been merged! 🎉 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Bumps net.dv8tion:JDA from 5.0.0-beta.3 to 5.0.0-beta.4.
Release notes
Sourced from net.dv8tion:JDA's releases.
... (truncated)
Commits
f774ba8
Bump to 5.0.0-beta.4411d676
Necessary additions for role subscriptions (#2375)92e9f5f
Add thread message positions (#2366)8852b5e
AddSUPPRESS_NOTIFICATIONS
flag for message (#2393)b9161cf
Add Modal.Builder#addComponents (#2388)a7f2518
")" was missing (#2389)30ba384
Improve conditional waiting and shutdown handling (#2269)299f4d0
Add GuildAuditLogEntryCreateEvent (#2380)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)