This version contains a security fix. We strongly recommend updating.
- Vulnerability fix
- GHSA-2gm6-xjf3-cqmm: On an installed site, the web installer could be reached while the site could not reach its database
- Security hardening
- File sharing: share link tokens are stored hashed; a share link checks the maker's download right each time; files received through a request link keep their held preview state when copied or restored
- File sharing: only system administrators set or clear the legal hold and the retention; "view only" shows only what is made from a file (a smaller image, the converted PDF); new share links end in 30 days by default (at most 90)
- The Tuning page's config cache button and
exment:updatewrite the config cache with mode 0640 - Security check: new items (PHP display_errors, logs/sessions/cache readable by others); a 401 or a redirect is reported as "could not check"; Apache (.htaccess) examples
- Plugin release zips are verified after copying; navbar and Studio data are cleared at logout
- Improvements
- Kanban: fewer queries (one query for the first cards of every column, linked records read once) and smaller pages
- Lists: less work per cell; values decoded once; select choices built once; fewer repeated calculations per request
- JS and CSS URLs change with every update, so Ctrl+F5 is no longer needed
exment:update --forcefor scripts and cron; the config cache is rebuilt after an update when the site had one- Installer: works on production settings and with an empty APP_KEY; APP_ENV=production and .env 0640 at the end; checks the PHP version the packages need
- Tuning: cron and queue advice for rental servers (the full path of the site's PHP); PHP-FPM wording
- Feature management: install a downloaded official plugin release after checking its signature; help for the bundled official plugins
- Create form: copy the values of an existing record (#1828)
php artisan exment:meili-setup: set up Meilisearch in one command (with install scripts)- Plugin batches that return true end with exit code 0
- The menu visibility is decided in one place (no change in what users see)
How to update:
composer update exceedone/exment exceedone/exment-admin-core
php artisan exment:update
(With no terminal, for example in a script: php artisan exment:update --force.)
Notes:
- Whether a site is installed is now decided from
EXMENT_INITIALIZEin the .env file or the filestorage/app/.exment_installed. Nothing has to be done after updating. To run the web installer again on purpose, delete both. - While an installed site cannot reach its database, every page answers 503.
- If you cannot update at once, block the installer in the web server: nginx
location ~ ^/(admin/)?install(/|$) { return 404; }, ApacheRedirectMatch 404 ^/(admin/)?install(/|$). - Share links made from this version end in 30 days unless another date is chosen (EXMENT_FILE_SERVER_SHARE_DEFAULT_DAYS / EXMENT_FILE_SERVER_SHARE_MAX_DAYS; 0 = no default / no limit).
Full Changelog: v7.2.1...v7.2.2