Skip to content
This repository has been archived by the owner on Nov 12, 2023. It is now read-only.

fix(deps): update dependency net.dv8tion:jda to v5.0.0-beta.16 #475

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 22, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.dv8tion:JDA 5.0.0-beta.15 -> 5.0.0-beta.16 age adoption passing confidence

Release Notes

DV8FromTheWorld/JDA (net.dv8tion:JDA)

v5.0.0-beta.16: | Webhook Execution and Super Reactions

Overview

With this release, we have redesigned a major flaw in our entity constraints. Previously, message instances required a known cached channel instance to be usable. This flaw has been remedied by reworking this implementation to be usable with only a known channel id.

This means, that methods such as message.addReaction(...) or message.pin() can now work for message instances that have no channel object in cache. You can find out if a channel is available on a message instance, by using hasChannel. Adding support for this behavior was necessary, in order to implement webhook executions!

With this change resolved, we can now fully support sending messages through arbitrary webhooks by using WebhookClient.createClient. This webhook client makes use of the JDA rate-limit system and request queue, to properly handle rate-limits for you.

Interactions Hidden Threads

This release also fixes the problem of not receiving interactions in hidden threads, for instance if the thread is a private thread and your bot has not been added yet. This problem was actually caused by JDA expecting a channel instance in cache that was not present, which stopped the interaction from going through.

Discord has added more information about the channel objects in interactions, so we can now properly construct the thread channel instance just in time for the interaction event.

Super Reactions

Your bot can now tell what super-reactions are used. You still cannot send them because the API is too unstable.

Beta Period Almost Done!

We plan to end the beta period for JDA 5.0.0 very soon. There are a few more changes we are thinking of merging first, but the current release already seems very complete. We hope to end the beta period before the end of the year, stay tuned.

New Features

Bug Fixes

Full Changelog: discord-jda/JDA@v5.0.0-beta.15...v5.0.0-beta.16

Installation

Gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("net.dv8tion:JDA:5.0.0-beta.16")
}

Maven

<dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>5.0.0-beta.16</version> 
</dependency>

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (rebase) October 22, 2023 19:13
@github-actions github-actions bot added this to ❓ 優先度未振り分け in Main Oct 22, 2023
@renovate renovate bot merged commit b4348c0 into master Oct 22, 2023
5 checks passed
Main automation moved this from ❓ 優先度未振り分け to ✅ 完了済み Oct 22, 2023
@renovate renovate bot deleted the renovate/net.dv8tion-jda-5.x branch October 22, 2023 19:14
@github-actions github-actions bot added the ✅完了済み ✅ 完了済み - Done / Closed label Oct 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
✅完了済み ✅ 完了済み - Done / Closed
Projects
Main
✅ 完了済み
Development

Successfully merging this pull request may close these issues.

None yet

0 participants