CHANGELOG

v2.4.0 (2025-11-12)

✨ New Features

  • arduino: Add support for C2, C61 and fix deprecated commands (Lucas Saavedra Vaz - c09d745)

v2.3.0 (2025-11-06)

✨ New Features

  • support log_metric (Fu Hanxi - fb9dbfa)

📖 Documentation

  • remove the 1.x changelog (Fu Hanxi - 0c6edaf)

  • small fixes (Fu Hanxi - e5d06e0)

v2.2.1 (2025-10-27)

🐛 Bug Fixes

  • Raise exceptions for Dut created by DutFactory (Evgeny Torbin - c73f684)

v2.2.0 (2025-10-24)

✨ New Features

  • reconnect after serial lost connection (horw - 019e38a)

v2.1.2 (2025-10-16)

🐛 Bug Fixes

  • Fix ESP32-C5 bootloader offset (Lucas Saavedra Vaz - b77e2f7)

v2.1.1 (2025-10-13)

🐛 Bug Fixes

  • qemu: error when enable service qemu along without idf (Fu Hanxi - 01efc71)

  • mark the un-triggered test cases as “skipped” (Fu Hanxi - 1b0aa5c)

  • Add missing offsets for ESP32-C5 (Lucas Saavedra Vaz - 54bc3d1)

v2.1.0 (2025-09-25)

✨ New Features

  • add support for efuse in qemu (horw - e682c45)

  • add support for virtual efuse on NuttX (Filipe Cavalcanti - 5e946a0)

v2.0.0 (2025-09-23)

🔧 Code Refactoring

  • always use multiprocess spawn (Fu Hanxi - 387b877)

🏗️ Changes

  • rename esptool underscore arguments and subcommands to dash (Fu Hanxi - b2b88d0)

Breaking Changes

  • Python Support: Drop support for Python 3.7, 3.8, 3.9. Now requires Python 3.10+

  • esptool: Update esptool requirement to >=5.1.dev1,<6 (from ~=4.9)

  • wokwi: Remove support for WokwiCLI class, which is a wrapper of wokwi-cli executable. Use Wokwi class instead, which depends on wokwi-python-client, supporting a wide range of peripherals.

  • Deprecated Code Removal:

    • Remove EsptoolArgs class from pytest-embedded-serial-esp

    • Remove deprecated parameters hard_reset_after and no_stub from use_esptool() decorator

    • Remove deprecated stub property from EspSerial class (use esp instead)

    • Remove deprecated parse_test_menu() and parse_unity_menu_from_str() methods from IdfUnityDutMixin (use test_menu property instead)

    • Remove deprecated CLI option --add-target-as-marker (use --add-target-as-marker-with-amount instead)

Migration Guide

  1. Python Version: Upgrade to Python 3.10 or higher

  2. esptool: Update esptool to version 5.1.dev1 or higher (but less than 6.0)

  3. Code Changes:

    • Replace dut.stub with dut.esp

    • Replace dut.parse_test_menu() calls with dut.test_menu property access

    • Replace parse_unity_menu_from_str() with _parse_unity_menu_from_str() if needed. dut.test_menu is preferred.

    • Update CLI usage from --add-target-as-marker to --add-target-as-marker-with-amount

    • Remove any usage of EsptoolArgs class

    • Remove hard_reset_after and no_stub parameters from use_esptool() calls

For the changelog of 1.x versions, please refer to the 1.x changelog.