chore: 升级版本号至1.0.0并更新相关文档

更新package.json、manifest.json和version.ts中的版本号至1.0.0
同步更新README.md和CLAUDE.md中的版本信息和功能说明
这个提交包含在:
Zain 2025-12-30 13:39:10 +08:00
父节点 19ab871e21
当前提交 4ddd8214c2
共有 5 个文件被更改,包括 107 次插入 和 32 次删除

查看文件

@ -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)

查看文件

@ -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 开放程度逐步适配)
#### 规则增强
- 📋 更多灵活的重命名规则
- 📋 规则模板保存与分享功能
#### 高级功能
- 📋 历史记录与撤销
- 📋 批量任务优化
---

查看文件

@ -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",

查看文件

@ -1,6 +1,6 @@
{
"name": "cloud-drive-renamer",
"version": "0.4.1",
"version": "1.0.0",
"description": "批量重命名工具,支持夸克网盘、阿里云盘、百度网盘",
"type": "module",
"scripts": {

查看文件

@ -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;