v3.0.0-beta.2 | JDA 5.5.0, improvements and fixes
Changes
Components
labelandemojicombinations in button factories are now nullable- At least one of them is required
- Added a
disabledparameter toButton#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
Collectionoverloads 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
ByteArrayplaceholder 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>