Update dependency net.dv8tion:JDA to v6 #52
Reference in New Issue
Block a user
Delete Branch "renovate/net.dv8tion-jda-6.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
5.6.1->6.1.2Release Notes
discord-jda/JDA (net.dv8tion:JDA)
v6.1.2Compare Source
Bug Fixes
Full Changelog: https://github.com/discord-jda/JDA/compare/v6.1.1...v6.1.2
Installation
Gradle
Maven
v6.1.1Compare Source
New Features
Bug Fixes
ModalMapping::getAsAttachmentListif no attachments were submitted by @archer-321 in #2941Full Changelog: https://github.com/discord-jda/JDA/compare/v6.1.0...v6.1.1
Installation
Gradle
Maven
v6.1.0: | Modal File UploadsOverview
This release primarily adds support for file uploads in modals.
Creating a Modal accepting file uploads
Using the uploaded file
New Features
Invite.Guildfields by @freya022 in #2914Full Changelog: https://github.com/discord-jda/JDA/compare/v6.0.0...v6.1.0
Installation
Gradle
Maven
v6.0.0: | New Component APICompare Source
Overview
This is the stable release of JDA 6.0.0. To avoid repeating the same information again, please look at the release notes of the release candidates for detailed explanations of the breaking changes and new features.
Release Candidates
Migrating to 6.0.0
To help ease the upgrade to JDA 6.0.0, we've provided an OpenRewrite recipe that can automatically refactor parts of your codebase. This will update imports and replace a few method calls with their new equivalents in JDA 6.0.0.
However, not all breaking changes can be handled automatically — for example, code that relied on the mutability of
ActionRowwill require manual adjustments.You will also have to update your code for creating
Modalinstances. Instead of usingActionRow, modals now make use of theLabelcomponent. Read the release notes for v6.0.0-rc.4 to learn more.The OpenRewrite Recipe
Before applying the recipe, make sure you’re using version control (e.g., Git) or back up your project manually. You’ll also need to be using Gradle or Maven to apply the migration.
Gradle
We are using the OpenRewrite Gradle Plugin. Before changing your JDA version in gradle, you can add the rewrite plugin and use the recipe to migrate your code:
Once you configured this plugin, you can use the
rewriteDryRuntask to generate a git patch inbuild/reports/rewrite/rewrite.patchto see what the plugin will do with your source code. To apply the changes, either use this patch or userewriteRun.After migrating your code, you can then update your JDA version (if the rewrite hasn't done it already) and remove the plugin again.
Maven
We are using the OpenRewrite Maven Plugin. Before changing your JDA version in your pom, you can add the rewrite plugin and use the recipe to migrate your code:
Once you configured this plugin, you can use the
rewrite:dryRuntask to generate a git patch intarget/site/rewrite/rewrite.patchto see what the plugin will do with your source code. To apply the changes, either use this patch or userewrite:run.After migrating your code, you can then update your JDA version (if the rewrite hasn't done it already) and remove the plugin again.
New Features
Changes
interactionspackage by @freya022 in #2890Bug Fixes
DELETE_GUILDroute according to the Discord Docs by @kiLeo13 in #2875Full Changelog: https://github.com/discord-jda/JDA/compare/v5.6.1...v6.0.0
Installation
Gradle
Maven
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 has been generated by Renovate Bot.
a160852757tof43d1eeabff43d1eeabfto3e2ae747ca3e2ae747cato1de5de3ec8View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.