Files
RTLPlayground/CHANGELOG.md
T
Andre Brait 13801241ca fix: accept firmware uploads independent of part MIME type
Chrome on macOS labels .bin files application/macbinary. Searching for application/octet-stream mistakes the image bytes for more part headers and aborts when the preamble buffer fills.

Find the multipart header terminator instead, after the HTTP separator retained by handle_post. Keep authentication, CRC checks and staging limits unchanged. Cover MacBinary, an omitted part Content-Type, and a split header terminator with exact staged-byte checks.
2026-10-22 11:26:31 +02:00

2.1 KiB

Change Log

[0.x] - 2026-xx-XX

Added

  • Devices

    • Support the hongyavision HYWS-SGT0204S (PCB marking 2G5F4_10G2_V1.01), an RTL8372 based 4x2.5G + 2xSFP+ unmanaged switch with a 512 KB Bright Moon T25S40 flash. It is a sibling of the KP-9000-6XH-X2 (2M-PCB43-V1.1) with the two SFP+ cages wired the other way round (physical 5 is on SDS1, physical 6 on SDS0), no reset button fitted, wrong silkscreen labels on the serial header, LED_GLB_IO_EN bit 6 has to be set for the port LEDs to work, and the fitted T25S40 cannot be read in DIO mode on this board, so the target selects single-IO flash reads (flash_sio). New machine target MACHINE_2G5F4_10G2_V1_01, see doc/devices/2G5F4_10G2_V1.01.md.
  • Web UI

    • Compress the embedded assets (minify + gzip) and switch to a single-page layout. #315
    • Replace the multi-page UI with a themed single-page app: light, dark and Selenized themes following the browser by default, English, Japanese and Chinese, save to flash merges the command log into the startup config and verifies the write, firmware images are checked in the browser before upload. #429

Changed

Fixed

  • Web UI

    • Accept firmware uploads regardless of the file part's MIME type, including application/macbinary sent by Chrome on macOS for .bin files.
  • Config

    • A startup configuration line longer than the command buffer no longer stops the replay: the offending line is skipped and the following lines are still applied.
    • The web UI and the configuration upload now refuse a line the replay cannot take, instead of writing it to flash.

Breaking changes

  • Config
    • VLAN don't accept port u-suffix anymore. So vlan 1 4u is not valid anymore. Replace it with vlan 1 4.
  • Commands
    • port zero/0 is treated as the CPU_PORT. #326
    • Many commands don't accept the CPU_PORT anymore. See #334. When the CPU_PORT is needed, the command/service will add the CPU_PORT automaticly. Only isolate accept the CPU_PORT as destination port.

[v0.1_aplha] - 2025-11-03

First release.