Thanks to visit codestin.com
Credit goes to github.com

Skip to content

v3.6.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 16:33

‼️ Java Update in Early 2023 ‼️

Starting in early 2023, support for Java 8 will be discontinued and Java 11 will be the new minimum requirement for using Javacord.
If you are not yet running Java 11+, we strongly recommend that you upgrade before the end of this year.

📦 Download

Using a Build Manager

Gradle

repositories { mavenCentral() }
dependencies { implementation 'org.javacord:javacord:3.6.0' }

Maven

<dependency>
    <groupId>org.javacord</groupId>
    <artifactId>javacord</artifactId>
    <version>3.6.0</version>
    <type>pom</type>
</dependency>

Sbt

libraryDependencies ++= Seq("org.javacord" % "javacord" % "3.6.0")

📋 Changelog

Highlights in this release:

  • We're now even contributor-friendlier with issue templates and the all-contributors specification.
  • Support for applications being owned by teams
  • Out-of-the-box support for delayed deletion of entities.
  • Support for message interactions

Improvements

  • Added support for slash command mentions (#1137, #1140)
  • Added support for component-only messages (#1120)
  • Increased the granularity of the message removal duration when banning members (#1113)
  • Added convenience methods for creation of nested slash commands (#1111)
  • internal Switched to session-specific resume urls (#1102)
  • Added server features, including widgets and welcome screens (#1096, #1123)
  • Added support for the replied user mention (#1091)
  • Improved error handling on replying to messages that no longer exist (#1090)
  • Added number of messages to thread metadata (#1089)
  • Added position in thread to Message (#1088)
  • Added support for message interactions (#1078)
  • Switched to discord api / gateway version 10 (#1073)
  • Added message content intent (#1073)
  • Improved attachment handling when updating messages (#1073)
  • Added description support for message attachments (#1072)
  • Exposed boosting and avatar metadata for members (#1070)
  • Added message flags to Message instances (#1051)
  • Added ability to get full name of a slash command (#1050)
  • Added support for min and max length of String parameters in slash commands (#1047)
  • Added capabilities for scheduled / delayed deletion (#1038)
  • Removed hard-coded rate limits (#973)
  • Renamed download methods for consistency (#641)
  • Added permission checks for ServerVoiceChannel (#638)

Bugfixes

  • Fixed thread channels mistakenly being removed from cache (#1136)
  • Fixed ServerThreadChannelChangeInvitableEvent possibly being thrown for public threads (#1133)
  • Fixed audio connection not being cleaned up when leaving a server (#1125)
  • Fixed ConcurrentModificationException when updating custom emojis (#1124)
  • SAME-RELEASE Fixed empty attachments object (#1122)
  • Fixed javadoc build with Java 13+ (#1107)
  • SAME-RELEASE Fixed NPE with Server (#1104, #1130)
  • Fixed updates to the bot user being ignored (#1052)
  • Fixed memory leaks with the event queues and sticker sets (#1045)
  • Fixed issues with updates for uncached roles (#942)

Breaking Changes

  • Removed outdated server features (#1096)
  • Removed has(Boost|Join)MessagesEnabled methods from Server (#1096)
  • Extracted thread metadata into separate ThreadMetadata class (#1094)
  • Changed signature of MessageEditEvent to now give two Message instances for comparison (#1051)
  • Removed description parameters for context menu commands (#1049)
  • Stickers are no longer shared across shards (#1045)
  • Changed return types from collections to more appropriate types across the API (#974)
  • Changed Application ownership return types (#968)
  • Removed deprecated addFile methods (#925)