Skip to content

v3.0.0-beta.2 | JDA 5.5.0, improvements and fixes

Choose a tag to compare

@freya022 freya022 released this 30 Apr 11:00
· 190 commits to 3.X since this release
0a6f94a

JDA version

Changes

Components

  • label and emoji combinations in button factories are now nullable
    • At least one of them is required
  • Added a disabled parameter to Button#of(ButtonStyle, String?, Emoji?)

Modals

  • Removed context receivers from modal extensions
    • Requires recompilation but no source changes

Dependencies

  • Updated JDA to 5.5.0
    • Updated Jackson to 2.18.3
    • Updated JetBrains annotations to 26.0.2
  • Excluded Tink from JDA
    • Unsure whether this is taken into account by Maven and/or Gradle
    • See JDA's readme on how to exclude them yourself

New features

Components

  • Added Collection overloads in persistent timeout extensions

Serialization

  • Added Kotlin support to DefaultObjectMapper

Bug fixes

Components

  • Fixed type-safe timeout extensions saving arguments in a nested list

Database

  • Fixed warning due to a ByteArray placeholder trying to be replaced in query logs

Don't hesitate to check out the examples and the wiki.

Full Changelog: v3.0.0-beta.1...v3.0.0-beta.2

Installation

As a reminder, the minimum Java version supported is Java 17.

Kotlin Gradle

repositories {
    mavenCentral()
}

dependencies {
    implementation("io.github.freya022:BotCommands:3.0.0-beta.2")
}

Maven

<dependency>
    <groupId>io.github.freya022</groupId>
    <artifactId>BotCommands</artifactId>
    <version>3.0.0-beta.2</version>
</dependency>