Skip to content

v0.5.0

Choose a tag to compare

@wangxingjun778 wangxingjun778 released this 24 Oct 08:21
· 2 commits to release/0.5 since this release

Feature

  • Add configurable download deadlines, low-speed protection, retry-delay caps, and lock/listing timeouts.
  • Support reusable snapshot manifests (file_list), single-file size hints (file_size), and custom User-Agent metadata.

Refactor

  • Centralize download retries and cancellation in dedicated read sessions.
  • Bound download task queues and narrow filtered repository listings.

Fix

  • Validate size and SHA-256 before atomic replacement, preserving existing files when refreshes fail.
  • Prevent corruption from ignored or invalid Range responses; recover stale HTTP 416 partials.
  • Cancel active transfers on Ctrl+C while preserving resumable partials.
  • Report incomplete snapshots through FileDownloadError with per-file details and CLI exit code 1.
  • Ensure consistent SDK UA and CLI/compat channel tags across HTTP requests, with stable session fallback for read-only environments.

Docs

  • Document download controls, failure semantics, and UA conventions.

What's Changed

Full Changelog: v0.4.6...v0.5.0