Files
eugene-admin 4100931deb - websocket client on ESP32
- telemetry protocol builder
- server-side message handling
- database migrations
- telemetry persistence
2026-04-14 16:09:18 +03:00

25 KiB

Changelog

1.6.1

Bug Fixes

  • Fix race conditions, memory leak, and data loss (23ca97d5)
    • Add state check in abort_connection to prevent double-close
    • Fix memory leak: free errormsg_buffer on disconnect
    • Reset connection state on reconnect to prevent stale data
    • Implement lock ordering for separate TX lock mode
    • Read buffered data immediately after connection to prevent data loss
    • Added sdkconfig.ci.tx_lock config

1.6.0

Features

  • add WEBSOCKET_EVENT_HEADER_RECEIVED (#827) (18f0d028, #715)
  • enhance example with docs, pytest setup, and standalone test server - Add comprehensive README with TOC and quick start - Add pytest setup and certificate generation scripts - Add standalone WebSocket test server with TLS support - Add troubleshooting and multiple testing approaches (cad527d2)
  • Add websocket HTTP redirect (ce1560ac)

Bug Fixes

  • remove redundant timeout check in client task loop (1e83bee4)
  • fix PING timing - enable periodic PING during active traffic (7f424325)
  • Update linux build docs on required libs (e52a5757)
  • clean up component dependencies - Remove unused 'json', 'nvs_flash', 'esp_stubs', dependency from Linux build configuration - Add cJSON dependency to target example's idf_component.yml (d665e6f1)
  • fix relying on asprintf() to NULL strp on failure (54eb0027)
  • Update Remaining Websocket Echo Server (#893) (18faeb3d)
  • avoid long stopping time when waiting to auto-reconnect (2432e41d)
  • Update Websocket Echo Server (94bd5b07)

Updated

  • ci(common): Update test component dir for IDFv6.0 (18418c83)

1.5.0

Features

  • add separate tx lock for send and receive (250eebf)
  • add unregister event to websocket client (ce16050)
  • add ability to reconnect after close (19891d8)

Bug Fixes

  • release client-lock during WEBSOCKET_EVENT_DATA (030cb75)

1.4.0

Features

  • Support DS peripheral for mutual TLS (55385ec3)

Bug Fixes

Updated

  • chore(websocket): align structure members (beb6e57e)
  • chore(websocket): remove unused client variable (15d3a01e)

1.3.0

Features

  • add events for begin/end thread (d7fa24bc)
  • Make example to use certificate bundle (aecf6f80)
  • propagate esp_tls stack error and cert verify flags (234f579b)
  • Add option to set and use cert_common_name in Websocket client (3a6720de)
  • adding support for if_name when using WSS transport (333a6893)
  • allow updating reconnect timeout for retry backoffs (bd9f0627)
  • allow using external tcp transport handle (83ea2876)
  • adding support for keep_alive_enable when using WSS transport (c728eae5)

Bug Fixes

  • Prevent crash on network disconnect during send (a453ca1f)
  • use proper interface to delete semaphore (991ac40d)
  • Move client to different state when disconnecting (0d8f2a6d)
  • fix of websocket host example (5ccc018a)
  • don't get transport from the list if external transport is used (9d4d5d2d)
  • Fix locking issues of esp_websocket_client_send_with_exact_opcode API (6393fcd7)

1.2.3

Features

  • Expanded example to demonstrate the transfer over TLS (0d0630ed76)

Bug Fixes

  • fix esp_event dependency management (1fb02a9a60)
  • Skip warn on zero timeout and auto reconnect is disabled (5b467cbf5c)
  • Fixed to use int return value in Tx functions (9c54b72e1f)
  • Fixed Tx functions with DYNAMIC_BUFFER (16174470ee)
  • added dependency checks, sdkconfig.defaults and refined README.md (312982e4aa)
  • Close websocket and dispatch event if server does not close within a reasonable amount of time. (d85311880d)
  • Continue waiting for TCP connection to be closed (2b092e0db4)

Updated

  • docs(websocket): Added README for websocket host example (2f7c58259d)

1.2.2

Bug Fixes

  • continuation after FIN in websocket client (#460) (774d1c75e6)
  • Re-applie refs to common comps idf_component.yml (9fe44a4504)

1.2.1

Bug Fixes

  • consider failure if return value of esp_websocket_client_send_with_exact_opcode less than 0 (f523b4d)
  • fix of return value for esp_websocket_client_send_with_opcode API (ba33588)

1.2.0

Features

  • Added new API esp_websocket_client_append_header (39e9725)
  • Added new APIs to support fragmented messages transmission (fae80e2)

Bug Fixes

  • Reference common component from IDF (74fc228)
  • Revert referencing protocol_examples_common from IDF (b176d3a)
  • reference protocol_examples_common from IDF (025ede1)
  • specify override_path in example manifests (d5e7898)
  • Return status code correctly on esp_websocket_client_send_with_opcode (ac8f1de)
  • Fix pytest exclusion, gitignore, and changelog checks (2696221)

1.1.0

Features

  • Added linux port for websocket (a22391a)

Bug Fixes

  • added idf_component.yml for examples (d273e10)

1.0.1

Bug Fixes

  • esp_websocket_client client allow sending 0 byte packets (b5177cb)
  • Cleaned up printf/format warnings (-Wno-format) (e085826)
  • Added unit tests to CI + minor fix to pass it (c974c14)
  • Reintroduce missing CHANGELOGs (200cbb3, #235)

Updated

  • docs(common): updated component and example links (f48d9b2)
  • docs(common): improving documentation (ca3fce0)
  • Fix weird error message spacings (8bb207e)

1.0.0

Updated

  • esp_websocket_client: Updated version to 1.0.0 Updated tests to run agains release-v5.0 (996fef7)
  • esp_websocket_client: * Error handling improved to show status code from server * Added new API esp_websocket_client_set_headers * Dispatches 'WEBSOCKET_EVENT_BEFORE_CONNECT' event before tcp connection (d047ff5)
  • unite all tags under common structure py test: update tags under common structure (c6db3ea)
  • websocket: Support HTTP basic authorization (1b13448)
  • Add task_name config option (1d68884)
  • Add websocket error messages (d68624e)
  • websocket: Added new API esp_websocket_client_destroy_on_exit (f9b4790)
  • Added badges with version of components to the respective README files (e4c8a59)

0.0.4

Updated

  • websocket: make esp_websocket_client_send_with_opcode a public API (3330b96)
  • websocket: updated example to use local websocket echo server (55dc564)
  • CI: Created a common requirements.txt (23a537b)
  • Examples: using pytest.ini from top level directory (aee016d)
  • CI: fixing the files to be complient with pre-commit hooks (945bd17)
  • websocket: updated example to show json data transfer (3456781)

0.0.3

Updated

  • esp_websocket_client: Upgraded version to 0.0.3 (5c245db)
  • CI: Fix build issues (6e4e4fa)

0.0.2

Features

  • Optimize memory size for websocket client init (4cefcd3)
  • allow users to attach CA bundle (d56b5d9)

Bug Fixes

  • Docs to refer esp-protocols (91a177e)

Updated

  • Bump asio/mdns/esp_websocket_client versions (57afa38)
  • ignore format warnings (d66f9dc)
  • Minor fixes here and there (8fe2a3a)
  • CI: Added CI example run job (76298ff)
  • Implement websocket client connect error (9e37f53)
  • Add methods to allow get/set of websocket client ping interval (e55f54b)
  • esp_websocket_client: Expose frame fin flag in websocket event (b72a9ae)

0.0.1

Updated