Releases: RedisLabsModules/redismodule-rs
Releases · RedisLabsModules/redismodule-rs
Version 0.17.0
Changes
- Expose fn verify_type as public (#149)
0.16.0
0.15.0
0.14.0
0.13.0
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
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
Breaking Changes
- The new safe
ThreadSafeContextAPI (see below) replaces the old rawContext::get_thread_safe_context()API RedisErrorno longer implementsFrom<&str>(due #102, this is no longer possible). Instead of usingErr("...".into()), useErr(RedisError::String())orErr(RedisError::Str())explicitly. While this requires changes, it removes magic, leading to clearer code.
User-facing Changes
- New idiomatic
ThreadSafeContextandBlockedClientAPIs 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_HashGetandRedisModule_HashSet(#99) - Add support for running module unload code (#107)
Internal Changes
- Macro namespace-related cleanups
- Publically export
BlockedClientandDetachedFromClient - Implement a conversion to
RedisErrorfrom any type implementing theErrortrait (#102)