Skip to content

v1.0.2

Choose a tag to compare

@LEKPCSTEAM LEKPCSTEAM released this 18 Dec 07:01
· 8 commits to main since this release
0391077

Release v1.0.2

New Features

HTTP Redirect Support

  • Automatically follows HTTP redirects (301, 302, 307, 308)
  • Maximum 5 redirect hops to prevent infinite loops
  • Fixes "Download failed: 307" errors

HTTPS Support

  • Added WiFiClientSecure for secure downloads
  • Supports both HTTP and HTTPS firmware URLs
  • Certificate validation disabled for compatibility

Technical Changes

  • Added followRedirects() method to handle redirect responses
  • Updated hasUpdate() to follow redirects when checking server
  • Updated doUpdate() to support HTTPS and redirects
  • Bumped version from 1.0.1 to 1.0.2

Bug Fixes

  • Fixed OTA download failures when server returns redirect responses
  • Resolved HTTP 307 Temporary Redirect errors

Compatibility

  • Fully backward compatible
  • No breaking changes
  • Works with existing code without modifications