Breaking changes
-a / --accepthas been removed.- Use the new general-purpose
-H / --headerinstead. - e.g.
-H "Accept: application/json".
- Use the new general-purpose
--accept-invalid-certshas been renamed to--insecure- also reachable as
-k, matching curl.
- also reachable as
- When no user-agent is configured, dlm now identifies itself as
dlm/<version>instead of sending reqwest's default.- Pass
--user-agentor--random-user-agentto override.
- Pass
New
- Custom request headers
-H / --header <Name: Value>lets you set arbitrary headers; pass -H multiple times to set several.- The string is split on the first colon, so values may contain colons.
- e.g.
-H "Authorization: Bearer foo:bar" -a / --accept: Acceptis now just one of any header you want to send-H "Accept: application/json".
- Basic auth —
--user <user:password>base64-encodes the credentials into anAuthorization: Basic …default header.- It is installed before any -H headers, so a custom
-H "Authorization: …"will override it if you need a different scheme (Bearer, API key, etc.).
- It is installed before any -H headers, so a custom
- Inspect the user-agent pool —
--list-user-agentsprints the built-in pool that--random-user-agentrotates through, so you can see what's on offer or copy one to pass via--user-agent.
Improvements
- Stricter filename sanitization.
- Windows reserved names (CON, PRN, LPT1…), control characters, trailing dots/whitespace, 255-byte cap, and percent-encoded / in filenames are now handled.
Accept-Ranges: bytesheader is matched case-insensitively.- Politer retry schedule.
- 3 fixed 500ms attempts before the exponential backoff kicks in
- capped at 10 minutes.
- Internal metadata extraction consolidated.
- New end-to-end integration test suite.
Dependencies
- tokio 1.50.0 → 1.52.1
- clap 4.6.0 → 4.6.1
- jiff 0.2.23 → 0.2.24
- rand 0.10.0 → 0.10.1
- removed tokio-retry (replaced by an in-tree retry helper)
Full Changelog: v0.6.1...v0.7.0