8000 10BC0
Skip to content

Bump esptool from 4.9.0 to 5.0.2 - #9983

Merged
bdraco merged 1 commit into
devfrom
dependabot/pip/esptool-5.0.2
Aug 1, 2025
Merged

Bump esptool from 4.9.0 to 5.0.2#9983
bdraco merged 1 commit into
devfrom
dependabot/pip/esptool-5.0.2

Conversation

@dependabot
@dependabot dependabot Bot commented on behalf of github Jul 30, 2025
Copy link
Copy Markdown
Contributor

Bumps esptool from 4.9.0 to 5.0.2.

Release notes

Sourced from esptool's releases.

Version 5.0.2

🐛 Bug Fixes

  • Fix compatibility with Click 8.2.0+ (Peter Dragun - 524825e)
  • Fix --port-filter argument parsing (Peter Dragun - b53a16c)
  • Fix buffering issues with CP2102 converter causing connection failures (Jaroslav Burian - 5338ea0)
  • ESP32-S3: Fix stub flasher execution with active Secure Boot (Radim Karniš - 7ba285b)
  • ESP32-C3: Disable flasher stub when Secure Boot is active (Radim Karniš - 1f1ea9a)
  • espefuse: Handle error in burn-efuse command when no arguments are provided (Peter Dragun - 0f32306)

Results of checking the release against common anti-virus SW

The failures are probably false positives. You can mark esptool as safe in your anti-virus SW, or install esptool from source.

Version 5.0.1

🐛 Bug Fixes

  • elf2image: Validate ELF section types and addresses before processing (Jaroslav Burian - 97a1546)
  • elf2image: Handle PREINIT_ARRAY section type in ESP32-P4 ELF files properly (Jaroslav Burian - ec84a75)
  • elf2image: Fix incorrect logger call (Marek Matej - 637f0e6)

Results of checking the release against common anti-virus SW

The failures are probably false positives. You can mark esptool as safe in your anti-virus SW, or install esptool from source.

Version 5.0.0

In this major release, esptool was refactored, and some breaking changes were introduced. See the v5 Migration Guide article in the documentation for a detailed list of changes and guidance on adapting existing workflows and scripts to ensure compatibility when updating from v4.*.

See the esptool: Updates about the v5 major release developer portal article for an overview of some of the new features and changes.

🚨 Breaking changes

  • Public Python API redesign: Reworked the public API to work as a Python module. Command functions accept explicit parameters (no args object) (Radim Karniš - ba36933) (Peter Dragun - d7da0f8)
  • CLI overhaul: esptool, espefuse, espsecure now use click for CLI argument parsing and rich-click for nice CLI rendering (Peter Dragun - d40fefa)

... (truncated)

Changelog

Sourced from esptool's changelog.

v5.0.2 (2025-07-30)

🐛 Bug Fixes

  • esp32-c3: Disable flasher stub when Secure Boot is active (Radim Karniš - 1f1ea9a)
  • esp32-s3: Allow stub flasher execution with active Secure Boot (Radim Karniš - 7ba285b)
  • espefuse: Handle error in burn-efuse command when no arguments are provided (Peter Dragun - 0f32306)
  • Fix buffering issues with CP2102 converter causing connection failures (Jaroslav Burian - 5338ea0)
  • Fix compatibility with Click 8.2.0+ (Peter Dragun - 524825e)
  • Fix --port-filter argument parsing (Peter Dragun - b53a16c)

🔧 Code Refactoring

  • elf2image: Use common MMU page size configuration function for ESP32-H4 (Jaroslav Burian - 977ff44)

v5.0.1 (2025-07-15)

🐛 Bug Fixes

  • elf2image: validate ELF section types and addresses before processing (Jaroslav Burian - 97a1546)
  • elf2image: handle PREINIT_ARRAY section type in ESP32-P4 elf file properly (Jaroslav Burian - ec84a75)
  • elf2image: Fix incorrect logger call (Marek Matej - 637f0e6)

v5.0.0 (2025-07-02)

