Third release candidate for 0.30.0. Do not use it on production repositories yet. vykar upgrade is one-way, so test on copies or on throwaway repositories. For the full 0.30.0 changes (format v6, lock-free backups, breaking changes from 0.24), see the rc.1 notes and the rc.2 notes.
rc.3 is mostly a pre-release cleanup: large modules split, test-only API gated, dead code removed. On top of that come SFTP speedups, a round of fixes from fuzzing and review, and dependency updates with security fixes. No repository format change since rc.1.
Performance
- SFTP: open the temp file before creating directories on put, and create missing directories from the leaf upwards. Against OpenSSH at 40 ms RTT,
initwent from 3,662 to 548 requests (146 s → 18 s) and a small incremental from 471 to 353 requests (9.2 s → 5.6 s) (878857e) - backup: the parent-snapshot listing is streamed a bounded batch of tree chunks at a time instead of being held whole in memory (c5af46c)
Fixes
- SFTP (Windows): without
sftp_key, fall back to~/.sshkey files when Pageant is not running, instead of failing every connection with "early eof" (#223, 621632b) - S3: retry a 4xx whose error body is cut off mid-read (e.g.
400 RequestTimeout), which was previously treated as permanent (23da51c) - mount: refuse a chunk whose decoded length differs from the size the snapshot records, instead of serving misaligned bytes or aborting the whole mount process (ac3e9ab)
- file cache: a corrupt length prefix no longer triggers a huge allocation and abort; the backup starts without a cache instead (found by fuzzing, present since 0.13.0) (350e0f1)
- compact/info: a sweep record that is not a msgpack map is treated as damaged instead of bypassing the version check (found by fuzzing) (54a6597)
- server:
?statsno longer follows symlinks or counts temp files, sockets and dangling links, sototal_bytesmatches the quota scan (3ca9441) - daemon: the status page and
/api/status.jsonreport the system's short hostname instead of usually "unknown" (3358ce9) - GUI: Cancel now reaches the repository open and the contents load for restore, contents and mount; the repository is opened once instead of twice (7313ca3)
check --repairloads the snapshot metadata once in its rewrite step (c5af46c)
Dependencies
- Security and bug-fix updates: russh 0.65.4 (client security advisories), blake3 1.8.9 (AVX2/AVX-512 overread fix), zstd 0.14.5 (libzstd 1.6.0), hyper 1.13, slint 1.19.1 and others (60c17ac)
- russh-sftp 4.0 replaces the git patch (ddcb892); rusty-s3 0.12 (94faf14); croner 5 (f0ab66e)
- Unused dependencies dropped (c6bf408)
Internal
- Large modules split into topic modules across core, CLI, GUI, server, storage and protocol; inline test modules moved to sibling files (18d537c, 44ca114, 2e49f62, 2bad205, 4251040, 408cde9, 4c269b2, d3beaaf, fda6ef3, 5d0ac3b, b49e1b6, 8f1aa8e, 9723c3c, 169183f, fec158c, bac2e11, e36a168, 1f0f6ca, 6e9e9ea)
- Public API that only tests reached is gated or deleted; the
simfeature is gone and the simulator is test-only; the server's public API is narrowed (62a2df2, b87ccc7, 831309b, 9aa8f92, f6f3e36) - One sequential listing reader replaces the eager whole-listing reader (c5af46c)
- Shared constants defined once; leftovers from the 0.30 refactors removed (27e6b2d, 67e3fb7, 7c79d09, 42325c2)
Installing the release candidate
install.sh installs only the latest stable release (0.24.0), so download rc.3 from the assets below. Docker images: ghcr.io/borgbase/vykar:0.30.0-rc.3 and :0.30.0-rc.3-apprise; :latest stays at 0.24.0. See the quickstart guide for other install options.
Downloads
| Platform | Artifact |
|---|---|
| Linux x86_64 (gnu) | vykar-v0.30.0-rc.3-x86_64-unknown-linux-gnu.tar.gz
|
| Linux x86_64 (musl) | vykar-v0.30.0-rc.3-x86_64-unknown-linux-musl.tar.gz
|
| Linux aarch64 (gnu) | vykar-v0.30.0-rc.3-aarch64-unknown-linux-gnu.tar.gz
|
| Linux aarch64 (musl) | vykar-v0.30.0-rc.3-aarch64-unknown-linux-musl.tar.gz
|
| macOS aarch64 | vykar-v0.30.0-rc.3-aarch64-apple-darwin.tar.gz
|
| Windows x86_64 | vykar-v0.30.0-rc.3-x86_64-pc-windows-msvc.zip
|
| GUI (AppImage) | vykar-gui-v0.30.0-rc.3-x86_64.AppImage
|
SHA256 digests are shown next to each asset on this release page.