Released: April 16, 2023
This version merges fixes and updates from version 4.3.8.
Local config values are not to be included in the Mayan app settings. Local config values are meant to override CI/CD and test settings, and not meant to be committed as permanent to the repository.
Improve the CD deployment stages. Long setting versions are now used for clarity. Existing Docker volumes are now cleaned up using the official method. Images are always pulled to ensure the latest copy is used even if the image has the same tag as the remote such as when building test images.
Updated the Docker image versions tags:
Debian from 11.5-slim to 11.6-slim
Docker from 20-dind to 20.10.21-dind
ElasticSearch from 7.17.0 to 7.17.9
MySQL from 8.0 to 8.0.32
PostgreSQL from 13.8 to 13.10
Python from 3.10-slim to 3.10.11-slim
RabbitMQ from 3.11.2-alpine to 3.11.13-alpine
Redis from 7.0.5-alpine to 7.0.10-alpine
The Docker Compose file was updated to work around a backward incompatible bug introduced in Docker Compose version 2.17.0 YAML processor (https://github.com/docker/compose/issues/10411).
Fix sources app migration 0027 backend mapping paths.
Staging folder file image cache errors are now ignored if the image cache is not already generated when deleting the staging folder file.
The workflow state action column is not shown for the workflow state runtime proxies where is does not make sense to show as this is configuration information and not runtime information.
Remove deprecated management commands:
Backward incompatible changes
The cabinet create permission is now required to create parent as well as child cabinets. This change replaces requiring the edit permission to create child cabinets via the HTTP views.
A new permission was added to change the type of a document. When support for changing the type of a document was added, it was considered a property and controlled via the document property edit permission.
Since changing the type of a documents now causes a cascade of other changes, it was isolated as an individual class of event along with its own permission.
The new document change type permission is required for the document being changed and for the document type to which the document will be changed into.
Download files are now associated to a specific users and not to a parent object. Delete, download, and view permissions were added to allow users to share a download file.
The OCR backend code is now executed under a new method called
_execute to avoid subclasses not calling the super class.
The base backend class now prepares the image to be processed for OCR and passes the file object to the subclass.
In addition to the search system refactor, new search indexes were added. The search backend needs to be reindexed to ensure these new indexes are populated.
The default secret key value is now only used if the secret key file is not found not just if the secret key file is present but unreadable.
home_view setting was removed from the default Template context.
Template instances need to include their own context using the new
The Cabinet API serializer field named
parent, will be removed in version 5.0. Use the
parent_idinstead which is functionally identical.
indexwill be removed in version 5.0. Use fields
index_idwhich are functionally identical.
workflow_template_urlwill be removed in version 5.0. Use the
urlattribute of the