Skip to content

v0.57.26

Choose a tag to compare

@github-actions github-actions released this 06 Oct 05:20
· 489 commits to master since this release

Spacewave 0.57.26 makes Spaces more reliable when a device is missing data, adds a way to open one Space in a local browser window, and speeds up saving changes.

Features

  • The command line can now open a single Space in a browser. spacewave web --space <id|name> serves that Space from your device as a read-only view, with no download of the browser runtime. The view reconnects after the Spacewave daemon restarts.
  • spacewave space trim now shows how far a Space's history can be trimmed on this device. It reports the checkpoint, the changes waiting above it, and whether this device still needs to acknowledge.
  • Space owners can now remove writers that have stopped syncing from the trimming group with spacewave space roster, so the Space can trim history those writers have not caught up on. A removed writer returns once it catches up.

Fixes

  • A Space that is missing a file or data block now stays open instead of repeatedly restarting. It shows everything before the missing change, and it resumes from that change once the data arrives.
  • A device that was catching up on a Space could fail to acknowledge changes, which stopped the Space from trimming its history. Acknowledgment now continues while the device catches up.
  • New devices joining a Space could stop partway with a "block not found" error. This happened after a file was appended and its content was cleaned up too early. The content is now kept until every device has read it.
  • A device copying an account's data no longer retries over and over when no connected device has the data it needs. It waits until another device connects or the Space changes.
  • A device that was refused a connection, or had its link revoked, now sees the reason the connection closed. Before, it saw only "stream reset".
  • Errors about missing Space data now name the file or change involved, which makes lost data easier to track down.
  • Command-line options such as --remote-daemon can now be placed before the command, as in spacewave --remote-daemon <peer>@<addr> space list. A usage error now prints to the error output only.

Improvements

  • Saving changes to a Space is faster. Committing a change now takes three storage writes instead of seven, and storage cleanup runs in larger batches.
  • Catching up on a Space is faster and uses less storage activity, because each pass now saves its changes together instead of after every change.
  • Opening a Space from the command line and reconnecting after a restart no longer requires the browser runtime.

Security

  • When a device's access changes, links already open to it are now rechecked, and links from devices that are no longer allowed are closed, including open remote shells.
  • The read-only Space view in the browser allows only read requests. Each request is checked against the bound Space and Session.

Downloads

MacOS (arm64) | Windows (amd64) | Linux (amd64)