Skip to content

Clipd 0.4.0

Choose a tag to compare

@hengkysandy hengkysandy released this 15 Aug 16:48
· 9 commits to main since this release

Install this on the second Mac

0.3.0 has a sync bug that makes two Macs disagree permanently about a folded duplicate. Both Macs need 0.4.0.

Gatekeeper will refuse to open it on another Mac, because a free Apple account cannot notarise:

xattr -dr com.apple.quarantine /Applications/Clipd.app

Copied code keeps its formatting

Swift, JavaScript, TypeScript, Python, JSON, YAML, Markdown, Shell, SQL, HTML, CSS, Go and Rust keep their line breaks and indentation on the card, in a monospaced font with syntax colours. The card header names the language. Detection is deliberately conservative, so an ordinary email stays plain text.

Sync fixes, all found by a new two device test

  • A tombstone that tied on time was silently dropped, so one Mac showed a duplicate folded away and the other kept showing both, forever.
  • Two tied tombstones planned a download of an already deleted item, on every pass.
  • A dedup fold never travelled to the other Mac, which could then expire an item this Mac had just refreshed.
  • One object written by a newer Clipd would have aborted the whole sync pass. It now skips that object and finishes.

Also

  • Payload format v2 with an explicit version header. Still reads the two older formats, so a 0.3.0 Mac and a 0.4.0 Mac can still exchange items.
  • No more implicitly unwrapped optionals in the app delegate, which is what crashed the app on launch in 0.3.0.

143 Core tests, 94 shell tests.