@@ -6,7 +6,96 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66and this project adheres to
77[ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
88
9- ## [ 1.23.1] - 2024-04-17
9+ ## [ 1.24.0] - 2025-05-06
10+
11+ ### 📈 Added
12+
13+ - General:
14+
15+ - Add a new API, ` memfault_log_get_unsent_count() ` , which returns the log
16+ count and size in bytes of unsent logs in the log buffer. This can be used
17+ inside ` memfault_log_handle_saved_callback() ` for example to drain the
18+ packetized logs when a certain watermark is reached.
19+
20+ - ESP-IDF:
21+
22+ - Add a Kconfig option, ` CONFIG_MEMFAULT_TIME_SINCE_BOOT_CUSTOM ` , which when
23+ set ` =n ` , enables using a custom implementation of
24+ ` memfault_platform_get_time_since_boot_ms() ` .
25+
26+ - Add 2 new metrics for tracking raw network bytes rx / tx. These metrics
27+ track network IO traffic on the default netif:
28+
29+ - ` network_rx_bytes `
30+ - ` network_tx_bytes `
31+
32+ These metrics are enabled by default, and can be disabled with
33+ ` CONFIG_MEMFAULT_METRICS_NETWORK_IO=n `
34+
35+ ### 🛠️ Changed
36+
37+ - FreeRTOS (including ESP-IDF):
38+
39+ - Rename the thread stack usage measurement variable included in coredumps
40+ when ` MEMFAULT_COREDUMP_COMPUTE_THREAD_STACK_USAGE ` is enabled from
41+ ` high_watermark ` to ` stack_unused ` . This change is to make the
42+ implementation more readable. The Memfault backend is updated to process
43+ both the old and new formats.
44+
45+ - FreeRTOS-detected stack overflows (via ` vApplicationStackOverflowHook ` ) will
46+ now be correctly tagged as ` Stack Overflow ` for the trace reason in
47+ Memfault, instead of ` Assert ` .
48+
49+ ### 🐛 Fixed
50+
51+ - Zephyr:
52+
53+ - Fix a null dereference when calling
54+ ` memfault_coredump_storage_compute_size_required() ` (eg the shell command
55+ ` mflt coredump_size ` ).
56+
57+ - General:
58+
59+ - For the emlib WDOG port implementation,
60+ [ ` ports/emlib/wdog_software_watchdog.c ` ] ( ports/emlib/wdog_software_watchdog.c ) ,
61+ enable the WDOG when in EM1 mode for series2 chips.
62+
63+ - Added support for ` MEMFAULT_REBOOT_REASON_CLEAR ` in the
64+ [ ` ports/nrf5_sdk/resetreas_reboot_tracking.c ` ] ( ports/nrf5_sdk/resetreas_reboot_tracking.c )
65+ implementation, by default enabled (like other ports). This permits opting
66+ out of the auto-clearing of the ` NRF_POWER->RESETREAS ` register, in case the
67+ user needs it after the function runs.
68+
69+ - FreeRTOS (including ESP-IDF):
70+
71+ - Fix incorrect computation of per-thread stack usage metrics
72+ (` MEMFAULT_FREERTOS_COLLECT_THREAD_METRICS ` ). Before this fix, the returned
73+ values had 2 errors:
74+
75+ 1 . the value is the _ unused_ stack space, not the used stack space
76+ 2 . on platforms where ` sizeof(StackType_t) ` is not 1 byte, the numerator
77+ when computing percentage is incorrectly scaled down by
78+ ` sizeof(StackType_t) ` , resulting in significant under-reporting of the
79+ stack usage percentage.
80+
81+ Users can apply device and software version filtering on dashboards to
82+ filter out reports from devices that are running an old version of the SDK.
83+
84+ - ESP-IDF:
85+
86+ - Fix a potential issue that would cause the wrong implementation of
87+ ` memfault_platform_time_get_current() ` to be included in the final link,
88+ when ` CONFIG_MEMFAULT_SYSTEM_TIME=y ` is enabled (default).
89+
90+ ### 🛠️ Changed
91+
92+ - ESP-IDF:
93+
94+ - ` CONFIG_MEMFAULT_ENABLE_REBOOT_DIAG_DUMP ` now defaults to ` y ` instead of
95+ ` n ` , to print out the reboot reason on boot. Disable it with
96+ ` CONFIG_MEMFAULT_ENABLE_REBOOT_DIAG_DUMP=n ` .
97+
98+ ## [ 1.23.1] - 2025-04-17
1099
11100### 🐛 Fixed
12101
@@ -15,7 +104,7 @@ and this project adheres to
15104 [ CircleCI's v2 container runtime] ( https://discuss.circleci.com/t/docker-executor-infrastructure-upgrade/52282 ) ,
16105 which uses ` cgroupv2 ` instead of ` cgroupv1 ` .
17106
18- ## [ 1.23.0] - 2024 -04-16
107+ ## [ 1.23.0] - 2025 -04-16
19108
20109### 📈 Added
21110
0 commit comments