diff --git a/Bots.ipr b/Bots.ipr
index 946ddb9d..7aff4efa 100644
--- a/Bots.ipr
+++ b/Bots.ipr
@@ -22,10 +22,10 @@
-
-
+
+
@@ -224,6 +224,8 @@
+
+
@@ -791,6 +793,30 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -1894,103 +1920,103 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/README.md b/README.md
index 29baada6..a2887d93 100644
--- a/README.md
+++ b/README.md
@@ -27,16 +27,16 @@ Just import add the library to your project with one of these options:
org.telegram
telegrambots
- 4.8
+ 4.8.1
```
```gradle
- compile "org.telegram:telegrambots:4.8"
+ compile "org.telegram:telegrambots:4.8.1"
```
- 2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/4.8)
- 3. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/4.8)
+ 2. Using Jitpack from [here](https://jitpack.io/#rubenlagus/TelegramBots/4.8.1)
+ 3. Download the jar(including all dependencies) from [here](https://mvnrepository.com/artifact/org.telegram/telegrambots/4.8.1)
In order to use Long Polling mode, just create your own bot extending `org.telegram.telegrambots.bots.TelegramLongPollingBot`.
diff --git a/TelegramBots.wiki/Changelog.md b/TelegramBots.wiki/Changelog.md
index 2e7fd9d2..05fa77f1 100644
--- a/TelegramBots.wiki/Changelog.md
+++ b/TelegramBots.wiki/Changelog.md
@@ -1,5 +1,9 @@
-### 4.8 ###
+### 4.8.1 ###
1. Update Api version [4.8](https://core.telegram.org/bots/api-changelog#april-24-2020)
+2. Add stats for Abilities
+3. New and updated wiki page
+4. Spring-boot support for version 2.2.2
+5. Bug fixing: #745, #716, #629, #749, #730
### 4.7 ###
1. Update Api version [4.7](https://core.telegram.org/bots/api-changelog#march-30-2020)
diff --git a/TelegramBots.wiki/Getting-Started.md b/TelegramBots.wiki/Getting-Started.md
index 58dbf7cc..79af258e 100644
--- a/TelegramBots.wiki/Getting-Started.md
+++ b/TelegramBots.wiki/Getting-Started.md
@@ -11,13 +11,13 @@ First you need ot get the library and add it to your project. There are few poss
org.telegram
telegrambots
- 4.8
+ 4.8.1
```
* With **Gradle**:
```groovy
- compile group: 'org.telegram', name: 'telegrambots', version: '4.8'
+ compile group: 'org.telegram', name: 'telegrambots', version: '4.8.1'
```
2. Don't like **Maven Central Repository**? It can also be taken from [Jitpack](https://jitpack.io/#rubenlagus/TelegramBots).
diff --git a/TelegramBots.wiki/abilities/Simple-Example.md b/TelegramBots.wiki/abilities/Simple-Example.md
index 6da702b0..fff16424 100644
--- a/TelegramBots.wiki/abilities/Simple-Example.md
+++ b/TelegramBots.wiki/abilities/Simple-Example.md
@@ -9,12 +9,12 @@ As with any Java project, you will need to set your dependencies.
org.telegram
telegrambots-abilities
- 4.8
+ 4.8.1
```
* **Gradle**
```groovy
- implementation group: 'org.telegram', name: 'telegrambots-abilities', version: '4.7'
+ implementation group: 'org.telegram', name: 'telegrambots-abilities', version: '4.8.1'
```
* [JitPack](https://jitpack.io/#rubenlagus/TelegramBots)
diff --git a/pom.xml b/pom.xml
index 8ad6e84e..a5a3d3d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,7 @@
org.telegram
Bots
pom
- 4.8
+ 4.8.1
telegrambots
diff --git a/telegrambots-abilities/README.md b/telegrambots-abilities/README.md
index 869c3b17..13d5c381 100644
--- a/telegrambots-abilities/README.md
+++ b/telegrambots-abilities/README.md
@@ -18,19 +18,19 @@ Usage
org.telegram
telegrambots-abilities
- 4.8
+ 4.8.1
```
**Gradle**
```gradle
- compile "org.telegram:telegrambots-abilities:4.8"
+ compile "org.telegram:telegrambots-abilities:4.8.1"
```
-**JitPack** - [JitPack](https://jitpack.io/#rubenlagus/TelegramBots/v4.8)
+**JitPack** - [JitPack](https://jitpack.io/#rubenlagus/TelegramBots/v4.8.1)
-**Plain imports** - [Here](https://github.com/rubenlagus/TelegramBots/releases/tag/v4.8)
+**Plain imports** - [Here](https://github.com/rubenlagus/TelegramBots/releases/tag/v4.8.1)
Motivation
----------
diff --git a/telegrambots-abilities/pom.xml b/telegrambots-abilities/pom.xml
index c5481717..6b69ccac 100644
--- a/telegrambots-abilities/pom.xml
+++ b/telegrambots-abilities/pom.xml
@@ -7,7 +7,7 @@
org.telegram
Bots
- 4.8
+ 4.8.1
telegrambots-abilities
@@ -84,7 +84,7 @@
org.telegram
telegrambots
- 4.8
+ 4.8.1
org.apache.commons
diff --git a/telegrambots-chat-session-bot/README.md b/telegrambots-chat-session-bot/README.md
index 200dada6..fd1783b4 100644
--- a/telegrambots-chat-session-bot/README.md
+++ b/telegrambots-chat-session-bot/README.md
@@ -15,7 +15,7 @@ Usage
org.telegram
telegrambots-chat-session-bot
- 4.8
+ 4.8.1
```
diff --git a/telegrambots-chat-session-bot/pom.xml b/telegrambots-chat-session-bot/pom.xml
index 5d3f6274..8efda9c9 100644
--- a/telegrambots-chat-session-bot/pom.xml
+++ b/telegrambots-chat-session-bot/pom.xml
@@ -7,7 +7,7 @@
org.telegram
Bots
- 4.8
+ 4.8.1
telegrambots-chat-session-bot
@@ -84,7 +84,7 @@
org.telegram
telegrambots
- 4.8
+ 4.8.1
diff --git a/telegrambots-extensions/README.md b/telegrambots-extensions/README.md
index e1fdc519..76f2f969 100644
--- a/telegrambots-extensions/README.md
+++ b/telegrambots-extensions/README.md
@@ -16,12 +16,12 @@ Just import add the library to your project with one of these options:
org.telegram
telegrambotsextensions
- 4.8
+ 4.8.1
```
2. Using Gradle:
```gradle
- compile "org.telegram:telegrambotsextensions:4.8"
+ compile "org.telegram:telegrambotsextensions:4.8.1"
```
\ No newline at end of file
diff --git a/telegrambots-extensions/pom.xml b/telegrambots-extensions/pom.xml
index 6f20fabf..d60c5552 100644
--- a/telegrambots-extensions/pom.xml
+++ b/telegrambots-extensions/pom.xml
@@ -7,7 +7,7 @@
org.telegram
Bots
- 4.8
+ 4.8.1
telegrambotsextensions
@@ -75,7 +75,7 @@
org.telegram
telegrambots
- 4.8
+ 4.8.1
diff --git a/telegrambots-meta/pom.xml b/telegrambots-meta/pom.xml
index c06aeda4..a8f8e112 100644
--- a/telegrambots-meta/pom.xml
+++ b/telegrambots-meta/pom.xml
@@ -7,7 +7,7 @@
org.telegram
Bots
- 4.8
+ 4.8.1
telegrambots-meta
diff --git a/telegrambots-spring-boot-starter/pom.xml b/telegrambots-spring-boot-starter/pom.xml
index a57ebfdf..79c6a4c3 100644
--- a/telegrambots-spring-boot-starter/pom.xml
+++ b/telegrambots-spring-boot-starter/pom.xml
@@ -7,7 +7,7 @@
org.telegram
Bots
- 4.8
+ 4.8.1
telegrambots-spring-boot-starter
@@ -71,7 +71,7 @@
UTF-8
- 2.2.1.RELEASE
+ 2.2.2.RELEASE
@@ -79,7 +79,7 @@
org.telegram
telegrambots
- 4.8
+ 4.8.1
org.springframework.boot
diff --git a/telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotInitializer.java b/telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotInitializer.java
index c0911641..3c8168a6 100644
--- a/telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotInitializer.java
+++ b/telegrambots-spring-boot-starter/src/main/java/org/telegram/telegrambots/starter/TelegramBotInitializer.java
@@ -4,7 +4,9 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.InitializingBean;
import org.telegram.telegrambots.meta.TelegramBotsApi;
+import org.telegram.telegrambots.meta.api.objects.ApiResponse;
import org.telegram.telegrambots.meta.exceptions.TelegramApiException;
+import org.telegram.telegrambots.meta.exceptions.TelegramApiRequestException;
import org.telegram.telegrambots.meta.generics.BotSession;
import org.telegram.telegrambots.meta.generics.LongPollingBot;
import org.telegram.telegrambots.meta.generics.WebhookBot;
@@ -55,6 +57,9 @@ public class TelegramBotInitializer implements InitializingBean {
private void handleAnnotatedMethod(Object bot, Method method, BotSession session) {
try {
+ TelegramApiRequestException test = new TelegramApiRequestException("Error getting updates", new ApiResponse());
+ log.error(test.getMessage(), test);
+
if (method.getParameterCount() > 1) {
log.warn(format("Method %s of Type %s has too many parameters",
method.getName(), method.getDeclaringClass().getCanonicalName()));
diff --git a/telegrambots/pom.xml b/telegrambots/pom.xml
index bc0d00b5..981a1f55 100644
--- a/telegrambots/pom.xml
+++ b/telegrambots/pom.xml
@@ -7,7 +7,7 @@
org.telegram
Bots
- 4.8
+ 4.8.1
telegrambots
@@ -95,7 +95,7 @@
org.telegram
telegrambots-meta
- 4.8
+ 4.8.1
com.fasterxml.jackson.core