From 0a62c895a8c05ffd6d6215ed4dba1530bfde882e Mon Sep 17 00:00:00 2001 From: Moti Cohen Date: Tue, 2 Dec 2025 10:21:10 +0200 Subject: [PATCH] Release version 2.0.0 This release includes: - C++ compatibility improvements (rename delete to destroy) - Script loading from RDB auxiliary section - Key privacy features with sha256 hashing - Redis Enterprise and Redis 8.x support - Multiple bug fixes and platform improvements - macOS/OSX support enhancements --- CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 42 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a5ab9f..bd27ad8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,44 @@ -## [2.0.0] - 2025-11-26 +## [2.0.0] - 2025-12-02 ### Breaking Changes -- **RdbxRespWriter**: Renamed `delete` member to `destroy` for C++ compatibility - - `delete` is a reserved keyword in C++ - - `destroy` more accurately describes the operation (cleanup + memory deallocation) -- Renamed **respFileWriteDelete** to **respFileWriteDestroy**. -- Renamed **redisLoaderDelete** to **redisLoaderDestroy**. \ No newline at end of file +- **C++ Compatibility**: Renamed functions and struct members containing the reserved C++ keyword `delete` to `destroy` (#85) + - `RdbxRespWriter.delete` → `RdbxRespWriter.destroy` + - `respFileWriteDelete()` → `respFileWriteDestroy()` + - `redisLoaderDelete()` → `redisLoaderDestroy()` + - The new name `destroy` more accurately describes the operation (cleanup + memory deallocation) + +### New Features +- **Script Loading**: Add option to `SCRIPT LOAD` from RDB auxiliary section (#82) + - Enables loading Lua scripts stored in RDB auxiliary data +- **Key Privacy**: Add option to hide keys in log and print sha256(key) instead (#66) + - RDB2PRINT: Add `%h` format specifier to output sha256(key) (#79) + - Useful for privacy-sensitive environments +- **Redis Enterprise Support**: Add parsing support for `RDB_OPCODE_RAM_LRU` opcode (No-op) (#67) + - Improves compatibility with Redis Enterprise RDB files +- **Redis 8.x Support**: Add Redis 8.0 and 8.2 to CI testing (#78) + - Ensures compatibility with latest Redis versions + +### Bug Fixes +- **Memory Safety**: Fix double-free segmentation fault in filter handlers cleanup (#77) +- **Networking**: Fix recv() 120s timeout on EAGAIN by retrying indefinitely (#69) + - Prevents premature connection failures on slow networks +- **Parsing**: Fix LFU parsing for values larger than 127 (#62) + - Corrects handling of Least Frequently Used eviction policy metadata +- **Command Filtering**: Fix `RDBX_writeFromCmdNumber()` option and filtering (#80) + - Ensures proper command number filtering in RESP output + +### Platform Support +- **macOS**: Add macOS/OSX support (#65) + - Fix installation on macOS without GNU Coreutils (#75) + - Fix soft-links installation on non-Darwin kernels (#83) +- **Cross-Platform**: Fix installation to custom directories (#74) + - Improves portability across different Unix-like systems + +### Documentation +- Update CHANGELOG.md with comprehensive release notes + +--- + +## [1.0.0] - Initial Release + +First stable release of librdb. \ No newline at end of file