Skip to content

Kamune v0.3.0

Choose a tag to compare

@hossein1376 hossein1376 released this 31 May 21:04
v0.3.0
06b191d

Core Library

  • Custom transport seam (Listener, DialWithFunc, DialWithTCP, DialWithUDP).
  • Remove Transport.Store(); inject *storage.Storage into NewServer/NewDialer.
  • ErrReceiveTimeout sentinel — receive loops retry on timeout instead of closing.
  • App version check during introduction phase (ErrVersionMismatch).
  • HPKE encryption in introduction and handshake.
  • Add Channel type in pkg/exchange; encryptedConn abstraction.
  • Move store to internal/, expose only pkg/storage.
  • Refactor storage API; add query functions.
  • fingerprint.Sum (SHA-256); migrate from golang.org/x/crypto/sha3 to stdlib crypto/sha3.
  • Protect Conn with mutex; simplify Option type; improve dial/serve/resume error messages.
  • KAMUNE_DB_PASSPHRASE and KAMUNE_DB_PATH env vars; getDefaultDBDir().
  • Remove dead code (connType, ML-DSA, incomplete Session/Double Ratchet).
  • Fix db handle leak on cipher error; fix ECDH private key marshalling.
  • Improve error messages and update dependencies.

Relay

  • First release with all planned features.
  • Extract shared pkg/relayconn for reuse across clients.
  • Fix WebSocket handler identity, hub management, and key encoding.

Bus

  • Fyne → Wails + Svelte rewrite.
  • Add relay transport UI and inline DB editing.
  • Fix race conditions, duplicate Wails events, and 3 keyboard shortcut bugs.
  • Receive loops retry on read timeout.
  • Cross-platform build script with ldflags version injection.
  • Add history tab; improve design and aesthetics.

TUI

  • Move to cmd/tui/.
  • Relay-dial and relay-serve commands.
  • Receive loops retry on read timeout.

Daemon

  • Split into smaller files; adapt to new core API.
  • Storage caching; receive loop retries on timeout.

Documentation & Project Structure

  • Add AGENTS.md with project conventions.
  • Add SPEC.md with protocol definition and SVG flow illustrations.

Testing & Quality

  • Comprehensive storage tests (timestamps, session index, expiry, batch deletes).

Miscellaneous

  • Regenerate protobuf bindings (protoc v6.33.4)
  • Add Route field to SignedTransport.
  • Add assets/logo.png.
  • Update README.