Skip to content
Success

Changes

Summary

  1. Lazy Loading (#1046) (commit: caf7d20) (details)
Commit caf7d201434ea9dade0fa9f4b0497ef3fb272e20 by noreply
Lazy Loading (#1046)

Allow disabling member chunking per guild or disable user cache and cache updates entirely.
Additionally, change the handling of unavailable guilds.
Unavailable guilds will now be removed from the guild cache and only be stored through an ID.
(commit: caf7d20)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/sharding/DefaultShardManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/MessageUpdateEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/priv/react/GenericPrivateMessageReactionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/audio/ConnectionRequest.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/member/update/GuildMemberUpdateBoostTimeEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/PresenceUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/VoiceStateUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/EventCache.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/internal/handle/ChannelUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/Guild.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/events/user/update/GenericUserPresenceEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateAvatarEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/UserTypingEvent.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/JDAImpl.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/member/update/GuildMemberUpdateNicknameEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildSetupController.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/User.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/managers/AudioManagerImpl.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/api/events/user/update/UserUpdateNameEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/ReceivedMessage.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/member/GuildMemberRoleRemoveEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/UserActivityStartEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateOnlineStatusEvent.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/entities/Message.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/guild/GuildMessageUpdateEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/guild/react/GuildMessageReactionAddEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildMembersChunkHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateActivityOrderEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/guild/GuildMessageReceivedEvent.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/events/message/react/GenericMessageReactionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/react/MessageReactionRemoveEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/MessageReceivedEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/update/UserUpdateDiscriminatorEvent.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/internal/handle/GuildMemberUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildSetupNode.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/entities/MessageReaction.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/config/flags/ConfigFlag.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/react/MessageReactionAddEvent.java (diff)
The file was addedsrc/main/java/net/dv8tion/jda/api/utils/ChunkingFilter.java
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildCreateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/user/UserActivityEndEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/member/GuildMemberRoleAddEvent.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/utils/config/MetaConfig.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildMemberAddHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/config/SessionConfig.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/member/GuildMemberLeaveEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildUpdateHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/guild/react/GenericGuildMessageReactionEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/MessageReactionHandler.java (diff)
The file was modifiedgradle/wrapper/gradle-wrapper.properties (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/package-info.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/guild/react/GuildMessageReactionRemoveEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/utils/config/sharding/ShardingSessionConfig.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/member/GuildMemberJoinEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/managers/AudioManager.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/handle/GuildDeleteHandler.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/exceptions/GuildUnavailableException.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/priv/react/PrivateMessageReactionRemoveEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/SystemMessage.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/requests/Route.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/message/priv/react/PrivateMessageReactionAddEvent.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/api/utils/SessionControllerAdapter.java (diff)
The file was modifiedREADME.md (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/events/guild/update/GuildUpdateOwnerEvent.java (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/ClosableIterator.java (diff)
The file was modifiedbuild.gradle.kts (diff)
The file was modifiedsrc/main/java/net/dv8tion/jda/internal/entities/UserImpl.java (diff)