Browse Source

Updated CHANGELOG

maziggy 5 tháng trước cách đây
mục cha
commit
9bade1c0e7
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      CHANGELOG.md

+ 1 - 0
CHANGELOG.md

@@ -38,6 +38,7 @@ All notable changes to Bambuddy will be documented in this file.
 - **Sidebar Bottom Icons Cut Off With Smart Plugs** ([#862](https://github.com/maziggy/bambuddy/issues/862)) — Adding smart plug buttons to the sidebar caused the bottom icon row to overflow and get partially cut off. The footer section could be compressed by the flexbox layout when the navigation area grew. Fixed by preventing the footer from shrinking, allowing the expanded icon row to wrap, and adding scroll overflow to the collapsed sidebar icon stack.
 - **AMS History Cleanup Crash Every ~24 Hours** — The periodic cleanup of old AMS sensor history entries failed with "can't compare offset-naive and offset-aware datetimes". The cleanup cutoff used `datetime.now(timezone.utc)` (timezone-aware) but the `recorded_at` column stores naive datetimes via SQLite's `func.now()`. The mismatch caused a TypeError when SQLAlchemy processed the comparison. Fixed by using a naive UTC datetime for the cutoff. The error only appeared once per ~24h because the cleanup runs every 288 recording cycles (288 × 5 min = 24h).
 - **SpoolBuddy Status Bar Not Updating on Printer Switch** — The bottom status bar on SpoolBuddy kiosk pages showed stale warnings (e.g. low filament) from the previously selected printer after switching to a different printer via the dropdown or swipe gesture. Two issues: (1) the AMS data cache was a single ref shared across all printers, so switching to a printer whose status hadn't loaded yet fell back to the previous printer's cached AMS data; (2) the Layout's alert useEffect unconditionally cleared alerts to null when the device was online, which could overwrite printer-specific alerts set by child pages. Fixed by keying the AMS cache per printer ID and tracking Layout-owned alerts separately so child page alerts aren't clobbered.
+- **Fix WebSocket crash on printers without fun field (#873)** - Race condition: dev mode probe released GIL between raw_data overwrite and vt_tray list restoration, letting event loop iterate dict keys as strings. Affects A1, P1, X1Plus. Fixed by normalizing vt_tray dict→listbefore assignment and restoring preserved fields before the probe.
 
 ## [0.2.2.2] - 2026-03-27