Skip to content

EspFsWebserver 3.3.0

Choose a tag to compare

@cotestatnt cotestatnt released this 28 Apr 09:42
· 6 commits to master since this release

esp-fs-webserver 3.3.0

This release improves /setup behavior, legacy storage migration, and WiFi event handling across ESP32 and ESP8266.

It also completes the transition to the shared built-in page source repository for /setup and /edit, which is now the canonical source for the embedded web UI used by the sync library.

Highlights

  • Added automatic migration from legacy /config storage to /setup
  • Added WiFi connection and disconnection callbacks for ESP32 and ESP8266
  • Improved /setup route handling and asset resolution
  • Moved built-in /setup and /edit page development to the shared source repository
  • Aligned the sync library with the shared WebSocket-based /setup frontend

Shared Built-In Pages

The built-in /setup and /edit pages are now maintained from the shared source repository:

This repository is now the canonical source for the embedded frontend assets used by the library.
The sync library consumes the generated outputs from that shared project instead of maintaining separate duplicated page sources.

The shared /setup frontend now uses a WebSocket-based interaction model, and the sync backend has been aligned to support the same shared frontend source and behavior where applicable.

What's New

  • New automatic migration logic detects legacy /config/config.json, moves setup assets to /setup, rewrites asset paths in the configuration, logs the migration, and restarts the device to apply changes
  • New WiFi connection callback support is now available in the sync library both for ESP32 and ESP8266
  • The sync backend has been aligned with the shared setup asset structure and shared frontend outputs
  • The built-in frontend architecture is now aligned with the shared /setup and /edit source project

Fixes

  • Fixed setup asset handling after the move from legacy /config storage to canonical /setup
  • Fixed mismatches between setup storage folder expectations and requested frontend asset paths
  • Synchronized WiFi callback support with the async library

Compatibility Notes

  • This version keeps backward compatibility in mind, but it also introduces new behavior around setup storage
  • Devices still using legacy /config setup storage will be migrated automatically on boot
  • WiFi callback signatures remain platform-native:
    • ESP32 uses WiFiEvent_t and WiFiEventInfo_t
    • ESP8266 uses WiFiEventStationModeGotIP and WiFiEventStationModeDisconnected

Full Summary

esp-fs-webserver 3.3.0 improves reliability around setup asset serving, legacy storage migration, and WiFi event handling. It also formalizes the new shared frontend workflow, where /setup and /edit built-in pages come from a dedicated shared source repository, with the sync library aligned to the same generated frontend assets and setup behavior as the async library.

Full Changelog: 3.2.3...3.3.0