release-0.5.0 #31

Merged
ismail merged 19 commits from release-0.5.0 into main 2025-07-23 16:48:19 +02:00
Owner

This version is ready to be released.

This version is ready to be released.
ismail added the enhancement
Reviewed
Confirmed
labels 2025-07-23 16:47:26 +02:00
ismail self-assigned this 2025-07-23 16:47:26 +02:00
ismail added 19 commits 2025-07-23 16:47:27 +02:00
Restructured the project tree to align with Espressif's project tree pattern and practice. Also updated the affected cmake files.

Fixes: #1033
Fix the issue where get_state* functions do not handle when id is RELAY_CHN_ID_ALL.
Fixes #1037.
Clean the unnecessary codes and logging macros to keep the test output cleaner.
Add fail tests for the `get_state*` functions.
The component allocates resources (timers, event loop) in relay_chn_create but never frees them. This is a resource leak.
Hence, a destroy function added to free the resources gracefully.

Fixes #1048.
- Replaced the buggy, oldschool, plain pointer based list approach with more robust FreeRTOS linked list implementation for the listener API. Fixes #1049.

- Added relevant test cases. Refs #1030.
Fixes #1050.
Added tests for covering initialization error handling cases like; NULL pointer, invalid GPIO count etc.

This changed implied removing the `relay_chn_create` from the Unity's `setUp` function and place it in each testcase.

Refs #1050, #1030.
Closes #1051.
Add test cases to test all relevant functions that support operating with the `RELAY_CHN_ID_ALL` channel id.

Closes #1052.
Break down tests into categories to improve maintainability and test granularity. This makes it easier to execute unit tests in CI/CD pipelines.

Closes #1054.
Fixed the tilt count logic that causes an imbalance in tilting within the same run frame but opposite direction.

Fixes #1057.
Added missing test cases for the tilt API.

Closes #1056.
Reviewed-on: #29
ismail merged commit 1776c81c8d into main 2025-07-23 16:48:19 +02:00
Sign in to join this conversation.