🚨 Breaking changes

    • The .py suffix is deprecated for the following scripts:
    • esptool
    • espefuse
    • espsecure
    • esp_rfc2217_server (Peter Dragun - 635cde1)
    • execute-scripts command is removed (Peter Dragun - ff72b26)

✨ New Features

  • espefuse: Use the esptool logger, more concise messages (Radim Karniš - 983338f)
  • espefuse: Replace execute-scripts with public API (Peter Dragun - ff72b26)
  • espefuse: Add public API for espefuse (Peter Dragun - d7da0f8)
  • espefuse: Rename all commands to use dashes and add tests for deprecated commands (Peter Dragun - ade3088)
  • espefuse: Add support for chaining commands with click parser (Peter Dragun - 0a2ea69)
  • espefuse: Refactor CLI and use click for parsing arguments (Peter Dragun - aa80001)
  • espefuse: Adds efuse calculation fields for ESP32-C5 (Konstantin Kondrashov - 9104038)
  • espefuse: Adds 3-bit field for wafer major version in ESP32-P4 (Konstantin Kondrashov - c102510)
  • verbosity: Allow setting silent or verbose output levels (Radim Karniš - 90e3770)
  • efuse: Adds efuses for ESP32-C61 ECO3 (Konstantin Kondrashov - 6146410)
  • espefuse: Support efuse for ESP32-C5 ECO2 (v1.0) (Konstantin Kondrashov - 3726726)
  • espsecure: Use esptool logger, unify output format of messages (Radim Karniš - 905249c)

... (truncated)

Commits
  • 605c80b change: Update version to 5.0.2
  • 1f1ea9a fix(esp32-c3): Disable flasher stub when Secure Boot is active
  • 7ba285b fix(esp32-s3): Allow stub flasher execution with active Secure Boot
  • 5338ea0 fix: Fix buffering issues with CP2102 converter causing connection failures
  • 524825e fix: Fix compatibility with Click 8.2.0+
  • 0f32306 fix(espefuse): Handle error in burn-efuse command when no arguments are provided
  • b53a16c fix: Fix --port-filter argument parsing
  • 977ff44 refactor(elf2image): Use common MMU page size configuration function for ESP3...
  • b683ec7 change: Update version to 5.0.1
  • 97a1546 fix(elf2image): validate ELF section types and addresses before processing
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 30, 2025
@esphome esphome Bot added the small-pr PR < 30 lines label Jul 30, 2025
@codecov-commenter
codecov-commenter commented Jul 30, 2025
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 60.20%. Comparing base (b5f42bc) to head (5f2a8b0).
⚠️ Report is 2 commits behind head on dev.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #9983      +/-   ##
==========================================
- Coverage   60.23%   60.20%   -0.03%     
==========================================
  Files          51       51              
  Lines       10304    10304              
  Branches     1368     1368              
==========================================
- Hits         6207     6204       -3     
- Misses       3742     3744       +2     
- Partials      355      356       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dependabot
dependabot Bot force-pushed the dependabot/pip/esptool-5.0.2 branch 3 times, most recently from a34062d to f073cff Compare July 31, 2025 14:42
Bumps [esptool](https://github.com/espressif/esptool) from 4.9.0 to 5.0.2.
- [Release notes](https://github.com/espressif/esptool/releases)
- [Changelog](https://github.com/espressif/esptool/blob/master/CHANGELOG.md)
- [Commits](espressif/esptool@v4.9.0...v5.0.2)

---
updated-dependencies:
- dependency-name: esptool
  dependency-version: 5.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/esptool-5.0.2 branch from f073cff to 5f2a8b0 Compare August 1, 2025 19:55
@bdraco
bdraco commented Aug 1, 2025
Copy link
Copy Markdown
Member

Everything seems to work ok still.
We should drop .py in a followup

@bdraco
bdraco merged commit 1f7c59f into dev Aug 1, 2025
25 checks passed
@bdraco
bdraco deleted the dependabot/pip/esptool-5.0.2 branch August 1, 2025 20:02
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code small-pr PR < 30 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0