github ilyakruchinin/SomnoTrace v1.0.0

4 hours ago

Release Notes / Changelog (v1.0.0 — commit b32babd)

First release after source code made publicly available

🐛 Bug Fixes & Stability

  • Fixed Startup Recovery Bootloop (#118):

    • Resolved a stack canary watchpoint panic (Stack canary watchpoint triggered (main)) that occurred when recovering unfinalized/interrupted sessions on boot.
    • Consolidated recovery paths, scan structures (snt_scan_t), and checkpoints into a single recover_ctx_t allocated dynamically in PSRAM, reducing the main task stack frame requirement from >2.5 KB to under 30 bytes.
    • Migrated line and JSON buffers in drift_from_events() and manifest_is_final() to PSRAM-priority allocation (psram_or_heap_malloc).
    • Reduced stack path buffer sizes in pending_export_mark().
  • Increased Main Task Stack Headroom:

    • Increased CONFIG_ESP_MAIN_TASK_STACK_SIZE from 6 KB (6144) to 10 KB (10240) in sdkconfig.defaults to provide safe headroom for ESP-IDF startup, FatFS/VFS filesystem operations, and SDMMC transaction handling.
  • Fixed Spool Collector Status Truncation:

    • Expanded spool_collector_t.status buffer in as11_ble.c from 32 to 48 bytes so that the 32-character SPOOL_COMPLETE_MORE_DATA_PENDING status fits with its null terminator, fixing multi-round spool status parsing and eliminating compiler string comparison warnings.

Don't miss a new SomnoTrace release

NewReleases is sending notifications on new releases.