XenForo 2.2.4 Released
Exactly ten years and a day since the very first stable release of XenForo, we are happy to present a new release to increase the reliability and performance of XenForo.XenForo 2.2.4 is now available for all licensed customers to download. We strongly recommend that all customers running previous versions of XenForo 2.2 upgrade to this release to benefit from increased stability.
One-click upgrade to XenForo 2.2.4
Directly from your admin control panelSome of the changes in XF 2.2.4 include:
- Ensure multi-quote system does not overwrite unintended parts of the attachment upload request.
- Allow the "must login or register to reply" button to wrap if needed.
- Prevent an error from being sporadically triggered when cleaning up the filesystem cache.
- Prevent an error when checking if a conversation can be started with a user who is unexpectedly missing part of their profile data.
- Ensure that "click to expand" links are treated as buttons and are keyboard-navigation accessible.
- When logging in via an API generated token, allow the existing logged in user to be replaced (if logged in as a different user) with the new user if force=1 appended to the URL.
- When an account that does not have a password set is requesting a new password, ensure some amount of rate limiting is imposed to avoid repeat requests.
- Add support for using $context inside widget display condition field.
- Properly maintain the full table markup when selectively quoting only part of a table.
- Fix search result highlighting issues with certain non-ASCII characters.
- Prevent double conversion of CSS rules to BB code equivalents in some situations.
- When viewing the registerd members list, ensure unviewable member stat categories are filtered out from the sidebar.
- Ensure toggle:hidden event is triggered correctly when hiding toggle elements.
- Clean up news feed records belonging to posts when their thread is hard deleted.
- If a thread as multiple sort options, ensure the additional links are marked as nofollow
- Mark go-to links in quotes as nofollow
- When viewing the latest activity of an ignored member, show a link to view ignored content
- Prevent HTML errors outputting from Xdebug in some cases.
- When searching within a specific forum, ensure child forums are included in all cases.
- Adjust Auth::actionPost API documentation to recommend the login/password parameters should be passed into the request body to go along with a general recommendation in our development documentation that this should generally be done for all non-GET requests.
- When a pre-registration action is triggered, only show the welcome message if this is newly registered user.
- Correctly pass state of $forceCaptcha to contact_form template
- Disable a table quick insert button that sometimes appears in the rich text editor.
- Update phpdoc on entityColumnsToJson method to indicate the correct return type.
- If the unregistered group has the view permission revoked ensure that failed CAPTCHAs can successfully be reloaded in the event of an error.
- Fix an issue preventing installs from the command line when using PHP 8
- Avoid unexpected layout shifts when embedded images/attachments have known dimensions.
- Throw a required input missing error if the
avatar
file is not included in the request. PHPdoc updated to reflect the requirement in the online API docs. - Ensure user rejection reasons can't exceed the 200 character limit
- Update PhpBb3 authentication handler to support verifying passwords using native PHP methods where possible.
- Render phrases presented as $value to XML createDomElement()
- Don't merge identical sibling URL and EMAIL bbcode tags
- For consistent behavior across PHP versions, explicitly trigger a notice if an array is passed in to XF::escapeString
- When inserting multiple attachments, allow the "thumbnail" button to insert audio/video attachments which do not support thumbnails.
- Maintain the single thread search constraint when returning to the advanced search form.
- Ensure that about and signature are not censored before rendering as BB code.
- In question and suggestion forums, ensure that all tab constraints are maintained in the filtering menu.
- Save undo points in the RTE when triggering certain actions such as quoting a message.
- Prevent an error on some browsers when inserting a video through the rich text editor.
- When importing users, if the primary user_group_id also appears in the secondary_group_ids field then remove it.
- Create a new POST post/{id}/mark-solution endpoint, to toggle/switch the solution post. Returns old_solution_post and new_solution_post to allow switching behaviours.
- Adjust universal lightbox option explanation
- Properly escape some phrases in HTML attributes
- Fix group sorting of field cache data
- Add a note about step dependencies to the import step chooser
- Don't throw an error when trying to add an admin on PHP 8
- Check permissions before displaying add-on control links
- Display option values when editing the current email transport method
- Trigger events when toggling the display of disabler containers
- Adjust new thread and search forum widget expanded display explanation
- When autolinking post content do not autolink if we match www. followed by an additional dot.
- When installing XF via the command line if the confirm password doesn't match the original password then go back to the original password prompt.
- Allow 'sort' to be passed to profile-posts/{id}/comments in order to get posts in asc/desc date order
The following public templates have had changes:
- PAGE_CONTAINER
- alert_macros
- alert_post_pre_reg
- alert_user_pre_reg_failed
- approval_queue_macros
- bb_code_tag_quote
- bookmark_macros
- connected_account_associated_facebook
- contact_form
- core_bbcode.less
- editor_dialog_media
- editor_insert_gif
- forum_filters_type_question
- forum_view_type_question
- forum_view_type_suggestion
- helper_attach_upload
- member_latest_activity
- member_macros
- member_recent_content
- member_tooltip
- member_view
- nestable.less
- offline.less
- post_article_macros
- post_macros
- post_question_macros
- push_post_pre_reg
- push_user_pre_reg_failed
- search_form_macros
- search_form_post
- service_worker_offline
- thread_view
As always, new releases of XenForo are free to download for all customers with active licenses. You may now upgrade from your admin control panel or grab the new version from the customer area.
Current requirements
Please note that XenForo 2.2 has higher system requirements than earlier versions.The following are minimum requirements:
- PHP 7.0 or newer (PHP 7.4 recommended)
- MySQL 5.5 and newer (Also compatible with MariaDB/Percona etc.)
- All of the official add-ons require XenForo 2.2.
- Enhanced Search requires at least Elasticsearch 2.0.