J. Nick Koston
51c5500809
[ota] Validate partition-table binary host-side before OTA
...
Read the resolved partition-table file in upload_program before opening
a network connection. Reject anything that isn't 0xC00 bytes, doesn't
start with ESP_PARTITION_MAGIC, or is missing the MD5 checksum entry, so
mistakes (wrong file, swapped --file path) surface as a local error
instead of a post-handshake OTA_RESPONSE_ERROR_PARTITION_TABLE_VERIFY.
Includes unit tests covering size, magic, md5-presence, missing-file,
and end-to-end upload_program rejection, plus three real partition
tables checked in as fixtures (ESPHome build, ESP-IDF Hello-world,
esphome_dashboard prebuilt).
2026-05-03 09:15:28 -05:00
Mat931
2dd8a9913b
Fix
2026-05-01 18:15:40 +02:00
pre-commit-ci-lite[bot]
2068d114eb
[pre-commit.ci lite] apply automatic fixes
2026-05-01 16:02:30 +00:00
Mat931
015decce4d
Merge branch 'dev' into partition-table-ota
2026-05-01 16:01:01 +00:00
Mat931 and J. Nick Koston
58cb7effd4
[ota] Add extended OTA protocol ( #16164 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-05-01 10:40:14 -05:00
Mat931
dc919e5e84
Merge branch 'dev' into partition-table-ota
2026-04-30 08:05:55 +00:00
Jesse Hills
e127268dac
[core] Strip \\?\ prefix from sys.executable for PlatformIO subprocess ( #16158 )
2026-04-30 16:04:52 +12:00
J. Nick Koston
c293869e6e
Merge branch 'dev' into partition-table-ota
2026-04-29 14:33:22 -05:00
J. Nick Koston
8fd9af7f2a
fix tests
2026-04-29 14:32:59 -05:00
J. Nick Koston
985dba9332
[core] Defer heavy module-scope imports in __main__, loader, and config ( #15955 )
2026-04-29 13:17:59 -05:00
J. Nick Koston
44cabc191d
[core] Catch body-read errors in download_content ( #16023 )
2026-04-29 14:06:41 -04:00
Mat931
f1d917a4af
Merge branch 'dev' into partition-table-ota
2026-04-29 10:26:31 +00:00
J. Nick Koston
8ceada8d04
[core] Download external_files in parallel ( #16021 )
2026-04-29 14:32:30 +12:00
J. Nick Koston
592486ae9a
[analyze_memory] Attribute main.cpp setup()/loop() to esphome core ( #16033 )
2026-04-29 14:06:54 +12:00
J. Nick Koston
eec770d622
[core] Use ETag in external_files cache to fix re-downloads from raw.githubusercontent.com ( #16020 )
2026-04-29 13:52:09 +12:00
J. Nick Koston
d7b21a84a3
[git] Make ref fetches and submodule updates shallow ( #16014 )
2026-04-29 13:49:51 +12:00
J. Nick Koston
0759a3c681
[core] Split wake.{h,cpp} into per-platform files ( #15978 )
2026-04-28 08:48:13 -05:00
Mat931
35a54cec14
Merge branch 'dev' into partition-table-ota
2026-04-27 16:19:38 +00:00
J. Nick Koston
2e096bb036
[core] Combine set_component_source_ + register_component_ into one call ( #16029 )
2026-04-26 21:54:15 -05:00
pre-commit-ci-lite[bot]
51baefcd24
[pre-commit.ci lite] apply automatic fixes
2026-04-26 16:08:49 +00:00
Mat931
1cd4cd395f
Merge branch 'dev' into partition-table-ota
2026-04-26 16:07:15 +00:00
Mat931
8b3e4dcc47
Update test
2026-04-26 18:07:00 +02:00
J. Nick Koston
0f25d91e68
[core] Unify skip_external_update and honor it in external_files for faster esphome logs ( #16016 )
2026-04-26 07:24:33 -05:00
68625a1b76
[core] Isolate generated build metadata ( #16007 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-26 09:11:09 +00:00
b5ccd55f4e
[packages] Fix premature substitution of vars in remote package files ( #15997 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-25 17:06:58 +00:00
pre-commit-ci-lite[bot]
a6c27dcb4b
[pre-commit.ci lite] apply automatic fixes
2026-04-24 22:32:15 +00:00
Mat931
dc37bd2ab4
Update test
2026-04-25 00:30:54 +02:00
Mat931
346333dcf9
Update test
2026-04-24 23:48:33 +02:00
pre-commit-ci-lite[bot]
81294b4c80
[pre-commit.ci lite] apply automatic fixes
2026-04-24 21:31:08 +00:00
Mat931
e4669fefd5
Update test
2026-04-24 23:29:50 +02:00
Mat931
33f754ef05
Merge branch 'dev' into partition-table-ota
2026-04-24 19:59:32 +00:00
Paulus Schoutsen
9b45b046a8
[core] Allow finding all devices as target that match mac suffix ( #13135 )
2026-04-23 08:43:32 -05:00
Jesse Hills
e1d629f0d2
[time] Handle Windows EINVAL when validating POSIX TZ strings ( #15934 )
2026-04-23 14:35:13 +12:00
Javier Peletier and J. Nick Koston
9cebce1b6e
[substitutions] Improve error messages with include stack trace ( #15874 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-22 03:19:01 +02:00
Mat931
7f43f8fb0f
Merge branch 'dev' into partition-table-ota
2026-04-21 17:07:52 +00:00
aad1318b4a
[packages] Improve error messages with include stack and fix missing path propagation ( #15844 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-04-19 21:09:14 +00:00
J. Nick Koston
7a23a339e9
[substitutions] Fix substitutions: !include file.yaml regression ( #15850 )
2026-04-20 09:00:31 +12:00
J. Nick Koston
523c6f2376
[core] coerce set_interval(0) / update_interval: 0ms to 1ms ( #15799 )
2026-04-17 02:45:50 -10:00
J. Nick Koston
c6ad23fbc0
[bundle] Force-resolve nested IncludeFile during file discovery ( #15762 )
2026-04-16 08:45:33 -10:00
Mat931
bbaab97f57
Fix
2026-04-16 20:06:42 +02:00
Mat931
e0ae66176d
Merge branch 'partition-table-ota' of github.com:Mat931/esphome into partition-table-ota
2026-04-16 19:58:10 +02:00
Mat931
55ce6abf4b
Fix
2026-04-16 19:56:32 +02:00
pre-commit-ci-lite[bot]
0af4521660
[pre-commit.ci lite] apply automatic fixes
2026-04-16 17:45:45 +00:00
Mat931
aca11f1777
Fix
2026-04-16 19:44:25 +02:00
J. Nick Koston and Copilot Autofix powered by AI
edb16a27d3
[esphome] Skip missing extra flash images in upload_using_esptool ( #15723 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-04-13 16:58:48 -10:00
Jonathan Swoboda
5d0cfc31fa
[core] Move FILTER_PLATFORMIO_LINES into platformio_runner ( #15707 )
2026-04-13 14:18:44 -04:00
Javier Peletier
daa68a2a60
[packages] fix support packages: !include mypackages.yaml ( #15677 )
2026-04-13 09:48:30 +12:00
Jonathan Swoboda
2f684bf4f3
[esp32] Bump platform to 55.03.38, Arduino to 3.3.8, ESP-IDF to 5.5.4 ( #15666 )
2026-04-12 10:07:04 -10:00
J. Nick Koston
a72609e640
[yaml] Resolve top-level IncludeFile in load_yaml ( #15557 )
2026-04-08 08:39:14 -04:00
J. Nick Koston and Copilot
a8b7c7a4ac
[core] Add TemplatableFn for 4-byte function-pointer templatable storage ( #15545 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-08 08:38:00 -04:00