Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api: Increment API feature level to 474.
Tim Abbott0803a0daad1f
diff --git a/api_docs/changelog.md b/api_docs/changelog.mdindex cde5a29acaf..1e46389a955 100644--- a/api_docs/changelog.md+++ b/api_docs/changelog.md@@ -20,6 +20,19 @@ format used by the Zulip server that they are interacting with.## Changes in Zulip 12.0+**Feature level 474**++* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):+ Removed `api_key` field from bot objects.+* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer+ sent when a bot's api key is regenerated.+* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):+ Removed `avatar_url`, `bot_type`, `email`, `full_name`, `is_active` and+ `owner_id` fields from bot objects.+* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer+ sent when updating a bot's avatar, email, name, or owner and also when+ deactivating or reactivating a bot.+**Feature level 473**- [`POST /users/{user_id}/status`](/api/update-status-for-user): Botsdiff --git a/api_docs/unmerged.d/ZF-1ba2c3.md b/api_docs/unmerged.d/ZF-1ba2c3.mddeleted file mode 100644index 1eac821d581..00000000000--- a/api_docs/unmerged.d/ZF-1ba2c3.md+++ /dev/null@@ -1,10 +0,0 @@-* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):- Removed `api_key` field from bot objects.-* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer- sent when a bot's api key is regenerated.-* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):- Removed `avatar_url`, `bot_type`, `email`, `full_name`, `is_active` and- `owner_id` fields from bot objects.-* [`GET /events`](/api/get-events): `realm_bot/update` event is no longer- sent when updating a bot's avatar, email, name, or owner and also when- deactivating or reactivating a bot.diff --git a/version.py b/version.pyindex e83693126cc..25340c47214 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 = 473+API_FEATURE_LEVEL = 474# 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. Bumpdiff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 493258ddab1..7323a6ee35d 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -4408,11 +4408,11 @@ paths:Only organization administrators and the user who owns the bot willreceive this event.- **Changes**: Starting from Zulip 12.0 (feature level ZF-1ba2c3),+ **Changes**: Starting from Zulip 12.0 (feature level 474),this event is not sent when updating bot's avatar, email, name orowner and also when reactivating or deactivating a bot.- Starting from Zulip 12.0 (feature level ZF-1ba2c3), this event is+ Starting from Zulip 12.0 (feature level 474), this event isno longer sent when a bot's API key is regenerated. Clients nowuse [`GET /bots/{bot_id}/api_key`](/api/get-bot-api-key) to getapi key for the bot.@@ -17688,10 +17688,10 @@ paths:the bot or an administrator transferred the bot's ownership to the user).**Changes**: Removed `avatar_url`, `bot_type`, `email`, `full_name`, `is_active`- and `owner_id` fields from the dictionary in Zulip 12.0 (feature level ZF-1ba2c3).+ and `owner_id` fields from the dictionary in Zulip 12.0 (feature level 474).Clients can get all these data from the corresponding user object.- Removed `api_key` field from the dictionary in Zulip 12.0 (feature level ZF-1ba2c3).+ Removed `api_key` field from the dictionary in Zulip 12.0 (feature level 474).Clients now use [`GET /bots/{bot_id}/api_key`](/api/get-bot-api-key)to get api key for the bot.realm_embedded_bots:@@ -26354,11 +26354,11 @@ components:**Changes**: Removed `avatar_url`, `bot_type`, `email`,`full_name`, `is_active` and `owner_id` fields from the- dictionary in Zulip 12.0 (feature level ZF-1ba2c3). Clients+ dictionary in Zulip 12.0 (feature level 474). Clientscan get all these data from the corresponding user object.Removed `api_key` field from the dictionary in- Zulip 12.0 (feature level ZF-1ba2c3). Clients now use+ Zulip 12.0 (feature level 474). Clients now use[`GET /bots/{bot_id}/api_key`](/api/get-bot-api-key) to getapi key for the bot.additionalProperties: false