Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proper handling of errors returned by telegram API #1446

Open
wants to merge 27 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
7a245fd
Jetty HttpClient implementation of TelegramClient
valkuc Sep 7, 2024
1eb2d95
Merge branch 'dev' into master
rubenlagus Sep 7, 2024
2c35fe4
Proper handling of errors returned by telegram API
dkurochkin-arlo Oct 14, 2024
afca116
Wrap response.body().string() access
dkurochkin-arlo Oct 15, 2024
a6acbdd
Api Version 8.0
rubenlagus Nov 19, 2024
7678206
Fix argument passing in DefaultAbilities.java
panic08 Oct 10, 2024
66a8b55
Merge branch 'dev' into master
rubenlagus Nov 19, 2024
1125cf0
Unify the use of lombok @NonNull instead of Objects.requireNonNull (#…
panic08 Nov 20, 2024
ff4537a
Unify the use of lombok @Slf4j instead of e.printStackTrace() (#1443)
panic08 Nov 20, 2024
50615c1
Make downloadFileWithId method private in final class (#1441)
panic08 Nov 21, 2024
cc6bdbd
Merge branch 'master' into api-error-handling
rubenlagus Nov 22, 2024
c3de6f3
Create <java.version> parameter for pom.xml in all modules (#1434)
panic08 Nov 23, 2024
2a4557f
Merge branch 'dev' into api-error-handling
rubenlagus Nov 23, 2024
b875d1e
Merge branch 'dev' into master
rubenlagus Nov 23, 2024
536c7da
Merge branch 'valkuc-master' into dev
rubenlagus Dec 1, 2024
8208c67
#1425
rubenlagus Dec 1, 2024
5917ec0
Merge branch 'dev' into api-error-handling
rubenlagus Dec 1, 2024
9b9d213
Fix typo
rubenlagus Dec 1, 2024
38b64d8
Merge branch 'dev' into api-error-handling
rubenlagus Dec 1, 2024
875c009
Consistency in the common validation messages (#1459)
aNNiMON Dec 1, 2024
81c580d
Merge branch 'dev' into api-error-handling
rubenlagus Dec 1, 2024
389fa99
Bugfix/fix wrong types (#1460)
khamidjon-khamidov Dec 1, 2024
03888bc
Merge branch 'dev' into api-error-handling
rubenlagus Dec 1, 2024
831dfb1
Undo custom annotation
rubenlagus Dec 2, 2024
942c38c
Merge branch 'dev' into api-error-handling
rubenlagus Dec 2, 2024
fc6a29f
Api Version 8.0
rubenlagus Dec 2, 2024
510be19
Merge branch 'dev' into api-error-handling
dkBrazz Dec 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<packaging>pom</packaging>
<version>7.11.0</version>
<version>8.0.0</version>

<modules>
<module>telegrambots-meta</module>
Expand Down
6 changes: 3 additions & 3 deletions telegrambots-abilities/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-abilities</artifactId>
Expand Down Expand Up @@ -104,12 +104,12 @@
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-webhook</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</dependency>
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-longpolling</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-client-jetty-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<name>Telegram Bots Client Jetty HttpClient adapter</name>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<name>Telegram Bots Client</name>
Expand Down
4 changes: 2 additions & 2 deletions telegrambots-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ Just import add the library to your project with one of these options:
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-extensions</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</dependency>
```

2. Using Gradle:

```gradle
implementation 'org.telegram:telegrambots-extensions:7.11.0'
implementation 'org.telegram:telegrambots-extensions:8.0.0'
```
6 changes: 3 additions & 3 deletions telegrambots-extensions/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-extensions</artifactId>
Expand Down Expand Up @@ -89,12 +89,12 @@
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-webhook</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</dependency>
<dependency>
<groupId>org.telegram</groupId>
<artifactId>telegrambots-longpolling</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-longpolling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-longpolling</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-meta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-meta</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions telegrambots-springboot-longpolling-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-springboot-longpolling-starter</artifactId>
Expand Down Expand Up @@ -71,7 +71,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<telegrambots.version>7.11.0</telegrambots.version>
<telegrambots.version>8.0.0</telegrambots.version>
<spring.version>3.2.3</spring.version>
</properties>

Expand Down
4 changes: 2 additions & 2 deletions telegrambots-springboot-webhook-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-springboot-webhook-starter</artifactId>
Expand Down Expand Up @@ -71,7 +71,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<telegrambots.version>7.11.0</telegrambots.version>
<telegrambots.version>8.0.0</telegrambots.version>
<spring.version>3.2.3</spring.version>
<jackson.version>2.17.2</jackson.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-test-reports/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-test-reports</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion telegrambots-webhook/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.telegram</groupId>
<artifactId>Bots</artifactId>
<version>7.11.0</version>
<version>8.0.0</version>
</parent>

<artifactId>telegrambots-webhook</artifactId>
Expand Down