Skip to content

DropDrawer v0.1.17

Choose a tag to compare

@StackTao StackTao released this 29 Nov 16:03
· 74 commits to main since this release

更新内容

  • 修复 Google Drive 分块上传在收到无 Range 的 308 响应时跳过数据的问题。服务端会按已确认的位置重试。
  • 遇到 503 且只写入部分数据时,从已确认的位置恢复,并让后续非末块的大小仍为 256 KiB 的整数倍。
  • 文件流超过声明长度时,服务端返回错误,避免截断后仍报告上传成功。
  • Google Drive 限流时遵循 Retry-After,缺少该响应头时采用指数退避。
  • 修复 Flutter 客户端在启动文件哈希计算时取消上传会产生未捕获异常的问题。取消结束后,源文件可以立即移动或删除。Flutter 和原生 iOS 的大文件上传也减少了预哈希等待。
  • 新装客户端默认连接 DropDrawer 官方服务器。

macOS(Apple Silicon)、Windows x64 和 Android 可在软件内检查更新。Android 提供 arm64 和通用 APK。原生 iOS 18+ 提供未签名 IPA,可自行签名后安装。

What's changed

  • Fixed Google Drive resumable uploads skipping data after a 308 response without a Range header.
  • After a partial 503, uploads resume at the confirmed offset and keep subsequent non-final requests aligned to 256 KiB.
  • Oversized upload streams now fail before the final request commits a truncated file.
  • Google Drive retries respect Retry-After and use exponential backoff when the header is missing.
  • Fixed an uncaught cancellation error when Flutter starts hashing a file. Cancellation waits for the file handle to close so the file can be moved or deleted. Large uploads in Flutter and native iOS now spend less time pre-hashing.
  • Fresh installations default to the official DropDrawer server.

macOS (Apple Silicon), Windows x64, and Android can check for updates in the app. The native iOS 18+ IPA requires manual signing.