diff --git a/CHANGELOG.md b/CHANGELOG.md index 5788461..0910642 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.4] - 2026-02-11 + +### Fixed +- **Linux**: Fixed segfault from invalid module indices during extremely rapid file changes + - Added validation check to skip stale UNLOAD/RELOAD events for already-unloaded modules + - Prevents is_mod_loaded() returning -1 from being used as array index (SIZE_MAX) + - Fixed event count mismatch where loops would run more iterations than valid indices populated + - Completes the Linux hot-reload stability fixes from v0.0.2 + ## [0.0.3] - 2026-02-10 ### Fixed diff --git a/README.md b/README.md index 85a755e..24a8d87 100644 --- a/README.md +++ b/README.md @@ -173,15 +173,15 @@ stk_init(); ## Project Status -**Current Version:** 0.0.3 (Pre-release) +**Current Version:** 0.0.4 (Pre-release) -This is an early bugfix release improving compilation warnings on Linux. Phase 1 is still in progress. +This is a bugfix release completing the Linux hot-reload stability improvements. Phase 1 is still in progress. ### What Works - Cross-platform module loading and hot-reloading - File watching (inotify/kqueue/FindFirstFile) - Basic error handling -- Stable hot-reload even during rapid file changes +- Robust hot-reload even during extremely rapid file changes (Linux fixes in 0.0.2-0.0.4) ### In Progress (Phase 1) - Complete logging system (log levels, verbosity, output configuration) diff --git a/include/stk_version.h b/include/stk_version.h index 0101c76..ddba796 100644 --- a/include/stk_version.h +++ b/include/stk_version.h @@ -3,7 +3,7 @@ #define STK_VERSION_MAJOR 0 #define STK_VERSION_MINOR 0 -#define STK_VERSION_PATCH 3 +#define STK_VERSION_PATCH 4 #define STK_STRINGIFY_HELPER(x) #x #define STK_STRINGIFY(x) STK_STRINGIFY_HELPER(x)