Skip to content

Release 1.1.4

Choose a tag to compare

@github-actions github-actions released this 24 Jun 14:39
· 4 commits to main since this release

Release Notes

✨ Improvements

  • Unified Paste & Drag-and-Drop Upload
    Merged single-file and multi-file upload handlers into one unified function.
    Removed redundant concurrency level mappings, replaced with constants.

  • Enhanced Batch Upload Results
    Improved batch upload result processing with better debugging information.

  • Refactored Uploader Version Management
    Replaced hardcoded version strings with constants for better readability and maintainability.

🧩 Fixes

  • Paste & Drag Event Handling
    Fixed event processing order — preventDefault() now runs synchronously before await to avoid data loss.
    Uploader cache now refreshes on settings update to ensure configuration takes effect immediately.

  • Uploader Version Parsing
    Fixed case-insensitivity issues in version identifier parsing.
    Enhanced version detection robustness and compatibility.

  • Markdown Image Link Encoding
    Optimized URL encoding to handle special characters in image links.

🛠 Internal Refactor

  • Consolidated upload logic and removed legacy uploader code.
  • Extracted uploader version parsing into a dedicated function with enhanced debug output.
  • Unified upload result processing to maintain input order consistency.
  • Improved type definitions and error handling.

🧪 Compatibility

  • ✅ All existing features verified
  • ✅ Test cases updated to reflect new concurrency level constants

更新日志

✨ 优化改进

  • 统一粘贴与拖拽上传
    合并单文件和多文件上传处理为一个函数。
    移除冗余的并发级别映射,使用常量替代。

  • 批量上传结果增强
    完善批量上传结果处理,增加调试信息输出。

  • 上传器版本管理重构
    使用常量替代硬编码版本字符串,增强代码可读性与可维护性。

🧩 问题修复

  • 粘贴与拖拽事件处理
    修正事件处理顺序 —— preventDefault()await 之前同步执行,避免数据丢失。
    设置更新时同步刷新上传器缓存,确保配置即时生效。

  • 上传器版本解析
    修正版本标识解析大小写不一致问题。
    增强版本检测的健壮性与兼容性。

  • Markdown 图片链接编码
    优化 URL 编码,正确处理图片链接中的特殊字符。

🛠 内部重构

  • 整合上传逻辑,移除旧版上传器代码。
  • 提取上传器版本解析为独立函数,增强调试输出。
  • 统一上传结果处理,保持与输入顺序一致。
  • 改进类型定义与错误处理。

🧪 兼容性

  • ✅ 全部现有功能验证通过
  • ✅ 测试用例已更新以反映新的并发级别常量

Full Changelog: 1.1.3...1.1.4