Repository navigation
Harmony-NG v4.0.0 beta
Pre-release
Pre-release
Harmony-NG Release v4.0.0
Note: This is a pre-release e.g. beta. It requires a kernel flash which can soft-brick your device if interrupted by a power-cut. Consider performing it with the hub powered from a battery powered device (laptop) or power bank with ample charge and double checking connections.
Note 2: Do not try to factory reset after installing this beta as this will leave your hub in a state that is only recoverable over serial! Because of this issue the files of this beta were pulled. There wil be a new one shortly after we fix the issue in #396 and test the fix.
Features
- feat(irdb): pick the air conditioner states to import (7a105154)
- feat(bt): choose the HID pages each Bluetooth host gets (ddd76fe0)
- feat(hub): check kernel and rootfs sha before deploy (ec8b7ac3)
- feat(logging): add selectable logging levels and reduce log memory allocation (da920272)
- feat(remotes): add option to completely clear BLE and RF remote maps (ae181ece)
- feat(frontend): show normal RAM usage card in system dashboard (c2300c18)
- feat(webui): show ZRAM availability and usage in UI (3e012db8)
- feat(webui): drag to reorder buttons in the virtual remote editor (c937a1de)
- feat(webui): development build channels in the legacy UI, the build in the new UI (f95aeb50)
- feat(api): development channels in the update API and the command channel (acaece47)
- feat(rf): remote updates on a development channel (e4eec578)
- feat(update): follow a development channel in update.sh (3c9a618b)
- feat(ota): development keys and the update channel, decided in one place (149f6df1)
- feat(hub): update state in the hub object, pushed on every change (c7d3d99e)
- feat(hub): update_status action on the WebSocket and MQTT command channels (fca52c87)
- feat(webui): say when an update did not finish its kernel step (75071394)
- feat(remote): number pad page on the touch remotes, mapped per activity (roadmap 2.7) (7c0bdcf5)
- feat(app): the USB Wi-Fi adapter switch in the Android app (541ed2f5)
- feat(webui): the USB Wi-Fi adapter switch is back in the web UI and API (ed1a3ddb)
- feat(network): hand over to the built-in Wi-Fi when the USB adapter is unplugged (080ddb55)
- feat(kernel6): install tools, UI, docs and removal of 3.x USB-Ethernet code (7f97f6bd)
- feat(kernel6): Linux 6.18 kernel build and Hub runtime support (5a37f84d)
- feat(activities): a sequence step can hold its key (cdcef71d)
Bug Fixes
- fix(config): measure an imported section as the Hub stores it (4016bf1d)
- fix(tools): report a Hub whose SSH port never drops after reboot (ae47f878)
- fix(busybox): keep brctl enabled for Hub Pro 2400 Ethernet bridge (0fe82d68)
- fix(tools): wait for SSH to drop on reboot in root_hub_usb.py (1ea8b5d3)
- fix(irdb): one 413 for every save, import counts bytes, Raw keeps marks and spaces (fd241c65)
- fix(logging): battery reports at the default level (0c25b2df)
- fix(bt): only the served host's attempt puts the default records back; mouse release, drop log, test gaps (26613886)
- fix(irdb): AC picker limits the save, finds de-duplicated states; Hub refuses a devices.json over 1 MB (0bbd118c)
- fix(net): log each USB device looked at, keep storage interfaces out of the driver test (0bbfae5a)
- fix(logging): no line per key at Default for every remote type, safer level save (4c3ddade)
- fix(kernel6): stock-root on an up-to-date Hub, C-locale build stamp, honest reproducibility notes (f0b91f8b)
- fix(webui): Clear Map texts per UI and translation list order (cdb87917)
- fix(webui): drag in the remote editor, second review (dda9d894)
- fix(logging): level the lines that fill the log, one scale and one owner (ca15b327)
- fix(bt): keep the pages a host paired with, release keys as sent (f96d44f1)
- fix(irdb): save SmartIR files in pieces, decode every Broadlink padding (8c5c6c66)
- fix(net): detect a USB eth0 by bInterfaceClass, keep the Wi-Fi alias list (caa60a60)
- fix(hub): compare the Hub's partitions every run, keep the stock refusal (2e0029eb)
- fix(remotes): make Clear Map an edit of the draft, drop the clear routes (bb838efa)
- fix(ui): import t/escapeHtml in bt_pages_ui and build the host pages row there (9c17552b)
- fix(webui): drag in the remote editor, pointer rules from the review (c6dca2a7)
- fix(irdb): support SmartIR AC import and Broadlink Base64 decoding (48aa184d)
- fix(ci): restore dry-run step logs and add g_log_level test stubs (09529ea9)
- fix(net): detect USB Ethernet when USB Wi-Fi present (ea1c4543)
- fix(deploy): drop nonexistent hub_util sync from FLUSH_CMD (3793f3f9)
- fix(webui): avoid hard-coded string fallback in clear remote map toast (010a5def)
- fix(i18n): add memory and zram translation keys to frontend (f4e61a3b)
- fix(hub): address PR 335 third review findings (4c659284)
- fix(core): restore consolidated daemon supervisor, resolve PR335 review findings, and update tests (09ddb9d7)
- fix(deploy): a refused web UI upload leaves the Hub a web UI that loads (e79bbaea)
- fix(migrate): default dash and Enter keys only on the digits' device (17071935)
- fix(webui): the number pad select's default reads every command binding (9f97fefd)
- fix(tests): restore init supervisor layout for unit test slicing (96dbc6cf)
- fix(core): consolidate supervisors, suppress usbwifi in host mode, fix remote df check & rf slot state (98e8851c)
- fix(hub_btstack): use HCI_CHANNEL_USER for exclusive Bluetooth access (8b602575)
- fix(kernel6): eliminate Bluetooth BCSP UART corruption and guard init console (9c9fc94f)
- fix(device-studio): use manageDeviceSelect, not selectedIrDeviceId, in netSelectedDevice (dec5fd24)
- fix(tests): restore ps grep dropbear in init.sh for test runner stub (d63afd9e)
- fix(device setup): use selected transport for blaster edit (afd15f4a)
- fix(blaster assignment): align emitter masks and labels (a70a3c69)
- fix(device-studio): resolve selected device from the studio dropdown in netSelectedDevice (e3651ea2)
- fix(hub_daemon): a changed index.html drops every cached web UI file (7eb90077)
- fix(deploy): the restart wait ends on time and names a Hub that stopped answering (7612f7cf)
- fix(hub): a later start replaces the network monitor with one from the installed scripts (ead26c24)
- fix(activities): after Switched, the steps after a held step also move by how late it went out (1bc65078)
- fix(remote): one name for the dash key of the number pad (fb8c1a78)
- fix(migrate): number pad review: no pad button lost, slot 1, default keys (638d4a44)
- fix(remote): number pad second review: device choice, sync report, Prev Tab (4e81b9a8)
- fix(kernel6): count and remove the stock programs older releases copied into the data partition (671c16a0)
- fix(dev-ota): review nits: purge the channel record too, drop an unused parameter and a tooltip (2b8cd35f)
- fix(webui): template list shows a new template at once, names readable in the dark theme (723f301c)
- fix(migrate): import the stock number pad as the Number keys of each activity (bd7854f9)
- fix(remote): number pad review: stock key names, Off / Idle, switch and empty activity (3cccb19d)
- fix(activities): after Switched, the steps after a held step move with its release (6ffbf9d1)
- fix(webui): noWayBackText takes the translation function as "format" (1e84fc68)
- fix(webui): say there is no way back yet instead of "up to date" (1827008c)
- fix(auth): no shell error from hub_user.sh on a stable Hub (580cbe0d)
- fix(update): write the update state file with a rename (d2282416)
- fix(update): drop the one-shot marker when the channel's build is not older (0b8afe38)
- fix(update): the page of a branch channel is the build's commit, else the branch list (e3ac28c1)
- fix(update): push the same failure twice, with a per-apply update_run (7978fa96)
- fix(ci): remove closed pull request builds also when the nightly is skipped (12cde378)
- fix(ci): keep every pending publish of a development build (e8cd686d)
- fix(auth): hub_user.sh drops a development channel when authentication ends up off (e1fb169e)
- fix(mqtt): a development channel over MQTT needs a broker login (2fc6f288)
- fix(ci): the nightly is main's head only, and the plan runs for main only (b3402683)
- fix(update): say when a development build has no way back yet (2dfcb72f)
- fix(ci): look up the cache canary of every attempt of the run (d02c79f8)
- fix(rf): never send a remote image checked for another channel (d6977407)
- fix(update): report restarting for a repair of the running version (0b38993f)
- fix(activities): a held key is down for its whole hold, and Bluetooth is asked per command (5d6c161f)
- fix(update): record a failed update before removing its flag (b0ed7a5d)
- fix(update): never offer /data/resources in the room check refusal (056e7712)
- fix(network): hand-over failures logged once per kind, also both at once (5e57bed3)
- fix(wifi): a save takes the Wi-Fi lock, as a test and a forget do (bd206f30)
- fix(wifi): wifi_fallbacks stays valid UTF-8, forget takes the escaped form (e4a7dfd3)
- fix(webui): the "previous network is kept" hint only for a Hub that keeps it (30166a95)
- fix(wifi): the merge keeps the network the Hub is on, not the one of highest priority (c6b0c6d6)
- fix(network): no "ath0 again" in the hand-over without an ath0 (934de7e6)
- fix(wifi): a new network saved untested through the adapter is tagged 5 GHz (304c0516)
- fix(wifi): compare SSIDs with wpa_cli's text in its escaped form (e2ee0a13)
- fix(api): the forget route reads the SSID before freeing the request (c50e27d9)
- fix(orchestrator): a queued request leaves the queue only once its switch is busy (6e63608a)
- fix(update): name only what a user can remove when the room check refuses (ca9eb765)
- fix(update): check the room before the modular fallback installs (bd8fd96a)
- fix(update): leave the hub_util applet links alone instead of copying over them (eaa0ee02)
- fix(update): count the web UI room from file sizes, not du (4fae232b)
- fix(update): read df -P so a long device name does not skip the room checks (a1645061)
- fix(wifi): a forgotten network leaves the running wpa_supplicant without a reconnect (69cbe5d3)
- fix(network): the hand-over does not hinge on the name of ath9k's driver link (7ff250cd)
- fix(kernel6): modprobe -r also removes the needs nothing else uses (69d8389f)
- fix(wifi): sae_pwe for an SAE fallback, SSIDs to the last quote, a save that does not fit (583a60c2)
- fix(webui): a 401 after a Wi-Fi switch is not taken for "no answer" (5b25e0bd)
- fix(webui): the USB Wi-Fi adapter switch only for a Hub that reports it (44da8554)
- fix(wifi): "keep current password" takes the key of the network saved (2345b6c7)
- fix(network): the Wi-Fi hand-over is retried until ath9k is ath0 (6489b40f)
- fix(network): on a fallback Wi-Fi network, scan now and then to go back (5492d516)
- fix(wifi): no open network as a fallback, the fallbacks listed and forgettable (4fbe9894)
- fix(wifi): a network stored before the band tags keeps the 2.4 GHz slot (f155bf8f)
- fix(update): check the room on each partition before anything is written (2a72619b)
- fix(install): no "kernel not touched" on an incomplete kernel, a cut busybox.new at half (82d4b110)
- fix(rollback): a failed part of the restore wins over "written" (ea5e7fc9)
- fix(rollback): an earlier "restarting" does not outlive an unreachable Hub (96d5e991)
- fix(install): name the backup to keep, reuse it only while HarmonyNG is not back (0965fda7)
- fix(api): give network-status's ifconfig 1 s instead of waiting for it (16a3e145)
- fix(rollback): read the restore log with builtins, end "written" with a power cycle (735ec5e1)
- fix(install): a second run gets to the kernel write, refusals remove nothing (228d860d)
- fix(webui): "Check for Updates" also says when the kernel step did not finish (e6793368)
- fix(release): a promotion re-run writes the v4 pointer the first run missed (3b497310)
- fix(rollback): no endless wait after "written", pid without a boot id (fdfbffad)
- fix(install): "run this tool again" works, refusals before the stop (75dcf598)
- fix(firmware): address review on SSL cert order, bundled CA fallback, and tests (7de735cb)
- fix(remote): report a failed firmware query in setup_remote.py and the USB status (689ff7f9)
- fix(firmware): show the install-certs tip only for missing roots, name the query error (ed09efd4)
- fix(firmware): check-certs names the CA source, install-certs only when needed (038c7b0c)
- fix(firmware): keep the system CA store first, then certifi, then the bundled file (1749f1c9)
- fix(firmware): never install certificates from a query or download (2ad72f4a)
- fix(firmware): find the bundled CA file in the release bundles (34b3abe8)
- fix(update): a kill during the kernel write leaves the incomplete mark and restarts the services (50aaf1a2)
- fix(update): the kernel marks never end the shell, the retry mark names its version (b7df2b5a)
- fix(deploy): no --reboot while the Hub's kernel partition is incomplete (dc111955)
- fix(update): the room estimate follows install_file, so a retry is not refused (d3f9286d)
- fix(restore): refuse a Hub that does not answer uname -r (acbc4cee)
- fix(deploy): take the rescue BusyBox from tools/bin of a release bundle (a66b6b06)
- fix(release): a version typed as "v4.0.0" gives tag v4.0.0, not vv4.0.0 (21d665bd)
- fix(release): the OTA branch follows the major version, promotion included (b0c1cc17)
- fix(rollback): wait on the restore's pid, not on a log line (8993d967)
- fix(install): the kernel marks and flash-image's "nothing written" (03271456)
- fix(install): measure before removing anything and before the backup (64963930)
- fix(install): count the room on the stock BusyBox, rescue BusyBox after the first boot (fec27283)
- fix(webui): the v4 branches after the merge of main's update channels (d2dcd840)
- fix(hub): a hot restart keeps the network; --webui-only restarts nothing (ecdf72ef)
- fix(kernel6): smaller points of the self-review of the #308 fixes (3b982a3d)
- fix(update): safe_reboot.sh refuses while the kernel partition is incomplete (448896a1)
- fix(update): a staged system image copy does not outlive a cut update (d6ad668a)
- fix(update): with the system image staged, check that the package still fits (e57d9ff7)
- fix(update): an incomplete kernel stays incomplete, the retry mark survives a restart (b9432701)
- fix(firmware): add SSL certificate check, install, and fallback for Logitech SUS (c431a652)
- fix(hold): the review of the step holds (0ec5bef1)
- fix(update): leftovers of a cut update, the retry mark and the USB storage reboot (1a5372b4)
- fix(kernel6): the fallback boot keeps the serial console (efadfa68)
- fix(flash-image): exit code 3 when nothing was written (66b29b3b)
- fix(update): fetch and check the system image before the install (ce0d695d)
- fix(update): the incomplete-kernel mark lets only the same version run again (d5388254)
- fix(update): a kernel left incomplete blocks every route that reboots (8ce5d7a8)
- fix(kernel6): address the third #308 review (ada34b0d)
- fix(tests): the "not found" usb_storage guard uses a disk no host has (de4764d1)
- fix(kernel6): frames of an unhandled protocol are not RX drops (08278d51)
- fix(kernel6): address the second #309 review (aeb032de)
- fix(kernel6): address the second #308 review (5f38a2cb)
- fix(usb-eth): a USB Wi-Fi adapter is not a USB Ethernet adapter (2e07bae4)
- fix(kernel6): address the #309 review and the stock-to-6.18 test run (eb6dbab7)
- fix(kernel6): address the #308 review (fea784f4)
- fix(kernel6): USB device mode with streaming on the AR933x (167384a1)
- fix(webui): a Wi-Fi switch without an answer is not reported as failed (f98a3c30)
- fix(wifi): keep the previous network as a fallback, always one 2.4 GHz (bc5bddc5)
- fix(activities): Test Live takes a hold given as a string (6d6a1f01)
- fix(tests): end the init.sh SSH block at section 5 (45f38cb6)
- fix(tests): make the modprobe and status tests independent of the CI host (ca5f49fe)
- fix(webui): Test Live sends the steps as JSON and waits for the whole sequence (e8122b48)
- fix(webui): save device power sequences as JSON (2992acb6)
Performance Improvements
- perf(core): reduce CPU/RAM overhead in init, network loops and busybox build (dfdd3c0d)
- perf(kernel6): reduce memory footprint and prune obsolete tools (c1f744be)
Documentation
- docs(readme): address PR 341 second review findings (619b1bc0)
- docs(readme): address PR 341 review findings (81261858)
- docs(ui-inventory): split 16.02, a rule for rows with several parts (37242082)
- docs(ui-inventory): address the review of #352 (b6598de4)
- docs: add legacy UI inventory as the phase 5 parity checklist (f41d20f9)
- docs(hub): describe the partition comparison and the /cache wipe in install_kernel6.py (1bb68f89)
- docs: refine README details for storage offload, BT, and plugins (c8b1cef3)
- docs: update README for 4.0.0, Linux 6.18 LTS, and PR 335 improvements (bb95565e)
- docs(roadmap): phase 5 after discussion #314 (813086ee)
- docs: app design draft for roadmap phase 5 (394582c5)
- docs(migrate): keep the Root map entry in the stock import list (38a8976d)
- docs: write the project name as Harmony-NG everywhere (f8f25ca9)
- docs(ha): the update_channel action over MQTT needs a broker login for development channels (81bc5826)
- docs(openapi): the auth_required refusal of update check and apply, ota_sent and ota_available (7e62d581)
- docs(dev-ota): the deploy key can push only ota-dev (dcd2c851)
- docs: development builds over OTA (roadmap 6.14) (d7429761)
- docs(network): forget keeps the link up, the escaped names, the 409 of a save (3a2f8449)
- docs(network): the kept fallback networks, keep_password, the adapter fields (26001545)
- docs(kernel6): when the install tool measures, and what a second run keeps (0a211117)
- docs(kernel6): the room estimate and a second run of the install tool (961a29c2)
- docs(firmware): the CA sources and the check-certs and install-certs commands (2445da3a)
- docs(kernel6): install_kernel6.py after rooting, the rescue BusyBox, 32 MB Hubs (1b8dcea8)
- docs(kernel6): ramoops at 30 MB checked against U-Boot of both Hubs (c65d48a7)
Refactoring
- refactor(rf): drop the CC2544 flash fallback and cc2544.bin (f473e128)
- refactor(kernel6): remove /dev/rffw from the CC2544 driver (58fae45b)
- refactor(hold): one timed hold for MQTT, sequence steps and Test Live (a2a3b76d)
Maintenance & Tooling
- test(config): sizes that pass the limit: command-save and /import store a code once (f69e9623)
- chore(i18n): list the log level keys next to the log keys, not at the end (d6796f58)
- build(kernel6): fixed time stamps in the kernel and root images (5002380d)
- test(device-studio): cover the studio dropdown in netSelectedDevice; drop the fallback (ef66d791)
- test(orch): the lateness check plans 100 ms late and waits 1500 ms too (73d89762)
- test(hub): the suite comment says a restart replaces the network monitor (7a17e846)
- test(remote): Ha3 from the devices goes to the number pad first, as Prev Tab (74ce3eca)
- test(update): check the state file rename by holding the old file open (f3678165)
- test(dev-ota): an older build than x.0.0 in the offer rule test (8f307981)
- ci: nightly, pull request and branch builds signed with a development key (294bf044)
- build(themes): vendor the fonts and icons the remote themes use (ac83db1d)
- test(rf): wait until hub_rf handled each radio packet instead of sleeping (410af0c8)
- test(usb-wifi): kill the applet's helpers too and wait for the lock (7ddd8ee2)
- test(wifi): wait for the wpa_cli log line of a forget (aa4872bb)
- build(busybox): pin the date in the banner so a rebuild gives the same binary (a8e56fa9)
- test(update): check the incomplete mark during the write and the lock during a killed write (0b24d918)
- test(remote): the setup_remote firmware fallback test fakes the query with record_error (2b46a646)
- test(firmware): run the certificate tests in CI and fail when verification is off (5cfbddf2)
- test(update): pin safe_reboot's refusal code and the wait before a restart (b4401398)
- test(flash-image): checks for each "nothing written" path (b65ab10b)
- test(orchestrator): wait for the WebSocket snapshot before starting activity 18 (008e6647)
Other Changes
- revert(frontend): remove frontend changes, keep legacy UI only (3c83de04)
- Update Ubuntu version for build-kernel6 job (15fe4f25)
- style(update): wrap two comment lines of the system image steps (dfe6a33d)
Full Changelog: v3.1.2...v4.0.0