jaoafa / jaoTone

🎼 Discord MusicBot for jMS Gamers Club
https://jaoafa.github.io/jaoTone/
2 stars 1 forks source link

fix(deps): update dependency net.dv8tion:jda to v5.0.0-beta.24 #127

Closed renovate[bot] closed 4 months ago

renovate[bot] commented 4 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.dv8tion:JDA 5.0.0-beta.23 -> 5.0.0-beta.24 age adoption passing confidence

Release Notes

DV8FromTheWorld/JDA (net.dv8tion:JDA) ### [`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 entitlements) { return entitlements.stream().anyMatch(e -> e.getSkuIdLong() == skuId && !e.isConsumed()); } ``` ```java public void consumeEntitlement(long skuId, List 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**: https://github.com/discord-jda/JDA/compare/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 net.dv8tion JDA 5.0.0-beta.24 ```

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 4 months ago

Qodana Community for JVM

4 new problems were found

Inspection name Severity Problems
Non-constant string concatenation as argument to logging call ◽️ Notice 4

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report To be able to view the detailed Qodana report, you can either: - Register at [Qodana Cloud](https://qodana.cloud/) and [configure the action](https://github.com/jetbrains/qodana-action#qodana-cloud) - Use [GitHub Code Scanning with Qodana](https://github.com/jetbrains/qodana-action#github-code-scanning) - Host [Qodana report at GitHub Pages](https://github.com/JetBrains/qodana-action/blob/3a8e25f5caad8d8b01c1435f1ef7b19fe8b039a0/README.md#github-pages) - Inspect and use `qodana.sarif.json` (see [the Qodana SARIF format](https://www.jetbrains.com/help/qodana/qodana-sarif-output.html#Report+structure) for details) To get `*.log` files or any other Qodana artifacts, run the action with `upload-result` option set to `true`, so that the action will upload the files as the job artifacts: ```yaml - name: 'Qodana Scan' uses: JetBrains/qodana-action@v2024.1.4 with: upload-result: true ```
Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions