From 00586f1ca067dbd84f34b891ac4b090c4eb470ab Mon Sep 17 00:00:00 2001 From: Shane Jordan Date: Mon, 20 Apr 2026 10:33:09 -0500 Subject: [PATCH] =?UTF-8?q?v1.7.3=20=E2=80=94=20TigerTag=20partial=20write?= =?UTF-8?q?s=20&=20WiFi=20keep-awake?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps FIRMWARE_VERSION from 1.7.2 → 1.7.3. CHANGELOG.md: - Adds [1.7.3] entry documenting #163 WiFi keep-awake, #165 case files, #164/#13 TigerTag partial writes, #159/#162 openprinttag rename. - Backfills missing [1.7.2] entry (Bambu MIFARE Classic reading, #24). - Backfills missing [1.7.1] entry (writer enrichment + bug fixes, #130/#101/#128/#151 and platform pin). --- CHANGELOG.md | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ platformio.ini | 2 +- 2 files changed, 52 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 644428e..7b097d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,56 @@ # Changelog +## [1.7.3] - 2026-04-20 + +### Added + +- **WiFi keep-awake toggle** — new config option disables ESP32 modem sleep so the scanner stays consistently reachable on the network, at the cost of slightly higher idle current. Defaults off. (#163) +- **`roomonthethird` case files** — community-contributed STEP/STL/F3D case models for the NFC reader, under `usermods/roomonthethird/`. (#165) + +### Improved + +- **TigerTag partial writes** — writes pre-read pages 4–13 and only send pages whose contents actually changed (grouped into contiguous runs). Full-rewrite fallback on any run failure preserves tag consistency. Reduces NFC transaction time and tag wear on field-level edits. (#13, #164) + +### Changed + +- **`sendSpoolDetectedMessage` renamed to `sendOpenPrintTagMessage`** — original name was misleading; the function only fires for OpenPrintTag detections. Internal rename, no user-facing behavior change. (#159, #162) + +--- + +## [1.7.2] - 2026-04-14 + +### Added + +- **Bambu Lab MIFARE Classic tag reading** — scanner authenticates to Bambu tags using HKDF-derived MIFARE Classic keys and decodes material, color, weight, remaining filament length, nozzle/bed temperature, and dry time. Published via MQTT `tag/state` and `/api/status`, and shown on the reader page alongside other tag formats. (#24) + +### Changed + +- Added `.superpowers` and `.DS_Store` to `.gitignore`. + +--- + +## [1.7.1] - 2026-04-13 + +### Added + +- **Pre-emptive spool link in writer flow** — when writing a tag after picking an existing Spoolman spool, the picker selection now links the spool's `nfc_id` to the written tag instead of the auto-sync creating a duplicate Spoolman entry. (#130) +- **Writer Read enrichment polling** — writer pages poll briefly after a tag read to let Spoolman enrichment complete before rendering, plus a format-detection grace period. Avoids partially-populated forms. (#101) + +### Fixed + +- Writer Read now restores all fields for a full round-trip (prior behavior left some fields blank). (#101) +- Clear stale fields and cancel prior enrichment timer when starting a new Read. +- Skip `remaining_g` in enrichment payloads when the value is 0 to avoid wiping valid weight. (#128) +- Default `initial_weight` to 1000g and derive `remaining` when Spoolman has no weight set. (#128) +- Firefox stale-cache `ReferenceError` on writer pages — shared CSS/JS cache now versioned via `FIRMWARE_VERSION`. (#151) +- Timestamp ordering in pending-link flow to prevent a write-vs-sync race condition. + +### Changed + +- **Pinned `espressif32@6.10.0`** in `platformio.ini` to prevent auto-upgrade to Arduino 3.x (breaking API changes in Arduino 3.x — e.g. `WiFiClient` includes, `esp_task_wdt_init` signature). + +--- + ## [1.7.0] - 2026-04-11 ### Added diff --git a/platformio.ini b/platformio.ini index bd96e74..aba8581 100644 --- a/platformio.ini +++ b/platformio.ini @@ -16,7 +16,7 @@ board_build.partitions = partitions.csv monitor_speed = 115200 monitor_filters = direct, printable build_flags = - -DFIRMWARE_VERSION=\"1.7.2\" + -DFIRMWARE_VERSION=\"1.7.3\" lib_deps = marcoschwartz/LiquidCrystal_I2C@^1.1.4 bblanchon/ArduinoJson@^7.0.0