Skip to content

Commit dd17f92

Browse files
authored
DEV: update module API for 7.4 GA (#498)
* DEV: update module API for 7.4 GA * Apply suggestions from code review
1 parent 24f67ef commit dd17f92

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

content/develop/reference/modules/modules-api-ref.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ You should avoid using `calloc()` directly.
114114

115115
void *RedisModule_TryCalloc(size_t nmemb, size_t size);
116116

117-
**Available since:** unreleased
117+
**Available since:** 7.4.0
118118

119119
Similar to [`RedisModule_Calloc`](#RedisModule_Calloc), but returns NULL in case of allocation failure, instead
120120
of panicking.
@@ -135,7 +135,7 @@ Use like `realloc()` for memory obtained with [`RedisModule_Alloc()`](#RedisModu
135135

136136
void *RedisModule_TryRealloc(void *ptr, size_t bytes);
137137

138-
**Available since:** unreleased
138+
**Available since:** 7.4.0
139139

140140
Similar to [`RedisModule_Realloc`](#RedisModule_Realloc), but returns NULL in case of allocation failure,
141141
instead of panicking.
@@ -467,7 +467,7 @@ Returns `REDISMODULE_OK` on success and `REDISMODULE_ERR` in case of the followi
467467

468468
int RedisModule_AddACLCategory(RedisModuleCtx *ctx, const char *name);
469469

470-
**Available since:** unreleased
470+
**Available since:** 7.4.0
471471

472472
[`RedisModule_AddACLCategory`](#RedisModule_AddACLCategory) can be used to add new ACL command categories. Category names
473473
can only contain alphanumeric characters, underscores, or dashes. Categories can only be added
@@ -5268,7 +5268,7 @@ With the following effects:
52685268

52695269
unsigned int RedisModule_ClusterKeySlot(RedisModuleString *key);
52705270

5271-
**Available since:** unreleased
5271+
**Available since:** 7.4.0
52725272

52735273
Returns the cluster slot of a key, similar to the `CLUSTER KEYSLOT` command.
52745274
This function works even if cluster mode is not enabled.
@@ -5279,7 +5279,7 @@ This function works even if cluster mode is not enabled.
52795279

52805280
const char *RedisModule_ClusterCanonicalKeyNameInSlot(unsigned int slot);
52815281

5282-
**Available since:** unreleased
5282+
**Available since:** 7.4.0
52835283

52845284
Returns a short string that can be used as a key or as a hash tag in a key,
52855285
such that the key maps to the given cluster slot. Returns NULL if slot is not

0 commit comments

Comments
 (0)