Skip to content

Commit

Permalink
doc:update
Browse files Browse the repository at this point in the history
  • Loading branch information
cunla committed Sep 22, 2024
1 parent b0c2f41 commit 19d5fb3
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 39 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ jobs:
redis-py: [ "4.3.6", "4.6.0", "5.0.8", "5.1.0b7" ]
include:
- python-version: "3.12"
redis-image: "redis/redis-stack:6.2.6-v15"
redis-image: "redis/redis-stack-server:6.2.6-v15"
redis-py: "5.0.8"
extra: true # json, bf, lupa, cf
hypothesis: true
- python-version: "3.12"
redis-image: "redis/redis-stack-server:7.2.0-v11"
redis-image: "redis/redis-stack-server:7.4.0-v0"
redis-py: "5.0.8"
extra: true # json, bf, lupa, cf
coverage: true
Expand Down
7 changes: 7 additions & 0 deletions docs/about/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ title: Change log
description: Change log of all fakeredis releases
---

## v2.25.0

### 🚀 Features

- Implement support for hash expiration related commands @j00bar #328
- `HEXPIRE`, `HEXPIREAT`, `HEXPIRETIME`, `HPERSIST`, `HPEXPIRE`, `HPEXPIREAT`, `HPEXPIRETIME`, `HPTTL`, `HTTL`,

## v2.24.1

### 🐛 Bug Fixes
Expand Down
74 changes: 37 additions & 37 deletions docs/redis-commands/Redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,7 @@ Queries a geospatial index for members inside an area of a box or a circle, opti



## `hash` commands (16/27 implemented)
## `hash` commands (25/27 implemented)

### [HDEL](https://redis.io/commands/hdel/)

Expand All @@ -1167,6 +1167,18 @@ Deletes one or more fields and their values from a hash. Deletes the hash if no

Determines whether a field exists in a hash.

### [HEXPIRE](https://redis.io/commands/hexpire/)

Set expiry for hash field using relative time to expire (seconds)

### [HEXPIREAT](https://redis.io/commands/hexpireat/)

Set expiry for hash field using an absolute Unix timestamp (seconds)

### [HEXPIRETIME](https://redis.io/commands/hexpiretime/)

Returns the expiration time of a hash field as a Unix timestamp, in seconds.

### [HGET](https://redis.io/commands/hget/)

Returns the value of a field in a hash.
Expand Down Expand Up @@ -1199,6 +1211,26 @@ Returns the values of all fields in a hash.

Sets the values of multiple fields.

### [HPERSIST](https://redis.io/commands/hpersist/)

Removes the expiration time for each specified field

### [HPEXPIRE](https://redis.io/commands/hpexpire/)

Set expiry for hash field using relative time to expire (milliseconds)

### [HPEXPIREAT](https://redis.io/commands/hpexpireat/)

Set expiry for hash field using an absolute Unix timestamp (milliseconds)

### [HPEXPIRETIME](https://redis.io/commands/hpexpiretime/)

Returns the expiration time of a hash field as a Unix timestamp, in msec.

### [HPTTL](https://redis.io/commands/hpttl/)

Returns the TTL in milliseconds of a hash field.

### [HRANDFIELD](https://redis.io/commands/hrandfield/)

Returns one or more random fields from a hash.
Expand All @@ -1219,6 +1251,10 @@ Sets the value of a field in a hash only when the field doesn't exist.

Returns the length of the value of a field.

### [HTTL](https://redis.io/commands/httl/)

Returns the TTL in seconds of a hash field.

### [HVALS](https://redis.io/commands/hvals/)

Returns all values in a hash.
Expand All @@ -1227,50 +1263,14 @@ Returns all values in a hash.
### Unsupported hash commands
> To implement support for a command, see [here](../../guides/implement-command/)
#### [HEXPIRE](https://redis.io/commands/hexpire/) <small>(not implemented)</small>

Set expiry for hash field using relative time to expire (seconds)

#### [HEXPIREAT](https://redis.io/commands/hexpireat/) <small>(not implemented)</small>

Set expiry for hash field using an absolute Unix timestamp (seconds)

#### [HEXPIRETIME](https://redis.io/commands/hexpiretime/) <small>(not implemented)</small>

Returns the expiration time of a hash field as a Unix timestamp, in seconds.

#### [HGETF](https://redis.io/commands/hgetf/) <small>(not implemented)</small>

For each specified field, returns its value and optionally set the field's remaining expiration time in seconds / milliseconds

#### [HPERSIST](https://redis.io/commands/hpersist/) <small>(not implemented)</small>

Removes the expiration time for each specified field

#### [HPEXPIRE](https://redis.io/commands/hpexpire/) <small>(not implemented)</small>

Set expiry for hash field using relative time to expire (milliseconds)

#### [HPEXPIREAT](https://redis.io/commands/hpexpireat/) <small>(not implemented)</small>

Set expiry for hash field using an absolute Unix timestamp (milliseconds)

#### [HPEXPIRETIME](https://redis.io/commands/hpexpiretime/) <small>(not implemented)</small>

Returns the expiration time of a hash field as a Unix timestamp, in msec.

#### [HPTTL](https://redis.io/commands/hpttl/) <small>(not implemented)</small>

Returns the TTL in milliseconds of a hash field.

#### [HSETF](https://redis.io/commands/hsetf/) <small>(not implemented)</small>

For each specified field, returns its value and optionally set the field's remaining expiration time in seconds / milliseconds

#### [HTTL](https://redis.io/commands/httl/) <small>(not implemented)</small>

Returns the TTL in seconds of a hash field.


## `hyperloglog` commands (3/3 implemented)

Expand Down

0 comments on commit 19d5fb3

Please sign in to comment.