Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Releases: marklogic/ml-javaclient-util

3.5.0

22 Feb 19:47
Compare
Choose a tag to compare

All issues - https://github.com/marklogic-community/ml-javaclient-util/issues?q=is%3Aclosed+milestone%3A3.5.0

Important! This release includes removal of the deprecated setAuthentication/getAuthentication methods on the DatabaseClientConfig class. Version 3.0.0 initially deprecated these methods, as they use the deprecated Authentication object in the MarkLogic Java Client. As has been the case since then, setSecurityContextType/getSecurityContextType should be used.

  • #90 A DatabaseClient can now be constructed with a TrustManager
  • #91 DMSDK jobs default to using a consistent snapshot
  • #92 qconsole workspaces can now be imported in MarkLogic 9 (and still 8 too)

3.4.0

26 Jan 01:05
Compare
Choose a tag to compare

Issues: https://github.com/marklogic-community/ml-javaclient-util/issues?q=is%3Aclosed+milestone%3A3.4.0

Just two of them:

  • #88 Added batchSize to GenericFileLoader (so it can be configured in ml-app-deployer for loading modules)
  • #89 Fixed issue with loading modules when a space was in a parent directory name

3.3.1

10 Jan 03:04
Compare
Choose a tag to compare

This is a bugfix release that fixes a single issue involving pattern matching on asset modules - #87

3.3.0

02 Jan 01:43
Compare
Choose a tag to compare

All issues: https://github.com/marklogic-community/ml-javaclient-util/issues?q=is%3Aclosed+milestone%3A3.3.0

Highlights:

  • Adds support for DMSDK Jobs
  • Added debug-level logging for loading modules - #80
  • Can now specify a pattern when loading modules - #86

3.2.0

03 Dec 18:38
Compare
Choose a tag to compare

Issues: https://github.com/marklogic-community/ml-javaclient-util/issues?q=is%3Aclosed+milestone%3A3.2.0

Highlights:

  • Loading schemas now ignores files starting with a "."
  • Errors occurred while loading REST API modules are now logged by default
  • Improvements made to loading modules from a jar file

3.1.0

16 Nov 15:57
Compare
Choose a tag to compare

Full list of issues are at: https://github.com/marklogic-community/ml-javaclient-util/issues?q=is%3Aclosed+milestone%3A3.1.0

Highlights:

  • Now using the MarkLogic Client API version 4.0.2, which uses OkHttp instead of Jersey for HTTP connections
  • This version properly supports loading modules from a jar or war file; 3.0.0 had lost some of this functionality
  • A timestamp can be specified when loading modules such that only modules with a greater "last modified" timestamp are loaded
  • A new DMSDK Consumer exists for writing documents to the filesystem; initial use case is in support of exporting modules

3.0.0

03 Sep 23:16
Compare
Choose a tag to compare

This release has a few major changes from the 2.x baseline. Please read these notes carefully!

Summary:

  1. Java 8 is now required. This is due to version 4.x of the MarkLogic Java Client API requiring Java 8 as well.
  2. Almost all code in this library has been repackaged under "com.marklogic.client.ext" to avoid future naming collisions with the client API.
  3. The way that asset modules (non-REST API modules) are loaded has been completely rewritten. Gone are XccAssetLoader and RestApiAssetLoader; they've been replaced by GenericFileLoader and its subclass AssetFileLoader. AssetFileLoader uses the REST API on port 8000 by default to load asset modules directly into your modules database. DefaultModulesLoader now uses AssetFileLoader instead of XccAssetLoader and/or RestApiAssetLoader. See Loading files for more information.
  4. The QueryBatcherTemplate API has been created to simplify DMSDK usage in ML9 when using QueryBatcher. The primary intent of this is to support a number of new tasks in ml-gradle that use DMSDK, but this Spring-Template-style class can be used in any context. See the Wiki page for more support.

2.14.1

07 Aug 21:20
Compare
Choose a tag to compare

Small bugfix release for #59

2.14.0

10 May 20:19
Compare
Choose a tag to compare

Just one issue in - https://github.com/marklogic-community/ml-javaclient-util/issues?q=is%3Aclosed+milestone%3A2.14.0:

  • Improved how TDE rulesets are loaded, including fixing a bug that prevented schemas from being loaded when Gradle runs in daemon mode

2.13.0

13 Mar 00:36
Compare
Choose a tag to compare

Issues:

  • Schemas can be loaded from child directories - #49
  • Custom collections can be specified for a module or schema file - #53
  • BatchWriter implementations now offer a listener interface for listening for exceptions - #51