Elgg 4.1.0
14 January 2022
Elgg version 4.1.0 is now available (major release).
Upgrading to Elgg 4.1.0
Elgg 4.1.0 can be upgraded to (or installed) using any of Installatron's products. Use Installatron's optional Automatic Update feature to automatically apply Elgg updates as new versions are released, or use Installatron's Clone feature to duplicate an existing Elgg install to test the 4.1.0 upgrade prior to applying it live. Get started managing your Elgg installations with Installatron
What's New in Elgg 4.1.0
Features
- css: added helper class to wrap horizontal fieldset content (c0853ae7)
- activity: index page will show registration form if possible (c5b84221)
- admin: server requirements warning for session garbage collection (460134fd)
- admin: user validation by admin notify user about validation (ab5b3624)
- admin: added link to add new user form on newest users listing (98d55ca7)
- admin: admin control panel menu items always visible in title menu (204fd65d)
- blog: added logic to pass archive menu options to sidebar views (221172c7)
- cache: replaced mrclay/minify with matthiasmullie/minify (fd99fccc)
- capabilities: canComment now uses canWriteToContainer logic (f4c3890d)
- comments: added threaded comments capabilities (0875b898)
- comments: commentable is now an entity capability (475cb0b6)
- comments: added a site config to control comments on group content (bde859da)
- comments: show a notice for logged out users to login to comment (60f79376)
- comments: show that a comment was created by the content owner (32af360d)
- config: added site setting to control who can change language (164965b6)
- core: improved default index pages (f22c071a)
- core: replaced internal service provider with PHP-DI (8d997600)
- css: added helper class to stretch a field in a fieldset (be05225c)
- css: added helper class for horizontal labels in elgg-field (df095c13)
- css: added phone up media query css crush variable (18de6788)
- custom_index: added settings to control homepage modules (54bbf7c0)
- custom_index: Front Page Demo plugin is now enabled on new sites (f95afdab)
- db: the required mysql version for new installations now is 5.7 (65c292e0)
- developers: control how elgg_echo strings are displayed (8eb2afb6)
- entities: added entity capabilities service (e93d1c5d)
- forms: elgg_make_sticky_form() now supports ignored field names (5febfa9e)
- forms: the container has a dedicated input view with more context (6761e981)
- install: admin notice for new installs now mention front page demo (a30ebdfa)
- javascript: sortable features now also work on touch devices (fe2421d5)
- likes: likable now is part of the entity capabilities systems (a149422d)
- menus: added flag to menu items to hide if it has no children (24b05c70)
- notifications: added option to disable subscription filtering (1e58e96e)
- notifications: control over detailed notification configuration (2ae90bf2)
- page_owner: page owner middleware forces page owner detection (829bce49)
- profile: user display name edit is now a separate view (4b485be8)
- routes: add function to get a route based on an url/path (17370a6a)
- routes: add function to get current route name (7c2a2991)
- site: added the ability to upload a site icon (149f1258)
- site_notifications: allow to configure the cleanup interval (77642349)
- system_log: improved archived log cleanup (024c7aae)
- tests: static config test now check correct upgrades registration (5d146320)
- tests: logged in user is now always logged out by base test class (c1a97363)
- tests: entities created during tests are automatically removed (3ec2d614)
- upgrades: the finished upgrades list now has pagination (09a1ea54)
- views: added menu section in elgg_view_messages header output (d9023fcf)
Performance
- comments: added comments count preloader logic (2b6da920)
- site_notifications: cron cleanup uses direct database queries (36969685)
Documentation
- core: added a guide on how to use the entity capabilities service (b8f226ab)
Bug Fixes
- admin: server information now reports correct minimal php version (a2fb0a96)
- collection: correctly implement unset of collection item (3684df75)
- file: prevent path traversal in ElggFile (0a50b762)
- js: no longer close popups on scroll (9b4d2621)
- menus: removed link from topbar account menu item (e1104cf5)
- router: admin gatekeeper reports status code 403 instead of 401 (05340f54)
- tests: custom config values always persist over db values (49ef293b)
Deprecations - Core
- ElggEntity->getAccessID() is deprecated (3a9a9e5b)
- elgg_get_version has been replaced by elgg_get_release (cc71881c)
- i18n: the public DI proxy for elgg()->echo is deprecated (2f65c1ab)
- page_owner: legacy page owner detection has been deprecated (6fec812f)
- views: elgg_does_viewtype_fallback has been deprecated (1e2a135a)
Removed
- admin: control panel widget has been removed (4e8d1cff)