Skip to content

DEV: (cmds) docs for set member expiration in 8.12 - #4337

Merged
dwdougherty merged 3 commits into
feature-oss-8.12from
DOC-7050
Oct 28, 2026
Merged

dwdougherty merged 3 commits into
feature-oss-8.12from
DOC-7050

Conversation

@dwdougherty

@dwdougherty dwdougherty commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

This is a Redis 8.12 feature.


Note

Low Risk
Documentation-only changes with no runtime or application code; risk is limited to doc accuracy and cross-link consistency.

Overview
Documents Redis 8.12 set member expiration: per-member TTLs with a new command family and cross-links across the docs site.

Adds full reference pages for SADDEX, SEXPIRE / SPEXPIRE / SEXPIREAT / SPEXPIREAT, STTL / SPTTL, SEXPIRETIME / SPEXPIRETIME, and SPERSIST (including railroad SVGs), marked since 8.12.0 and not supported on Redis Software/Cloud in the compatibility tables.

Expands sets.md with a Member expiration section (command list, interaction with other set ops, use cases, and examples) and updates compare-data-types.md so sets are called out for per-member expiration.

Existing commands get new Details notes where behavior changes: SCARD and lazy expiry, store/move commands (SINTERSTORE, SUNIONSTORE, SDIFFSTORE, SMOVE) on how TTLs propagate, and sorted-set Z* commands that error on sets with member expirations.

Pub/sub docs now cover sexpire / sexpired / spersist keyspace events and extend subkey notifications with the s flag and set member expiration commands.

Reviewed by Cursor Bugbot for commit 8c8b72b. Bugbot is set up for automated code reviews on this repo. Configure here.

@dwdougherty
dwdougherty requested a review from a team October 23, 2026 13:29
@dwdougherty dwdougherty self-assigned this Oct 23, 2026
@dwdougherty dwdougherty added cmds oss Redis Open Source labels Oct 23, 2026
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

DOC-7050

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Staging links:
https://redis.io/docs/staging/DOC-7050/commands/saddex
https://redis.io/docs/staging/DOC-7050/commands/saddex/
https://redis.io/docs/staging/DOC-7050/commands/scard/
https://redis.io/docs/staging/DOC-7050/commands/sdiffstore/
https://redis.io/docs/staging/DOC-7050/commands/sexpire
https://redis.io/docs/staging/DOC-7050/commands/sexpire/
https://redis.io/docs/staging/DOC-7050/commands/sexpireat
https://redis.io/docs/staging/DOC-7050/commands/sexpireat/
https://redis.io/docs/staging/DOC-7050/commands/sexpiretime
https://redis.io/docs/staging/DOC-7050/commands/sexpiretime/
https://redis.io/docs/staging/DOC-7050/commands/sinterstore/
https://redis.io/docs/staging/DOC-7050/commands/smove/
https://redis.io/docs/staging/DOC-7050/commands/spersist/
https://redis.io/docs/staging/DOC-7050/commands/spexpire/
https://redis.io/docs/staging/DOC-7050/commands/spexpireat/
https://redis.io/docs/staging/DOC-7050/commands/spexpiretime/
https://redis.io/docs/staging/DOC-7050/commands/spttl/
https://redis.io/docs/staging/DOC-7050/commands/sttl/
https://redis.io/docs/staging/DOC-7050/commands/sunionstore/
https://redis.io/docs/staging/DOC-7050/commands/zdiff/
https://redis.io/docs/staging/DOC-7050/commands/zdiffstore/
https://redis.io/docs/staging/DOC-7050/commands/zinter/
https://redis.io/docs/staging/DOC-7050/commands/zintercard/
https://redis.io/docs/staging/DOC-7050/commands/zinterstore/
https://redis.io/docs/staging/DOC-7050/commands/zunion/
https://redis.io/docs/staging/DOC-7050/commands/zunionstore/
https://redis.io/docs/staging/DOC-7050/develop/data-types/compare-data-types/
https://redis.io/docs/staging/DOC-7050/develop/data-types/sets/
https://redis.io/docs/staging/DOC-7050/develop/pubsub/keyspace-notifications/
https://redis.io/docs/staging/DOC-7050/develop/pubsub/subkeyspace-notifications/

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Redis Memory

Found 10 related items from repository history:

Memory updated at 8c8b72b

@andy-stark-redis andy-stark-redis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of (ignorable) thoughts but otherwise LGTM.

Comment thread content/commands/sexpire.md Resolved
Comment thread content/commands/sunionstore.md Resolved
@dwdougherty

Copy link
Copy Markdown
Collaborator Author

Thanks, @andy-stark-redis! I'll make your suggested changes.

