Version 4.11.0¶
This release comes with great news for Chinese speakers, a more robust formbuilder backend, and other goodies.
Localization¶
LiberaForms has been translated to Chinese! Thank you @poesty ♥
Until now, LiberaForms has used ISO 639-1 language codes like en, es or zh to handle translations.
Because there is a clear distinction between Chinese simplified zh-CN and Chinese traditional zh-TW we have had to rewrite all our i18n backend.
While working on that, we have fixed the translation codes used by the third party libraries formbuilder and parsley.js. That works now.
Localization is now handled with bcp47 codes that represent language, country, and dialect codes. The rewrite was worth it!
Many other languages have also been updated by the team of translators. Much appreciated!
Limited selected check boxes¶
New feature: When adding a Multi choice field to your form, you can now set a limit to the number of check boxes that can be simultaneously selected by your audience.
Branding¶
You may have noticed that we changed our logo and icon.
If you would like to update your site's icon and favicon, use the site's look-and-feel configuration UI and restore the default.
Strict form field sanitization¶
Improvement: When building and saving changes made to a form's fields, we now perform strict sanitization of the field structure. Missing properties are added with default values and unexpected or invalid property values are dropped.
Highlighted bug fixes¶
- Concurrent and orphaned
Page breaksare sanitized correctly. Conditional fieldswere sometimes failing. Fixed.
Thanks¶
To the contibutors, the translators, and all of you who use LiberaForms.
Enjoy!
Upgrade¶
Upgrade notes
We keep a history of configuration changes here.
Please check for any changes made since your current version (if any).
Stop LiberaForms¶
sudo supervisorctl stop liberaforms
sudo supervisorctl stop liberaforms-logs
Fetch version 4.11.0¶
git fetch origin tag v4.11.0 --no-tags
git checkout v4.11.0 -b v4.11.0
cat VERSION.txt
Upgrade python packages¶
Not required if upgrading from v4.9.0
source ./venv/bin/activate
pip install --upgrade pip
pip install -r ./requirements.txt
Change the default language¶
Edit the .env file and change the DEFAULT_LANGUAGE value.
Please see dotenv.example for valid values.
Upgrade the database¶
Upgrade schema to 7aed2f3ec089
flask db upgrade
Check the installed versions¶
flask site get-versions
Start the supervisor processes.¶
sudo supervisorctl start liberaforms-logs
sudo supervisorctl start liberaforms