esp-idf-hal breaking changes
esp-idf-hal 0.48.0 (November 23, 2026) is its newest release with breaking changes, 15 of them. The first: Removed esp_idf_hal::gpio::Pins::gpio29. Every breaking API change we have recorded in esp-idf-hal on crates.io: 15 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.48.0, released November 23, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
esp-idf-hal 0.48.0 breaking changes
- Removed
esp_idf_hal::gpio::Pins::gpio29
esp_idf_hal::gpio::Pins::gpio29 was removed in esp-idf-hal 0.48.0 crates.io - Removed
esp_idf_hal::gpio::Pins::gpio41
esp_idf_hal::gpio::Pins::gpio41 was removed in esp-idf-hal 0.48.0 crates.io - Removed
esp_idf_hal::rmt::encoder::EncoderState::EncodingComplete
esp_idf_hal::rmt::encoder::EncoderState::EncodingComplete was removed in esp-idf-hal 0.48.0 crates.io - Removed
esp_idf_hal::rmt::encoder::EncoderState::EncodingMemoryFull
esp_idf_hal::rmt::encoder::EncoderState::EncodingMemoryFull was removed in esp-idf-hal 0.48.0 crates.io - Removed
esp_idf_hal::rmt::encoder::EncoderState::EncodingReset
EncodingReset is now the empty set rather than a variant. Code that names it must change. crates.io - Removed
esp_idf_hal::rmt::encoder::EncoderState::EncodingWithEof
esp_idf_hal::rmt::encoder::EncoderState::EncodingWithEof was removed in esp-idf-hal 0.48.0 crates.io - Removed
rmt.encoder.EncoderState
The From conversions from and to rmt_encode_state_t are removed. Custom encoders need the enumset crate and must use the new set type. github.com - Behavior changed
PinDriver.disabled
PinDriver::disabled now really disables the pin's input and output. Code that relied on the old behavior may see different pin behavior. github.com - Behavior changed
PinDriver.try_into_disabled
PinDriver::disabled and try_into_disabled now really disable the pin's input and output. Code that relied on the old behavior may see different pin levels or input readings. github.com - Behavior changed
Pulse.new_with_duration
A non-zero duration shorter than one tick now returns ESP_ERR_INVALID_ARG instead of rounding to 0 ticks. Code relying on the rounding must handle the error. github.com - Signature changed
esp_idf_hal::rmt::encoder::Encoder::encode
Was fn encode(&mut self, handle: &mut RmtChannelHandle, primary_data: &[Self::Item]) -> (usize, EncoderState); now fn encode(&mut self, handle: &mut RmtChannelHandle, primary_data: &[Self::Item]) -> (usize, EnumSet<EncoderState>). crates.io - Signature changed
esp_idf_hal::ulp::UlpDriver
Was struct UlpDriver<'d>(PhantomData<&'d mut ()>); now struct UlpDriver<'d>(core::marker::PhantomData<&'d mut ()>). crates.io - Signature changed
esp_idf_hal::ulp::UlpDriver::new
Was fn new(ulp: ULP<'d>) -> Result<Self, esp_idf_sys::EspError>; now fn new(_ulp: ULP<'d>) -> Result<Self, esp_idf_sys::EspError>. crates.io - Signature changed
esp_idf_hal::usb_serial::UsbDMinGpio
Was type UsbDMinGpio<'d> = gpio::Gpio19<'d>; now type UsbDMinGpio<'d> = gpio::Gpio33<'d>. crates.io - Signature changed
rmt.encoder.EncoderState
EncoderState is now EnumSet<EncoderState>, and Encoder::encode returns that set. Code matching on the old enum must be updated. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.