Skip to content

Conversation

@nkaradzhov
Copy link
Collaborator

Description

NOTE: tests will fail for XINFO_STREAM command and that is expected and unrelated to this PR

https://docs.google.com/document/d/1RkGvTn_PhnU-LNrxJHTu08E4h5C3ZSIut6zS_cIl9dM

Describe your pull request here


Checklist

  • Does npm test pass with this change (including linting)?
  • Is the new or changed code fully tested?
  • Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

@nkaradzhov nkaradzhov changed the title Xadd [8.6] Xadd changes Jan 22, 2026
matrix:
node-version: ["18", "20", "22"]
redis-version: ["rs-7.4.0-v1", "8.0.2", "8.2", "8.4.0"]
redis-version: ["rs-7.4.0-v1", "8.0.2", "8.2", "custom-21183968220-debian-amd64"]
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we replace 8.0.2 instead of 8.4.0?

export interface XAddOptions {
/** added in 8.2 */
policy?: StreamDeletionPolicy;
/** added in 8.2 */
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be 8.6?

IDMPAUTO?: {
pid: RedisArgument;
};
/** added in 8.2 */
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be 8.6?

*
*
* @property policy - Reference tracking policy for the entry (KEEPREF, DELREF, or ACKED) - added in 8.2
* @property IDMPAUTO - Automatically calculate an idempotent ID based on entry content to prevent duplicate entries - added in 8.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Should say 8.6?

* @property policy - Reference tracking policy for the entry (KEEPREF, DELREF, or ACKED) - added in 8.2
* @property IDMPAUTO - Automatically calculate an idempotent ID based on entry content to prevent duplicate entries - added in 8.2
* @property IDMPAUTO.pid - Producer ID, must be unique per producer and consistent across restarts
* @property IDMP - Use a specific idempotent ID to prevent duplicate entries - added in 8.2
Copy link
Contributor

Choose a reason for hiding this comment

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

Should say 8.6?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants