Skip to content

2025.2.0 (Enterprise Edition)

Latest
Compare
Choose a tag to compare
@MarcelGeo MarcelGeo released this 14 Feb 10:15
8105541

Features

Redesign of admin panel

We redesigned the admin panel to match the Mergin Maps dashboard design. The new 'Overview' page provides a summary of your server at /admin. Super admins can now switch between admin panel and dashboard using the footer link.

image

Workspace limits introduced for storage and contributors

Administrators now have the ability to configure workspace limits through the admin panel. This includes setting specific storage and contributor quotas for individual workspaces. Once these limits are established, users will be prevented from exceeding them within their respective workspaces.

Allowing export of server statistics

In the admin panel you can now export statistics for your deployment. Try it on /admin/settings address in advanced section.

Database initialisation command

For fresh deployments, initialize the database using this command:

docker exec -it merginmaps-server flask init

This command will create database tables and add super admin user. For more details see documentation.

Improvements of sending emails

Empty default values for MAIL_USERNAME and MAIL_PASSWORD now enable email sending from SMTP servers without authentication. You can now use command for sending check email to your email:

docker exec -it merginmaps-server flask server send_check_email --email {YOUR EMAIL}

To check your deployment you can use new command:

docker exec -it merginmaps-server flask server check

Follow troubleshooting guide if you are having issues with sending emails.

Other enhancements and fixes

  • Security vulnerabilities resolved regarding the uploading of malicious file paths to the server.
  • Security vulnerabilities resolved regarding tokens generated for email and password resets.
  • Multiple fixes for switching workspaces in the dashboard
  • Enhance the speed of the project versions list
  • Reduce the size of the database with large project version changesets
  • Fix missing invitation expiration in collaborators
  • Disable case-sensitive handling of invitations emails
  • Enhancements for Gevent
  • Upgrade to python 3.10

Migration to this version

This release requires a database migration. The following migrations have been created:

  • community@c13819c566e7
  • community@57d0de13ce4a
  • community@1ab5b02ce532
  • community@1c23e3be03a3
  • enterprise@f3fdcffa1031
  • enterprise@6bee967ad61b
  • community@d02961c7416c
  • community@ba5051218de4
  • enterprse@ba5ae5972c4a

For detailed instructions on migrating from version 2023.4.0 to 2025.2.0, please refer to the documentation available here.

Note: You need to have CREATE EXTENSION permission enabled for database user.

Environment variables

The following mandatory variables have been added (we recommend using strong, randomly generated strings for these values):

  • SECURITY_EMAIL_SALT - This salt is used for generating verification email tokens and should be a strong, randomly generated string.
  • SECURITY_BEARER_SALT - This salt is used for decoding bearer tokens and should be a strong, randomly generated string.

The following environment variables have been added:

  • ENABLE_SUPERADMIN_ASSIGNMENT - The default value is True. If set to False, you will not be able to assign the super-admin role to a user from the admin panel.

The following environment variables were changed or deprecated:

  • WORKSPACE_INVITATION_EXPIRATION - The default value is now 14 days.
  • RUN_CELERY - In the new docker-compose.yml file, the Celery beat and worker containers are separate. You no longer need to set this variable if you are using this version of Mergin Maps Server.
  • USE_X_ACCEL - The default value is now True.