Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.8 - autoclosed #687

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 30, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
net.dv8tion:JDA 5.0.0-alpha.4 -> 5.0.0-alpha.8 age adoption passing confidence

Release Notes

DV8FromTheWorld/JDA

v5.0.0-alpha.8

Compare Source

Changelog

This release is a follow up hotfix release for 5.0.0-alpha.6 that wasn't completely mitigated by the 5.0.0-alpha.7 hotfix.

Check out the patch notes on 5.0.0-alpha.6 for the cool new stuff.

New Features

N/A

Changes

Removed

N/A

Full Changelog: discord-jda/JDA@v5.0.0-alpha.7...v5.0.0-alpha.8

Installation

Gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("net.dv8tion:JDA:5.0.0-alpha.8")
}

Maven

<dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>5.0.0-alpha.8</version> 
</dependency>

v5.0.0-alpha.7

Compare Source

Changelog

This release is a hotfix release for 5.0.0-alpha.6. Check out the patch notes on that version for the cool stuff.

New Features

N/A

Changes

Removed

N/A

Full Changelog: discord-jda/JDA@v5.0.0-alpha.6...v5.0.0-alpha.7

Installation

Gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("net.dv8tion:JDA:5.0.0-alpha.7")
}

Maven

<dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>5.0.0-alpha.7</version> 
</dependency>

v5.0.0-alpha.6

Compare Source

Changelog

This release includes a variety of breaking changes that were needed to either correctly model how Discord models things in their API or to better set us up for future development.

In this version, we added a new pattern for options on commands. You can now use getOption(name[, fallback], resolver) to easily get any optional arguments for your commands:

public void onSlashCommandInteraction(SlashCommandInteractionEvent event)
{
    //                              name      fallback          resolver
    
    // null if user is not a member of the guild (fallback not used, since option is mapped to a User instance)
    Member member = event.getOption("target", event::getMember, OptionMapping::getAsMember);
    // null if fallback is used (getAsUser cannot be null)
    User user =     event.getOption("target", null            , OptionMapping::getAsUser);
    // null fallback implied
    User nullable = event.getOption("target",                   OptionMapping::getAsUser); // <- implicit fallback null

    // real use-cases:
    int days = event.getOption("days", 7, OptionMapping::getAsInt); // optional ban days
    String reason = event.getOption("reason", "banned by mod", OptionMapping::getAsString); // optional ban reason
}

You can also now flip the iteration direction for MessageChannel.getIterableHistory. A common request as of late, was to get the first messages of a channel, which can now be accomplished by doing channel.getIterableHistory().reverse().takeAsync(1000).

New Features

Changes

Removed

Full Changelog: discord-jda/JDA@v5.0.0-alpha.5...v5.0.0-alpha.6

Installation

Gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("net.dv8tion:JDA:5.0.0-alpha.6")
}

Maven

<dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>5.0.0-alpha.6</version> 
</dependency>

v5.0.0-alpha.5

Compare Source

Changelog

New Features

Interactions Rework

In this release we completely reworked how interactions work in JDA. The changes are significant, but they also bring with them a lot of improvements and new features. I would highly suggest that users take a look at the migration guide provided in the PR to better understand the changes.

Summary:

  • Reworks of:
    • Slash Commands
    • Select Menus
    • Buttons
  • Introduction of new functionality:
    • User Context Commands
    • Message Context Commands
    • Slash Command Auto Complete
    • An improved hierarchy for Interactions
    • An improved hierarchy for Components

Changes

Removed

  • N/A

Full Changelog: discord-jda/JDA@v5.0.0-alpha.4...v5.0.0-alpha.5

Installation

Gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("net.dv8tion:JDA:5.0.0-alpha.5")
}

Maven

<dependency>
    <groupId>net.dv8tion</groupId>
    <artifactId>JDA</artifactId>
    <version>5.0.0-alpha.5</version> 
</dependency>

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

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


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate renovate bot force-pushed the renovate/net.dv8tion-jda-5.x branch from 34e39c5 to 6eefc16 Compare February 20, 2022 21:54
@renovate renovate bot changed the title fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.5 fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.6 Feb 20, 2022
@renovate renovate bot force-pushed the renovate/net.dv8tion-jda-5.x branch from 6eefc16 to 1c024ab Compare February 22, 2022 09:46
@renovate renovate bot changed the title fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.6 fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.7 Feb 22, 2022
@renovate renovate bot force-pushed the renovate/net.dv8tion-jda-5.x branch from 1c024ab to e5eee76 Compare February 23, 2022 10:45
@renovate renovate bot changed the title fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.7 fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.8 Feb 23, 2022
@renovate renovate bot force-pushed the renovate/net.dv8tion-jda-5.x branch from e5eee76 to 1ab9e0d Compare February 25, 2022 04:51
@book000 book000 changed the base branch from master to dev February 25, 2022 05:10
@renovate renovate bot force-pushed the renovate/net.dv8tion-jda-5.x branch from 1ab9e0d to f5aa786 Compare February 25, 2022 05:10
@book000 book000 self-requested a review February 25, 2022 05:14
@book000
Copy link
Member

book000 commented Feb 25, 2022

waiting v5.0.0-alpha.9

Base automatically changed from dev to master February 25, 2022 05:45
@book000
Copy link
Member

book000 commented Feb 25, 2022

@dependabot recreate

@renovate renovate bot changed the title fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.8 fix(deps): update dependency net.dv8tion:jda to v5.0.0-alpha.8 - autoclosed Feb 25, 2022
@renovate renovate bot closed this Feb 25, 2022
@renovate renovate bot deleted the renovate/net.dv8tion-jda-5.x branch February 25, 2022 06:33
@github-actions github-actions bot added the ✅完了済み ✅ 完了済み - Done / Closed label Feb 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
✅完了済み ✅ 完了済み - Done / Closed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants