Skip to content

Releases: marklogic/ml-gradle

3.2.2

28 Dec 17:33
Compare
Choose a tag to compare

This is a bugfix release that fixes one bug - an issue with the mlRoxyMigrateProperties task not working, which dates back to 3.0.0.

3.2.1

13 Dec 21:14
Compare
Choose a tag to compare

This is a bugfix release that addresses #283 .

3.2.0

03 Dec 18:51
Compare
Choose a tag to compare

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

Highlights:

  • NB! In version 3.2.0, all Gradle properties are now by default available for token replacement in payload files and module files. Prior to 3.2.0, you had to manually add tokens to the mlAppConfig.customTokens map in order for them to be available. In 3.2.0, every property - not just ml-gradle properties, but all Gradle properties - is added with "%%" as the default prefix and suffix around the property name. Please see the documentation for more information.
  • Several new properties are available for creating forests.
  • DMSDK tasks now allowing for specifying a database via a property, so it's easier to use these on an ad hoc basis against any database (via port 8000).
  • Improvements from ml-app-deployer 3.2.0
  • Improvements from ml-javaclient-util 3.2.0

3.1.0

16 Nov 16:07
Compare
Choose a tag to compare

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

Nothing special to do for an upgrade - just bump up 3.0.0 to 3.1.0. If you're still on 2.x, see the 3.0.0 release notes for upgrade instructions.

Highlights:

  • Now using the MarkLogic Client API version 4.0.2, which uses OkHttp instead of Jersey for HTTP connections
  • Can now update databases without creating/modifying forests by including -PmlCreateForests=false
  • Modules can now be exported
  • New sample projects for redaction rulesets and a uni-temporal configuration without lsqt
  • Includes changes in ml-app-deployer 3.1.0

3.0.0

03 Sep 23:44
Compare
Choose a tag to compare

Version 3.0.0 of ml-gradle brings some new capabilities, particularly based on version 4.x of the MarkLogic Java Client API, but it also has some breaking changes from version 2.x, primarily based on some package reorganization in its dependent libraries.

New features:

  1. Support for common ad hoc tasks across large numbers of documents via DMSDK
  2. New and flexible file loading via REST API, optionally using new DMSDK in ML9
  3. See the 3.0.0 release of ml-app-deployer for new features as well, which includes a number of new properties added to the Property reference page.
  4. Full list of issues (note that ml-gradle has relatively few new issues; most of the work in this release was done in ml-app-deployer)

Breaking changes:

  1. Some packages have been reorganized in ml-app-deployer, which is the library that ml-gradle uses for communicating with the Management REST API.
  2. And a lot of packages have been reorganized in ml-javaclient-util, which is the library that ml-gradle and ml-app-deployer use for loading modules into MarkLogic, among other things.
  3. See How modules are loaded for a change in how modules in "unrecognized" directories are handled. Note that it's best to put asset modules into either "ext" or "root", and you won't be affected by this change in behavior.

Here's the likely impact of those breaking changes (if you haven't made custom Gradle tasks, it's very likely that you're not affected at all):

  1. You may have custom Gradle tasks that import/use *Manager classes from ml-app-deployer - the import statements will need to be changed as they're most likely importing the classes from the 2.x location and not the 3.x location. Generally, that change will be along the lines of importing from "com.marklogic.mgmt.resource.(resource type)" instead of "com.marklogic.mgmt.(resource type)".
  2. You may also have Gradle tasks that directly access classes from ml-javaclient-util - those will need their import statements updated as well. See the release notes for ml-javaclient-util for more information.

2.9.0

07 Aug 21:33
Compare
Choose a tag to compare

All issues: https://github.com/marklogic-community/ml-gradle/issues?utf8=%E2%9C%93&q=milestone%3A2.9.0

And see the 2.9.0 ml-app-deployer release notes too.

Summary:

  • ml-gradle can now figure out what order to deploy roles in without having to name role filenames to order them.
  • ml-gradle can also handle deploying a role that refers to itself without having to break that up into two different payload files.
  • mlDeploy can now ignore commands
  • Exported users now have a default password in them so they can be immediately deployed without causing an error.
  • Amps can now be exported.
  • "validate-queries" and "validate-options" in a REST API properties module are now processed correctly

Summary of changes relevant to migrating a Roxy project to ml-gradle:

  • First, see the updated Roxy to ml-gradle guide
  • Roxy properties are now mapped to ml-gradle properties
  • Roxy source files can now be copied from a Roxy project into an ml-gradle project
  • Some custom Roxy build steps are automatically converted into Gradle custom tasks
  • One or more modules can be deleted after loading modules - this allows supporting Roxy's concept of deleting test modules in a production environment.

2.8.0

21 Jun 18:00
Compare
Choose a tag to compare

2.7.3

22 May 02:33
Compare
Choose a tag to compare

Fixed issue - #198 - mlNewProject wasn't using updated properties like mlAppName when generating scaffolding.

Skipped 2.7.2 because accidentally published this version of ml-gradle before finishing fixing 198.

2.7.1

21 May 12:26
Compare
Choose a tag to compare

Fixed #197 - "mlNewProject" was generating a build.gradle file with ml-gradle applied before the properties plugin.

2.7.0

10 May 21:25
Compare
Choose a tag to compare

Issues: https://github.com/marklogic-community/ml-gradle/issues?q=is%3Aclosed+milestone%3A2.7.0

Highlights: