Skip to content
Success

Changes

Summary

  1. Replaced Unirest with OkHttp (#349) (commit: 5a54243) (details)
Commit 5a54243279ca85b89ce8a38bf81a0195bf68c546 by noreply
Replaced Unirest with OkHttp (#349)
Rest in peace Unirest, you served us well (most of the times)
Things that were changed with this PR:
- Replaced Unirest with OkHttp
- Added v6/ to the base api route
- Deprecated JDA#shutdown(boolean)
- Refactored argument checks to new Checks class
- Changed how query parameters are handled
- Exposing RequestFuture to the public
- Added HttpRequestEvent for debugging
- Updated README.md
(commit: 5a54243)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/EmoteImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/PaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/hooks/ListenerAdapter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/Permission.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/WebhookManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Icon.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/impl/AudioManagerImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/WebhookImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/fields/PermissionField.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/events/Event.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageEmbed.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/IOUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/GuildManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/ReactionPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/exceptions/RateLimitedException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/AccountManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/order/OrderAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/AuditableRestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/PermissionOverrideImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/WebhookAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/MiscUtil.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/events/http/HttpRequestEvent.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/RoleAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageReaction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageChannel.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/impl/PresenceImpl.java (diff)
The file was modifiedbuild.gradle (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/JDABuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/RoleImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/managers/ApplicationManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Message.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/managers/EmoteManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/RoleManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/ChannelManagerUpdatable.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/MessageBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Requester.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/order/RoleOrderAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Route.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/PermOverrideManagerUpdatable.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/core/requests/restaction/RequestFuture.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/TextChannelImpl.java (diff)
The file was modifiedREADME.md (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/requests/Method.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/order/ChannelOrderAction.java (diff)
The file was removedsrc/main/java/net/dv8tion/jda/core/requests/restaction/CompletedFuture.java
The file was modifiedsrc/main/java/net/dv8tion/jda/client/entities/impl/AuthorizedApplicationImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/JDAInfo.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/MemberImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/requests/RestFuture.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/RestAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/exceptions/ErrorResponseException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/package-info.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/Game.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/managers/GuildController.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/PermissionOverrideAction.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/utils/Checks.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/MessageHistory.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/AuditLogPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/EmbedBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/JDA.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/PermissionUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/requests/restaction/ApplicationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/RateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/bot/entities/impl/JDABotImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/EntityBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/entities/impl/ApplicationImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Request.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/requests/restaction/pagination/MentionPaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/MessageImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/client/entities/impl/JDAClientImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/core/requests/RequestFuture.java
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/pagination/MessagePaginationAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/InviteImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/ChannelAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/utils/WidgetUtil.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/AbstractChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/Response.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/ratelimit/BotRateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/audit/AuditLogEntry.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/restaction/InviteAction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/entities/impl/PrivateChannelImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/core/requests/ratelimit/ClientRateLimiter.java (diff)