6.6.0
This minor release coincides with the release of MarkLogic Server 11.2.0 and provides the following enhancements:
- Can now authenticate with a MarkLogic app server that requires OAuth authentication. Can either use the new
OAuthContext
class or the newmarklogic.client.oauth.token
property when constructing aDatabaseClient
via properties. - Can now patch one or more documents via an Optic plan using the new
patchBuilder
method available oncom.marklogic.client.expression.PlanBuilder
. Requires MarkLogic 11.2.0 or higher. - Can now capture errors occuring during execution of an Optic plan via the new
onError
method. Requires MarkLogic 11.2.0 or higher. - The
com.marklogic.client.document.GenericDocumentManager
interface now support temporal operations. - DMSDK log messages pertaining to a queue being flushed are now at the
debug
andtrace
levels instead ofinfo
. - Fixed #1637 so that the DMSDK
awaitCompletion
method waits for the correct duration.