Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Mindee Java API Library Changelog

## v4.21.0 - 2024-10-13
### Changes
* :sparkles: add support for business cards V1
* :sparkles: add support for delivery note V1
* :sparkles: add support for indian passport V1
* :sparkles: add support for resume V1.1
### Fixes
* :recycle: add deserializer + extract custom deserializing date class
* :recycle: decrease default delays for auto-polling


## v4.20.0 - 2024-10-11
### Changes
* :sparkles: add support for Financial Document v1.10
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.mindee.sdk</groupId>
<artifactId>mindee-api-java</artifactId>
<version>4.20.0</version>
<version>4.21.0</version>
<modelVersion>4.0.0</modelVersion>
<name>Mindee Java Helper Library</name>
<description>Java Library to call Mindee's Off-The-Shelf and Custom APIs</description>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/mindee/MindeeClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -265,12 +265,12 @@ private void validateAsyncParams(AsyncPollingOptions pollingOptions) throws Mind
Integer minimumRetry = 2;
if (pollingOptions.getInitialDelaySec() < minimumInitialDelaySec) {
throw new MindeeException(String.format(
"Cannot set initial delay to less than %.0f seconds", minimumInitialDelaySec
"Cannot set initial delay to less than %.0f second(s)", minimumInitialDelaySec
));
}
if (pollingOptions.getIntervalSec() < minimumIntervalSec) {
throw new MindeeException(String.format(
"Cannot set auto-poll delay to less than %.0f seconds", minimumIntervalSec
"Cannot set auto-poll delay to less than %.0f second(s)", minimumIntervalSec
));
}
if (pollingOptions.getMaxRetries() < minimumRetry) {
Expand Down