Skip to content

v3.2.0 | New HTTP Client and AuditLogs

Compare
Choose a tag to compare
@MinnDevelopment MinnDevelopment released this 16 Jul 00:30
· 1513 commits to master since this release

With the release of version 3.2 JDA has fully replaced the mashape/Unirest-java dependency due to its problems concerning basic HTTP standards and unmaintained code (see the issue tracker for its repository)

This means that JDA will no longer provide transitive dependencies for Unirest and thus if you depended on it you will suffer with issues.
Instead of Unirest we are now using OkHTTP3 which should greatly improve performance and fix many major issues that came with Unirest due to it being static.

In the release of version 3.1.1 which had no release announcement we introduced support for AuditLogPaginationAction through Guild.getAuditLogs() and major support for adding reasons to auditable actions (such as those found in GuildController).
For more information see these pages in our wiki: Paginating Entities, RestAction#auditlog-reasons

Latest verison: Download

Changelog

Downloads for this version are available from the build server:
http://home.dv8tion.net:8080/job/JDA/ or below.

Gradle

repositories {
    jcenter()
}

dependencies {
    compile 'net.dv8tion:JDA:3.2.0_226'
}

Maven

<dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>3.2.0_226</version>
</dependency>


<repository>
    <id>jcenter</id>
    <name>jcenter-bintray</name>
    <url>http://jcenter.bintray.com</url>
</repository>