Skip to content

5.0.0

Latest
Compare
Choose a tag to compare
@rjrudin rjrudin released this 16 Sep 15:04
· 3 commits to master since this release

This major release is centered on upgrading to MarkLogic Java Client 7.0.0 and removing several deprecated items as outlined below. It also coincides with combining the ml-javaclient-util and ml-app-deployer repositories into this repository, though that will not have any functional impact on users. The ml-gradle, ml-app-deployer, and ml-javaclient-util artifacts are still published to Maven Central and the method for declaring ml-gradle in a Gradle build.gradle file has not changed either.

Existing customers should be able to easily upgrade from ml-gradle 4.x to ml-gradle 5.0.0 while accounting for the deprecated items below.

Deprecated items:

  • Loading modules - via mlDeploy or mlLoadModules - no longer loads namespace files. This capability was deprecated in the server and removed from the MarkLogic Java Client 7.0.0 release. Namespaces should instead be included in a server payload file as defined by the Manage API.
  • mlAdminUsername and mlAdminPassword are no longer supported; these were deprecated in the 3.4.0 release of ml-gradle in favor of mlSecurityUsername and mlSecurityPassword.
  • The deprecated constructors for ManageClient and AdminManager that assumed a default username and password of "admin" were removed.
  • References to the Apache HttpClient library, which were deprecated in the 4.5.0 release of ml-gradle, were removed.
  • The DocumentPermissionsParser library in ml-javaclient-util was removed as the capability is available in the MarkLogic Java Client.
  • The deprecated afterModulesLoaded method in WatchTask was removed.

For all deprecated items, please see this pull request.

For users of ml-app-deployer or ml-javaclient-util that were depending on the old JAXB libraries as transitive dependencies of the MarkLogic Java Client 6.x or older, you will need to add these JAXB libraries to your classpath. Please see the Java Client README for instructions on doing so.

This release also now depends on the following updated dependencies:

  • com.marklogic:marklogic-client-api:7.0.0
  • com.fasterxml.jackson.core:jackson-databind:2.17.2
  • org.springframework:spring-web:5.3.39
  • jaxen:jaxen:2.0.0
  • org.apache.commons:commons-lang3:3.16.0