Skip to content

BitChat v0.2.1

Choose a tag to compare

@github-actions github-actions released this 31 Oct 14:24
· 65 commits to main since this release

BitChat v0.2.1 — Production Hardening & Full Cross-Platform Parity

BitChat v0.2.1 delivers production hardening across all core subsystems: persistent device identity separation, self-connection elimination, rotating diagnostic file logging with credential redaction, structured lifecycle shutdown, and complete Windows & Linux cross-platform parity with a verified green CI matrix.

What's Changed in v0.2.1

Added

  • Device Identity & Self-Connection Prevention (M6):
    • Persistent Device Identity is decoupled from per-process Instance IDs and ephemeral Session IDs.
    • Two BitChat processes running concurrently on the same machine sharing a user profile recognize that they belong to the same hardware device.
    • Self-connection and self-discovery prevention implemented across BLE scanner, LAN discovery beacons, TCP transports, and Noise XX cryptographic handshakes.
    • Cross-process identity initialization protected by atomic inter-process file locks (msvcrt.locking on Windows, fcntl.flock on Linux).
  • Diagnostic Logging & Credential Redaction (M5):
    • Rotating file logging (bitchat.log, 10 MB per file, max 5 rolling backups).
    • Sensitive data filter automatically redacts 32-byte hex keys, secrets, session tokens, passwords, and Bearer authorization credentials from log messages, arguments, and exception tracebacks while preserving short peer IDs.
    • Automatic suppression of console stream logging in TUI mode to eliminate screen tearing and cursor corruption.
  • Comprehensive Regression & Boundary Test Suites:
    • Dynamic mesh routing, TTL enforcement, and rate-limiting suites (tests/mesh/).
    • 132-test tiered end-to-end regression and boundary suite (tests/e2e/).
    • Cryptographic adversarial challenges and nonce-replay verification (tests/crypto/).
    • Structured application lifecycle and adversarial stress suites (tests/stress/ & tests/unit/).

Changed

  • Transport Switch Identity Stability: Transport switching preserves the persistent device cryptographic identity across BLE and LAN transitions without generating duplicate peer identities.
  • Structured TUI Teardown: Application unmounting and exit actions cleanly cancel all active background tasks and Textual workers and gracefully stop network coordinators.
  • Narrowed Exception Boundaries: Broad exception suppressions in TUI screens and widgets were replaced with targeted handling and debug logging.

Fixed

  • TUI Initialization Race: Fixed NoMatches exception in on_input_changed when typing events arrive before the autocomplete palette finishes mounting.
  • CI / Build Workflow Parsing: Resolved YAML syntax error with unquoted colons in workflow step names that previously prevented CI jobs from executing.
  • Windows Clock Precision: Fixed clock-resolution sensitivity in fragment reassembly timeout tests.

Downloadable Release Assets

Asset Name Platform / Target Description
BitChat-0.2.1-windows-x64.exe Windows 10/11 (x64) Standalone Windows Setup Wizard 2.0 with branded installer, user-scope default, and silent mode
BitChat-0.2.1-windows-x64.exe.sha256 Checksum SHA-256 verification hash
bitchat_0.2.1_amd64.deb Debian / Ubuntu (x86_64) Native Debian package with desktop shortcut, terminal launcher, and dependency resolution
bitchat_0.2.1_amd64.deb.sha256 Checksum SHA-256 verification hash
BitChat-0.2.1-x86_64.AppImage Linux (Generic x86_64) Self-contained executable AppImage with zero system dependencies required
BitChat-0.2.1-x86_64.AppImage.sha256 Checksum SHA-256 verification hash
bitchat-0.2.1-py3-none-any.whl Python 3.12+ (Cross-platform) Standard pip / uv Python wheel package
bitchat-0.2.1.tar.gz Source Distribution Complete Python source distribution package
Java-Mx.BitChat.yaml Windows Package Manager Microsoft WinGet singleton manifest for winget install

Full Changelog: v0.2.0...v0.2.1