Page 1 of 1

Version 3.4.6

Posted: Sun Apr 19, 2020 8:13 pm
by michael
Released: April 19, 2020

Please read the release notes before upgrading: https://docs.mayan-edms.com/releases/3.4.6.html

Package locations

Docker image available at: https://hub.docker.com/r/mayanedms/mayanedms

Python packages available at: https://pypi.org/project/mayan-edms/3.4.6/ and installed via:

Code: Select all

pip install mayan-edms==3.4.6

Changes

Common

Support was added for custom URL base paths. This allows services Mayan EDMS as a sub URL service. The new setting controlling this feature is named COMMON_URL_BASE_PATH.

Django

Django was updated to version 2.2.12.

Two Django settings were exposed using the setting system. These are: SESSION_COOKIE_NAME and SESSION_ENGINE. SESSION_COOKIE_NAME is relevant when serving multiple installations of Mayan EDMS under the same domain and SESSION_ENGINE is useful to improve performance in large installations.

Dependencies

The checkdependencies command was updated to mark missing production dependencies with a symbol and an ANSI coloration. This makes it easy to spot critical dependencies that may be missing and causing artifacts.

The --csv option was added to the checkdependencies command to output the result as comma delimited values.

Removals
  • None

Backward incompatible changes
  • None

Issues closed
  • None

Re: Version 3.4.6

Posted: Sun Apr 19, 2020 8:22 pm
by michael
Explanation of changes:

COMMON_URL_BASE_PATH allows hosting Mayan as a sub URL app. Instead of just mayan.example.com, you can now use www.example.com/mayan.

SESSION_COOKIE_NAME allows hosting two of more Mayan installations on the same domain and allows signing into all at the same time. You need to set a different value for SESSION_COOKIE_NAME for each instance of Mayan.

SESSION_ENGINE by default all user sessions are tracked by the database. For each request Django (an Mayan) will do a database query to see if the user is logged in or not. To avoid this query you can now use a different session backend as recommended by Django here -> https://docs.djangoproject.com/en/3.0/t ... /sessions/

The checkdependencies will now highlight a missing production dependency for easy visual identification of a potential problem with your installation. Since this changes the output of the command a little bit, in case you are using the output of this command in automation or batch files, we also added a --csv option to output the result in the very easy to parse CSV.