-
-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve logging for gateway connection #2665
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MinnDevelopment
changed the title
Log value of _trace field
Improve logging for gateway connection
Apr 23, 2024
mergify bot
referenced
this pull request
in SvenKirschbaum/musikbot-client
May 19, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---|---|---| | debian | final | digest | `155280b` -> `804194b` | | | | | | rust | stage | digest | `0dd183f` -> `5907e96` | | | | | | [net.dv8tion:JDA](https://togithub.com/DV8FromTheWorld/JDA) | compile | patch | `5.0.0-beta.23` -> `5.0.0-beta.24` | [![age](https://developer.mend.io/api/mc/badges/age/maven/net.dv8tion:JDA/5.0.0-beta.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/net.dv8tion:JDA/5.0.0-beta.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/net.dv8tion:JDA/5.0.0-beta.23/5.0.0-beta.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/net.dv8tion:JDA/5.0.0-beta.23/5.0.0-beta.24?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>DV8FromTheWorld/JDA (net.dv8tion:JDA)</summary> ### [`v5.0.0-beta.24`](https://togithub.com/discord-jda/JDA/releases/tag/v5.0.0-beta.24): | Bug fixes and entitlement types ### Overview This is a small bugfix release, including some missing features for **premium app entitlements**. ##### Additional Entitlement Features ([#​2667](https://togithub.com/DV8FromTheWorld/JDA/issues/2667)) This release adds support for **test entitlements** and **consumed entitlements**. An entitlement can be *consumed*, marking it as already used. This can be useful for one-time entitlements, which are consumed on use. ```java public boolean hasEntitlement(long skuId, List<Entitlement> entitlements) { return entitlements.stream().anyMatch(e -> e.getSkuIdLong() == skuId && !e.isConsumed()); } ``` ```java public void consumeEntitlement(long skuId, List<Entitlement> entitlements) { entitlements.stream() .filter(e -> e.getSkuIdLong() == skuId && !e.isConsumed()) .findFirst() .ifPresent(entitlement -> entitlement.consume().queue()); } ``` #### New Features - Add `IPostContainerManager#setTopic` by [@​freya022](https://togithub.com/freya022) in [https://github.com/discord-jda/JDA/pull/2666](https://togithub.com/discord-jda/JDA/pull/2666) - Add missing features relating to premium app subscriptions by [@​Tobias123567](https://togithub.com/Tobias123567) in [https://github.com/discord-jda/JDA/pull/2667](https://togithub.com/discord-jda/JDA/pull/2667) #### Changes - Improve logging for gateway connection by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2665](https://togithub.com/discord-jda/JDA/pull/2665) - Add more static analyzer annotations by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2675](https://togithub.com/discord-jda/JDA/pull/2675) - Update SLF4J api and jackson by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2674](https://togithub.com/discord-jda/JDA/pull/2674) #### Bug Fixes - Fix ClassCastException in EntityBuilder#updateMemberCache by [@​Xirado](https://togithub.com/Xirado) in [https://github.com/discord-jda/JDA/pull/2660](https://togithub.com/discord-jda/JDA/pull/2660) - Properly copy poll data in MessageCreateRequest#applyData by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2662](https://togithub.com/discord-jda/JDA/pull/2662) - Make channel access checks consistent by [@​MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2679](https://togithub.com/discord-jda/JDA/pull/2679) **Full Changelog**: discord-jda/JDA@v5.0.0-beta.23...v5.0.0-beta.24 ### Installation #### Gradle ```gradle repositories { mavenCentral() } dependencies { implementation("net.dv8tion:JDA:5.0.0-beta.24") } ``` #### Maven ```xml <dependency> <groupId>net.dv8tion</groupId> <artifactId>JDA</artifactId> <version>5.0.0-beta.24</version> </dependency> ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on sunday" in timezone Europe/Berlin, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/SvenKirschbaum/musikbot-client).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Etiquette
Changes
Closes Issue: NaN
Description
Logs the value of
_trace
for debugging websocket issues