What's new in eLabFTW 5.4

Pre-release warning
Note: this version is still in pre-release, it has not been officially released as a stable version yet!
We just make this blog post available early.
Introduction
eLabFTW 5.4 has been released! This new version brings many new features, enhancements and a few bugfixes. This blog post highlights some of these changes, but the complete list of changes is available on the release page.
A note about “stable” releases
eLabFTW is a living project — “stable” would imply it is no longer evolving. Version 5.4.0 is production-ready, but minor bugs will surface once it is in wide use, and patches will follow.
We target major releases every few months and issue patches as needed. A “.0” tag means the code and docs are ready to deploy, but be sure to apply subsequent patch releases so your users are not left with already-fixed bugs.
Video format
We produced a video summarizing the main points:
TODO
(production: Hüseyin Uzun; voice acting: Sydney Koke)
Big shiny new features
New creation modal window
The previous modal window to create an entry was cumbersome and confusing to use. So we replaced it with something better.
Now, the same modal window is used for creating any type of entry: Experiment, Resource, and their corresponding templates.

The window asks for a title first, and then you have the choice to either create the entry directly or list templates to create an entry from a template. We believe this flow is much better than before. It also addresses an issue where creating something from a template would not ask you for the title and you’d have to edit it afterwards. You can also simply type the title and press enter and it will work, making it very convenient to work with.

You’ll also find a new menu in the top right of the page to create entries directly from any page:

Listing page (show mode/index page)
We reworked how the listing appears: entries do not take full screen width anymore, and buttons and information have been moved around a bit. We now also show the last modification date.

Improve owner filter menu
The menu to filter users now hides archived users by default but allows to show them with a toggle button:

This will help in teams with many archived users.
Export compounds usage
If you link your Experiments to Resources that are themselves linked to Compounds, you can export the list of Compounds used over a period of time from your Profile page.

This could show useful to know which dangerous products you manipulated in the past.
DSpace integration
We added a new integration to DSpace (https://dspace.org/), allowing users to push entries to a DSpace repository. Sysadmins must first configure the remote repository from the Sysconfig panel.

Lockable steps
We implemented the possibility to make steps immutable. In a Template, you can now lock down steps so they cannot be moved around or edited in the corresponding entry created from that Template.
On the template:

On the experiment or resource:

Things for Sysadmins
Usage charts in Sysconfig panel
On the first tab of the Sysconfig panel, you will find a new section to display usage over time:

OpenMetrics endpoint
A new endpoint appeared: /metrics. This is an OpenMetrics 1.0.0 endpoint, that can be queried by software such as Prometheus, to later have the data available in Grafana for instance.
Check out the documentation about measuring metrics here: metrics documentation.
Rework how IdP certificates and endpoint are managed
This concerns you if you use SAML authentication. Previously, it was only possible to configure two certificates for an IdP: the current one and the upcoming one. This made rotation of IdP certificate smooth, as the SAML code would try to validate the response with both certs.
If you are using Microsoft EntraID, the IdP can have many more valid certificates, and configuring just two would break from time to time (see Microsoft documentation.
In 5.4, an IdP can have as many certs as we want, same for SSO and SLO endpoints.
This change is backward compatible, so it shouldn’t impact existing configuration, but you should definitely test SAML in your pre-prod instance, just to make sure.
Also, values set for attributes are not refreshed anymore automatically if you used XML import. We also improved other aspects such as x509 parsing and the way we process things when reading the XML file.
Fixes and improvements
- Improve handling of (soft) deletion of uploaded files and their restoration when the entity is destroyed/restored.
- Improve transfer ownership modal window and take into account the team, which was previously missed
- Improve accessibility by fixing errors reported by the WAVE plugin
- Add a warning for Safari users that they should use another browser
- Fix wrong date on templates listing
- Fix tags in Korean appearing vertically
- Many other little fixes and improvements…
API changes
storage_unitsandcontainersendpoints have been added to the specification- Error responses are now documented (400, 401, 403, 404 and 500)
Miscellaneous changes
- Add a mirror on Codeberg: https://codeberg.org/deltablot/elabftw
Breaking changes
Remove Open Science mode
The Open Science mode was completely removed. This mode previously allowed the instance to be directly visible from search engines by allowing an anonymous visitor to be automatically logged in in a given team. This mode was broken during the whole 5.3 branch lifetime, and no one noticed. As such, we decided to remove this option, given that it rarely fit the use cases of our users. See also why we remove features from time to time: https://www.deltablot.com/posts/note-about-software-maintenance/.
Update eLabFTW
Update like usual: see documentation.
If you’re looking for a more complete changelog, see the release page.
Tip: use AUTO_DB_UPDATE=true as an ENV variable to automatically run the db:update script upon container start!
Conclusion
There are still many other changes that are not described here (see full changelog), so make sure to update as soon as possible!
Thanks to everyone who contributed directly or not to this release. Reporting issues on the bug tracker or in the chat is very valuable! Make sure to report any bug you might find, even the most minor one, it’s always appreciated!
To report a bug, select “Submit feedback” from the top right help menu:

The adventure continues!