@dwdougherty
dwdougherty merged commit c9290d6 into feature-oss-8.12 Oct 28, 2026
102 checks passed
@dwdougherty
dwdougherty deleted the DOC-7050 branch October 28, 2026 19:15
dwdougherty added a commit that referenced this pull request Nov 23, 2026
* DEV: (feat/cmds) docs for CMS enhancements in 8.12 (#3953)

* DEV: (feat/cmds) docs for blessed keys in 8.12 (#4012)

* Document aof_cmd_duration in INFO persistence (#4006)

Co-authored-by: Cursor <[email protected]>

* DEV: docs for HNSW compression in 8.12 (#4106)

* DEV: docs for HNSW compression in 8.12

* Apply review suggestion

Clarified that disk-based vector indexes ignore both COMPRESSION and TRAINING_THRESHOLD.

* DEV: (feat) docs for streams observability metrics MVP in 8.12 (#4140)

* DEV: (feat) docs for streams observability metrics MVP in 8.12

* Update content/develop/data-types/streams/_index.md

Co-authored-by: mich-elle-luna <[email protected]>

---------

Co-authored-by: mich-elle-luna <[email protected]>

* DEV: (cmds) JSON: auto-create deep paths in 8.12 (#4257)

* DEV: (cmds) JSON: auto-create deep paths in 8.12

* Apply review comments.

Co-authored-by: andy-stark-redis <[email protected]>

---------

Co-authored-by: andy-stark-redis <[email protected]>

* DEV: (cmds) docs for new INFO command streams section (#4274)

* DEV: (cmds) docs for new INFO command streams section

* Apply review comments.

Co-authored-by: andy-stark-redis <[email protected]>

---------

Co-authored-by: andy-stark-redis <[email protected]>

* OP: add docs for named TLS in 8.12 (#4289)

* Document native Roaring bitmaps for Redis 8.12 (#3715)

* Document native Roaring bitmaps

* Keep Roaring details in bitmap guide

* Target Roaring bitmap docs to Redis 8.12

* Clarify native bitmap replication docs

Signed-off-by: Antonio Viggiano <[email protected]>

* Document native bitmap integer arrays and benchmark methodology

* Clarify bitmap rank argument validation order

* Regenerate bitmap command references and clarify internal replay

* Document internal bitmap replay commands

* Document consolidated bitmap integer-array command

* Clarify the consolidated bitmap integer-array command

* Document bitmap range validation before key lookup

* Change warning format in bitmaps documentation

Updated warning syntax for Roaring bitmap creation instructions.

---------

Signed-off-by: Antonio Viggiano <[email protected]>
Co-authored-by: David Dougherty <[email protected]>

* DEV: update modules API page for 8.12 release (#4306)

* DEV: update modules API page for 8.12 release

* Apply batched suggestions from code review

Co-authored-by: mich-elle-luna <[email protected]>

---------

Co-authored-by: mich-elle-luna <[email protected]>

* Document BITRANGEINTARRAY offset ranges, ZEROS, and pagination (#4304)

* Document negative bitmap ranks and the shared range limit

* Document bitmap range validation after key lookup

* Document uncapped bitmap enumeration and range truncation

* Document conditional string reads for BITRANGEINTARRAY

* Document bitmap value selection, offset ranges, and LIMIT pagination

* Align BITRANGEINTARRAY docs with merged ZEROS syntax

* DEV: (cmds) docs for set member expiration in 8.12 (#4337)

* DEV: (cmds) docs for set member expiration in 8.12

* Apply changes from review.

* Apply changes from upstream merge commit

* DEV: add redis-8-12-commands.md page (#4421)

* DEV: add 8.12 what's new page (#4422)

* OP: update OSS version management page for 8.12 (#4423)

* DEV: update data/commands_core.json from 8.12 GA build (#4436)

* Remove 8.12 release notes; point to redis/redis repo

* Document atomic sorted-set moves and BYSCORE batch claims (#4522)

* Document sorted-set move batches and destination conditions

* Document positive COUNT validation for sorted-set moves

* Document the ZMOVEMEMBER MEMBERS block

* Clarify final BZMOVE behavior after core merge

* Add new sorted set cmds to summary page

* Update module API page

* Update what's new for features added in 8.12-rc3

* Add compat. info to new sorted set commands

* Modify ACL categories for two bless commands

* Update config page to point to 8.12 config

---------

Signed-off-by: Antonio Viggiano <[email protected]>
Co-authored-by: yinon-bit <[email protected]>
Co-authored-by: Cursor <[email protected]>
Co-authored-by: mich-elle-luna <[email protected]>
Co-authored-by: andy-stark-redis <[email protected]>
Co-authored-by: Antonio Viggiano <[email protected]>
Co-authored-by: fcenedes <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants