Skip to content

Releases: botblock/JavaBotBlockAPI

v6.0.0: Split it up!

08 Aug 16:13
Compare
Choose a tag to compare

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 Module
  • javabotblockapi-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

08 Aug 15:24
Compare
Choose a tag to compare
Pre-release

Second attempt.
The previous one has issues with the dependency downloads...

v6.0.0-b: Modular System (BETA)

08 Aug 15:06
c419f75
Compare
Choose a tag to compare
Pre-release

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

03 Jul 11:30
Compare
Choose a tag to compare
  • Site updated:
    • Deprecated VULTREX_IO (Planned removal: 5.2.5)
    • Added DISCORDBOTS_CO (Replacement of vultrex.io)
  • 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.

03 Jul 00:54
Compare
Choose a tag to compare
  • 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 to 4.2.0_172

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

18 Jun 20:33
Compare
Choose a tag to compare
  • Site updated:
  • Dependencies updated:
    • JDA: 4.1.1_156 to 4.1.1_165
  • Improved Javadoc
  • Removed deprecated getInvite methods from GetBotAction
  • 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

01 Jun 18:01
Compare
Choose a tag to compare

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
  • Dependencies updated:
    • JDA: 4.1.1_154 to 4.1.1_156
    • JSON: 20190722 to 20200518

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

21 May 14:02
Compare
Choose a tag to compare
  • Site updated:
  • Dependencies updated:
    • OkHttp: 4.2.2 to 4.7.2
    • JDA: 4.1.1_137 to 4.1.1_154

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

20 Apr 20:21
Compare
Choose a tag to compare
  • Site updated:
    • Deprecated CLOUD_BOTLIST_XYZ
    • Deprecated CLOUDLIST_XYZ
    • Deprecated DIVINEDISCORDBOTS_COM
    • Removed ARCANE_BOTCENTER_XYZ
    • Removed DISCORDBOTREVIEWS_XYZ
  • Dependencies updated:
    • JDA: 4.1.1_136 to 4.1.1_137

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

13 Apr 21:54
Compare
Choose a tag to compare

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>