Releases: RedisLabsModules/redismodule-rs
Releases · RedisLabsModules/redismodule-rs
0.9.0
0.8.0
Release 0.8.0
Breaking changes:
- As described below, all commands defined with the
redis_module!macro now take 3 additional arguments (which were previously hardcoded, wrongly, to equal1each). This will require updating your code (but the change is trivial, see the examples).
User-facing changes
-
Improved support for specifying which command arguments are Redis keys:
- When declaring Redis commands with
redis_module!, the standardfirstkey,lastkey, andkeysteparguments are now necessary so Redis knows which arguments are keys. This was a missing feature, and becomes important with the Redis 6.0 ACLs feature that depends on this being correct. - Support for
RedisModule_IsKeysPositionRequestallows the author of a command to define more fine-grained handling of which arguments are keys.
- When declaring Redis commands with
-
Added support for Redis timers: Idiomatic Rust wrappers for
RedisModule_CreateTimer,StopTimerandGetTimerInfo.
Internal enhancements
- Cleaner way to use the Redis allocator: Previously this was a runtime flag, now it's compile-time.
0.7.0
0.6.0
0.5.0
- rename crate as redis-module
New APIs:
- context::get_thread_safe_context, context::lock, context::unlock
- raw::call_reply_length, raw::call_reply_array_element
- raw::save_double, raw::save_signed, raw::save_float, raw::save_unsigned
- add missing rdb load_* methods