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
DatabaseClientFactory
for constructing aDatabaseClient
based 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
DatabaseClientBuilder
that provides a fluent builder-style approach to constructing aDatabaseClient
. - Added support for authenticating with the upcoming MarkLogic Cloud service.
- Fixed #1327, where
QueryBatcher
would 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
fromDocDescriptors
method inPlanBuilder
might 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.