From 142a61a8436f38e0ed386f5586de829a7adbb8d1 Mon Sep 17 00:00:00 2001 From: anth64 Date: Mon, 9 Feb 2026 22:32:55 +0100 Subject: [PATCH] chore: bump version to 0.0.2 --- CHANGELOG.md | 15 ++++++++++++++- README.md | 5 +++-- include/stk_version.h | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85c27b2..4fdcfb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.0.2] - 2026-02-09 + +### Fixed +- **Linux**: Fixed segfaults during rapid module reloads when file changes are detected in quick succession + - Enabled file readiness checks on Linux (previously only used on Windows/BSD) to prevent loading partially-written shared libraries + - Fixed inotify event deduplication to actually remove duplicate events instead of just marking them + - Reordered reload operations to only unload old module after successfully copying new version, preventing invalid state when copy fails +- **All platforms**: Improved reload safety by deferring module unload until after successful file copy + +### Changed +- Made `is_file_ready()` check available on all Unix platforms (was previously excluded on Linux) + ## [0.0.1] - 2026-02-01 ### Added @@ -25,5 +37,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Dependency management and versioning not yet implemented - API is unstable and subject to change in future releases -[Unreleased]: https://github.com/anth64/stk/compare/v0.0.1...HEAD +[Unreleased]: https://github.com/anth64/stk/compare/v0.0.2...HEAD +[0.0.2]: https://github.com/anth64/stk/releases/tag/v0.0.2 [0.0.1]: https://github.com/anth64/stk/releases/tag/v0.0.1 diff --git a/README.md b/README.md index a98447e..63d4756 100644 --- a/README.md +++ b/README.md @@ -173,14 +173,15 @@ stk_init(); ## Project Status -**Current Version:** 0.0.1 (Pre-release) +**Current Version:** 0.0.2 (Pre-release) -This is an early release proving the core hot-reload foundation. Phase 1 is still in progress. +This is an early bugfix release improving hot-reload stability on Linux. 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 (Linux fix in 0.0.2) ### 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 d1ad4ba..7361175 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 1 +#define STK_VERSION_PATCH 2 #define STK_STRINGIFY_HELPER(x) #x #define STK_STRINGIFY(x) STK_STRINGIFY_HELPER(x)