For Developers
MongoDB Backend
MongoDB support is now built-in, you don't need to install a marketplace package. A deep refactoring of low layers happened in Nuxeo so as to be able to support a non-transactionnal repository such as MongoDB. This refactoring was made so as to be able to implement other NoSQL backends in the future, as known as "Document-Based-Storage" inside the platform.
REST API improvements
Content Enricher
Former Rest Providers have been renamed "Content Enricher" for more clarity. The corresponding necessary contribution was also changed, see upgrade notes.
Two content enrichers were added to the platform:
- ACL: This adds ACLs of the document to the response. It was previously doable using the @ACL web adaptor. Having a Content Enricher for this allows to get in one same call the document and its ACLs.
- Thumbnail: This one adds url of the Thumbnail Picture to the response. You can use it when doing client slide applications.
The Content Enricher documentation has been updated.
New Versioning Header
You can now control whether a minor or major version is created when creating or updating a document via the REST API, using the new "X-Versioning-Option" header, with "MAJOR" or "MINOR" as a value.
Elasticsearch
The Elasticseach integration has been improved. More fields are indexed, following the feebdack of first usecases. Furthermore, the documents are now fetched directly from the Elasticsearch index, instead of only fetching the reference then loading the document from the database. This saves many database queries in the result set construction and thus improves peformances.
Business Days Management
A plugin implemented at first for a customer project has been generically re-branded as it can be useful in many situations: "Business Days Management" module allows to compute a date given a delay and the list of holidays for the year. The delay will be added to the start date without counting the week ends and those holidays. See the nuxeo-business-day-management GitHub repository, we will come up soon with a post around this topic.
Generic Video Class Converter
Thanks to this new Video converter, you can add new video conversion formats without having to write custom Java classes. A sample contribution of a new video converter would be: