Skip to content

Commit bf207c9

Browse files
committed
chore: release v2.4.1
- Update version to 2.4.1 - Update CHANGELOG.md with permission cleanup fixes - Generated by /zcf-release command
1 parent 1e1d53d commit bf207c9

2 files changed

Lines changed: 29 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
# Changelog
22

3+
## 2.4.1
4+
5+
### Patch Changes
6+
7+
- ## 修复
8+
9+
- 修复权限配置合并时的冗余和无效项问题
10+
- 自动清理 v2.0 之前版本的无效 `mcp__.*` 权限配置
11+
- 移除以模板权限开头的冗余权限(如存在 `Bash` 时移除 `Bash(*)`
12+
- 优化 Windows 系统检测提示的显示逻辑
13+
14+
## Fixes
15+
16+
- Fix redundant and invalid items in permission configuration merging
17+
- Automatically clean up invalid `mcp__.*` permission configs from versions before v2.0
18+
- Remove redundant permissions that start with template permissions (e.g., remove `Bash(*)` when `Bash` exists)
19+
- Optimize Windows system detection message display logic
20+
21+
## 技术改进
22+
23+
- 新增 `permission-cleaner` 工具模块,提供可复用的权限清理函数
24+
- 改进权限合并逻辑,确保配置文件的整洁性
25+
26+
## Technical Improvements
27+
28+
- Add `permission-cleaner` utility module providing reusable permission cleanup functions
29+
- Improve permission merging logic to ensure configuration file cleanliness
30+
331
## 2.4.0
432

533
### Minor Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "zcf",
33
"type": "module",
4-
"version": "2.4.0",
4+
"version": "2.4.1",
55
"packageManager": "pnpm@9.15.9",
66
"description": "Zero-Config Claude-Code Flow - One-click configuration tool for Claude Code",
77
"license": "MIT",

0 commit comments

Comments
 (0)