Overview
This release adds fixes and improvements, and more examples.
Important Changes
- Added client side built-in support for TLS 1.3
- Improved built-in TCP/IP stack receiver throughput
- Improved TLS handling
- Added support for Renesas CC-RH compiler
- Added support for Renesas RA6M4, NXP MIMX RT1170, and Infineon XMC4 and XMC7
- Added support for DP83867 GbE PHY
- Introduced event
MG_EV_HTTP_HDRS
, triggered when HTTP headers have been received - Deprecated
mg_http_match_uri()
, usemg_match()
instead - Deprecated
mg_ncasecmp()
,mg_vcmp()
, andmg_vcasecmp()
, usemg_strcmp()
and the added functionmg_strcasecmp()
instead - Deprecated
mg_strstr()
- Deprecated
mg_strdup()
, useb.buf = mg_mprintf("%.*s", a.len, a.buf); b.len = a.len;
instead - Deprecated
mg_hex()
, usemg_print_hex
and the '%M' specifier with one of the print functions instead - Deprecated
mg_unhex()
, andmg_unhexn()
, use the newly added functionmg_str_to_num()
instead - Removed architecture auto-detection for embedded types, must manually define
MG_ARCH
- Renamed
mongoose_custom.h
tomongoose_config.h
- Renamed
struct mg_str::ptr
tostruct mg_str::buf
Minor changes
- Enhanced HTTP upload example to write the uploaded file. Also added a full fledged file transfer server and client example.
- Added support for ESP32 IDF OTA firmware updates
- Updated support for the latest version of the Zephyr project
- Moved non-embedded examples to a tutorials code section. Added a new section with reference projects
- Added API support for application handling of MQTT pub retries
- Deprecated
mg_lower()
andmg_globmatch()
, both internal, undocumented functions - Improved test coverage