Elgg 5.0.1
20 June 2023
Elgg version 5.0.1 is now available (major release).
Upgrading to Elgg 5.0.1
Elgg 5.0.1 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 5.0.1 upgrade prior to applying it live. Get started managing your Elgg installations with Installatron
What's New in Elgg 5.0.1
5.0.1
Bug Fixes
- cropper: only register tab change fixes when cropper is ready (33feb185)
- db: allow passing only relationship_ids to fetch relationships (ad06ace9)
- db: querying relationships with only relationship_guid now works (8bfe76e7)
- js: use native scrollIntoView to respect element scroll margin (9b1b1850)
- registration: send the new user notification to email (b845f475)
- river: always return a string for RiverItem->getView() function (10437cf5)
- seeder: validate commentable and likeable capability during seeding (fb151710)
5.0.0
Features
- ckeditor: confirm page navigation on unsaved editor changes (789c27b0)
- ckeditor: replaced ckeditor4 with ckeditor5 (52ea3488)
- access_collection: trigger 'create', 'update' and 'delete' events (8a8e89a5)
- actions: action registration can support additional middleware (90c786e1)
- activity: commenting bumps related river activity last action (00868b68)
- admin: added a widget for admins with a feed with latest Elgg news (697481f1)
- admin: moved page menu items to the topbar (535d0eb2)
- admin: admin account menu is now more in line with front end (405b114e)
- admin: moved plugin settings menu items to own section (6098f150)
- core: added download response (12204ccd)
- core: upgrade batches now have access to upgrade entity (5cc3a108)
- core: event and hook deprecation now have a default message (992e7ef3)
- db: private settings are merged into metadata (cb9951a5)
- entities: create event has been split into before and after event (432b4dad)
- events: event sequences have a unique ID (0febd638)
- files: file plugin files are now stored with the entity (9df0cd0a)
- files: no longer show file type icons in regular listings (fe263adf)
- forms: automatically support sticky forms (320a8110)
- garbagecollector: cleanup orphaned data in the database (230a8ee9)
- gatekeepers: added PageOwner gatekeeper middleware (443c6f27)
- gatekeepers: pageownercaneditgatekeeper now requires a pageowner (6553b9a2)
- http: added helper function to get a Http Guzzle Client (d2f60974)
- icons: icon cropping is now default enabled in entity/edit/icon (a845ce04)
- plugins: it is now allowed to set arrays as private settings (de415231)
- reportedcontent: added detail view for reports with comments (90fc1195)
- routes: added the ability to influence priority for similar routes (d257f024)
- tests: allow easier testing with multiple installations (ac3035e0)
- users: if configured a river activity is for a new user (d5a1d944)
- views: page header now has support for header image (84929789)
- web_services: API methods can be registered in the elgg-plugin.php (6357e73e)
- web_services: allow different callbacks depending on HTTP request (d67507e0)
- widgets: it is now possible to filter the widgets in the add panel (7d95d87c)
- widgets: target column and position can now be configured (97d657c4)
Documentation
- events: added some additional information about migrating hooks (6d607025)
Bug Fixes
- ckeditor: use pixels instead of percentages when resizing images (4bd4e629)
- ckeditor: image upload progress and icon are beter visible (7c44af72)
- ckeditor: strip empty paragraphs when outputting longtext fields (dfd24629)
- ckeditor: added the simpleButton plugin (9334b61e)
- cropper: fixed issue when the cropper is on a hidden tab (7b7dcfae)
- plugins: correct layout when a plugin can't be (de)activated (35a36232)
- views: validate elgg_list_entities getter return type (b349f367)
- icons: show cropper messages for header images (a09f7d36)
- output: correctly format 0 byte output (1a27a14c)
- core: prevent issues with unsaved data and system log (4048eeec)
- filestore: improved removal of a directory (a6c09c81)
- forms: draw fieldset legend on correct location (c1a012ac)
- likes: use variable in translation string (d39e33da)
- search: use correct container type title (ba742d1f)
- views: output/url now returns nothing if there is no url (db8b6e06)
Breaking Changes
- core: metadata value no longer magically turns into an array (b0f4695f)
- hooks: hooks and events system has been merged (720a38a5)
- menus: elgg_register_title_button has its first argument removed (ddb25972)
Removed
- blogs: no longer show a delete button on blog edit form (8274c0e8)
- blogs: auto save draft functionality has been removed (bb71b807)
- core: InvalidParameterException as removed (aedb914c)
- core: the REFERER constant is removed in favor of REFERRER (a3137340)
- core: it's no longer possible to set site secret in elgg-config (80e91091)
- files: file plugin no longer uses custom file type icons (92c50dd1)
- plugins: the embed plugin has been removed (31a443c5)
- widgets: class function saveSettings has been removed (3c58daee)