Skip to content

Commit cf0e682

Browse files
🔖 Version 4.21.0 (#206)
1 parent 0c331c7 commit cf0e682

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Mindee Java API Library Changelog
22

3+
## v4.21.0 - 2024-10-13
4+
### Changes
5+
* :sparkles: add support for business cards V1
6+
* :sparkles: add support for delivery note V1
7+
* :sparkles: add support for indian passport V1
8+
* :sparkles: add support for resume V1.1
9+
### Fixes
10+
* :recycle: add deserializer + extract custom deserializing date class
11+
* :recycle: decrease default delays for auto-polling
12+
13+
314
## v4.20.0 - 2024-10-11
415
### Changes
516
* :sparkles: add support for Financial Document v1.10

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>com.mindee.sdk</groupId>
77
<artifactId>mindee-api-java</artifactId>
8-
<version>4.20.0</version>
8+
<version>4.21.0</version>
99
<modelVersion>4.0.0</modelVersion>
1010
<name>Mindee Java Helper Library</name>
1111
<description>Java Library to call Mindee's Off-The-Shelf and Custom APIs</description>

src/main/java/com/mindee/MindeeClient.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,12 @@ private void validateAsyncParams(AsyncPollingOptions pollingOptions) throws Mind
265265
Integer minimumRetry = 2;
266266
if (pollingOptions.getInitialDelaySec() < minimumInitialDelaySec) {
267267
throw new MindeeException(String.format(
268-
"Cannot set initial delay to less than %.0f seconds", minimumInitialDelaySec
268+
"Cannot set initial delay to less than %.0f second(s)", minimumInitialDelaySec
269269
));
270270
}
271271
if (pollingOptions.getIntervalSec() < minimumIntervalSec) {
272272
throw new MindeeException(String.format(
273-
"Cannot set auto-poll delay to less than %.0f seconds", minimumIntervalSec
273+
"Cannot set auto-poll delay to less than %.0f second(s)", minimumIntervalSec
274274
));
275275
}
276276
if (pollingOptions.getMaxRetries() < minimumRetry) {

0 commit comments

Comments
 (0)