github elabftw/elabftw 2.0.0-beta
elabftw-2.0.0-beta

latest releases: 5.4.0-beta2, 5.4.0-beta, 5.4.0-alpha3...
pre-release7 years ago

Hello,

This is a beta release of the upcoming 2.0.0 version of elabftw. This release is very close to the final release. It might still contain a few bugs, but it has been tested and should be OK. Your help in tracking bugs is invaluable. Please report any problem you might have.

To test this release:

  • For Docker users: edit your elabftw.yml file (located in /etc by default) and change the line image: elabftw/elabimg to image: elabftw/elabimg:next. And do elabctl update. This will upgrade your current installation.

  • For non Docker users: git checkout -b next && git pull origin next and read the upgrade guide.

Note that you need to access the documentation hosted on readthedocs because the one on doc.elabftw.net is for the stable version.

CHANGELOG

Why this update?

Sometimes, you have to break things to make them better. With the version 2 I can remove support for php 5.6, allowing me to use the latest versions of some dependencies, and also type hinting, a new feature of the PHP language. I can move the web served directory to a separate directory that is not the root directory of the repo. This means the uploads folder is not in the webdir anymore which is better for several reasons. I can update different components to a major version (bootstrap, twig), use Webpack to deal better with the Javascripts, remove all the minified files from the git tracking. This means more work to install it without Docker, but the Docker method being the recommended one it's ok. It also means the repository is smaller and faster to clone. So basically with 2.0 I felt free to break everything and then rebuild it better after, without having to worry about anything (as long as I can write a proper upgrade documentation for non docker users!).

CHANGELOG:

New features:

  • Add Slovak lang − thanks to Martin Petriska from Bratislava
  • Add 100% translated Russian lang − thanks to Mark T
  • Database items now have comments (#508)
  • Add option in user control panel to allow experiment edition from members of the team (#498)
  • Allow creation of Links through API (#599)
  • Add a Tag Manager in the admin panel so the admin can correct typos or remove tags (#715)
  • Add Mathjax support for pretty mathematical expressions (#208)
  • Add visibility to database items (#541)
  • Add support for Nanobox.io deployment
  • Add possibility to add a caption to inserted images (#241)
  • Add Open Science mode allowing unregistered users to read experiments in a team (#718)
  • Add EXPERIMENTAL feature for streaming zip archives (allows big zip) Enable it from UCP.
  • Add option for french style signatures block in pdf (#726)
  • Add possibility to download file through API (#798 #797)

Enhancements:

  • Allow to search for tags with string from the middle of the tag (#702)
  • Better user interface for Steps, Links and Todolist (#559)
  • Show steps in view mode
  • Use SVG icons instead of PNG
  • Show owner in show mode if not current user for experiments (#616)
  • Add relative moment for displaying a date
  • Display locked date in view mode when hovering the lock icon (#189)
  • Add Steps to PDFs (#189)
  • Add more actions to the top right menu
  • Page load is cleaner
  • Add a version query string to assets to prevent caching of old versions
  • Add more infos on Sysconfig page and reorganize the tabs
  • Show 25 items instead of 10 for mention plugin (#641)
  • Remove the 60 characters limit on autocomplete
  • Updated translations
  • Zip generation is less likely to fail

Bugfixes:

  • Display edit icon in show mode for admins (#498)
  • Fix permission issue when deleting experiment from show mode
  • Fix order by category not working for experiments (#698)
  • Fix revisions for admin (#662)
  • Fix issues in SAML login if team is empty
  • Fix tags not being imported when template is duplicated
  • Fix steps/link not working with a '%' character (#791)
  • Fix possibility to update category/visibility of locked item (#792)
  • Fix issue with order by and sort (#790)
  • Fix issue with comments (#802)

Dev corner:

  • Mininum PHP version is now 7.1
  • Update SwiftMailer to version 6
  • Update Twig to version 2
  • Update Bootstrap to version 4
  • Use Webpack 4 to create bundles (using tree shaking feature to make smaller bundles)
  • Use ES6 syntax for Javascript (const/let instead of var for instance)
  • Drop phpdocumentor dependency in composer.json, use the phar instead
  • Use type hinting
  • Use strict_types
  • Replace strlen() by mb_strlen()
  • Use dirname(DIR) instead of relative paths
  • Move the cache folder outside of uploads
  • Split code in web and src folders
  • Function signatures are more coherent
  • Use random_bytes() to get random numbers
  • Use chromedriver for acceptance tests
  • Deduplicate the mysql structure file
  • Remove custom css class. Use bootstrap classes instead
  • Use monolog for logging to the webserver error file
  • Use utf8mb4 in fresh MySQL database creation
  • Replace uniqid() with random_bytes()

ENJOY 🎉 and please report bugs :D

Don't miss a new elabftw release

NewReleases is sending notifications on new releases.