Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api_docs: Document recipient_id changes.

Alex Vandiver9a32968e45b3
diff --git a/api_docs/changelog.md b/api_docs/changelog.md
index bf279d3d209..505c8ac16c3 100644
--- a/api_docs/changelog.md
+++ b/api_docs/changelog.md
@@ -20,6 +20,15 @@ format used by the Zulip server that they are interacting with.
## Changes in Zulip 12.0
+**Feature level 482**
+
+* [`GET /messages`](/api/get-messages), [`GET
+ /messages/{message_id}`](/api/get-message), [`GET
+ /events`](/api/get-events): The `recipient_id` in 1:1 direct
+ messages changed to a new value; it still has the semantics of "the
+ 1:1 conversation with a specific user," but the raw value changed
+ due to internal changes.
+
**Feature level 481**
* [`POST /register`](/api/register-queue): Added `idle_queue_timeout`
diff --git a/version.py b/version.py
index 67f67216d81..4248f4759c1 100644
--- a/version.py
+++ b/version.py
@@ -33,7 +33,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
# https://zulip.readthedocs.io/en/latest/documentation/api.html#step-by-step-guide
# Also available at docs/documentation/api.md.
-API_FEATURE_LEVEL = 481
+API_FEATURE_LEVEL = 482
# Bump the minor PROVISION_VERSION to indicate that folks should provision
# only when going from an old version of the code to a newer version. Bump
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index 5564aaa55ee..80c5c16ce0d 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -28497,7 +28497,13 @@ components:
message (either a channel or group of users). Useful primarily
for hashing.
- **Changes**: Before Zulip 10.0 (feature level 327), `recipient_id`
+ **Changes**: In Zulip 12.0 (feature level 482),
+ `recipient_id` in 1:1 direct messages changed to a new
+ value; it still has the semantics of "the 1:1 conversation
+ with a specific user," but the raw value changed due to
+ internal changes.
+
+ Before Zulip 10.0 (feature level 327), `recipient_id`
was the same across all incoming 1:1 direct messages. Now, each
incoming message uniquely shares a `recipient_id` with outgoing
messages in the same conversation.