File tree Expand file tree Collapse file tree
java/com/mindee/v2/parsing Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Mindee Java Client Library Changelog
22
3+ ## v5.0.0-beta2 - 2026-05-20
4+ ### ¡Breaking Changes!
5+ * :recycle : put error parsing in its own package
6+
7+
38## v5.0.0-beta1 - 2026-05-06
49### ¡Breaking Changes!
510* :coffin : Remove obsolete/unused products:
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public class SimpleMindeeClientV2 {
1010 throws IOException, InterruptedException
1111 {
1212 String apiKey = "MY_API_KEY";
13- String filePath = "/path/to/the/file.ext";
1413 String modelId = "MY_MODEL_ID";
14+ String filePath = "/path/to/the/file.ext";
1515
1616 // Init a new client
1717 var mindeeClient = new MindeeClient(apiKey);
@@ -38,6 +38,6 @@ public class SimpleMindeeClientV2 {
3838
3939 // Access the classification result
4040 var result = response.getInference().getResult();
41- var classification = result.getClassification();
41+ String documentType = result.getClassification().getDocumentType ();
4242 }
4343}
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public class SimpleMindeeClientV2 {
1010 throws IOException, InterruptedException
1111 {
1212 String apiKey = "MY_API_KEY";
13- String filePath = "/path/to/the/file.ext";
1413 String modelId = "MY_MODEL_ID";
14+ String filePath = "/path/to/the/file.ext";
1515
1616 // Init a new client
1717 var mindeeClient = new MindeeClient(apiKey);
@@ -36,6 +36,6 @@ public class SimpleMindeeClientV2 {
3636 System.out.println(response.getInference().toString());
3737
3838 // Access the crop results
39- var result = response.getInference().getResult();
39+ var crops = response.getInference().getResult().getCrops ();
4040 }
4141}
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public class SimpleMindeeClientV2 {
1010 throws IOException, InterruptedException
1111 {
1212 String apiKey = "MY_API_KEY";
13- String filePath = "/path/to/the/file.ext";
1413 String modelId = "MY_MODEL_ID";
14+ String filePath = "/path/to/the/file.ext";
1515
1616 // Init a new client
1717 var mindeeClient = new MindeeClient(apiKey);
Original file line number Diff line number Diff line change @@ -36,6 +36,6 @@ public class SimpleMindeeClientV2 {
3636 System.out.println(response.getInference().toString());
3737
3838 // Access the result OCR pages
39- var result = response.getInference().getResult();
39+ var pages = response.getInference().getResult().getPages ();
4040 }
4141}
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ public class SimpleMindeeClientV2 {
1010 throws IOException, InterruptedException
1111 {
1212 String apiKey = "MY_API_KEY";
13- String filePath = "/path/to/the/file.ext";
1413 String modelId = "MY_MODEL_ID";
14+ String filePath = "/path/to/the/file.ext";
1515
1616 // Init a new client
1717 var mindeeClient = new MindeeClient(apiKey);
@@ -36,6 +36,6 @@ public class SimpleMindeeClientV2 {
3636 System.out.println(response.getInference().toString());
3737
3838 // Access the split result
39- var result = response.getInference().getResult();
39+ var splits = response.getInference().getResult().getSplits ();
4040 }
4141}
Original file line number Diff line number Diff line change 372372
373373 <properties >
374374 <!-- MINDEE VERSION GOES HERE -->
375- <revision >5.0.0-beta1 </revision >
375+ <revision >5.0.0-beta2 </revision >
376376
377377 <!-- Give special access when running tests -->
378378 <surefire .addOpens>
Original file line number Diff line number Diff line change 88import com .mindee .v2 .http .MindeeHttpApiV2 ;
99import com .mindee .v2 .http .MindeeHttpExceptionV2 ;
1010import com .mindee .v2 .parsing .CommonResponse ;
11- import com .mindee .v2 .parsing .ErrorResponse ;
1211import com .mindee .v2 .parsing .JobResponse ;
12+ import com .mindee .v2 .parsing .error .ErrorResponse ;
1313import com .mindee .v2 .product .extraction .ExtractionResponse ;
1414import java .io .IOException ;
1515
Original file line number Diff line number Diff line change 66import com .mindee .input .URLInputSource ;
77import com .mindee .v2 .clientoptions .BaseParameters ;
88import com .mindee .v2 .parsing .CommonResponse ;
9- import com .mindee .v2 .parsing .ErrorResponse ;
109import com .mindee .v2 .parsing .JobResponse ;
10+ import com .mindee .v2 .parsing .error .ErrorResponse ;
1111import java .io .IOException ;
1212
1313/**
Original file line number Diff line number Diff line change 88import com .mindee .v2 .MindeeSettings ;
99import com .mindee .v2 .clientoptions .BaseParameters ;
1010import com .mindee .v2 .parsing .CommonResponse ;
11- import com .mindee .v2 .parsing .ErrorResponse ;
1211import com .mindee .v2 .parsing .JobResponse ;
12+ import com .mindee .v2 .parsing .error .ErrorResponse ;
1313import java .io .IOException ;
1414import java .net .URISyntaxException ;
1515import java .nio .charset .StandardCharsets ;
You can’t perform that action at this time.
0 commit comments