镜像自地址
https://github.com/lhly/cloud-drive-renamer.git
已同步 2026-10-20 21:57:47 +08:00
chore: 升级版本号至1.0.0并更新相关文档
更新package.json、manifest.json和version.ts中的版本号至1.0.0 同步更新README.md和CLAUDE.md中的版本信息和功能说明
这个提交包含在:
父节点
19ab871e21
当前提交
4ddd8214c2
53
CLAUDE.md
53
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
|
- **Bundle Size:** Lit is chosen for its small footprint (~20KB) vs React/Vue
|
||||||
- **Memory:** Crash recovery stores minimal state in chrome.storage.local
|
- **Memory:** Crash recovery stores minimal state in chrome.storage.local
|
||||||
|
|
||||||
## Future Expansion Points
|
## Version History and Roadmap
|
||||||
|
|
||||||
**Platform Adapters (Planned):**
|
### Current Version: v1.0.0 (Stable Release)
|
||||||
- `src/adapters/aliyun/` - Aliyun Drive (architecture ready)
|
|
||||||
- `src/adapters/baidu/` - Baidu Drive (architecture ready)
|
|
||||||
|
|
||||||
**Potential Rule Types:**
|
**Major improvements from v0.4.1:**
|
||||||
- Regex-based rules (mentioned in roadmap)
|
|
||||||
- Conditional rules based on file type/size
|
1. **Complete Platform Support:**
|
||||||
- Template-based batch rules
|
- 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:**
|
**Testing Gaps:**
|
||||||
- `quark-adapter.test.ts` requires Chrome extension mock environment
|
- `quark-adapter.test.ts` requires Chrome extension mock environment
|
||||||
- Performance benchmarks not yet integrated in CI
|
- Performance benchmarks not yet integrated in CI
|
||||||
- E2E tests for all platforms (currently Quark only)
|
- E2E tests expansion to all platforms (currently Quark only)
|
||||||
|
|||||||
70
README.md
70
README.md
@ -784,24 +784,64 @@ A: 请在 GitHub Issues 中提交,包含:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🗺️ 路线图
|
## 🗺️ 版本历程与路线图
|
||||||
|
|
||||||
### 当前版本 (v0.4.1)
|
### 当前版本 (v1.0.0) 🎉
|
||||||
- ✅ 夸克/阿里/百度网盘支持
|
|
||||||
- ✅ 悬浮按钮 + 文件选择器三栏面板(规则配置/文件列表/预览)
|
|
||||||
- ✅ 搜索/类型筛选/大列表虚拟滚动
|
|
||||||
- ✅ 实时预览与冲突提示
|
|
||||||
- ✅ 执行进度展示,部分平台支持执行后同步页面列表
|
|
||||||
- ✅ 多语言(zh_CN / zh_TW / en)
|
|
||||||
|
|
||||||
### 计划中
|
**稳定版本正式发布!** 相比 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,
|
"manifest_version": 3,
|
||||||
"default_locale": "zh_CN",
|
"default_locale": "zh_CN",
|
||||||
"name": "__MSG_extName__",
|
"name": "__MSG_extName__",
|
||||||
"version": "0.4.1",
|
"version": "1.0.0",
|
||||||
"description": "__MSG_extDescription__",
|
"description": "__MSG_extDescription__",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"storage",
|
"storage",
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "cloud-drive-renamer",
|
"name": "cloud-drive-renamer",
|
||||||
"version": "0.4.1",
|
"version": "1.0.0",
|
||||||
"description": "批量重命名工具,支持夸克网盘、阿里云盘、百度网盘",
|
"description": "批量重命名工具,支持夸克网盘、阿里云盘、百度网盘",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@ -10,25 +10,25 @@
|
|||||||
* 1. Edit version in package.json
|
* 1. Edit version in package.json
|
||||||
* 2. Run: npm run sync:version (or automatically via prebuild/predev)
|
* 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")
|
* 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")
|
* Application version with 'v' prefix (e.g., "v0.1.0")
|
||||||
* Commonly used for display purposes
|
* 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
|
* Parse version into components
|
||||||
*/
|
*/
|
||||||
export const VERSION_PARTS = {
|
export const VERSION_PARTS = {
|
||||||
major: 0,
|
major: 1,
|
||||||
minor: 4,
|
minor: 0,
|
||||||
patch: 1,
|
patch: 0,
|
||||||
} as const;
|
} as const;
|
||||||
|
|||||||
正在加载...
在新工单中引用
屏蔽一个用户