XenForo 2.2.8 Released
XenForo 2.2.8 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.XenForo 2.2.8 brings initial PHP 8.1 support to XenForo. We do not currently recommend upgrading to PHP 8.1 in production but would encourage, where possible, running XF 2.2.8 and PHP 8.1 together on your staging sites/servers if possible.
One-click upgrade to XenForo 2.2.8
Directly from your admin control panelIf you are a XenForo Cloud customer, your upgrade will be scheduled automatically.
Some of the changes in XF 2.2.8 include:
- Do not wrap iconic inputs when directly adjacent to other inline items
- Generate PhpStorm metadata for validator classes
- Optionally normalize a URL passed into
getRoutePathFromUrl
to exclude the script part of the URL if it is passed in. - Fix further JavaScript regression in editor.js that affected older browsers.
- Fix undefined variable $option when failing to refresh an OAuth email access token.
- If the location field is required at registration, indicate so on the account details page
- Correctly mark Applebot as a robot
- Fix the type hint in AbstractDriver for the imageFromFile method
- Ensure report comments are ordered consistently
- Allow API thread filtering by prefix_id when the specific forum is unknown
- Add support for podcast episodes to the Spotify BB code media site
- Adjust the way answers are counted and represented within the JSON-LD schema for question threads
- If the forum used for reports is deleted, revert back to using the report centre
- Throw a prettier error if downloading an XF upgrade package fails
- When sending a payment receipt for user upgrades, display the price paid and not the current price of the user upgrade
- Fix an issue preventing numeric custom fields from being searched
- Remove itemprop attribute from the fnUsernameLink templater function
- Silence errors when a template doesn't exist
- Patch a regression in Froala which caused images inside clipboard data to no longer be uploaded as expected.
- Consistently nest date of birth privacy options in the admin control panel user edit page.
- Fix password strength meter background color bleed.
- coerce the lbThumbsAuto option value to a boolean to ensure it works as expected.
- Fix vertical alignment of sort order indicator inside filter bar toggles.
- Remove CSS rule that inadvertently increases the size of the text of some form row elements.
- When requesting a new attachment key and hitting a permission error, make the error more clear.
- Fix an issue with the wrong reaction sprite displaying when switching between reactions on different sprite sheets.
- Support adding data attributes to
<xf:optgroup>
elements inside<xf:checkbox>
and<xf:radio>
elements. - Remove orphaned buttons from the button manager and correctly indicate button visibility
- When using ImageMagick, correctly set its temp directory to tempDataPath
- Include 'all' filter within page navigation when batch updating threads
- Improve handling for batch updating a large number of records in one go
- Add .opus as a supported audio file extension
- Ensure advanced flag for options is both imported and exported correctly
- Restore the default tab for a node when deleting its associated navigation tab
- Disable page load scroll adjustment on browsers supporting native scroll anchoring
- Filter removed buttons from editor dropdowns
- Inhibit scroll button click event when clicking between buttons
- Avoid truncating long widget descriptions
- Make it easier to extend valid image proxy mime types
- Fix layout shift when profile posts not visible on user profiles.
- Workaround an issue that could allow certain registration moderation requirements to be bypassed.
- Prevent posts from being moved or copied to threads that a moderator cannot view
- Ensure node ID constraints are always in a numerical array when searching for posts
- Re-work session activity updates to reduce locking pressure
- When encountering an invalid cost amount error with PayPal, expand the error message with a hint to check for additional shipping and handling charges
- Display the correct image for certain emojis containing a zero width joiner
- Record image proxy file hashes, and do not overwrite files if their hashes have not changed
- When replying to a thread that has been deleted during the reply, throw a clearer error message
- When filtering for unsolved questions, encourage MySQL to use a better index
- Prevent member tabs from overlapping the avatar when member stats aren't being displayed
- Add global template data to the API templater
The following public templates have had changes:
- PAGE_CONTAINER
- account_details
- alert_user_report_rejected
- core_datalist.less
- core_filter.less
- core_formrow.less
- core_input.less
- core_menu.less
- core_meter_bar.less
- editor_base.less
- helper_user_dob_edit
- member.less
- member_view
- message_macros
- poll_macros
- thread_type_fields_article
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 8.0 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.
Installation and upgrade instructions
Full details of how to install and upgrade XenForo can be found in the XenForo 2 Manual. We strongly recommend upgrading directly from within your control panel.XenForo 发布 2.2.8
XenForo 2.2.8 现在可供所有许可客户下载。我们强烈建议所有运行以前版本的 XenForo 2.2 的客户升级到此版本,以便从增强的稳定性中受益。XenForo 2.2.8 为 XenForo 带来了最初的 PHP 8.1支持。我们目前不建议在生产环境中升级到 PHP 8.1,但如果可能的话,我们鼓励在暂存站点/服务器上同时运行 XF 2.2.8 和 PHP 8.1。
一键升级到 XenForo 2.2.8
直接从您的管理员控制面板如果您是 XenForo 云客户,则将自动安排升级。
XF 2.2.8 中的一些更改包括:
- 不要将图标输入直接与其他内联项目相邻
- 为验证器类生成 PhpStorm 元数据
- (可选)规范化传递到
getRoutePathFromUrl
中的 URL,以排除传入 URL 的脚本部分。 - 修复编辑器中影响旧版浏览器.js JavaScript 进一步回归的问题。
- 修复刷新 OAuth 电子邮件访问令牌失败时未定义的变量$option。
- 如果注册时需要位置字段,请在帐户详细信息页面上注明
- 正确将 Applebot 标记为机器人
- 修复抽象驱动程序中 imageFromFile 方法的类型提示
- 确保报告注释的顺序一致
- 允许在特定论坛未知时通过prefix_id进行 API 线程过滤
- 将播客单集的支持添加到 Spotify BB 代码媒体网站
- 调整问题线程在 JSON-LD 架构中计算和表示答案的方式
- 如果用于报告的论坛被删除,请恢复为使用报告中心
- 如果下载 XF 升级包失败,则抛出更漂亮的错误
- 发送用户升级的付款收据时,显示支付的价格,而不是用户升级的当前价格
- 修复了阻止搜索数值自定义字段的问题
- 从 fn 用户名链接模板管理器函数中删除 itemprop 属性
- 模板不存在时的静音错误
- 修补 Froala 中的回归,该回归导致剪贴板数据中的图像不再按预期上传。
- 在管理员控制面板用户编辑页面中一致地嵌套出生日期隐私选项。
- 修复密码强度计背景色出血的问题。
- 将 lbThumbsAuto 选项值强制为布尔值,以确保其按预期工作。
- 修复了筛选器栏切换内排序顺序指示器的垂直对齐问题。
- 删除无意中增加了某些表单行元素的文本大小的 CSS 规则。
- 请求新的附件键并遇到权限错误时,请使错误更清晰。
- 修复了在不同精灵表上切换反应时显示错误的反应子画面的问题。
- 支持将数据属性添加到
<xf:checkbox>
和<xf:radio>
元素中的<xf:optgroup>
元素。 - 从按钮管理器中删除孤立的按钮,并正确指示按钮可见性
- 使用 ImageMagick 时,请将其临时目录正确设置为 tempDataPath
- 批量更新线程时,在页面导航中包含"全部"筛选器
- 改进了批量一次性更新大量记录的处理方式
- 添加 .opus 作为受支持的音频文件扩展名
- 确保正确导入和导出选项的高级标志
- 删除节点关联的导航选项卡时恢复其默认选项卡
- 在支持本机滚动锚定的浏览器上禁用页面加载滚动调整
- 从编辑器下拉列表中筛选已删除的按钮
- 禁止在按钮之间单击时滚动按钮单击事件
- 避免截断长窗口小部件描述
- 更轻松地扩展有效的图像代理 MIME 类型
- 修复了当个人资料帖子在用户个人资料上不可见时布局偏移的问题。
- 解决可能允许绕过某些注册审核要求的问题。
- 防止帖子被移动或复制到版主无法查看的话题
- 确保节点 ID 约束始终位于数字数组中,以搜索帖子
- 返工会话活动更新以降低锁定压力
- 当遇到PayPal无效的成本金额错误时,请展开带有提示的错误消息,以检查是否有额外的运费和手续费
- 为包含零宽度细木工的某些表情符号显示正确的图像
- 记录图像代理文件哈希,如果文件的哈希值未更改,则不覆盖文件
- 回复在回复期间已删除的话题时,请抛出更清晰的错误消息
- 在过滤未解决的问题时,鼓励MySQL使用更好的索引
- 防止成员选项卡在成员统计信息未显示时与头像重叠
- 将全局模板数据添加到 API 模板程序
- PAGE_CONTAINER
- account_details
- alert_user_report_rejected
- core_datalist.less
- core_filter.less
- core_formrow.less
- core_input.less
- core_menu.less
- core_meter_bar.less
- editor_base.less
- helper_user_dob_edit
- member.less
- member_view
- message_macros
- poll_macros
- thread_type_fields_article
当前要求
请注意,XenForo 2.2 的系统要求高于早期版本。以下是最低要求:- PHP 7.0 或更高版本(建议使用 PHP 8.0)
- MySQL 5.5及更高版本(也兼容MariaDB / Percona等)
- 所有官方附加组件都需要XenForo 2.2。
- 增强型搜索至少需要 Elasticsearch 2.0。