Skip to content

Releases: RedisLabsModules/redismodule-rs

0.9.0

13 May 12:04

Choose a tag to compare

Minor changes:

  • save_string should take &str instead of &String (#71)
  • Improve macro hygiene by avoiding global use (#73)
  • Update to bindgen 0.53, and revert to old size_t==usize behavior

0.8.0

07 Apr 19:36

Choose a tag to compare

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 equal 1 each). 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 standard firstkey, lastkey, and keystep arguments 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_IsKeysPositionRequest allows the author of a command to define more fine-grained handling of which arguments are keys.
  • Added support for Redis timers: Idiomatic Rust wrappers for RedisModule_CreateTimer, StopTimer and GetTimerInfo.

Internal enhancements

  • Cleaner way to use the Redis allocator: Previously this was a runtime flag, now it's compile-time.

0.7.0

16 Feb 16:02

Choose a tag to compare

v0.7.0

bump version

0.6.0

25 Dec 11:28

Choose a tag to compare

  • Add support for hash_get/hash_set
  • Add RedisString methods (new, append)

0.5.0

30 Oct 14:39
03fd5e8

Choose a tag to compare

  • 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

0.4.0

25 Aug 16:36

Choose a tag to compare

Added:

  • RM_CALL
  • auto_memory
  • reply_with_double
  • replicate_verbatim
  • load_string/save_string

Thanks to @yihuang contribution

0.3.0

25 Jul 10:04

Choose a tag to compare

v0.3.0

add two more From Option<String> to RedisValue

0.2

04 Mar 23:11
093463a

Choose a tag to compare

0.2
v0.2

Update config.yml