# Halo 1.5.4 发布

原文：<https://www.halo.run/archives/halo-154-released>

## 功能优化

-   默认评论组件的地址由 jsDelivr 更改为 unpkg.com。 [#2098](https://github.com/halo-dev/halo/pull/2098) [**@Yhcrown**](https://github.com/Yhcrown) [**@ruibaby**](https://github.com/ruibaby)
    
-   限制 Markdown 导入文件的格式和大小。 [#2104](https://github.com/halo-dev/halo/pull/2104) [#2187](https://github.com/halo-dev/halo/pull/2187) @ETLAN666 [**@XM2510136957**](https://github.com/XM2510136957) [**@eziosudo**](https://github.com/eziosudo)
    
-   又拍云附件上传文件命名规则改为保持原文件名。 [#2185](https://github.com/halo-dev/halo/pull/2185) @okayhu
    

## 问题修复

-   修复后台新建分类中父级分类选择列表过长导致的 UI 问题。 [halo-dev/console#577](https://github.com/halo-dev/console/pull/577) [**@SladeGranger**](https://github.com/SladeGranger) [**@Alickx**](https://github.com/Alickx)
    
-   修复附件名包含特殊字符无法访问的问题。 [#1874](https://github.com/halo-dev/halo/pull/1874) [halo-dev/console#568](https://github.com/halo-dev/console/pull/568) [**@FanZeros**](https://github.com/FanZeros) [**@Lwenguang**](https://github.com/Lwenguang)
    
-   修复导入文章时 Front Matter 解析错误的问题。 [#2137](https://github.com/halo-dev/halo/pull/2137) [**@Simple-Stark**](https://github.com/Simple-Stark) [**@MarmaladeCat**](https://github.com/MarmaladeCat)
    
-   修复在 Windows 平台下，导出 Markdown 文档因为文件名包含特殊字符导致无法导出的问题。 [#2143](https://github.com/halo-dev/halo/pull/2143) [**@eziosudo**](https://github.com/eziosudo) [**@szgacsaftop**](https://github.com/szgacsaftop)
    
-   修复静态存储文件重命名时文件名造成的目录逃逸问题。 [#2207](https://github.com/halo-dev/halo/pull/2207) [**@JohnNiang**](https://github.com/JohnNiang)
    
-   修复上传附件到华为云时提示 `NoSuchMethodError，okhttp3.RequestBody.create` 的问题。 [#2209](https://github.com/halo-dev/halo/pull/2209) [**@JohnNiang**](https://github.com/JohnNiang) [**@toolv94**](https://github.com/toolv94)
    

## 依赖更新

-   更新后台 @halo-dev/editor 版本。 [halo-dev/console#584](https://github.com/halo-dev/console/pull/584) [**@ruibaby**](https://github.com/ruibaby)
    
    -   优化预览/编辑按钮的提示文案。 [halo-dev/editor#4](https://github.com/halo-dev/editor/pull/4) [**@manction**](https://github.com/manction)
        
    -   修复编辑器的滚动条会与添加链接面板有重叠的问题。 [halo-dev/editor#5](https://github.com/halo-dev/editor/pull/5) [**@wxyShine**](https://github.com/wxyShine) @zyy247796143
        

## 升级指南

[https://docs.halo.run/install/upgrade](https://docs.halo.run/install/upgrade)
