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.13 #455
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.12
->5.0.0-beta.13
Release Notes
DV8FromTheWorld/JDA (net.dv8tion:JDA)
v5.0.0-beta.13
Compare Source
Overview
This release includes a few bug fixes and a new
FileUpload
variant to optimize memory usage when uploading larger files.Supplier FileUpload (#2508)
With the new
FileUpload.fromStreamSupplier
, an upload will no longer retain the entire file content in memory. This comes at the cost of having to re-read the source each time.Example:
Each time the request is attempted, which can be more than once due to rate-limit retries, the supplier is used to create a new readable input stream of the file. Once the request successfully writes the entire body, the stream is closed again.
Note that the supplier must always return a new instance or reset the stream accordingly.
Getting Message Author from Reactions (#2499)
The
MessageReactionAddEvent
now provides the author id of the original message. This can be useful in situations where retrieving the message is too expensive.New Features
Changes
Bug Fixes
Full Changelog: discord-jda/JDA@v5.0.0-beta.12...v5.0.0-beta.13
Installation
Gradle
Maven
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.
This PR has been generated by Mend Renovate. View repository job log here.