Releases: UfoMiao/zcf
Releases · UfoMiao/zcf
Release list
v2.6.1
Patch Changes
-
文档
- 更新 zcf-release 命令文档,强调不手动创建标签的重要性
- 改进发布流程说明,明确 GitHub Actions 自动化处理
Documentation
- Update zcf-release command documentation to emphasize no manual tag creation
- Improve release workflow documentation, clarify GitHub Actions automation
v2.5.2
Patch Changes
-
修复
- 移除配置文件不存在时的强制退出判断,支持无权限环境下的优雅降级
- 为 zcf 配置读写添加静默错误处理,提升兼容性
Fixes
- Remove forced exit when config file doesn't exist, support graceful degradation in permission-restricted environments
- Add silent error handling for zcf config read/write operations, improving compatibility
v2.5.1
Patch Changes
-
新功能
- 将 Exa MCP 服务改为本地环境变量配置方式,提升安全性
- 支持通过环境变量传递 API 密钥,避免在命令行参数中暴露
New Features
- Switch Exa MCP service to local environment-based configuration for better security
- Support passing API keys through environment variables to avoid exposure in command arguments
优化
- 增强 buildMcpServerConfig 函数以支持环境变量配置
- 改进 MCP 服务配置的测试覆盖率
Optimization
- Enhance buildMcpServerConfig function to support environment variable configuration
- Improve test coverage for MCP service configuration
文档
- 更新 README 中的项目名称引用
- 添加 DeepWiki 徽章到中英文文档
Documentation
- Update project name references in README
- Add DeepWiki badge to both English and Chinese documentation
其他
- 升级 GitHub Actions 中的 Codecov action 到 v5
Others
- Upgrade Codecov action to v5 in GitHub Actions
v2.5.0
Minor Changes
-
新功能
- 添加完整的测试套件,包括单元测试和集成测试
- 新增测试覆盖率报告功能
- 支持 vitest 测试框架的多种运行模式
- 添加测试辅助工具和 mock 支持
- 新增 CI/CD 测试覆盖率检查
New Features
- Add comprehensive test suite including unit and integration tests
- Add test coverage reporting functionality
- Support multiple vitest test framework run modes
- Add test helpers and mock support
- Add CI/CD test coverage checks
优化
- 重构 CLI 架构,将命令设置逻辑分离到独立模块
- 改进项目文档结构,README 英文版改为 README_zh.md
- 更新 CLAUDE.md 开发指南,添加详细的测试说明
- 优化 CI 工作流程,集成测试覆盖率检查
Optimization
- Refactor CLI architecture, separate command setup logic to standalone module
- Improve project documentation structure, rename README English version to README_zh.md
- Update CLAUDE.md development guide with detailed testing instructions
- Optimize CI workflow with integrated test coverage checks
文档
- 新增完整的测试文档 (test/README.md)
- 更新开发命令说明,添加测试相关命令
- 完善架构说明,包含测试策略和覆盖率目标
Documentation
- Add comprehensive testing documentation (test/README.md)
- Update development command instructions with testing commands
- Improve architecture documentation including test strategy and coverage goals
v2.4.1
Patch Changes
-
修复
- 修复权限配置合并时的冗余和无效项问题
- 自动清理 v2.0 之前版本的无效
mcp__.*权限配置 - 移除以模板权限开头的冗余权限(如存在
Bash时移除Bash(*)) - 优化 Windows 系统检测提示的显示逻辑
Fixes
- Fix redundant and invalid items in permission configuration merging
- Automatically clean up invalid
mcp__.*permission configs from versions before v2.0 - Remove redundant permissions that start with template permissions (e.g., remove
Bash(*)whenBashexists) - Optimize Windows system detection message display logic
技术改进
- 新增
permission-cleaner工具模块,提供可复用的权限清理函数 - 改进权限合并逻辑,确保配置文件的整洁性
Technical Improvements
- Add
permission-cleanerutility module providing reusable permission cleanup functions - Improve permission merging logic to ensure configuration file cleanliness
v2.4.0
Minor Changes
-
新功能
- 添加环境变量和权限导入功能,支持从 settings.json 批量导入配置
- 添加文档更新检查功能,任务完成后自动提醒更新相关文档
- 更新技术执行指南,添加文档更新检查流程
- 优化交互式菜单,支持配置环境变量和权限
New Features
- Add environment variables and permissions import feature, support bulk import from settings.json
- Add documentation update check functionality, auto-remind to update docs after task completion
- Update technical execution guidelines with documentation update check process
- Enhance interactive menu with environment variables and permissions configuration
文档更新
- 更新 README.md 和 README_EN.md,补充 v2.1-v2.3 版本特性说明
- 更新 CLAUDE.md,添加完整的版本特性更新历史
- 更新截图,反映最新的交互界面
Documentation Updates
- Update README.md and README_EN.md with v2.1-v2.3 version features
- Update CLAUDE.md with complete version feature update history
- Update screenshots to reflect latest interactive interface
v2.3.0
Minor Changes
-
新功能
- 添加危险操作确认机制,提升 Claude Code 使用安全性
- 优化技术执行指南文档,减少 token 消耗约 30%
New Features
- Add dangerous operations confirmation mechanism for improved Claude Code safety
- Optimize technical execution guidelines documentation, reducing token consumption by ~30%
详细说明
危险操作确认
需要用户确认的操作:
- 文件系统:删除、批量修改、移动系统文件
- 代码提交:git commit、push、reset --hard
- 系统配置:环境变量、系统设置、权限变更
- 数据操作:数据库删除、结构变更、批量更新
- 网络请求:发送敏感数据、调用生产 API
- 包管理:全局安装/卸载、更新核心依赖
Details
Dangerous Operations Confirmation
Operations requiring user confirmation:
- File System: Delete, bulk modifications, move system files
- Code Commits: git commit, push, reset --hard
- System Config: Environment variables, system settings, permissions
- Data Operations: Database deletions, schema changes, bulk updates
- Network Requests: Send sensitive data, call production APIs
- Package Management: Global install/uninstall, update core dependencies
v2.2.0
Minor Changes
-
新功能
- 添加技术执行指南文档,提供命令执行最佳实践
- 新增 /zcf-release 自动化发版命令
- 支持跨平台路径处理,自动为包含空格的路径添加引号
- 优先使用 ripgrep 提升文件内容搜索性能
New Features
- Add technical execution guidelines with command best practices
- Add /zcf-release automated release command
- Support cross-platform path handling with automatic quotes for paths with spaces
- Prioritize ripgrep for better file content search performance
文档更新
- 新增中英文技术指南模板文件
- 更新项目级 CLAUDE.md 模板
Documentation Updates
- Add technical guide template files in Chinese and English
- Update project-level CLAUDE.md template
v2.1.2
Patch Changes
-
优化
- 优化初始化流程,移除文档更新的特殊处理
- 简化配置步骤,提升用户体验
- 减少不必要的代码复杂度
Optimization
- Optimize initialization process and remove special handling for document updates
- Simplify configuration steps to improve user experience
- Reduce unnecessary code complexity
v2.1.1
Patch Changes
-
修复 npm 发布透明日志冲突问题
Fix npm publish transparency log conflict issue