Releases: botblock/JavaBotBlockAPI
v6.0.0: Split it up!
JavaBotBlockAPI v6 is now here and brings a lot of changes!
New Modular System
JavaBotBlockAPI is now split up into several modules which provides a much easier way to only use what you want.
Don't want the methods using JDA or ShardManager instances? Just get the core and request module!
Note that due to this changes, the jcenter download is (yet again) broken, meaning you have to use https://dl.bintray.com/andre601/maven to download the dependencies correctly.
I will not try to update the jcenter option as those have caused me a lot of trouble the last time this happened.
The new modules are named as follows:
javabotblockapi-core
The core module. This will always be needed for the other modules.javabotblockapi-request
This module is required for performing GET and POST requests with the BotBlock API. Depends on Core Modulejavabotblockapi-jda
This module is the same like the Request module but only for POST requests. It adds convenience methods where you only have to provide a JDA or ShardManager instance. Depends on Core and Request Module
The Changelog is too big to list it here so please check out the commit-history for an in-depth changelog.
v6.0.0-b2: Next attempt
Second attempt.
The previous one has issues with the dependency downloads...
v6.0.0-b: Modular System (BETA)
JavaBotBlockAPI is now a modular system, meaning that its core parts have been split up into multiple modules.
This allows you to simple use those parts that you require (e.g. No JDA dependencies)
This is a pre-release to test, if the automatic publishing feature is working and the releases become available on Bintray.
I sure hope it will work, otherwhise am I pretty lost on how to do it...
v5.2.3: Lots of removals
- Site updated:
- Deprecated
VULTREX_IO
(Planned removal: 5.2.5) - Added
DISCORDBOTS_CO
(Replacement of vultrex.io)
- Deprecated
- Removed deprecated Constructors:
GetBotAction()
GetBotAction(boolean)
GetListAction()
GetListAction(boolean)
PostAction()
BotBlockAPI(Map<String, String>)
- Removed deprecated fields:
GetListAction.ApiField#API_ALL
GetListAction.ApiField#API_DOCS
GetListAction.ApiField#API_GET
GetListAction.ApiField#API_POST
GetListAction.ApiField#API_FIELD
GetListAction.ApiField#API_SHARD_ID
GetListAction.ApiField#API_SHARD_COUNT
GetListAction.ApiField#API_SHARDS
- Fixed issue with new ApiField having wrong names.
Installation
Gradle
repositories{
jcenter()
}
dependencies{
compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '5.2.3'
}
###Maven
<dependencies>
<dependency>
<groupId>org.botblock</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>5.2.3</version>
</dependency>
</dependencies>
v5.2.2: Annotation changes.
- Added
@PlannedRemoval
annotation to mark objects marked for removal. - Replaced Jetbrain's
@NotNull
and@Nullable
annotations with Javax's@Nonnull
and@Nullable
- Dependencies updated:
- JDA:
4.1.1_165
to4.2.0_172
- JDA:
Installation
Gradle
repositories{
jcenter()
}
dependencies{
compile group: 'org.botblock', name: 'JavaBotBlockAPI', version: '5.2.2'
}
###Maven
<dependencies>
<dependency>
<groupId>org.botblock</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>5.2.2</version>
</dependency>
</dependencies>
v5.2.1: New Sites and removed deprecated stuff
- Site updated:
- Added
DISCORDLISTOLOGY_COM
- Added
VULTREX_IO
- Added
- Dependencies updated:
- JDA:
4.1.1_156
to4.1.1_165
- JDA:
- Improved Javadoc
- Removed deprecated
getInvite
methods fromGetBotAction
- Make the RequestHandler return proper JSON on (partially) failed POST
Installation
Gradle
Use this in your build.gradle
dependencies{
compile 'org.botblock:JavaBotBlockAPI:5.2.1'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>org.botblock</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>5.2.1</version>
</dependency>
</dependencies>
v5.2.0: [BREAKING] Constructor changes
This version contains breaking changes!
- Deprecated Constructors:
BotBlockAPI(Map<String, String>
GetBotAction()
GetBotAction(boolean)
GetListAction()
GetListAction(boolean)
PostAction()
- New Constructors:
GetBotAction(String)
GetBotAction(boolean, String)
GetBotAction(boolean, String, String)
GetListAction(String)
GetListAction(boolean, String)
GetListAction(boolean, String, String)
PostAction(String)
PostAction(String, String)
- Site updated:
- Removed
CLOUD_BOTLIST_XYZ
- Removed
CLOUDLIST_XYZ
- Removed
DISCORDBOT_WORLD
- Removed
DIVINEDISCORDBOTS_COM
- Removed
LBOTS_ORG
- Removed
- Dependencies updated:
- JDA:
4.1.1_154
to4.1.1_156
- JSON:
20190722
to20200518
- JDA:
Installation
Gradle
Use this in your build.gradle
dependencies{
compile 'org.botblock:JavaBotBlockAPI:5.2.0'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>org.botblock</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>5.2.0</version>
</dependency>
</dependencies>
v5.1.17: Added BOTSDATABASE_COM
- Site updated:
- Added BOTSDATABASE_COM
- Dependencies updated:
- OkHttp:
4.2.2
to4.7.2
- JDA:
4.1.1_137
to4.1.1_154
- OkHttp:
Installation
Gradle
Use this in your build.gradle
dependencies{
compile 'org.botblock:JavaBotBlockAPI:5.1.16'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>org.botblock</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>5.1.16</version>
</dependency>
</dependencies>
v5.1.16: Lots of deprecation
- Site updated:
- Deprecated
CLOUD_BOTLIST_XYZ
- Deprecated
CLOUDLIST_XYZ
- Deprecated
DIVINEDISCORDBOTS_COM
- Removed
ARCANE_BOTCENTER_XYZ
- Removed
DISCORDBOTREVIEWS_XYZ
- Deprecated
- Dependencies updated:
- JDA:
4.1.1_136
to4.1.1_137
- JDA:
Installation
Gradle
Use this in your build.gradle
dependencies{
compile 'org.botblock:JavaBotBlockAPI:5.1.16'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>org.botblock</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>5.1.16</version>
</dependency>
</dependencies>
v5.1.15: Deprecated LBOTS_ORG and DISCORDBOT_WORLD
Deprecated LBOTS_ORG
and DISCORDBOT_WORLD
Updated JDA to 4.1.1_136
Installation
Gradle
Use this in your build.gradle
dependencies{
compile 'org.botblock:JavaBotBlockAPI:5.1.15'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>org.botblock</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>5.1.15</version>
</dependency>
</dependencies>