v5.0.0-beta.21 | Bug fixes and enforced nonce on messages
MinnDevelopment
released this
10 Mar 17:44
·
24 commits
to master
since this release
Overview
This release fixes a few bugs but also implements a new behavior on message sending.
With the new enforce nonce behavior, messages will no longer be duplicated due to timeouts or discord outages. This means, any message request will now send an automatically generated nonce. You can still set a custom nonce using setNonce, but you should make sure that this nonce is unique. If you previously relied on this setter, ensure that you are not sending duplicated nonce values.
New Features
- Add DiscordLocale values for these locales: Indonesian and Latin America (Spanish LATAM) by @stackpan in #2627
Changes
- Add support for enforce_nonce by @MinnDevelopment in #2614
Bug Fixes
- Add missing generic type to shardmanager by @duncte123 in #2612
- Add missing proxy url field to the MessageEmbed.VideoInfo class by @shaksternano in #2618
- Fix suppressing embeds on messages with webhooks by @freya022 in #2620
Full Changelog: v5.0.0-beta.20...v5.0.0-beta.21
Installation
Gradle
repositories {
mavenCentral()
}
dependencies {
implementation("net.dv8tion:JDA:5.0.0-beta.21")
}
Maven
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.0.0-beta.21</version>
</dependency>