Skip to content

Update Rust crate esp-idf-svc to 0.52.0#35

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/esp-idf-svc-0.x
Open

Update Rust crate esp-idf-svc to 0.52.0#35
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/esp-idf-svc-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 9, 2026

This PR contains the following updates:

Package Type Update Change
esp-idf-svc dependencies minor 0.51.00.52.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

esp-rs/esp-idf-svc (esp-idf-svc)

v0.52.1

Fixed
  • Fix several compilation issues with esp32p4 and esp32h2

v0.52.0

Breaking
  • Added custom server certificate to http::client::Configuration
  • BT: BtDriver::set_device_name deprecated and not available with ESP-IDF 6.0+. Use the new EspGap::set_device_name instead
    or the existing EspBleGap::set_device_name
  • BT: BleGapEvent::ScanResult is now a struct instead of a wrapper around esp_ble_gap_cb_param_t_ble_scan_result_evt_param
  • Implement MQTT outbox limit and get_outbox_size()
  • Added argument subprotocol_list to ws_handler to allow subprotocols to be supported by WebSockets
  • Thread enhancements (#​592). Specifically:
  • Thread SRP (Thread-specific mDNS) is now supported and has a new API so that the user can register/unregister SRP services
  • Option to start/stop the Thread stack (methods Thread::start / Thread::stop in place of the previous Thread::run)
  • Several callbacks where actually unsound, as they were not Send + 'static. Now fixed
  • Simplifications:
  • Thread::init and Thread::deinit are now gone
  • No option to swap the Thread Netif with a custom one, as it complicates the implementation, and I don't see the use-case (unlike with Wifi)
  • Compatibility with ESP-IDF 5.1.6+, 5.2.4+, 5.3.2+ and 5.4+ in that the new DatasetChanged event is properly handled and does not cause the event code to panic
  • MSRV raised to 1.82
  • NVS: Removed NvsDataType::Any and replaced From<nvs_type_t> with NvsDataType:from_nvs_type
  • (#​529) Peripheral and PeripheralRef removed and replaced with a simple pattern similar to the esp-hal one.
  • HTTP: added task_caps option into server Configuration
  • Update heapless dependency
Fixed
  • WifiDriver::get_ap_info not takes &self instead of &mut self. Convenience method EspWifi::get_ap_info that delegates
    to WifiDriver::get_ap_info
  • BT: Fix BLE not working on the s3 and with ESP-IDF 5.3+
  • BT: Fix bt_gatt_server example not allowing reconnect after client connect (#​553) and handle sububscribe/unsubscribe to indications
  • BT: Fix EspBleGap::set_security_conf not setting auth_req_mode, and returning ESP_ERR_INVALID_ARG when setting key sizes
  • Fix wrong conversion from ScanType to u32 in Wi-Fi configuration
  • Fix wrong BT configuration version on the c6 (issue #​556)
  • Fix inconsistent mutability in NVS (#​567)
  • Fix #​570 (c_char vs i8 mismatch on newer rustc toolchains)
  • ESP-IDF partitions support is no longer behind the experimental feature
  • Filesystems support is no longer behind the experimental feature
  • Bluetooth support is no longer behind the experimental feature
  • Thread support is no longer behind the experimental feature
  • MQTT: Fix a crash when the LWT payload is empty (#​597)
  • WS: Fix EspWebSocketClientConfig reconnect_timeout_ms and network_timeout_ms fields not being passed to the underlying C struct (#​635)
Added
  • Compatibility with ESP-IDF V5.4.x and V5.5.x
  • Logging configuration enhanced with a simpler setup where Rust logs can be configured to have a verbosity which is
    disconnected from the verbosity of the ESP-IDF native C logging (#​593)
  • OTA: New method - EspFirmwareInfoLoad::fetch_native - returning the full native ESP-IDF image descriptor structures
  • Added use_serde feature, which enables the use_serde feature of embedded-svc crate, allowing to deserialize configuration structs.
  • OTA: Allow specifying image size to speed up erase
  • Bluetooth: New methods EspBleGap::set_scan_params, EspBleGap::start_scanning, EspBleGap::stop_scanning,
    EspBleGap::resolve_adv_data_by_type, EspBleGap::disconnect and gatt::set_local_mtu
  • Bluetooth: New BLE Gatt Client EspGattc
  • Bluetooth Classic: Added Serial Port Profile, spp
  • New example, bt_spp_acceptor to demonstrate usage of bt classic spp profile
  • New example, bt_ble_gap_scanner to demonstrate usage of added ble scanning methods
  • New example, bt_gatt_client to demonstrate usage of added ble gatt client
  • New example, mdns_advertise to demonstrate mDNS service advertisement
  • NVS: Implemented RawHandle for EspNvs<NvsDefault>
  • NVS: Added EspNvs::erase_all to remove all data stored in an nvs namespace
  • NVS: Added EspNvs::keys to iterate over all stored keys
  • esp32p4: This chip has no radio, but can use wifi via esp_wifi_remote. Support for esp_wifi_remote has been added.
  • HTTP: added keep_alive_* option into configuration

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot had a problem deploying to github_release March 9, 2026 10:47 Failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants