Mathesar 0.6.0¶
Want cross-table editing or bulk imports in Mathesar? Talk to us!
For our next release, we’re actively working on:
- the ability to edit data from multiple tables in a single view
- bulk import of data into existing tables
If you’re interested in either, we’d love your input so we’re prioritizing the right problems to solve. Talk to us for 20 min, we’ll give you a $25 gift card as a thank you.
Summary¶
Mathesar 0.6.0 introduces the file data type which allows you to upload, download, and preview files alongside your data. This release also brings a refreshed visual style to Mathesar, introducing semantic colors that make it easier to distinguish between databases, schemas, tables, and more at a glance.
This page provides a comprehensive list of all changes in the release.
Improvements¶
File data type¶
Mathesar now includes a file data type, which lets you attach and interact with files directly in your tables. Any file type can be stored, with images showing a thumbnail preview that can be expanded to a larger view. Other file types display an icon with file details. Files can be downloaded or removed from a row at any time.
View an order along with its line items, related images, and a downloadable PDF invoice.
To use file columns, you’ll first need to configure an S3-compatible storage backend. Once configured, you can add files just like any other data type, and then upload files through the Mathesar interface.
Related work:
#4757 #4563 #4758 #4728 #4770 #4795 #4783 #4779 #4739 #4768 #4778 #4788 #4564 #4790 #4793 #4784 #4791 #4762 #4782 #4777 #4781 #4798 #4780 #4760 #4792 #4800 #4776 #4801 #4794 #4799 #4786 #4832
Refreshed visual style with semantic colors¶
Mathesar’s refined light mode makes it easier to navigate and edit your data.
Mathesar’s interface now uses semantic colors to help you quickly understand and navigate your data. Databases, schemas, tables, and other objects each have distinct colors, making it easier to tell them apart at a glance. This update brings a clearer, more consistent visual style across the application, improving readability and reducing the cognitive load when working with complex datasets.
Related work:
Bug fixes¶
- Updated default Gunicorn sync worker count to
3
and exposed worker count as an env var #4844 - Moved installation page language-switcher to top right corner #4735
- Fixed JSON rendering in the data explorer and in lists #4741
- Fixed an issue with placeholder cell focus #4802 #4816 #4822
- Now correctly fetch records data when adding a constraint #4734
- Improved keyboard navigation for the form builder #4748
- Now properly clear all statuses and errors when inserting a new row #4746
Maintenance¶
Upgrading to 0.6.0¶
Improve Mathesar’s performance with multi-user installs
Mathesar now sets the WEB_CONCURRENCY
variable to 3
by default, which can significantly improve performance for installs with multiple users.
Existing users should set the WEB_CONCURRENCY
env var using our recommended settings.
For installations using Docker Compose¶
If you have a Docker compose installation, run the command below:
Your installation directory may be different
You may need to change /etc/mathesar/
in the command above if you chose to install Mathesar to a different directory.
For direct installations of Mathesar on Linux, macOS, or WSL¶
Mathesar provides an install script that automates both fresh installs and upgrades for standalone (non-Docker) installations.
Previously referred to as “Installation from scratch”
In versions earlier than 0.3.0, this setup was referred to as “Installation from scratch”.
Follow the steps below to upgrade Mathesar:
-
Enter your installation directory into the box below and press Enter to personalize this guide:
- Do not include a trailing slash.
- Do not use any variables like
$HOME
.
-
Go to your Mathesar installation directory.
Note
Your installation directory may be different from above if you used a different directory when installing Mathesar.
-
Download and run the install script for 0.6.0
-
Replace your gunicorn systemd service with a Mathesar systemd service
-
Disable and stop the existing gunicorn service
-
Follow the steps in Run Mathesar as a systemd service from the installation guide
-
Remove the gunicorn service file
-
-
Update your Caddyfile
-
Use the configuration shown in Install and configure Caddy in the installation guide, and update your Caddyfile accordingly
-
Ensure that your domains are specified directly in the first line of the Caddyfile
-
Restart your Caddy service
-