Repository navigation
Added
-
WebDAV account access mode — Each WebDAV account can be set to read-write or read-only when created or at any time afterwards, separately for personal and team accounts. Effective permission is always the intersection of the owner's live product permissions and the account access mode; read-only is enforced in the authorization layer and fails closed before any side effect. Write methods (
PUT,MKCOL,DELETE,COPY,MOVE,PROPPATCH,LOCK,UNLOCK) return403 Forbiddenwithout consuming request bodies or writing storage; reads continue unchanged and REST callers receive the stablewebdav.access_read_onlyerror code. Mode switches take effect immediately for subsequent requests without cache invalidation. Manage modes through the newPOST /api/v1/webdav-accounts/{id}/access-modeandPOST /api/v1/teams/{team_id}/webdav-accounts/{account_id}/access-modeendpoints or the updated panel; OpenAPI and the generated frontend SDK are regenerated, and changes are audited. Mounting clients that loseLOCKpermission degrade to lock-free read-only access as expected, which suits backup pulls, mounted browsing and sync clients. The migration addswebdav_accounts.access_mode(defaultread_write) so existing accounts keep their behavior; run database migration when upgrading. (#753, #776) -
Upload diagnostics — Debug logs explain the admitted policy group, rule evaluations, excluded targets, execution preference, transport candidates and size/capability limits. Interrupted follower PUT bodies return the retryable
upload.request_body_incompletecode, log received versus declared bytes without credentials, and show a network/retry hint in the browser. (#756, #758)
Changed
-
AsterForge runtime and observability contract — Upgrade the published Forge crate batch, migrate configuration validation and metrics provider assembly to Forge, publish the
com.astercosm.drive/astercosm-metrics/v1metrics identity, update Grafana/catalog filters, and preserve audit recovery reconciliation without automatic replay. Uncompiled exporters are ignored; compiled exporters run only when explicitly enabled. Service startup,doctor, anddatabase-migrateprepare private crash reporting in the selected instance configuration directory. Service startup and human-readable CLI output warn ifcrash.logis unavailable. -
HTTP rate limiting — Replace
actix-governorwith the governor-backed Forge middleware without permitting GPL dependencies. Existing quota settings and HTTP 429 error envelopes remain unchanged;Retry-AfterandX-RateLimit-Afterreport the same retry delay. (#766) -
Runtime config validation — The runtime entry now runs the full validation pipeline in the loader's order (section validation, then cross-field validation) before serving. Configurations assembled programmatically that previously bypassed section rules now fail startup, such as a
worker.drain_timeout_secsabove 24 hours. Deployments loading configuration from files are unaffected. (#773) -
Dependency and worker-count updates — HTTP worker auto-sizing uses
std::thread::available_parallelism()instead ofnum_cpus; on Linux this respects cgroup CPU limits, so CPU-constrained containers may see lower default worker counts. Archive handling upgradeszipfrom 9.2.0 to 9.8.1 and JWT handling moves tojsonwebtokenv12 without token format or verification changes.
Fixed
-
MySQL blob publication — Concurrent uploads and empty-file creation can adopt a blob committed after their transaction opened a snapshot. The losing upload releases its own unused object and preserves the shared blob.
-
Passkey sign-in — The verified passkey selects the account even when the login form contains a different username or email. The passkey challenge endpoint no longer takes
identifier. (#754) -
Follower readiness — An unconfigured follower returns
200 + needs_binding. Enabled bindings require recent successful master control-plane communication; missing or expired evidence returns 503 and clears runtime readiness.server.follower.master_readiness_timeout_secsdefaults to 90 seconds and must exceed the 60-second control-plane cycle; disabled bindings are intentionally offline. (#755) -
Trash lookups on reader databases — Restore and purge validate the target entity against the writer database instead of the reader, so deployments with a separate lagging reader database no longer fail before any change is attempted. (#775)
-
Hover preview background — Transparent images in the file hover preview render on a theme-aware background and remain legible in light and dark themes.
Download
| Platform | Architecture | Archive |
|---|---|---|
| Linux | x86_64 | aster_drive_v0.7.3_linux_x86_64.tar.gz |
| Linux | x86 | aster_drive_v0.7.3_linux_i686.tar.gz |
| Linux | ARM64 | aster_drive_v0.7.3_linux_aarch64.tar.gz |
| Linux | ARMv7 | aster_drive_v0.7.3_linux_armv7.tar.gz |
| Windows | x86_64 | aster_drive_v0.7.3_windows_x86_64.exe.zip |
| Windows | x86 | aster_drive_v0.7.3_windows_i686.exe.zip |
| Windows | ARM64 | aster_drive_v0.7.3_windows_arm64.zip |
| macOS | x86_64 | aster_drive_v0.7.3_macos_x86_64.tar.gz |
| macOS | ARM64 | aster_drive_v0.7.3_macos_aarch64.tar.gz |
Extract with tar -xzf (Linux/macOS) or unzip (Windows).
Checksums: checksums.txt
Verify signatures
All release archives are signed with Sigstore cosign. To verify:
# Download checksums + signature + certificate
wget https://github.com/AsterCommunity/AsterDrive/releases/download/v0.7.3/{checksums.txt,checksums.txt.sig,checksums.txt.pem}
# Verify signature
cosign verify-blob checksums.txt \
--signature checksums.txt.sig \
--certificate checksums.txt.pem \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
--certificate-identity https://github.com/AsterCommunity/AsterDrive/.github/workflows/rust-release.yml@refs/tags/v0.7.3
# Verify archive integrity
sha256sum -c checksums.txtWhat's Changed
- fix(files): add theme-aware background to hover preview by @Rainbowwwis in #751
- fix(remote): 修复 follower 就绪探针并完善上传诊断 by @AptS-1547 in #763
- feat(observability): migrate Drive to Forge metrics and config contracts by @AptS-1547 in #765
- Fix passkey account selection and remove actix-governor by @AptS-1547 in #768
- Fix MySQL blob reuse after a concurrent publication by @AptS-1547 in #769
- Run the full config validation pipeline at the runtime entry by @AptS-1547 in #773
- refactor(api): route handlers stop querying repositories directly by @AptS-1547 in #775
- feat(webdav): per-account read-only/read-write access mode by @AptS-1547 in #776
New Contributors
- @Rainbowwwis made their first contribution in #751
Full Changelog: v0.7.2...v0.7.3