← Back to Index

7.3 Release Notes

For Developers

Automation

Class Filter on Automation Scripting

It is no longer possible to perform Java imports from an Automation Script, as a class filter has been added to the Nashorn VM. This has been done for security and maintenance reasons.

Platform Functions Available in Automation Scripts

You can use Platform Functions under the Fn object like in Automation chains in Automation script, as it has been added to Nashorn context.

Helpers Automation

An extension point has been implemented to configure new function helpers to the automation module:

<extension target="org.nuxeo.ecm.core.operation.OperationServiceComponent" point="contextHelpers"> <contextHelper id="Fn" class="org.nuxeo.ecm.automation.features.PlatformFunctions"/> </extension>

HTTP Helper

A new helper for HTTP calls as been added. It can be used to perform external services API calls right from an automation script. See exemples for our documentation.

Elasticsearch

Elasticsearch API Passthrough

A proxy API has been implemented on the Nuxeo Platform so you can use native Elasticsearch GET queries as documented on the Elasticsearch documentation website. The proxy will ensure that only those documents each end user has the right to view are returned in search query results. Thanks to this feature, Elasticsearch-skilled developers can add the Nuxeo Platform in their architecture and benefit from a secure and modular content store with an extensible content management user interface, while still implementing their front office with JavaScript ES sdk.

Elasticsearch Hints

Elasticsearch hints have been added to NXQL and to the page provider object. It allows you to use native Elasticsearch operators in your query when using an Elasticsearch page provider. This will help you build content applications with fuzzy search support, phrase search, using specific tokenizers (arabic, chinese, phonems), as well as run geographical queries against the repository, such as searching for all photos that where taken within a scope of 5 miles around the Brooklyn bridge. It also allows you to hit specific index fields. The Nuxeo Studio Content View feature has been updated to support the declaration of Elasticsearch hints (operator, analyzer and field). Read the following documentation for more information.

API Evolutions

File Support on Workflow API

You can now upload a file for completing a task using Workflow REST API.

Reassign and Delegate Task Endpoints

Workflow Rest API provides ways to reassign or delegate a given task.

Get Rendition Operation

This new operation allows you to fetch a given rendition on a document in input.

Conversion

A web adapter has been added on REST API: /@blob/file:content/@convert?format=pdf for getting a conversion of a binary property, given a converter or a target mime type (as parameters).

Workmanager Find Method

A Java method has been added on workmanager service for performing an optimized search of a given job.

JSON Export of Layout and Widgets

This new API endpoint allows you to get the layout and widgets instances serialization in JSON for helping you build specific front office UIs, while leveraging the forms and data display you have declared in Nuxeo Studio.

UI

Pluggable File Widget

View mode of file widget is pluggable: you can contribute actions to display new links besides the file download link.

JavaScript List Widget

A second implementation of the generic List widget is provided in JavaScript that fixes many bugs encountered on the initial implementation. This is the one used by default on Fast Track and it has been back ported as an option in 6.0.

REST Endpoint for CSS and JS Resources

A new endpoint is available for serving CSS and REST resources on a web page of Nuxeo Platform Web UI. This is a first step of the refactoring that will lead to the removal of the use of the legacy Theme framework.

OAuth Service Providers Extension Point

It is possible to plug new OAuth Service providers with custom logic on parts where the protocol is not precise enough.

Web Components and Polymer

We have started to add Polymer dependencies to the build. You will notice a new tab for managing rights on a document now appears, but it is disabled by default, as this is still a work in progress using Polymer.

Removal / Deprecation