6.3.0
This minor release addresses the following items:
- #1565 Optimistic locking failures now throw either
ContentWrongVersionException
orContentNoVersionException
instead of the too-genericFailedRequestException
(both new exceptions extendFailedRequestException
though). DocumentMetadataHandle.DocumentPermissions
now has anaddFromDelimitedString
method for the common use case of defining permissions via a string of the form "role1,capability1,role2,capability2,etc".- Inclusion of the "Accept-Encoding=gzip" request header, which by default is sent on every request, can be disabled for users that do not want responses to be gzipped. This can be accomplished either via the new
com.marklogic.client.extra.okhttpclient.RemoveAcceptEncodingConfigurator
class or by setting themarklogic.client.disabledGzippedResponses
property totrue
when constructing aDatabaseClient
via a set of properties. DatabaseClientFactory.addConfigurator
can now be called multiple times. Configurators can be removed via the newDatabaseClientFactory.removeConfigurators
method.- The
com.fasterxml.jackson
dependencies were bumped from 2.14.3 to 2.15.2.