Skip to content
Success

Changes

Summary

  1. Switch to API version 8 (gateway and REST) (#1405) (commit: 0ab5896) (details)
Commit 0ab5896d7f893487210003a682485b5b462bccf4 by noreply
Switch to API version 8 (gateway and REST) (#1405)

* Deprecate PrivateChannelCreateEvent
* Deprecate PrivateChannelDeleteEvent
* Use JSON body for ban requests
* Add handling for schema errors
* Ignore private messages for self user if channel not in cache
* Implement new presence cache
* Add private channel LRU handling
* Add missing message types
* Throw exception for old constructors
* Add parsing error handling in ErrorResponseException
* Add CacheFlag#ONLINE and disable it in createDefault
* Add CacheFlag#getPrivileged
(commit: 0ab5896)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/UserTypingEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermEncoder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/DefaultShardManagerBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/exceptions/ErrorResponseException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/managers/PresenceImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/cache/CacheFlag.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildMemberRemoveHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildRoleUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/WebSocketClient.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDABuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/AccountType.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/EntityBuilder.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/MemberImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/MessageType.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/restaction/PermissionOverrideActionImpl.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/internal/entities/MemberPresenceImpl.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/PresenceUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/channel/priv/PrivateChannelDeleteEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/hooks/ListenerAdapter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/ratelimit/BotRateLimiter.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/TypingStartHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/channel/priv/PrivateChannelCreateEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Requester.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/Helpers.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/MemberCachePolicy.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/ChannelDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDA.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/JDAInfo.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/GuildImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Member.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/MessageEmbed.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/MessageUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/MessageReactionHandler.java (diff)