Releases: botblock/JavaBotBlockAPI
v3.0.6: Fix build.gradle (for real this time)
no comment provided
Installation
Gradle
Use this in your build.gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '3.0.6'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>3.0.6</version>
</dependency>
</dependencies>
v3.0.5: Fixing broken build.gradle
This fixes the build.gradle (hopefully) and should make GitHub Actions work fine again.
Installation
Gradle
Use this in your build.gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '3.0.5'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>3.0.5</version>
</dependency>
</dependencies>
v3.0.4: Removed RequestHandler
Like announced in an earlier release was the RequestHandler located under com.andre601.javabotblockapi
now removed!
You need to use the PostAction or GetAction class now for all POST and GET actions.
Installation
Gradle
Use this in your build.gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '3.0.4'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>3.0.4</version>
</dependency>
</dependencies>
v3.0.3
No real changes compared to the other release.
I just forgot to change the version number in the build.gradle from 3.0.1_tb1
to 3.0.2
which is now 3.0.3
Installation
Gradle
Use this in your build.gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '3.0.3'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>3.0.3</version>
</dependency>
</dependencies>
v3.0.2: Update dependencies [INVALID]
Invalid Version!
Please use version 3.0.3 as this version is not available on Bintray!
This update bumps JDA from 4.0.0_61
to 4.0.0_70
Installation
Gradle
Use this in your build.gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '3.0.2'
}
Maven
Use this in your pom.xml
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>3.0.2</version>
</dependency>
</dependencies>
v3.0.1_tb1
This is a test build (hence the _tb1
in the version) to see and check if the GitHub packages integration does work.
Please do NOT download this version (It won't be published on bintray anyway.)
v3.0.1: Site.DISCORDBOTS_ORG deprecated.
Site.DISCORDBOTS_ORG was deprecated.
You should switch to Site.TOP_GG now.
Installation
Gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '3.0.1'
}
Maven
For maven use this code snippet:
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>3.0.1</version>
</dependency>
</dependencies>
v3.0.0: Recode of JavaBotBlockAPI
JavaBotBlockAPI was now recoded.
This update is a breaking change. You have to update your code in order to use this new version!
Summary of changes
- The RequestHandler located under
com.andre601.javabotblockapi
is now deprecated and will be removed in a future update.- The classes
GetAction
andPostAction
were added as a replacement for it and can be found undercom.andre601.javabotblockapi.requests
- The classes
- All GET methods that used a JDA or ShardManager instance got removed. Supported now are only Long and String. This doesn't affect the POST methods.
- Two new methods were added to the GET methods:
getInvite
andgetServerCount
. They are used to get the OAuth invite of the bot or its server count respectively. - The different GET methods should now return null most of the time instead of throwing an error. RatelimitedException and other exceptions for special cases will still appear.
- Several methods got renamed.
getBotInfo
andgetBotInfos
are now calledgetBotListInfo
getAll
is nowgetBotInfo
startAutoPosting
is nowenableAutoPost
stopAutoPosting
is nowdisableAutoPost
- Dependencies were updated to their latest version as of this release.
Please report any errors you encounter with this release! I do not give any guarantee of this release working without issues.
Installation
Gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '3.0.0'
}
Maven
For maven use this code snippet:
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>3.0.0</version>
</dependency>
</dependencies>
v2.4.0: Testing of GitHub packages
This release is a test of GitHub packages, to see if it publishes the stuff.
Result: Build failed
v2.3.9
Dependencies were updated thanks to Dependabot.
Installation
Gradle
repositories{
jcenter()
}
dependencies{
compile group: 'com.andre601', name: 'JavaBotBlockAPI', version: '2.3.9'
}
Maven
For maven use this code snippet:
<dependencies>
<dependency>
<groupId>com.andre601</groupId>
<artifactId>JavaBotBlockAPI</artifactId>
<version>2.3.9</version>
</dependency>
</dependencies>