Skip to content

v1.0.3

Choose a tag to compare

@LEKPCSTEAM LEKPCSTEAM released this 25 Dec 10:55
· 6 commits to main since this release
ca61994

Release Notes - ESP32-OTA-Client v1.0.3

🆕 New Features

Force Update Support

  • Added force field in server JSON response to trigger mandatory updates

  • When , the device will update regardless of version comparison

    force: true
    
  • Useful for critical security patches or hotfixes

Force Update Loop Prevention (EEPROM-based)

  • Problem: When  is enabled, ESP32 would continuously reboot and update in a loop

    force: true
    
  • Solution: Store firmware filename in EEPROM after successful update

  • Before force update, compare new firmware filename with stored one

  • If filename matches (e.g., ) → skip update

    firmware-v1.0.1-1766657621922.bin
    

📋 New API Methods

Method Description
getUpdateInfo() Get cached update info including force flag
getLastInstalledFilename() Get the last installed firmware filename from EEPROM
clearFirmwareRecord() Clear EEPROM record to allow force update again