Skip to content

v0.0.128

Choose a tag to compare

@github-actions github-actions released this 04 Dec 22:31
8fe63c0

An app that creates or upserts items can now say which links it read, so it never removes one that someone else just added, and a folder copes calmly with an item being moved to the bin or purged while you edit its file.

Server

  • Added: An upsert by natural key (POST /items) and each POST /items/bulk entry can name the edges of each type it read in read_edges, as an item update can. If they changed since, nothing is written and the server answers 409 version_conflict, or refuses only that bulk entry. Docs
  • Changed: A type move that marfa_move_items starts with a confirm token now rewrites only the folders, views and webhooks its preview listed. A setting made while the move ran, or a listed one that can no longer be rewritten, is left as it is and named in job.result.settings_left. Docs
  • Changed: The install script can check a release's proof with cosign alone, without jq. With only cosign, it reads the proof from the release's own files, and refuses releases before 0.0.126, which have none; with gh, it checks those as before. Docs

Core

  • Fixed: While an item is being moved to the bin or purged, a device refuses every write to it with item_being_removed, instead of letting some writes through. Docs
  • Fixed: A folder file whose item is being moved to the bin or purged is marked waiting and read again when that ends. The folder no longer fails the scan, unbinds the file or makes a second item, and a file renamed meanwhile stays bound to its item. Docs
  • Fixed: A file paused by the folder's addition limit stays paused while it is still being saved or can't be read, instead of being sent unconfirmed ten minutes later.
  • Fixed: Two apps opening the same store at the same moment no longer both open it read-only, so writes are not refused with reading_handle.

TypeScript SDK

  • Added: The client's types carry read_edges on an item create and on each bulk entry. Docs

Upgrading: This release opens the database of v0.0.127 in place with no migration, and v0.0.127 opens it again if you go back. Both releases write and restore the same backup version (6), and a device's working copy needs nothing.

Full changelog: v0.0.127...v0.0.128