Skip to content

Commit 1841574

Browse files
authored
Merge pull request #217 from botblock/development
Next Release
2 parents 8baa198 + 0e74879 commit 1841574

File tree

5 files changed

+40
-46
lines changed

5 files changed

+40
-46
lines changed

SECURITY.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,25 @@
11
[discord]: https://discord.gg/6dazXp6
2-
[issues]: https://github.com/botblock/JavaBotBlockAPI/issues/new?labels=Type:+Bug&template=bug_report.md
2+
[issue]: https://github.com/botblock/JavaBotBlockAPI/issues/new?labels=Type%3A+Bug+%28Unconfirmed%29&template=bug_report.yml
3+
[contributing]: https://github.com/botblock/JavaBotBlockAPI/blob/master/.github/CONTRIBUTING.md
4+
5+
[version]: https://img.shields.io/nexus/maven-public/org.botblock/javabotblockapi-core?label=Release&server=https%3A%2F%2Frepo.codemc.io&style=plastic
36

47
# Security Policy
8+
Security is important to us.
9+
To make sure that there aren't any vulnerabilities in our library to we ask you to report any issues to us that could affect the security of this library and its connections.
10+
11+
## Before sumbitting
12+
Before you submit a bug report or similar to us would we like to ask you to make sure, that you use the latest version.
13+
We can't and won't fix bugs that exist in older versions and aren't present on newer ones.
14+
15+
We support all minor and patch-versions of the latest major version which currently is Version **6** (Last updated: 11th of March 2021).
516

6-
## Supported Versions
7-
We only support the latest major releases of the different modules, which are listed below.
8-
Those are also the only versions that may receive bug fixes and patches.
17+
The latest available version is seen below:
18+
![version]
919

10-
The currently supported major release is `6`
20+
## How to report
21+
If your issue is in fact a security-issue/vulnerability would we like to ask you, to report to in our [Discord Server][discord] directly.
22+
Issues are not the right place to report these kinds of problems as they would allow people to find out about them and use it to their malicious benefit.
1123

12-
## Reporting issues
13-
Security issues should be reported through our [Discord Server][discord].
14-
Any other issue should be reported as usual through the [Issues tab][issues]
24+
If your issue is just a regular bug can you open a normal [Bug Report][issue] on our Issue tracker.
25+
Please make sure to follow our [Contributing Guidelines][contributing] while doing so.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins{
77
id 'com.github.johnrengelman.shadow' version '5.2.0'
88
}
99

10-
def ver = new Version(major: 6, minor: 6, patch: 2)
10+
def ver = new Version(major: 6, minor: 6, patch: 3)
1111

1212
allprojects {
1313
apply plugin: 'maven-publish'
@@ -20,7 +20,7 @@ allprojects {
2020
ext {
2121

2222
dependencies {
23-
api group: 'org.json', name: 'json', version: '20201115'
23+
api group: 'org.json', name: 'json', version: '20210307'
2424
api group: 'com.github.ben-manes.caffeine', name: 'caffeine', version: '2.8.0'
2525
api group: 'com.google.code.findbugs', name: 'jsr305', version: '3.0.2'
2626
api group: 'org.slf4j', name: 'slf4j-api', version: '1.7.30'

core/src/main/java/org/botblock/javabotblockapi/core/Info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class Info{
3939
/**
4040
* Patch version of the Wrapper.
4141
*/
42-
public static final int PATCH = 2;
42+
public static final int PATCH = 3;
4343

4444
/**
4545
* Full version in the format {@code major.minor.patch}.

core/src/main/java/org/botblock/javabotblockapi/core/Site.java

Lines changed: 17 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,13 @@ public class Site{
7878
* <li>GET</li>
7979
* <li>POST</li>
8080
* </ul>
81+
*
82+
* @deprecated Domain changed to {@link #DISCORDLIST_SPACE discordlist.space}
8183
*/
82-
public static final Site BOTLIST_SPACE = new Site("botlist.space", HttpMethod.GET, HttpMethod.POST);
84+
@Deprecated
85+
@DeprecatedSince(major = 6, minor = 6, patch = 3, replacements = {"DISCORDLIST_SPACE"})
86+
@PlannedRemoval(major = 6, minor = 6, patch = 5)
87+
public static final Site BOTLIST_SPACE = new Site("botlist.space");
8388

8489
/**
8590
* <a href="https://botsdatabase.com" target="_blank">botsdatabase.com</a>
@@ -103,23 +108,6 @@ public class Site{
103108
*/
104109
public static final Site BOTS_DISCORDLABS_ORG = new Site("discordlabs.org", HttpMethod.GET, HttpMethod.POST);
105110

106-
/**
107-
* <a href="https://bots.distop.xyz" target="_blank">bots.distop.xyz</a>
108-
*
109-
* <p>Supported methods:
110-
* <ul>
111-
* <li>GET</li>
112-
* </ul>
113-
*
114-
* @deprecated Site no longer available.
115-
*
116-
* @since 6.4.1
117-
*/
118-
@Deprecated
119-
@DeprecatedSince(major = 6, minor = 6, patch = 1)
120-
@PlannedRemoval(major = 6, minor = 6, patch = 3)
121-
public static final Site BOTS_DISTOP_XYZ = new Site("bots.distop.xyz");
122-
123111
/**
124112
* <a href="https://botsfordiscord.com" target="_blank">botsfordiscord.com</a>
125113
*
@@ -131,22 +119,6 @@ public class Site{
131119
*/
132120
public static final Site BOTSFORDISCORD_COM = new Site("botsfordiscord.com", HttpMethod.GET, HttpMethod.POST);
133121

134-
/**
135-
* <a href="https://bots.idledev.org" target="_blank">bots.idledev.org</a>
136-
*
137-
* <p>Supported methods:
138-
* <ul>
139-
* <li>GET</li>
140-
* <li>POST</li>
141-
* </ul>
142-
*
143-
* @deprecated Site no longer available.
144-
*/
145-
@Deprecated
146-
@DeprecatedSince(major = 6, minor = 6, patch = 1)
147-
@PlannedRemoval(major = 6, minor = 6, patch = 3)
148-
public static final Site BOTS_IDLEDEV_ORG = new Site("bots.idledev.org");
149-
150122
/**
151123
* <a href="https://bots.ondiscord.xyz" target="_blank">bots.ondiscord.xyz</a>
152124
*
@@ -263,6 +235,17 @@ public class Site{
263235
*/
264236
public static final Site DISCORDLISTOLOGY_COM = new Site("discordlistology.com", HttpMethod.GET, HttpMethod.POST);
265237

238+
/**
239+
* <a href="https://discordlist.space" target="_blank">discordlist.space</a> (Formerly botlist.space)
240+
*
241+
* <p>Supported methods:
242+
* <ul>
243+
* <li>GET</li>
244+
* <li>POST</li>
245+
* </ul>
246+
*/
247+
public static final Site DISCORDLIST_SPACE = new Site("discordlist.space", HttpMethod.GET, HttpMethod.POST);
248+
266249
/**
267250
* <a href="https://disforge.com" target="_blank">disforge.com</a>
268251
*

jda/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dependencies {
2-
api(group: 'net.dv8tion', name: 'JDA', version: '4.2.0_229'){
2+
api(group: 'net.dv8tion', name: 'JDA', version: '4.2.0_242'){
33
exclude(module: 'opus-java')
44
}
55
implementation project(":core")

0 commit comments

Comments
 (0)