Skip to content

Releases: RedisLabsModules/redismodule-rs

Version 0.17.0

20 May 11:20

Choose a tag to compare

Changes

  • Expose fn verify_type as public (#149)

0.16.0

05 May 09:41

Choose a tag to compare

Changes

  • Add open key using RedisModuleString and export_shared_api (#144)
  • Mark export_shared_api with missing experimental-api feature (#148)

0.15.0

21 Apr 14:47

Choose a tag to compare

Features

  • Update redismodule api to match Redis 6.2.2 (#141)
  • Add MODULE notify evnet type
  • Add support for get_keyspace_events

0.14.0

21 Apr 14:43

Choose a tag to compare

Features

• Implement list operations (#132)

Changes

• Clean build warnings (#140)
• Update strum_macros requirement from 0.19 to 0.20 (#114)
• Update bindgen requirement from 0.57 to 0.58 (#138)

0.13.0

09 Mar 13:25

Choose a tag to compare

Changes

  • Add support for notify_keyspace_event (#133)
  • Add support to delete hash fields (#130)
  • Allow the use of NextArg on Iter<&str> as well as Iter (#127)
  • Examples/threads: Drop lock early (#129)
  • Rename macro-generated functions to avoid potential name clash (#125)
  • Make init/deinit callbacks use high-level API (#122)

0.12.0

14 Feb 08:42

Choose a tag to compare

User-facing Changes

  • Expose SubscribeToKeyspaceEvents #78
  • Add user-facing hash_get_multi functionality to key objects #112
  • Provide an IntoIterator for the multi-get results #113
  • Allow access to raw context and RedisKey #118

Internal Changes

  • Fix all loglevels mistakenly set to debug #117
  • Update bindgen requirement from 0.54 to 0.57 #120
  • Fix too-short lifetime of value used as pointer #121

Thanks to: @slavak, @socs, @matobet & danni-m for the contributing!

Release 0.11.0

13 Oct 08:37

Choose a tag to compare

Breaking Changes

  • The new safe ThreadSafeContext API (see below) replaces the old raw Context::get_thread_safe_context() API
  • RedisError no longer implements From<&str> (due #102, this is no longer possible). Instead of using Err("...".into()), use Err(RedisError::String()) or Err(RedisError::Str()) explicitly. While this requires changes, it removes magic, leading to clearer code.

User-facing Changes

  • New idiomatic ThreadSafeContext and BlockedClient APIs provide a safe Rust wrapper around the related Redis module APIs
  • Add API for context-less logging (#106)
  • Add infrastructure for exposing hash-multi-get functionality (via hash_mget_key; a more idiomatic API around this is in development) (#105)
  • Add method for converting RedisString to &str (#98)
  • Fix wrong usage of RedisModule_HashGet and RedisModule_HashSet (#99)
  • Add support for running module unload code (#107)

Internal Changes

  • Macro namespace-related cleanups
  • Publically export BlockedClient and DetachedFromClient
  • Implement a conversion to RedisError from any type implementing the Error trait (#102)

0.10.0

24 Jun 17:02
ff6245b

Choose a tag to compare

  • Add key_type to RedisKey (#86)
  • Add support for server events (redis 6) (#87)

0.9.2

27 May 11:25

Choose a tag to compare

  • Update bindgen requirement from 0.53 to 0.54 (#82)
  • Replace i8 with c_char (#84)

0.9.1

21 May 16:40

Choose a tag to compare

  • Add Aux events status (REDISMODULE_AUX_BEFORE_RDB/REDISMODULE_AUX_AFTER_RDB) (#80)