From de82f96ccb3b38480a441ae1aa255ada455f9c28 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 10 Jan 2026 14:43:31 -1000 Subject: [PATCH 1/2] [core] Rename FixedVector::shrink_to_fit() to release() for clarity (#13130) --- esphome/components/wifi/wifi_component.cpp | 4 ++-- esphome/core/helpers.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome/components/wifi/wifi_component.cpp b/esphome/components/wifi/wifi_component.cpp index afdaa0b6e8..352081fe31 100644 --- a/esphome/components/wifi/wifi_component.cpp +++ b/esphome/components/wifi/wifi_component.cpp @@ -2014,8 +2014,8 @@ void WiFiComponent::release_scan_results_() { // std::vector - use swap trick since shrink_to_fit is non-binding decltype(this->scan_result_)().swap(this->scan_result_); #else - // FixedVector::shrink_to_fit() actually frees all memory - this->scan_result_.shrink_to_fit(); + // FixedVector::release() frees all memory + this->scan_result_.release(); #endif } } diff --git a/esphome/core/helpers.h b/esphome/core/helpers.h index acba420d3e..05d2d475c1 100644 --- a/esphome/core/helpers.h +++ b/esphome/core/helpers.h @@ -293,8 +293,8 @@ template class FixedVector { size_ = 0; } - // Shrink capacity to fit current size (frees all memory) - void shrink_to_fit() { + // Release all memory (destroys elements and frees memory) + void release() { cleanup_(); reset_(); } From 5725a4840e3900eaa7d8ca9cc3f9719161577197 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 11 Jan 2026 01:09:25 +0000 Subject: [PATCH 2/2] Bump aioesphomeapi from 43.10.1 to 43.11.0 (#13132) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 00f81f793f..eb177e1411 100644 --- a/requirements.txt +++ b/requirements.txt @@ -12,7 +12,7 @@ platformio==6.1.18 # When updating platformio, also update /docker/Dockerfile esptool==5.1.0 click==8.1.7 esphome-dashboard==20260110.0 -aioesphomeapi==43.10.1 +aioesphomeapi==43.11.0 zeroconf==0.148.0 puremagic==1.30 ruamel.yaml==0.19.1 # dashboard_import