Release history
Halo releases
A powerful and easy-to-use website building tool (documentation in Chinese).
All releases
38 shown
- Improved UA parsing accuracy in login device management
Full changelog
功能优化
- 提升登录设备管理中 UA 信息解析的准确性 by @JohnNiang in https://github.com/halo-dev/halo/pull/9921
问题修复
- 解决“保持登录会话”功能在特定情况下可能失效的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/9928
- 修复通过 URL 下载大文件(如插件安装包)时因响应体大小限制导致下载失败的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/9931
- 修复通过 PostFinder#random 随机获取文章时可能返回少于请求的文章的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/9932
Full Changelog: https://github.com/halo-dev/halo/compare/v2.24.1...v2.24.2
- Improved target URL validation for personal center attachment uploads via URL, mitigating server request abuse risk (reported by JD-Security SHENYI Team).
- Added `random` method to `PostFinder` for retrieving random articles
Full changelog
安全性修复
- 加强了个人中心通过 URL 上传附件时的目标地址校验,降低服务端请求被滥用的风险
问题修复
- 修复登录时勾选记住我后撤销设备后不起作用的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/9899
- 修复 2.24.0 自动为主题资源加版本参数功能在部分边缘场景下路径拼接错误的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9897
开发者相关
- 为
PostFinder添加random方法以支持随机获取文章 by @JohnNiang in https://github.com/halo-dev/halo/pull/9918
致谢
感谢 JD-Security SHENYI Team 报告的安全漏洞。
Full Changelog: https://github.com/halo-dev/halo/compare/v2.24.0...v2.24.1
- Plugin detail page management improvements
- Reload plugin support in Console plugin management
- Select current role when creating personal token
Full changelog
新特性
- 完善插件详情页面的管理功能 by @ruibaby in https://github.com/halo-dev/halo/pull/9867
- 支持在 Console 插件管理中重载插件 by @ruibaby in https://github.com/halo-dev/halo/pull/9865
- 创建个人令牌时支持直接选择当前拥有的角色 by @ruibaby in https://github.com/halo-dev/halo/pull/9842
- 支持菜单克隆 by @W33KT in https://github.com/halo-dev/halo/pull/8417
功能优化
- 禁用/重新配置两步验证时要求验证,以增强安全性 by @Copilot in https://github.com/halo-dev/halo/pull/9857
- 支持登录失败后回显用户名 by @JohnNiang in https://github.com/halo-dev/halo/pull/9893
- 扩充上传头像的文件类型限制 by @LIlGG in https://github.com/halo-dev/halo/pull/9892
- 支持一个用户绑定多个社交账号(同一提供商) by @JohnNiang in https://github.com/halo-dev/halo/pull/9859
- 为主题设置与插件设置增加了未保存内容的提示信息 by @LIlGG in https://github.com/halo-dev/halo/pull/9800
问题修复
- 修复主题更新后新增的配置默认值可能不生效的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/9894
- 修复 Console 输入框聚焦时出现黑色线条的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9891
- 修复当外部访问地址尾部带 / 时,生成的附件绝对路径不正确的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9885
- 修复创建文章时无法设置作者的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9862
- 修复编辑器图片、视频、音频类型的对齐图标显示不正确的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9852
- 修复生成个人令牌时主题管理权限缺失主题升级权限的问题 by @Copilot in https://github.com/halo-dev/halo/pull/9887
- 修复附件插件未实现缩略图生成功能时出现大量警告日志的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/9878
- 修复部分包含 Finder API 的插件可能在升级后无法正常启动的问题 by @Copilot in https://github.com/halo-dev/halo/pull/9853
开发者相关
- 提供 JWT 认证支持 by @JohnNiang in https://github.com/halo-dev/halo/pull/9799
- 为分类和作者归档页面提供
name变量 by @Copilot in https://github.com/halo-dev/halo/pull/9850 - 支持自动为主题静态资源添加版本参数 by @Copilot in https://github.com/halo-dev/halo/pull/9854
- 修复主题通过
categoryFinder.getByNames和tagFinder.getByNames获取的结果顺序不对的问题 by @Copilot in https://github.com/halo-dev/halo/pull/9882
依赖更新
- 升级 Spring Boot 至 4.0.5 by @JohnNiang in https://github.com/halo-dev/halo/pull/9840
Full Changelog: https://github.com/halo-dev/halo/compare/v2.23.2...v2.24.0
Fixed creation of articles to allow setting an author.
Full changelog
问题修复
- 修复编辑器图片、视频、音频类型的对齐图标显示不正确的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9852
- 修复创建文章时无法设置作者的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9862
- 修复部分包含 Finder API 的插件可能在升级后无法正常启动的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/9853
- 修复附件插件未实现缩略图生成功能时出现大量警告日志的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/9878
Full Changelog: https://github.com/halo-dev/halo/compare/v2.23.2...v2.23.3
- Upgraded Spring Boot to version 4.0.4
Full changelog
问题修复
- 解决当富文本编辑器中嵌套其他编辑器时所导致的异常滚动问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8436
- 解决 FormKit Array 渲染图片时可能出现的报错问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8495
- 修复 FormKit Iconify 自定义图片时,表单可能出现自动关闭的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/8497
依赖更新
- 升级 Spring Boot 至 4.0.4 by @JohnNiang in https://github.com/halo-dev/halo/pull/8434
开发者相关
- 修复标签归档页面缺少
_templateId变量的问题 by @Copilot in https://github.com/halo-dev/halo/pull/8485
Full Changelog: https://github.com/halo-dev/halo/compare/v2.23.1...v2.23.2
- Description field added to article tags
Full changelog
功能优化
- 为文章标签添加描述字段 by @baocai27 in https://github.com/halo-dev/halo/pull/8418
依赖更新
- 升级 MariaDB 驱动,提升兼容性 by @JohnNiang in https://github.com/halo-dev/halo/pull/8423
Full Changelog: https://github.com/halo-dev/halo/compare/v2.23.0...v2.23.1
- Before upgrading Halo, upgrade the Application Market plugin to at least 1.16.0.
- After upgrading Halo, verify that all plugins function correctly and report any issues to their authors.
- Upgraded Spring Boot runtime to version 4 (minimum required).
- Added scroll‑to‑top button on theme and plugin settings pages
- Added "Apply width to full article" option for editor images
- Allowed setting author page article count in post settings
Full changelog
⚠️ 重要提示
- 此版本升级了 Spring Boot 4 版本,已知有少部分插件不兼容,包括应用市场插件,建议在升级 Halo 前先升级应用市场插件(1.16.0)
- 建议升级 Halo 之后检查是否有异常的插件,如有异常,请向插件作者报告
新特性
- 为主题和插件的设置页面添加滚动到顶部按钮 by @ruibaby in https://github.com/halo-dev/halo/pull/8347
- 为编辑器中的图片添加 应用宽度至全文 的功能 by @LIlGG in https://github.com/halo-dev/halo/pull/8338
- 支持在文章设置中设置作者页文章显示条数 by @AR-26710 in https://github.com/halo-dev/halo/pull/8304
- 支持对比文章版本 by @ruibaby in https://github.com/halo-dev/halo/pull/8272
功能优化
- 优化本地化翻译字符串和措辞 by @ruibaby in https://github.com/halo-dev/halo/pull/8391
- 重构备份时的数据检索逻辑,降低 OOM 风险 by @JohnNiang in https://github.com/halo-dev/halo/pull/8390
- 允许在新建菜单项时,移除选中的上级菜单 by @LIlGG in https://github.com/halo-dev/halo/pull/8364
- 系统设置中的保留用户名支持同时应用于显示名称 by @AR-26710 in https://github.com/halo-dev/halo/pull/8310
- Console 仪表盘新增点赞数量小部件 by @Copilot in https://github.com/halo-dev/halo/pull/8271
- 优化 Console 端评论管理的默认排序,优先显示最近有回复的评论 by @Copilot in https://github.com/halo-dev/halo/pull/8371
问题修复
- 修复颜色选择表单项手动输入颜色值会导致结果不符合预期的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/8399
- 修复 API 错误处理器在响应缺少 Content-Type 时的空引用错误 by @dataCenter430 in https://github.com/halo-dev/halo/pull/8397
- 解决 FormKit Iconify 表单类型中存在隐藏的空白页面的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8361
- 解决 FormKit Array 表单类型无法支持图片多选的渲染问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8360
- 解决在编辑器中复制或粘贴图片时首张图片会被覆盖的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8333
- 修复首次安装 Halo 之后,无法在文章编辑器中上传文件的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/8308
- 解决 Array 组件空值渲染异常的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8305
- 解决 FormKit Sercet 表单类型 UI 过长且处于最后一行时会出现边框被遮挡的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8268
- 修复首页文章列表分页参数不为数字时渲染异常的问题 by @Copilot in https://github.com/halo-dev/halo/pull/8374
依赖更新
- 升级至 Spring Boot 4 by @JohnNiang in https://github.com/halo-dev/halo/pull/8291
- 升级 PF4J 至 3.15.0 by @JohnNiang in https://github.com/halo-dev/halo/pull/8294
开发者相关
- 为 FormKit Arrary 表单类型适配 Halo 中的大部分组件并支持 Select 远程数据源 by @LIlGG in https://github.com/halo-dev/halo/pull/8267
- FormKit Iconify 支持设置尺寸参数,默认不再向用户显示尺寸设置选项 by @ruibaby in https://github.com/halo-dev/halo/pull/8346
- 为 FormKit Array 表单类型添加 slot 插槽类型 by @LIlGG in https://github.com/halo-dev/halo/pull/8359
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.11...v2.23.0
Fixed the issue where the first image gets overwritten when copying or pasting images in the editor.
Full changelog
问题修复
- 解决在编辑器中复制或粘贴图片时首张图片会被覆盖的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8333
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.13...v2.22.14
Fixed the null value rendering exception in the Array component.
Full changelog
问题修复
- 解决 Array 组件空值渲染异常的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8305
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.12...v2.22.13
- Array component adapted for most Halo components and supports Select remote data source
Full changelog
功能优化
- 为
Array组件适配 Halo 中的大部分组件并支持 Select 远程数据源 by @LIlGG in https://github.com/halo-dev/halo/pull/8267
问题修复
- 解决 Sercet 组件 UI 过长且处于最后一行时会出现边框被遮挡的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8268
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.11...v2.22.12
- Homepage article list now shows private articles
- Optimized theme installation and update experience
Full changelog
功能优化
- 解决首页文章列表中不显示私有文章的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8246
- 优化主题安装和更新体验 by @JohnNiang in https://github.com/halo-dev/halo/pull/8250
问题修复
- 修复为用户赋角色可能失效的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8256
- 修复 Array 表单项中图标预览的样式问题 by @ruibaby in https://github.com/halo-dev/halo/pull/8253
开发者相关
- 附件插件上传上下文新增附件分组信息 by @JohnNiang in https://github.com/halo-dev/halo/pull/8255
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.10...v2.22.11
- Removed default memory limit configuration.
Full changelog
功能优化
- 支持修改用户角色后自动踢出所有登录会话 by @JohnNiang in https://github.com/halo-dev/halo/pull/8228
- 优化系统性能 by @JohnNiang in https://github.com/halo-dev/halo/pull/8233
- 允许修改默认存储策略的部分配置 by @JohnNiang in https://github.com/halo-dev/halo/pull/8230
- 移除默认内存限制 by @JohnNiang in https://github.com/halo-dev/halo/pull/8227
问题修复
- 解决打开历史文章会出现排版错乱的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8215
- 修复特定条件下查询结果不符合预期的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8229
开发者相关
- 简化
/actuator/globalinfo端点,移除不必要的字段 by @JohnNiang in https://github.com/halo-dev/halo/pull/8236 - 重构密钥(Secret)表单项的交互逻辑,并支持设置多个所需的 key by @ruibaby in https://github.com/halo-dev/halo/pull/8237
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.9...v2.22.10
Fixed attachment deletion causing a 500 error on subsequent access.
Full changelog
问题修复
- 解决 Formkit Toggle 组件切换无效的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8206
- 修复编辑器转存单个图片时的成功提示信息不正确的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/8217
- 修复附件删除后再次访问时出现 500 错误 by @JohnNiang in https://github.com/halo-dev/halo/pull/8222
- 解决标签和分类选择器嵌入至弹窗时下拉菜单会被遮挡的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8224
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.8...v2.22.9
- Two-step verification interface now supports logout
- Editor implements smart threshold scrolling
- FormKit added `toggle` component
Full changelog
功能优化
- 两步验证界面支持退出登录 by @JohnNiang in https://github.com/halo-dev/halo/pull/8182
- 优化系统稳定性,提升并发访问量 by @JohnNiang in https://github.com/halo-dev/halo/pull/8190
- 优化在特定情况下首页的加载速度 by @JohnNiang in https://github.com/halo-dev/halo/pull/8193
- 减少登录设备更新频次,降低 SQL 查询量 by @JohnNiang in https://github.com/halo-dev/halo/pull/8202
- 为编辑器实现智能阈值滚动 by @LIlGG in https://github.com/halo-dev/halo/pull/8189
- 移除创建文章标签时设置的默认颜色 by @Copilot in https://github.com/halo-dev/halo/pull/8198
问题修复
- 解决停止插件后可能导致系统无法正常访问的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8181
- 修复多值索引部分查询结果不准确问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8187
- 修复附件表单类型的移除逻辑问题,与旧版保持一致 by @ruibaby in https://github.com/halo-dev/halo/pull/8191
- 解决默认编辑器中顶部工具栏中的对齐工具对图片、视频、音频无效的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8203
开发者相关
- 为 FormKit 新增
toggle组件 by @LIlGG in https://github.com/halo-dev/halo/pull/8104
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.7...v2.22.8
Fixed plugin startup failures when initialization takes too long.
Full changelog
问题修复
- 修复插件启动时间过长可能失败的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8173
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.6...v2.22.7
Fixed comment count inaccuracy and plugin startup/update failures.
Full changelog
问题修复
- 修复评论数量可能不准确的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8171
- 修复插件可能无法启动和更新的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8170
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.5...v2.22.6
- Optimized plugin enable/disable logic
- Improved system and plugin startup speed
Full changelog
功能优化
- 优化插件启用和禁用逻辑 by @JohnNiang in https://github.com/halo-dev/halo/pull/8165
- 优化系统和插件启动速度 by @JohnNiang in https://github.com/halo-dev/halo/pull/8168
问题修复
- 修复因插件未适配缩略图导致无法显示图片的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8159
- 修复备份恢复后仍然保留了备份相关的数据 by @JohnNiang in https://github.com/halo-dev/halo/pull/8160
- 修复图片链接中包含中文无法访问缩略图的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8163
- 修复注册时同一个邮箱不同大小写仍然可重复注册的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8155
- 修复评论管理列表可能无法正常访问的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8169
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.4...v2.22.5
Fixed thumbnail access on Windows and Linux and rich‑text image paste upload failures.
Full changelog
问题修复
- 修复最后一页数据可能包含上一页部分数据的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8138
- 修复头像附件配置的描述文本,移除不存在的分组选项说明 by @Copilot in https://github.com/halo-dev/halo/pull/8145
- 修复 Windows 和 Linux 下无法正常访问缩略图的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8153
- 解决编辑器粘贴富文本内单个图片时无法正确上传的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/8154
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.3...v2.22.4
- Support for logging in using a verified email address
- Metadata form support added to personal center article settings
Full changelog
功能优化
- 支持使用已验证邮箱登录 by @JohnNiang in https://github.com/halo-dev/halo/pull/8126
- 个人中心文章设置支持元数据表单 by @JohnNiang in https://github.com/halo-dev/halo/pull/8129
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.2...v2.22.3
- Increased title and alias length limits for articles, pages, and categories
Full changelog
功能优化
- 提升文章、页面、分类的标题和别名字符串长度限制,以提供更好的兼容性 by @ruibaby in https://github.com/halo-dev/halo/pull/8117
问题修复
- 解决使用部分数据库时无法正常启动的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8115
- 修复部分文章路由规则配置失效的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/8116
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.1...v2.22.2
- FormKit added Switch form type
- Iconify form type icon style optimized to no longer have fixed width for better compatibility
Full changelog
功能优化
- 优化 Iconify 表单类型的图标样式,不再固定宽度,以提供更好的兼容性 by @ruibaby in https://github.com/halo-dev/halo/pull/8111
问题修复
- 修复附件分组下拉选项显示不完整的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/8109
开发者相关
- 为 FormKit 添加 Swtich 表单类型 by @LIlGG in https://github.com/halo-dev/halo/pull/8095
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.22.0...v2.22.1
- Before upgrading, verify that all used plugins are compatible with Halo v2.22; update them promptly after upgrade.
- Thumbnail generation logic has changed – storage directory structure differs from previous versions; re‑generate thumbnails as needed (may temporarily increase resource usage).
- Refactored part of the plugin API; some plugins may become incompatible after upgrading to Halo v2.22.0.
- Editor image collection feature
- User registration support for protected usernames
- Editor ability to add description text to images, videos, and audio
Full changelog
⚠️ 注意
- 此版本重构了部分插件 API,升级之后可能导致部分插件无法正常使用,升级之前建议先检查你所使用的插件是否已经兼容 Halo 2.22,在升级之后建议及时更新所有能够更新的插件。
- 此版本重构了附件缩略图的生成逻辑,并且与之前版本的存储目录结构不同,所以在升级之后可能需要按需重新生成,在这个阶段可能会导致网站资源占用较高,属于正常现象。
插件和主题的 API 变更可查阅:插件 API 变更日志 / 主题 API 变更日志
新特性
- 为编辑器新增图片集功能 by @LIlGG in https://github.com/halo-dev/halo/pull/7897
- 用户注册支持设置受保护用户名 by @liuyiwuqing in https://github.com/halo-dev/halo/pull/7887
- 编辑器的图片、视频、音频支持添加描述文本 by @LIlGG in https://github.com/halo-dev/halo/pull/7875
- 重构编辑器拖拽功能,并为其增加功能操作菜单 by @LIlGG in https://github.com/halo-dev/halo/pull/7861
- 编辑器支持使用中文符号、唤起建议菜单 by @LIlGG in https://github.com/halo-dev/halo/pull/7840
- 支持在文章编辑页面设置封面图 by @ruibaby in https://github.com/halo-dev/halo/pull/7809
- 支持为附件存储策略设置在上传界面的显示优先级 by @ruibaby in https://github.com/halo-dev/halo/pull/7805
- 支持在附件上传界面隐藏部分存储策略 by @ruibaby in https://github.com/halo-dev/halo/pull/7792
功能优化
- 清理通知发送所残留的无用数据 by @JohnNiang in https://github.com/halo-dev/halo/pull/8007
- 用户密码允许输入 . 和 ? by @xzyone in https://github.com/halo-dev/halo/pull/8005
- 为阻塞操作添加超时时间以提升系统可靠性 by @JohnNiang in https://github.com/halo-dev/halo/pull/8004
- 优化编辑器的整体样式和交互逻辑 by @ruibaby in https://github.com/halo-dev/halo/pull/7982
- 优化 Console 和 UC 的加载速度 by @ruibaby in https://github.com/halo-dev/halo/pull/7976 https://github.com/halo-dev/halo/pull/7971 https://github.com/halo-dev/halo/pull/7941 https://github.com/halo-dev/halo/pull/7935 https://github.com/halo-dev/halo/pull/8037
- 提升 Console 端代码输入框的渲染速度 by @ruibaby in https://github.com/halo-dev/halo/pull/7956 https://github.com/halo-dev/halo/pull/7932
- 优化个人中心身份认证设置,将三方登录与两步认证合并到一个选项卡 by @ruibaby in https://github.com/halo-dev/halo/pull/7950
- Console 和 UC 支持异步加载所需语言包,提升首屏加载速度 by @ruibaby in https://github.com/halo-dev/halo/pull/7931
- 懒加载 Console 和 UC 的部分路由,优化首屏渲染速度 by @ruibaby in https://github.com/halo-dev/halo/pull/7930
- 文章设置中选择作者时支持显示用户名 by @ruibaby in https://github.com/halo-dev/halo/pull/7904
- 修复离线环境下,Console 无法请求接口的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/7848
- 解决生成缩略图时可能出现内存溢出的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/7817
- 支持配置缩略图生成启用、禁用和并发量 by @JohnNiang in https://github.com/halo-dev/halo/pull/7812
- 为编辑器的命令面板添加插入图片的选项 by @ruibaby in https://github.com/halo-dev/halo/pull/7803
- 重构图片缩略图功能,移除缩略图记录,改为按需生成 by @JohnNiang in https://github.com/halo-dev/halo/pull/7779
- 新增 Shiki 代码高亮和超链接卡片预设插件 by @ruibaby in https://github.com/halo-dev/halo/pull/7785
- 优化系统性能 by @JohnNiang in https://github.com/halo-dev/halo/pull/8045
- 优化文章详情页面加载 by @JohnNiang in https://github.com/halo-dev/halo/pull/8047
- 优化编辑器搜索界面的样式 by @ruibaby in https://github.com/halo-dev/halo/pull/8052
- 重构附件选择弹窗,与上传界面融合 by @ruibaby in https://github.com/halo-dev/halo/pull/8058
- 重构附件表单类型,支持预览和直接上传 by @ruibaby in https://github.com/halo-dev/halo/pull/8061
- 重构附件默认存储策略配置,统一在设置 -> 附件设置中配置 by @JohnNiang in https://github.com/halo-dev/halo/pull/8092
问题修复
- 解决无法在编辑器中插入视频的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/7986
- 修复可能无法初始化主题配置的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/7923
- 修复潜在的内存泄漏问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/7914
- 优化重置密码时因邮箱可输入大小写导致的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/7901
- 解决切换代码块语言时编辑器页面不正常跳动的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/7839
- 修复可能无法正常获取附件链接的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/7788
依赖更新
- 升级 Spring Boot 至 3.5.7 by @JohnNiang in https://github.com/halo-dev/halo/pull/7871
- 升级 Spring Boot 至 3.5.9 by @JohnNiang in https://github.com/halo-dev/halo/pull/8069
- 升级 Tiptap 至 3.x by @LIlGG in https://github.com/halo-dev/halo/pull/7811
开发者相关
- 修复
@halo-dev/components的 Dropdown 组件类型问题 by @ruibaby in https://github.com/halo-dev/halo/pull/7974 - 将
@halo-dev/console-shared重命名为@halo-dev/ui-sharedby @ruibaby in https://github.com/halo-dev/halo/pull/7926 @halo-dev/console-shared包提供utils.id.uuid()方法,用于生成 uuid by @ruibaby in https://github.com/halo-dev/halo/pull/7898- 在
@halo-dev/console-shared包中提供stores对象,包含 currentUser 和 globalInfo by @ruibaby in https://github.com/halo-dev/halo/pull/7858 - 支持在插件的 UI 中使用 Pinia 定义全局 Store by @ruibaby in https://github.com/halo-dev/halo/pull/7858
- 在
@halo-dev/console-shared包中提供 UI 权限检查工具 by @ruibaby in https://github.com/halo-dev/halo/pull/7853 - 在
@halo-dev/console-shared包中提供统一的 date 和 attachment 工具 by @ruibaby in https://github.com/halo-dev/halo/pull/7847 - 优化索引引擎以提升索引和查询性能 by @JohnNiang in https://github.com/halo-dev/halo/pull/7822
- 优化 FormKit 的 color 输入类型,支持透明度 by @ruibaby in https://github.com/halo-dev/halo/pull/8003
- 为 FormKit 添加 Iconify 选择组件 by @ruibaby in https://github.com/halo-dev/halo/pull/8000
- 重构
@halo-dev/components中的 Dropdown 组件,改为完全使用floating-vue的原始组件 by @ruibaby in https://github.com/halo-dev/halo/pull/7978 - 改进
@halo-dev/api-client包的配置,在外部使用的时候支持 tree shaking by @ruibaby in https://github.com/halo-dev/halo/pull/7966 - FormKit Color 支持 hsl 格式,并支持手动编辑色值 by @ruibaby in https://github.com/halo-dev/halo/pull/8039
- 为文章、页面等元数据表单注入当前表单的数据,以便在元数据定义中判断是否需要显示表单项 by @ruibaby in https://github.com/halo-dev/halo/pull/8040
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.9...v2.22.0
- Insert image option added to editor command panel
Full changelog
功能优化
- 优化重置密码时因邮箱可输入大小写导致的问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/7901
- 为编辑器的命令面板添加插入图片的选项 by @ruibaby in https://github.com/halo-dev/halo/pull/7803
问题修复
- 修复潜在的内存泄漏问题 by @JohnNiang in https://github.com/halo-dev/halo/pull/7914
- 修复离线环境下,Console 无法请求接口的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/7848
- 解决切换代码块语言时编辑器页面不正常跳动的问题 by @LIlGG in https://github.com/halo-dev/halo/pull/7839
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.9...v2.21.10
- Back-to-previous-page after publishing article with query state preserved
- Loading indicator added to article editor
- Console multiline text inputs now auto‑adjust height
Full changelog
功能优化
- 发布文章后支持回到上一页并保留查询状态 by @ruibaby in https://github.com/halo-dev/halo/pull/7775
- 为文章编辑器添加加载状态 by @ruibaby in https://github.com/halo-dev/halo/pull/7756
- Console 端的部分多行文本输入框支持自动高度 by @ruibaby in https://github.com/halo-dev/halo/pull/7749
问题修复
- 修复分类和菜单链接文本显示溢出的问题 by @ruibaby in https://github.com/halo-dev/halo/pull/7760
依赖更新
- 升级 Lucene 至 10.3.0 by @JohnNiang in https://github.com/halo-dev/halo/pull/7752
- 升级 Gradle 至 9.1.0 by @JohnNiang in https://github.com/halo-dev/halo/pull/7776
- 升级 Spring Boot 至 3.5.6 by @JohnNiang in https://github.com/halo-dev/halo/pull/7774
开发者相关
- 支持使用 Buildpacks 构建并发布容器镜像 by @JohnNiang in https://github.com/halo-dev/halo/pull/7761
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.8...v2.21.9
- Spring Boot dependency upgraded to version 3.5.5
- Removed persistent selection of group and storage policy in attachment upload component; defaults to filter-matching strategy
Full changelog
功能优化
- 在附件上传组件中取消所选分组和存储策略的持久化,默认选择为附件列表筛选条件相同的策略和分组。 by @ruibaby in https://github.com/halo-dev/halo/pull/7738
问题修复
- 修复部分场景下无法正常启动插件的问题。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7725
- 解决使用 Select 组件远程请求数据时的分页问题。 by @LIlGG in https://github.com/halo-dev/halo/pull/7726
- 修复文章贡献者中始终显示已删除用户的问题。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7745
依赖更新
- 升级依赖 Spring Boot 至 3.5.5。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7715
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.7...v2.21.8
- Detects and prevents XSS attacks in comments and replies
- Comments display as rich text
- Console article management opens corresponding comment list directly
- External resources in editor can be saved to attachment library
Full changelog
新特性
- 评论内容支持以富文本格式显示。 by @ruibaby in https://github.com/halo-dev/halo/pull/7674
- Console 端文章管理支持直接打开对应的评论列表。 by @ruibaby in https://github.com/halo-dev/halo/pull/7681
- 支持转存编辑器中的外部资源到附件库。 by @ruibaby in https://github.com/halo-dev/halo/pull/7687
功能优化
- 检测评论和回复内容是否合法以防止 XSS 攻击。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7677
问题修复
- 修复在特定情况下模板引擎可能出现内存泄漏的问题。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7678
- 解决将粘贴 Excel 内容会变为图片的问题。 by @LIlGG in https://github.com/halo-dev/halo/pull/7689
- 修复角色修改表单中,所选权限可能出现不完整的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7684
开发者相关
- Console 和 UC 路由的权限定义检查支持函数。 by @ruibaby in https://github.com/halo-dev/halo/pull/7688
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.6...v2.21.7
- Homepage, archive page, and author page load speed optimization
- Option to choose whether to stay logged in during social login
- Improved SEO tag generation logic for pages
Full changelog
功能优化
- 优化首页、归档页和作者页加载速度。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7668
- 支持社交登录时选择是否保持登录。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7670
- 优化页面的 SEO 标签的生成逻辑。 by @ruibaby in https://github.com/halo-dev/halo/pull/7665
问题修复
- 修复极端场景下无法检查文章别名是否存在的问题。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7673
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.5...v2.21.6
Fixed inability to enter the Console in version 2.21.4.
Full changelog
问题修复
- 修复 2.21.4 无法进入 Console 的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7650
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.4...v2.21.5
- Upgraded dependency Spring Boot to version 3.5.4
- View attachment thumbnail logs
- Batch enable/disable users
- Optimized bulk notification deletion performance
Full changelog
新特性
- 支持查看附件缩略图记录。 by @ruibaby in https://github.com/halo-dev/halo/pull/7630
功能优化
- 支持批量启用/禁用用户。 by @DeliciousYellow in https://github.com/halo-dev/halo/pull/7631
- 优化通知批量删除的执行性能。 by @ruibaby in https://github.com/halo-dev/halo/pull/7634
- 创建文章分类和标签时支持检查别名是否已存在。 by @ruibaby in https://github.com/halo-dev/halo/pull/7616
- 创建文章时支持检查别名是否重复。 by @ruibaby in https://github.com/halo-dev/halo/pull/7617
问题修复
- 修复运行过程中通知器可能失效的问题。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7643
依赖更新
- 升级依赖 Spring Boot 至 3.5.4。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7640
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.3...v2.21.4
- Upgraded Spring Boot to 3.5.3
- Upgraded Tiptap to 2.24.x
- Raised UI project pnpm version to 10.x
- Support remote address download into attachment library
- Editor drag‑and‑drop performance optimization
Full changelog
新特性
- 支持通过远程地址下载到附件库。 by @ruibaby in https://github.com/halo-dev/halo/pull/7602
功能优化
- 优化编辑器拖拽功能的性能。 by @LIlGG in https://github.com/halo-dev/halo/pull/7601
- 优化默认编辑器缩进逻辑。 by @LIlGG in https://github.com/halo-dev/halo/pull/7600
- 将编辑器的工具箱按钮改为点击展开。 by @ruibaby in https://github.com/halo-dev/halo/pull/7598
- 文章预览页面不再统计访问数据。 by @GoldenSupremeSaltedFish in https://github.com/halo-dev/halo/pull/7582
问题修复
- 修复个人中心上传组件无法正常加载样式的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7606
- 修复代码输入框在全屏时,底部内容被遮挡的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7599
- 修复菜单项和文章分类可能出现无法拖动排序的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7608
依赖更新
- 升级依赖 Spring Boot 至 3.5.3。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7596
- 升级 Tiptap 至 2.24.x by @LIlGG in https://github.com/halo-dev/halo/pull/7613
开发者相关
- 提升 UI 项目的 pnpm 版本到 10.x。 by @ruibaby in https://github.com/halo-dev/halo/pull/7597
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.2...v2.21.3
- Added content folding feature to the editor
Full changelog
功能优化
- 为编辑器添加内容折叠功能。 by @ruibaby in https://github.com/halo-dev/halo/pull/7594
问题修复
- 修复 2.20.1 中评论管理中内容的宽度问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7586
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.1...v2.21.2
- Adjusted maximum width of Console article list title area.
- Automatically rewrite trailing‑slash URLs.
Full changelog
功能优化
- 调整 Console 文章列表的标题区域最大宽度。 by @ruibaby in https://github.com/halo-dev/halo/pull/7564
- 支持自动重写尾部包含斜杠的 URL。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7559
问题修复
- 修复堆叠部件中的部件可能无法显示设置按钮的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7563
开发者相关
- 重构
@halo-dev/ui-plugin-bundler-kit,以预配置的方式为插件提供 Vite 和 Rsbuild 的构建配置。 by @ruibaby in https://github.com/halo-dev/halo/pull/7568
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.21.0...v2.21.1
- Docker deployments are unaffected by the JDK upgrade.
- If currently on a version older than 2.20.x, first upgrade to the latest 2.20 release before moving to v2.21.0.
- Check plugin compatibility; some plugins may need updates due to API removals.
- Minimum JDK version increased to Java 21 for both development environments and jar‑file deployments.
- Removed outdated API endpoints; affected plugins must be updated or adapted.
- Console dashboard refactored with responsive layout, persistent configuration, and plugin widget extensibility.
- Added stacked widget and webpage embed widget to the Console dashboard.
- Article management list now displays cover images.
Full changelog
⚠️ 提示
- 此版本已经提升 JDK 版本至 21,意味着在开发环境和使用 jar 文件部署均需要升级 JDK 版本,Docker 部署方式无影响。
- 此版本移除了部分旧版本的迁移脚本,所以请确保当前的版本至少为 2.20.x。如果不是,建议先升级到 2.20 的最新版本运行一段时间再升级到此版本。
- 此版本移除了部分已经过时的 API,部分插件可能会受到影响。在测试阶段,常用插件已经完成适配,建议在升级 2.21 版本前后都检查一下插件是否有更新。如果你当前使用的插件还未完成兼容适配,请先向插件进行反馈。
新特性
- 支持在概览页面配置外部访问地址。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7459
- 支持在初始化页面设置外部访问地址。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7488
- 重构 Console 端仪表盘,支持响应式布局、持久化配置,支持通过插件扩展小部件。 by @ruibaby in https://github.com/halo-dev/halo/pull/7496
- 为仪表盘添加堆叠小部件。 by @ruibaby in https://github.com/halo-dev/halo/pull/7525
- 为仪表盘添加网页嵌入小部件。 by @ruibaby in https://github.com/halo-dev/halo/pull/7516
- 文章管理列表支持显示封面图。 by @ruibaby in https://github.com/halo-dev/halo/pull/7519
功能优化
- 编辑器支持为链接设置 搜索引擎忽略链接关系。 by @Nimbus3009 in https://github.com/halo-dev/halo/pull/7444
- 用户搜索支持根据邮箱地址。 by @liuyiwuqing in https://github.com/halo-dev/halo/pull/7441
- 优化 Console 和 UC 中数据列表的 UI 在不同尺寸设备下的表现。 by @ruibaby in https://github.com/halo-dev/halo/pull/7383
- 移除插件列表的时间字段,并在插件详情中显示安装时间。 by @ruibaby in https://github.com/halo-dev/halo/pull/7494
- 优化评论管理的 UI,支持查看评论的详细数据。 by @ruibaby in https://github.com/halo-dev/halo/pull/7481
- 将 Console 端文章列表的发布时间改为语义化时间。 by @ruibaby in https://github.com/halo-dev/halo/pull/7526
- 优化 Console 端的对话框在移动端下的样式。 by @ruibaby in https://github.com/halo-dev/halo/pull/7512
- 优化 Console 的全局依赖文件名,以获得更好的缓存利用率。 by @ruibaby in https://github.com/halo-dev/halo/pull/7530
- 优化移动端的菜单,支持切换 Console / UC,支持退出登录和返回到首页。 by @ruibaby in https://github.com/halo-dev/halo/pull/7542
- 优化移动端下文章编辑页面的样式。 by @ruibaby in https://github.com/halo-dev/halo/pull/7544
- 移除无用的依赖,软件包的体积减少近 15%。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7549
- 支持在附件详情弹窗中复制完整的附件地址。 by @ruibaby in https://github.com/halo-dev/halo/pull/7550
问题修复
- 修复因 Locale 解析错误导致无法访问页面的问题。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7458
- 修复当有已选择附件时,上传新附件导致所选附件状态异常的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7487
- 修复 Console 的全局搜索能搜索出系统保留用户的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7486
- 修复模态框标题文字溢出的问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7546
- 修复用户资料页面头像在 Safari 浏览器下的阴影问题。 by @ruibaby in https://github.com/halo-dev/halo/pull/7551
依赖更新
- 升级依赖 Spring Boot 至 3.5.0。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7467
- 升级依赖 Lucene 至 10.2.1。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7476
开发者相关
- 更新最低运行环境为 Java 21。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7451
- 添加用户登录/登出事件。 by @liuyiwuqing in https://github.com/halo-dev/halo/pull/7440
- UI 组件添加
VEntityContainer组件,以优化数据列表的样式。 by @ruibaby in https://github.com/halo-dev/halo/pull/7383 - 提供根据分组获取和更新用户预设的 API。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7495
- 提供更易用的存储策略配置查询和更新接口。 by @JohnNiang in https://github.com/halo-dev/halo/pull/7527
@halo-dev/ui-plugin-bundler-kit支持自定义outDir和manifestPath。 by @ruibaby in https://github.com/halo-dev/halo/pull/7552- Console 页面数据列表的字段和操作选项支持扩展。 by @ruibaby in https://github.com/halo-dev/halo/pull/7553
文档
资源
适用于 2.0 的插件和主题可查阅:
Full Changelog: https://github.com/halo-dev/halo/compare/v2.20.21...v2.21.0