Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api: Increment API feature level to 392.
Tim Abbottdeaa43c7e610
diff --git a/api_docs/changelog.md b/api_docs/changelog.mdindex 53ebee88ff9..04a986cf5cc 100644--- a/api_docs/changelog.md+++ b/api_docs/changelog.md@@ -20,6 +20,31 @@ format used by the Zulip server that they are interacting with.## Changes in Zulip 11.0+**Feature level 392**++* [`GET /users/me/subscriptions`](/api/get-subscriptions),+ [`GET /streams`](/api/get-streams), [`GET /events`](/api/get-events),+ [`POST /register`](/api/register-queue): Added `topics_policy`+ field to Stream and Subscription objects.+* [`POST /users/me/subscriptions`](/api/subscribe),+ [`PATCH /streams/{stream_id}`](/api/update-stream): Added+ `topics_policy` parameter to support setting and changing the+ the configuration for sending messages in the empty topic of the+ channel.+* `PATCH /realm`, [`POST /register`](/api/register-queue),+ [`GET /events`](/api/get-events): Added `can_set_topics_policy_group`+ realm setting, which is a [group-setting value](/api/group-setting-values)+ describing the set of users with permission to change per-channel `topics_policy`+ setting.+* `PATCH /realm`, [`GET /events`](/api/get-events),+ [`POST /register`](/api/register-queue):+ Added a new realm setting, `topics_policy` defining the+ default configuration for sending messages in empty topics.+* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):+ Deprecated `mandatory_topics` field in favor of `topics_policy` realm setting.+* `PATCH /realm`: Removed `mandatory_topics` field as it is now replaced by+ `topics_policy` field.+**Feature level 391*** [`POST /user_groups/{user_group_id}/members`](/api/update-user-group-members),diff --git a/api_docs/unmerged.d/ZF-263011.md b/api_docs/unmerged.d/ZF-263011.mddeleted file mode 100644index ccbb4cda795..00000000000--- a/api_docs/unmerged.d/ZF-263011.md+++ /dev/null@@ -1,9 +0,0 @@-* [`GET /users/me/subscriptions`](/api/get-subscriptions),- [`GET /streams`](/api/get-streams), [`GET /events`](/api/get-events),- [`POST /register`](/api/register-queue): Added `topics_policy`- field to Stream and Subscription objects.-* [`POST /users/me/subscriptions`](/api/subscribe),- [`PATCH /streams/{stream_id}`](/api/update-stream): Added- `topics_policy` parameter to support setting and changing the- the configuration for sending messages in the empty topic of the- channel.diff --git a/api_docs/unmerged.d/ZF-d9265f.md b/api_docs/unmerged.d/ZF-d9265f.mddeleted file mode 100644index 76df629833a..00000000000--- a/api_docs/unmerged.d/ZF-d9265f.md+++ /dev/null@@ -1,8 +0,0 @@-* `PATCH /realm`, [`GET /events`](/api/get-events),- [`POST /register`](/api/register-queue):- Added a new realm setting, `topics_policy` defining the- default configuration for sending messages in empty topics.-* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):- Deprecated `mandatory_topics` field in favor of `topics_policy` realm setting.-* `PATCH /realm`: Removed `mandatory_topics` field as it is now replaced by- `topics_policy` field.diff --git a/api_docs/unmerged.d/ZF-ec92b4.md b/api_docs/unmerged.d/ZF-ec92b4.mddeleted file mode 100644index 380b8e88019..00000000000--- a/api_docs/unmerged.d/ZF-ec92b4.md+++ /dev/null@@ -1,5 +0,0 @@-* `PATCH /realm`, [`POST /register`](/api/register-queue),- [`GET /events`](/api/get-events): Added `can_set_topics_policy_group`- realm setting, which is a [group-setting value](/api/group-setting-values)- describing the set of users with permission to change per-channel `topics_policy`- setting.diff --git a/version.py b/version.pyindex d386cb4befe..a372f2b605f 100644--- a/version.py+++ b/version.py@@ -34,7 +34,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"# new level means in api_docs/changelog.md, as well as "**Changes**"# entries in the endpoint's documentation in `zulip.yaml`.-API_FEATURE_LEVEL = 391+API_FEATURE_LEVEL = 392# 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 8828d8399da..3542b292cd5 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -4780,7 +4780,7 @@ paths:Organization administrators can always change the `topics_policy` setting ofevery channel.- **Changes**: New in Zulip 10.0 (feature level ZF-ec92b4).+ **Changes**: New in Zulip 11.0 (feature level 392).- $ref: "#/components/schemas/GroupSettingValue"can_invite_users_group:allOf:@@ -5086,7 +5086,7 @@ paths:description: |Whether [topics are required](/help/require-topics) for messages in this organization.- **Changes**: Deprecated in Zulip 10.0 (feature level ZF-d9265f). This configuration is+ **Changes**: Deprecated in Zulip 11.0 (feature level 392). This configuration isnow controlled by `topics_policy` realm setting.topics_policy:type: string@@ -5099,7 +5099,7 @@ paths:- allow_empty_topic - Topics are not required to send messages in the channels.- disable_empty_topic - Topics are required to send messages in the channels.- **Changes**: New in Zulip 10.0 (feature level ZF-d9265f). Previously, this configuration was+ **Changes**: New in Zulip 11.0 (feature level 392). Previously, this configuration wascontrolled by a boolean realm setting, `mandatory_topics`.max_file_upload_size_mib:type: integer@@ -17852,7 +17852,7 @@ paths:Organization administrators can always change the `topics_policy` setting ofevery channel.- **Changes**: New in Zulip 10.0 (feature level ZF-ec92b4).+ **Changes**: New in Zulip 11.0 (feature level 392).- $ref: "#/components/schemas/GroupSettingValue"realm_can_invite_users_group:allOf:@@ -18253,7 +18253,7 @@ paths:Whether [topics are required](/help/require-topics) for messages in this organization.- **Changes**: Deprecated in Zulip 10.0 (feature level ZF-d9265f). This configuration is+ **Changes**: Deprecated in Zulip 11.0 (feature level 392). This configuration isnow controlled by `topics_policy` realm setting.realm_topics_policy:type: string@@ -18268,7 +18268,7 @@ paths:- allow_empty_topic - Topics are not required to send messages in the channels.- disable_empty_topic - Topics are required to send messages in the channels.- **Changes**: New in Zulip 10.0 (feature level ZF-d9265f). Previously, this configuration was+ **Changes**: New in Zulip 11.0 (feature level 392). Previously, this configuration wascontrolled by a boolean realm setting, `mandatory_topics`.realm_message_retention_days:type: integer@@ -26962,7 +26962,7 @@ components:- allow_empty_topic - Topics are not required to send messages in the channel.- disable_empty_topic - Topics are required to send messages in the channel.- **Changes**: New in Zulip 10.0 (feature level ZF-263011).+ **Changes**: New in Zulip 11.0 (feature level 392).ChannelCanAddSubscribersGroup:allOf:- $ref: "#/components/schemas/GroupSettingValue"