# Halo 1.5.2 发布

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

## 功能优化

-   保存文章的时候不再保存内容到 `posts` 表，`originalContent` 和 `formatContent` 已经是废弃字段。 [#1797](https://github.com/halo-dev/halo/pull/1797) [**@guqing**](https://github.com/guqing)
    
-   优化 Markdown 文档导入的 FrontMatter 的解析规则。 [#1813](https://github.com/halo-dev/halo/pull/1813) [**@LIlGG**](https://github.com/LIlGG)
    
-   优化文章和分类的加密逻辑。 [#1826](https://github.com/halo-dev/halo/pull/1826) [#1827](https://github.com/halo-dev/halo/pull/1827) [**@guqing**](https://github.com/guqing)
    
-   后台文章设置中选择分类列表支持显示加密状态。 [halo-dev/console#540](https://github.com/halo-dev/console/pull/540) [**@ruibaby**](https://github.com/ruibaby)
    
-   后台文章管理中分类筛选列表支持显示加密状态。 [halo-dev/console#541](https://github.com/halo-dev/console/pull/541) [**@ruibaby**](https://github.com/ruibaby)
    

## 问题修复

-   修复无法删除分类的问题。 [#1806](https://github.com/halo-dev/halo/pull/1806) [**@guqing**](https://github.com/guqing)
    
-   修复加密文章在前台部分 API 中被包含的问题。 [#1811](https://github.com/halo-dev/halo/pull/1811) [**@guqing**](https://github.com/guqing)
    
-   修复本地附件上传在 Windows 平台下最终路径出现多个分隔符的问题。 [#1812](https://github.com/halo-dev/halo/pull/1812) [**@guqing**](https://github.com/guqing)
    
-   修复删除加密分类之后，其下文章没有同步更改状态的问题。 [#1815](https://github.com/halo-dev/halo/pull/1815) [**@guqing**](https://github.com/guqing)
    
-   修复批量发布加密文章没有同步状态的问题。 [#1821](https://github.com/halo-dev/halo/pull/1821) [**@guqing**](https://github.com/guqing)
    
-   修复更改回收站文章的设置时，文章被重新发布的问题。 [#1820](https://github.com/halo-dev/halo/pull/1820) [**@guqing**](https://github.com/guqing)
    
-   修复从 1.4.x 升级到 1.5.x 之后，原本非发布状态的文章可能无法保存的问题。 [#1814](https://github.com/halo-dev/halo/pull/1814) [**@guqing**](https://github.com/guqing)
    
-   修复分类统计文章数量没有排除回收站文章的问题。 [#1822](https://github.com/halo-dev/halo/pull/1822) [**@guqing**](https://github.com/guqing)
    
-   修复标签统计文章数量没有排除回收站文章的问题。 [#1823](https://github.com/halo-dev/halo/pull/1823) [**@guqing**](https://github.com/guqing)
    
-   修复加密文章从回收站恢复后的状态不是加密的问题。 [#1824](https://github.com/halo-dev/halo/pull/1824) [**@guqing**](https://github.com/guqing)
    
-   修复后台仪表盘统计中图标显示不完整的问题。 [halo-dev/console#536](https://github.com/halo-dev/console/pull/536) [**@ruibaby**](https://github.com/ruibaby)
    
-   修复后台页面切换时长超过 250ms 的时候不显示加载条的问题。 [halo-dev/console#539](https://github.com/halo-dev/console/pull/539) [**@ruibaby**](https://github.com/ruibaby)
    
-   修复后台文章回收站列表文章标题无法显示完整的问题。 [halo-dev/console#537](https://github.com/halo-dev/console/pull/537) [**@ruibaby**](https://github.com/ruibaby)
    
-   修复后台分类列表当没有数据的时候不显示空状态的问题。 [halo-dev/console#538](https://github.com/halo-dev/console/pull/538) [**@ruibaby**](https://github.com/ruibaby)
    
-   重构后台主题色切换逻辑，修复切换主题色之后，部分样式异常的问题。 [halo-dev/console#543](https://github.com/halo-dev/console/pull/543) [**@ruibaby**](https://github.com/ruibaby)
    

## 依赖更新

-   升级 Spring Boot 版本至 2.5.12。 [#1819](https://github.com/halo-dev/halo/pull/1819) [**@guqing**](https://github.com/guqing)
    
-   更新后台 @halo-dev/editor 版本。 [halo-dev/console#535](https://github.com/halo-dev/console/pull/535) [**@ruibaby**](https://github.com/ruibaby)
    
    -   修复点击导航菜单项无法滚动到指定预览区域的问题。
        

## 升级指南

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

## 相关信息

-   GitHub Release：[https://github.com/halo-dev/halo/releases/tag/v1.5.2](https://github.com/halo-dev/halo/releases/tag/v1.5.2)
    
-   升级文档：[https://docs.halo.run/getting-started/upgrade](https://docs.halo.run/getting-started/upgrade)
    
-   论坛交流：[https://bbs.halo.run/d/2312-halo-152](https://bbs.halo.run/d/2312-halo-152)
