Skip to content

v0.23.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 08:18

This release is about network backends: backups to vykar-server, S3 and SFTP make fewer serial round trips, upload large packs over several connections, and hold less memory. It also closes a security gap where a tampered repository config could downgrade a client to plaintext.

⚠️ Behavior change

  • Security: a client now refuses to open an unencrypted repository unless its own config sets encryption.mode: none. The repository config is unauthenticated, so whoever controlled storage could swap in an encryption: none repo and a client with an encrypting config (including the default auto) would silently upload plaintext backups or accept forged snapshots on restore. --trust-repo does not waive this. If you intentionally use a plaintext repository, set encryption.mode: none explicitly. (ea934bd, #208)

Features

  • vykar-server accepts pack uploads in parts, so one pack can travel over several connections (f83e9d7)
  • SFTP: RSA SSH keys are supported (12b2f51)

Performance

Uploads

  • REST: packs larger than 16 MiB are uploaded in parts over several connections, with a shared part budget across packs (2b6f437)
  • S3: multipart parts of a pack upload in parallel and are hashed off the critical path (b1d2b39, 702c064)
  • vykar-server starts writeback while an upload body is still streaming (7a44990)
  • Release a pack's buffer before completing its part upload; lend upload-queue slack from the pipeline byte budget (1bb4d6b, 2f5ca57)
  • Wake upload backpressure on the first finished pack (adcf07f)
  • Cap auto worker threads at 4 for remote repositories, cutting peak memory with no throughput loss (fd1fbaf)

Open and commit

  • Trim serial requests from the backup open path; load the local file cache while open's round trips run (8d86a4a, 6d4c1ca)
  • Verify session packs with bounded parallel requests, or one batch request on vykar-server (f2041e5, 09ffe85)
  • Overlap the commit's independent reads under the lock, the index.gen PUT with the fence check, and the final journal write with taking the commit lock (e9ff88c, 32bb5cd, 664e02e)
  • Deregister the session while the commit's local work runs; write the session journal in the background (67e6a4c, 0d3db59)

Bug Fixes

  • Commit: drop the recursive pack listing from commit verification; on SFTP it walked all 256 shard directories under the lock (63 s → 21 s for a 1.2 GiB backup at 40 ms RTT) (609dda2)
  • Snapshot cache: persist the snapshot list cache at backup commit, so the next backup no longer re-downloads the previous snapshot (161750a)
  • Backup: files with non-UTF-8 names are no longer skipped by the parallel pipeline (0d1969e, #210)
  • Daemon: status I/O moved off the daemon loop; an unreachable repo no longer delays startup or blocks signal handling (f47f353, #206)

Docs, Testing & CI

  • Docs site migrated from mdBook to Starlight; daemon status page screenshot (89d6353, e3e4cd2, 9411f85, e4ed473)
  • net-ab testbench: interleaved A/B over a shaped network link (d897457)
  • Test fixes for macOS, Windows and part-upload temp files (4de15ed, 875ab21)
  • Release: macOS built on macos-15 runners (eab4f26)

Updating

To update to the latest version, run:

curl -fsSL https://vykar.borgbase.com/install.sh | sh

See the quickstart guide for other install options.

Downloads

Platform Artifact
Linux x86_64 (gnu) vykar-v0.23.0-x86_64-unknown-linux-gnu.tar.gz
Linux x86_64 (musl) vykar-v0.23.0-x86_64-unknown-linux-musl.tar.gz
Linux aarch64 (gnu) vykar-v0.23.0-aarch64-unknown-linux-gnu.tar.gz
Linux aarch64 (musl) vykar-v0.23.0-aarch64-unknown-linux-musl.tar.gz
macOS aarch64 vykar-v0.23.0-aarch64-apple-darwin.tar.gz
Windows x86_64 vykar-v0.23.0-x86_64-pc-windows-msvc.zip
GUI (AppImage) vykar-gui-v0.23.0-x86_64.AppImage

SHA256 digests are shown next to each asset on this release page.