Skip to content

v0.3.0

Latest

Choose a tag to compare

@oth-body oth-body released this 16 Sep 01:58
· 28 commits to master since this release

What's new

Eight PRs landed since v0.2.0. The big one: the NIP-46 QR login (the "Scan with Amber" screen) was completely broken — selecting "Scan QR" produced a stuck "Generating…" screen and a refusable connect. That's now fixed end-to-end.

A separate code review pass found and fixed 11 more bugs (shadowed cache var, broken DM decryption, wrong NIP-89 kinds, unbounded cursors, swallowed errors, context leaks). Full list in CHANGELOG.md.

NIP-46 QR login (#65–#70)

  • Visible, scannable QR code (was being rendered as 80 lines of vertical bars due to wrong half-block chars)
  • Live spinner while waiting on initQR; stale "Generating…" banner cleared
  • Title, QR, "Waiting for connection…", and "Press Esc…" all sit in one centered column
  • Connects to all configured relays instead of just relays[0]; serial relay dial happens before the QR is shown
  • Polling loop retries every ~4s — no more silently-stuck screens

Bug fixes (#71)

  • eventCache shadowed by := — caching is no longer silently broken
  • nip04.Decrypt called with raw private key in getDMs — DMs screen now works
  • Text input gated on cursor == 50 || cursor == 100 — added 51 (nsec) and 200 (unlock profile) so you can actually type
  • NIP-89 kind:pubkey:d tag format and kind 31990 (was kind 1984 reports by mistake)
  • Bounds check on tag[1] — no more panic risk on malformed relay events
  • withLoading errors actually captured
  • defer cancel() inside for _, r := range s.relays no longer leaks N-1 contexts per publish
  • Home cursor bounded
  • publishToAllRelays no longer fails when 1 of N relays rejects
  • publishPostTUI checks GetPublicKey/Sign errors

Infrastructure

  • Version, commit, date are now var so goreleaser's ldflags inject them at build time
  • hoot -version shows hoot 0.3.0 (commit abc1234, built 2026-09-14)

Install

# macOS (intel + Apple Silicon) and Linux
tar -xzf hoot_v0.3.0_darwin_arm64.tar.gz     # or darwin_amd64 / linux_amd64 / linux_arm64
sudo mv hoot /usr/local/bin/

# Windows: unzip hoot_v0.3.0_windows_amd64.zip (or windows_arm64) and move hoot.exe into your PATH

Verify

hoot -version
# hoot 0.3.0 (commit 31929117a86c27f52c84, built 2026-09-15)