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: Revise feature level 439 changelog entry and changes notes.

Lauryn Menardbd8a65df6e35
diff --git a/api_docs/changelog.md b/api_docs/changelog.md
index 42020a0cd13..d181cfa18b8 100644
--- a/api_docs/changelog.md
+++ b/api_docs/changelog.md
@@ -330,7 +330,8 @@ element to plain escaped text.
* [`GET /events`](/api/get-events): The deprecated `update_display_settings`
and `update_global_notifications` event types are no longer sent to any
clients. These legacy event types were deprecated in Zulip 5.0 (feature
- level 89) and replaced by the `user_settings` event type.
+ level 89) and replaced by the [`user_settings` event
+ type](/api/get-events#user_settings-update).
**Feature level 438**
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index a10067b0693..090746363c0 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -250,17 +250,15 @@ paths:
}
- type: object
description: |
- Event sent to a user's clients when that user's settings
- have changed.
+ Event sent to a user's clients when that user's settings have changed.
- **Changes**: The `update_display_settings` and `update_global_notifications`
- legacy event types that had been deprecated in Zulip 5.0 (feature level 89)
- were removed entirely in Zulip 12.0 (feature level 439). All clients should
- be using the `user_settings` event type to access user settings.
+ **Changes**: In Zulip 12.0 (feature level 439), the deprecated, legacy
+ `update_display_settings` and `update_global_notifications` event types
+ were removed entirely. All clients should be using this event type for
+ updates to a user's settings.
- New in Zulip 5.0 (feature level 89), replacing the
- previous `update_display_settings` and `update_global_notifications`
- event types, which are still present for backwards compatibility reasons.
+ New in Zulip 5.0 (feature level 89), replaced and deprecated the
+ `update_display_settings` and `update_global_notifications` event types.
properties:
id:
$ref: "#/components/schemas/EventIdSchema"
@@ -17017,20 +17015,22 @@ paths:
for backwards-compatibility; it will be required in a
future server release.
- - `user_settings_object`: Has no effect with modern servers. Previously, this
- was a boolean for whether the client supported the modern `user_settings` event type.
+ - `user_settings_object`: Has no effect with modern servers. Previously,
+ this was a boolean for whether the client supported the modern
+ [`user_settings` event type](/api/get-events#user_settings-update) and
+ the top-level `user_settings` object in this endpoint's response.
<br />
- **Changes**: Prior to Zulip 12.0 (feature level 439), if false, the server
- would additionally send the legacy `update_global_notifications` and
- `update_display_settings` event types if requested.
-
- New in Zulip 5.0 (feature level 89). Because the feature level 89 API changes
- were merged together, clients can safely make a request with this client
- capability and also request all three event types (`user_settings`,
- `update_display_settings`, `update_global_notifications`), and get exactly one
- copy of settings data on any server version. Clients can then use the
- `zulip_feature_level` in the `/register` response or the presence/absence of a
- `user_settings` key to determine where to look for the data.
+ **Changes**: Prior to Zulip 12.0 (feature level 439), if false, the
+ server would additionally send the legacy `update_global_notifications`
+ and `update_display_settings` event types, if requested.
+ <br />
+ New in Zulip 5.0 (feature level 89). Because the feature level 89 API
+ changes were merged together, clients could safely make a request with
+ this client capability, and also request all three event types
+ (`user_settings`, `update_display_settings`, and
+ `update_global_notifications`), and then use the `zulip_feature_level`
+ in this endpoint's response or the presence/absence of a `user_settings`
+ key to determine where to look for the data.
- `linkifier_url_template`: Boolean for whether the client accepts
[linkifiers][help-linkifiers] that use [RFC 6570][rfc6570] compliant
@@ -18243,22 +18243,22 @@ paths:
A dictionary containing the user's personal settings.
- **Changes**: Removed duplicate copies of many of these settings from the
- top-level object in Zulip 12.0 (feature level 439). Previously,
- clients that did not include `user_settings_object` in their
- [`client_capabilities`][capabilities] and included
- `update_display_settings` or `update_global_notifications` in
- `fetch_event_types` would receive the settings that predated feature level
- 89 in the top-level response.
-
- Removed `dense_mode` setting in Zulip 10.0 (feature level 364) as we now
- have `web_font_size_px` and `web_line_height_percent` settings for more
- control.
-
- New in Zulip 5.0 (feature level 89). Previously, these
- settings appeared in the top-level object, where they are
- available for clients without the `user_settings_object` client
- capability for backwards-compatibility.
+ **Changes**: In Zulip 12.0 (feature level 439), removed deprecated,
+ duplicate copies of many of these user settings from the top-level object.
+ Previously, clients that did not include the `user_settings_object`
+ [client capability][client-capabilities] and included `update_display_settings`
+ or `update_global_notifications` in `fetch_event_types` would receive those
+ user settings that predated feature level 89 in the top-level response.
+
+ In Zulip 10.0 (feature level 364), removed the `dense_mode` setting as we
+ now have `web_font_size_px` and `web_line_height_percent` settings for
+ more control.
+
+ New in Zulip 5.0 (feature level 89). Previously, user settings appeared
+ in the top-level object; see the `user_settings_object`
+ [client capability][client-capabilities] for backwards-compatibility.
+
+ [client-capabilities]: /api/register-queue#parameter-client_capabilities
additionalProperties: false
properties:
twenty_four_hour_time: