Skip to content

Releases: botblock/JavaBotBlockAPI

v2.3.8: Add "types: [published]" to GitHub Actions

06 Oct 12:52
Compare
Choose a tag to compare

Another day, another test for GitHub Actions.
I added types: [published] to the yml file to prevent the Workflow from being triggered 3 times.

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.8'
}

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.8</version>
  </dependency>
</dependencies>

v2.3.6: 2nd try with GitHub Actions

03 Oct 22:08
f62ebf2
Compare
Choose a tag to compare

This is the second attempt to make GitHub Actions work... Let's hope it does.

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.6'
}

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.6</version>
  </dependency>
</dependencies>

v2.3.5: Updated to Java 11 and JDA 4.0.0_48

30 Sep 16:22
Compare
Choose a tag to compare

This update includes an update to Java 11 which adds new functionality to the javadocs (i.e. a search bar \o/).
I also updated JDA to the latest release.

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.5'
}

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.5</version>
  </dependency>
</dependencies>

v2.3.4: Fix of DISCORDSBESTBOTS_XYZ

25 Sep 16:46
Compare
Choose a tag to compare

Small little update that fixes the typo in the Sites enum, changing DISCORSDBESTBOTS_XYZ to DISCORDSBESTBOTS_XYZ

Also, added a @SInCE tag for new entries in the Sites enum to indicate since when those are available.

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.4'
}

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.4</version>
  </dependency>
</dependencies>

v2.3.3: Added Discordextremelist.xyz and removed GitHub Actions

22 Sep 14:55
Compare
Choose a tag to compare

The title sais it all.
I added discordextremelist.xyz to the Sites enum and also removed GitHub Actions since it didn't work as expected (And I also didn't receive any support for fixing/improving it).

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.3'
}

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.3</version>
  </dependency>
</dependencies>

v2.3.2: Adding GitHub Actions

13 Sep 20:32
Compare
Choose a tag to compare

This small update is mostly for testing GitHub's "GitHub Action" to see if it performs the actions defined in the file, which should trigger on releases like this one.

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.2'
}

Maven

For maven use this code snippet:

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.2</version>
  </dependency>
</dependencies>

v2.3.0: Implemented caching to GET methods

24 Aug 16:05
Compare
Choose a tag to compare

This version implements caching for the different get methods (e.g. getBotlists(String)).
This is used as a sort of ratelimit prevention as the requested data is kept in cache and used for 2 minutes before a new request is made.

Additional changes are:

  • getBotlists() and getBotlist(String|Site) now have an additional String parameter used for the cache.
    So the new methods are getBotlists(String) and getBotlist(String, String|Site)
  • The JSON used for post requests is no longer a single main field, making this version more thread save.
  • You can disable the caching through the RequestHandler (Although it's not recommended).
    • To do this just add the boolean true when making an instance of the RequestHandler.
      Example: RequestHandler handler = new RequestHandler(true);
    • This was suggested by @DavidRockin

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.0'
}

Maven

<repositories>
  <repository>
    <id>jcenter</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.3.0</version>
  </dependency>
</dependencies>

v2.2.1: Updated JDA to 4.0.0_40

14 Aug 15:18
Compare
Choose a tag to compare

This release updates the dependency of JDA to version 4.0.0_40

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.2.1'
}

Maven

<repositories>
  <repository>
    <id>jcenter</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.2.1</version>
  </dependency>
</dependencies>

Updated JDA to released version

11 Aug 16:01
Compare
Choose a tag to compare

JDA v4 was finally released and is available under the version 4.0.0_39.
v2.2.0 now supports this version.

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.2.0'
}

Maven

<repositories>
  <repository>
    <id>jcenter</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.2.0</version>
  </dependency>
</dependencies>

v2.1.1: Added yabl.xyz to Site enum

01 Aug 00:09
Compare
Choose a tag to compare

This small update adds the botlist yabl.xyz to the Site enum.

Installation

Gradle

repositories{
    jcenter()
}

dependencies{
    compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.1.1'
}

Maven

<repositories>
  <repository>
    <id>jcenter</id>
    <url>https://dl.bintray.com/andre601/maven</url>
  </repository>
</repositories>

<dependencies>
  <dependency>
    <groupId>com.andre601</groupId>
    <artifactId>JavaBotBlockAPI</artifactId>
    <version>2.1.1</version>
  </dependency>
</dependencies>