From 4ddd8214c2b4c3466786087ce11201fb4c26a8fc Mon Sep 17 00:00:00 2001 From: Zain Date: Tue, 30 Dec 2025 13:39:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B31.0.0=E5=B9=B6=E6=9B=B4=E6=96=B0=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新package.json、manifest.json和version.ts中的版本号至1.0.0 同步更新README.md和CLAUDE.md中的版本信息和功能说明 --- CLAUDE.md | 53 ++++++++++++++++++++++++++------ README.md | 70 +++++++++++++++++++++++++++++++++---------- manifest.json | 2 +- package.json | 2 +- src/shared/version.ts | 12 ++++---- 5 files changed, 107 insertions(+), 32 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index df278f6..dd13812 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -385,18 +385,53 @@ Screenshots are processed using the `npm run resize` command with predefined pre - **Bundle Size:** Lit is chosen for its small footprint (~20KB) vs React/Vue - **Memory:** Crash recovery stores minimal state in chrome.storage.local -## Future Expansion Points +## Version History and Roadmap -**Platform Adapters (Planned):** -- `src/adapters/aliyun/` - Aliyun Drive (architecture ready) -- `src/adapters/baidu/` - Baidu Drive (architecture ready) +### Current Version: v1.0.0 (Stable Release) -**Potential Rule Types:** -- Regex-based rules (mentioned in roadmap) -- Conditional rules based on file type/size -- Template-based batch rules +**Major improvements from v0.4.1:** + +1. **Complete Platform Support:** + - Quark Drive: Full support with folder renaming and page sync + - Aliyun Drive: Full support with auto page list sync + - Baidu Drive: Full support with optimized API calls + +2. **Enhanced UI/UX:** + - File selector panel with 3-column layout (config/list/preview) + - Draggable floating button with position memory + - Virtual scrolling for large file lists (thousands of files) + - Advanced search and filtering capabilities + +3. **Execution Engine Improvements:** + - Auto page sync after rename completion (Aliyun/Baidu) + - Manual retry for failed items + - Real-time progress visualization + - Platform usage statistics + +4. **Internationalization:** + - Multi-language support (zh_CN / zh_TW / en) + - Auto language detection + - Optimized script injection for i18n + +5. **Stability & Error Handling:** + - Unified platform detection logic + - Enhanced error messages and fallback handling + - Improved filename extraction (noise filtering) + +### Future Expansion Points + +**Platform Adapters:** +- Additional cloud storage platforms (based on API availability and compatibility) + +**Rule Engine Enhancements:** +- More flexible renaming rule types +- Rule template save/share functionality + +**Advanced Features:** +- History and undo functionality +- Batch task optimization **Testing Gaps:** - `quark-adapter.test.ts` requires Chrome extension mock environment - Performance benchmarks not yet integrated in CI -- E2E tests for all platforms (currently Quark only) +- E2E tests expansion to all platforms (currently Quark only) diff --git a/README.md b/README.md index ec009b6..2c44760 100644 --- a/README.md +++ b/README.md @@ -784,24 +784,64 @@ A: 请在 GitHub Issues 中提交,包含: --- -## 🗺️ 路线图 +## 🗺️ 版本历程与路线图 -### 当前版本 (v0.4.1) -- ✅ 夸克/阿里/百度网盘支持 -- ✅ 悬浮按钮 + 文件选择器三栏面板(规则配置/文件列表/预览) -- ✅ 搜索/类型筛选/大列表虚拟滚动 -- ✅ 实时预览与冲突提示 -- ✅ 执行进度展示,部分平台支持执行后同步页面列表 -- ✅ 多语言(zh_CN / zh_TW / en) +### 当前版本 (v1.0.0) 🎉 -### 计划中 -- 🔄 规则模板保存与分享 -- 🔄 历史记录和撤销功能 +**稳定版本正式发布!** 相比 v0.4.1 新增功能: -### 未来展望 (v1.0.0+) -- 📋 正则表达式规则 -- 📋 条件规则(基于文件类型/大小) -- 📋 批量任务调度 +#### 🚀 核心功能增强 +- ✅ **完整的三大平台支持** + - 夸克网盘 - 完全支持,包含文件夹重命名和页面同步 + - 阿里云盘 - 完全支持,自动同步页面文件列表 + - 百度网盘 - 完全支持,优化API调用和列表解析 + +#### 🎨 用户界面优化 +- ✅ **文件选择器三栏面板** - 规则配置 / 文件列表 / 实时预览 +- ✅ **智能悬浮按钮** - 可拖拽定位,支持位置记忆,可在 Popup 中隐藏 +- ✅ **虚拟滚动优化** - 大文件列表性能提升,支持数千文件流畅操作 +- ✅ **搜索与筛选** - 文件名搜索、类型筛选、全选/取消全选 + +#### ⚡ 执行引擎增强 +- ✅ **页面自动同步** - 重命名完成后自动刷新页面文件列表(阿里云盘、百度网盘) +- ✅ **重试机制优化** - 支持手动重试失败项,显示详细错误信息 +- ✅ **进度可视化** - 实时展示执行进度、成功/失败统计、同步状态 +- ✅ **平台使用统计** - 记录并展示各平台使用情况 + +#### 🌍 国际化支持 +- ✅ **多语言界面** - 简体中文 / 繁体中文 / English +- ✅ **语言自动检测** - 根据浏览器语言自动切换 +- ✅ **脚本注入优化** - 改进多语言环境下的脚本加载逻辑 + +#### 🛡️ 稳定性改进 +- ✅ **平台检测增强** - 统一的平台识别逻辑,支持分享链接检测 +- ✅ **错误处理优化** - 完善的错误提示和降级处理 +- ✅ **文件名提取改进** - 过滤 UI 噪音文本,提升准确性 + +### 历史版本 + +#### v0.4.1 (2025-12) +- 三大平台基础支持 +- 基础文件选择器面板 +- 五种重命名规则 +- 基础多语言支持 + +#### v0.3.0 (2025-12) +- 添加阿里云盘和百度网盘支持 +- 平台检测逻辑重构 + +### 未来规划 + +#### 平台扩展 +- 📋 支持更多云盘平台(根据平台 API 开放程度逐步适配) + +#### 规则增强 +- 📋 更多灵活的重命名规则 +- 📋 规则模板保存与分享功能 + +#### 高级功能 +- 📋 历史记录与撤销 +- 📋 批量任务优化 --- diff --git a/manifest.json b/manifest.json index 0c53bb1..484de13 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "manifest_version": 3, "default_locale": "zh_CN", "name": "__MSG_extName__", - "version": "0.4.1", + "version": "1.0.0", "description": "__MSG_extDescription__", "permissions": [ "storage", diff --git a/package.json b/package.json index bb12021..04f99af 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cloud-drive-renamer", - "version": "0.4.1", + "version": "1.0.0", "description": "批量重命名工具,支持夸克网盘、阿里云盘、百度网盘", "type": "module", "scripts": { diff --git a/src/shared/version.ts b/src/shared/version.ts index 81764d2..fa34a61 100644 --- a/src/shared/version.ts +++ b/src/shared/version.ts @@ -10,25 +10,25 @@ * 1. Edit version in package.json * 2. Run: npm run sync:version (or automatically via prebuild/predev) * - * Generated at: 2025-12-30T04:26:21.804Z + * Generated at: 2025-12-30T05:36:20.170Z */ /** * Application version number (e.g., "0.1.0") */ -export const APP_VERSION = '0.4.1' as const; +export const APP_VERSION = '1.0.0' as const; /** * Application version with 'v' prefix (e.g., "v0.1.0") * Commonly used for display purposes */ -export const APP_VERSION_WITH_PREFIX = 'v0.4.1' as const; +export const APP_VERSION_WITH_PREFIX = 'v1.0.0' as const; /** * Parse version into components */ export const VERSION_PARTS = { - major: 0, - minor: 4, - patch: 1, + major: 1, + minor: 0, + patch: 0, } as const;