Releases: marklogic/java-client-api
6.2.2
This patch release addresses the following issues:
- Constructing a 
CertificateAuthContextviaDatabaseClientBuilderno longer requires a certificate file and password to be provided. A certificate can be provided via anSSLContextinstead. - Improved error message when document metadata fails to be written.
 
6.2.1
This patch release addresses the following issues:
- #1566 
resultRowsinRowManagernow honors point-in-time query timestamp - #1562 MarkLogic Cloud token renewal is now based on a 401 response code
 - #1561 Improved error message when HTTP is used but HTTPS is required by the MarkLogic app server
 - #1559 Upgraded OkHttp dependency from 4.10 to 4.11 and Jackson dependency from 2.14.1 to 2.14.3
 
6.2.0
The 6.2.0 release of the MarkLogic Java Client includes the following enhancements and fixes:
- #1537 A 
StructuredQueryDefinitioncan now be serialized via ajavax.xml.stream.XMLStreamWriter. RowManagernow supports submitting GraphQL queries via the newgraphqlandgraphqlAsmethods.- The 
columnInfomethod inRowManagernow supports any type of plan. ExportListenernow accepts aConsumer<DocumentPage>so that users can process a batch of documents instead of one document at a time.- The size of a thread pool used by 
QueryBatchercan now be adjusted at runtime. - Errors resulting from dropped or failed connections now include more context to assist with debugging.
 - Tokens are now automatically renewed when using MarkLogic Cloud authentication.
 
6.1.0
The 6.1.0 release of the MarkLogic Java Client includes the following enhancements and fixes:
- A base path can now be provided when constructing a 
DatabaseClient, enabling scenarios such as a reverse proxy running in front of MarkLogic. - Added a new factory method to 
DatabaseClientFactoryfor constructing aDatabaseClientbased on a standard set of property names. This is intended to simplify scenarios where an application can collect a variety of inputs from a user for constructing aDatabaseClient. The application can now use this factory method to determine how to construct the client. - Added a new 
DatabaseClientBuilderthat provides a fluent builder-style approach to constructing aDatabaseClient. - Added support for authenticating with the upcoming MarkLogic Cloud service.
 - Fixed #1327, where 
QueryBatcherwould fail to stop when an error occurred while retrieving URIs. - Fixed a bug where errors from the REST eval endpoint were not handled correctly, thus hiding the actual error. The actual error is now returned to the user.
 - Fixed a bug where the 
fromDocDescriptorsmethod inPlanBuildermight fail due to a class-not-found error. - Cookbook examples are now in a separate Gradle subproject.
 
This minor release does not coincide with a release of the MarkLogic server. It continues to support all released versions of MarkLogic 11 and will work with MarkLogic 10 with the exception of features it supports that do not exist in MarkLogic 10, such as the Optic Update support introduced in the 6.0.0 release.
6.0.0
The 6.0.0 release of the MarkLogic Java Client coincides with the release of MarkLogic 11 and includes the following enhancements and fixes:
- The README guide now includes instructions on using the Java Client with Java 11 and Java 17
 - Dependencies have been updated to address security vulnerabilities, most notably with OkHttp now at 4.10.0 and Jackson now at 2.13.4, thus addressing a recent CVE
 - Support for the Optic Update technology preview . A cookbook example exists as a starting point, with more examples available here and a user guide coming in the near future.
 - #1345 DMSDK now works properly with tiered storage
 
5.5.4
5.5.3
5.5.2
5.5.1
This is the 5.5.1 release which will coincide with the MarkLogic Server 10.0-8 release
5.5.1
New Functionality
- #1296 - Type anyDocument support for data service - Server release 10.0-7 or above required
 - #1314, #1315 - Support for Optic features Bucket group and sample by - Server release 10.0-8 or above required
 
Improvements and Bug Fixes
5.5.0
This is the 5.5.0 release which will coincide with the MarkLogic Server 10.0-7.1 release
New Functionality
- #1294 - New Optic features Redaction, generate views - Server release 10.0-7 or above required