Closed renovate[bot] closed 1 year ago
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
âš Warning: custom changes will be lost.
This PR contains the following updates:
5.0.0-beta.9
->5.0.0-beta.11
âš Dependency Lookup Warnings âš
Warnings were logged while processing this repo. Please check the logs for more information.
Release Notes
DV8FromTheWorld/JDA (net.dv8tion:JDA)
### [`v5.0.0-beta.11`](https://togithub.com/discord-jda/JDA/releases/tag/v5.0.0-beta.11): | Bug fixes and embed from json ### Overview This release fixes a few issues introduced by the username changes. It also introduces [`EmbedBuilder.fromData`](https://docs.jda.wiki/net/dv8tion/jda/api/EmbedBuilder.html#fromData\(net.dv8tion.jda.api.utils.data.DataObject\)) as a way to deserialize embeds from JSON. There are also some changes to our online presence. - The JDA repository has moved to the [discord-jda](https://togithub.com/discord-jda) GitHub organization - The javadocs moved away from the Jenkins CI host to GitHub pages and can be found at our wiki domain [docs.jda.wiki](https://docs.jda.wiki) - All commits on the master branch will from now on build and upload artifacts using the [Artifacts Workflow](https://togithub.com/discord-jda/JDA/actions/workflows/artifacts.yml). Those artifacts stay up for a total of 90 days and can be downloaded as a zip file. All releases will continue to provide artifacts for that specific version indefinitely. ##### Create Embeds From JSON ([#2471](https://togithub.com/DV8FromTheWorld/JDA/issues/2471)) Using the new [`EmbedBuilder.fromData`](https://docs.jda.wiki/net/dv8tion/jda/api/EmbedBuilder.html#fromData\(net.dv8tion.jda.api.utils.data.DataObject\)) factory method, you can now create embed instances from JSON or ETF data. ```java MessageEmbed embed = new EmbedBuilder().setDescription("Hello, friend").build(); byte[] data = embed.toData().toJson(); // serialize to json data Files.write(path, json); // store the embed somewhere on disk DataObject json = DataObject.fromJson(Files.newInputStream(path)); // load the json data MessageEmbed reconstructed = EmbedBuilder.fromData(json).build(); // reconstruct the same embed using the builder ``` #### New Features - Support embed deserialization from JSON data by [@MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2471](https://togithub.com/discord-jda/JDA/pull/2471) #### Bug Fixes - Update modulo for default avatars by id by [@MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2475](https://togithub.com/discord-jda/JDA/pull/2475) - Fix handling of wrong length discriminators by [@MinnDevelopment](https://togithub.com/MinnDevelopment) in [https://github.com/discord-jda/JDA/pull/2478](https://togithub.com/discord-jda/JDA/pull/2478) - Fix external location value to be editable on started scheduled event by [@Mitmocc](https://togithub.com/Mitmocc) in [https://github.com/discord-jda/JDA/pull/2477](https://togithub.com/discord-jda/JDA/pull/2477) **Full Changelog**: https://github.com/discord-jda/JDA/compare/v5.0.0-beta.10...v5.0.0-beta.11 ### Installation #### Gradle ```gradle repositories { mavenCentral() } dependencies { implementation("net.dv8tion:JDA:5.0.0-beta.11") } ``` #### Maven ```xmlConfiguration
📅 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.