Skip to content

v0.30.0-rc.3

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 05 Dec 13:05

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, init went 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 ~/.ssh key 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: ?stats no longer follows symlinks or counts temp files, sockets and dangling links, so total_bytes matches the quota scan (3ca9441)
  • daemon: the status page and /api/status.json report 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 --repair loads 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

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.