2021-10-01 22:34:17 +02:00
|
|
|
|
# API changelog
|
2020-04-29 05:55:42 +02:00
|
|
|
|
|
2021-11-02 22:14:49 +01:00
|
|
|
|
This page documents changes to the Zulip Server API over time. See
|
2021-11-02 22:45:14 +01:00
|
|
|
|
also the [Zulip release lifecycle][release-lifecycle] for background
|
|
|
|
|
on why this API changelog is important, and the [Zulip server
|
|
|
|
|
changelog][server-changelog].
|
2020-04-29 05:55:42 +02:00
|
|
|
|
|
2021-11-02 22:14:49 +01:00
|
|
|
|
The API feature levels system used in this changelog is designed to
|
|
|
|
|
make it possible to write API clients, such as the Zulip mobile and
|
|
|
|
|
terminal apps, that work with a wide range of Zulip server
|
2023-03-15 01:46:07 +01:00
|
|
|
|
versions. Every change to the Zulip API is recorded briefly here and
|
|
|
|
|
with full details in **Changes** entries in the API documentation for
|
|
|
|
|
the modified endpoint(s).
|
2021-11-02 22:14:49 +01:00
|
|
|
|
|
|
|
|
|
When using an API endpoint whose behavior has changed, Zulip API
|
|
|
|
|
clients should check the `zulip_feature_level` field, present in the
|
|
|
|
|
[`GET /server_settings`](/api/get-server-settings) and [`POST
|
|
|
|
|
/register`](/api/register-queue) responses, to determine the API
|
|
|
|
|
format used by the Zulip server that they are interacting with.
|
2020-04-29 05:55:42 +02:00
|
|
|
|
|
2024-07-25 22:59:17 +02:00
|
|
|
|
## Changes in Zulip 10.0
|
|
|
|
|
|
2024-09-12 11:46:48 +02:00
|
|
|
|
**Feature level 294**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Clients that do not
|
|
|
|
|
support the `include_deactivated_groups`
|
|
|
|
|
[client capability](/api/register-queue#parameter-client_capabilities)
|
|
|
|
|
do not receive deactivated user groups in the response.
|
|
|
|
|
* [`GET /events`](/api/get-events): Clients that do not support the
|
|
|
|
|
`include_deactivated_groups`
|
|
|
|
|
[client capability](/api/register-queue#parameter-client_capabilities)
|
|
|
|
|
receive `remove` event on user group deactivation instead of `update`
|
|
|
|
|
event.
|
|
|
|
|
* [`GET /events`](/api/get-events): Clients that do not support the
|
|
|
|
|
`include_deactivated_groups`
|
|
|
|
|
[client capability](/api/register-queue#parameter-client_capabilities)
|
|
|
|
|
do not receive `update` event when name of a deactivated user group
|
|
|
|
|
is updated.
|
|
|
|
|
|
2024-09-09 12:51:38 +02:00
|
|
|
|
**Feature level 293**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings):
|
|
|
|
|
Added a new `allow_private_data_export` setting to allow users to decide
|
|
|
|
|
whether to let administrators export their private data.
|
|
|
|
|
|
2024-06-04 12:36:52 +02:00
|
|
|
|
**Feature level 292**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events), [`GET
|
|
|
|
|
/user_groups`](/api/get-user-groups): Added `creator_id` and
|
|
|
|
|
`date_created` fields to user groups objects.
|
|
|
|
|
|
2024-09-11 19:13:37 +02:00
|
|
|
|
**Feature level 291**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`GET /events`](/api/get-events),
|
|
|
|
|
[`POST /register`](/api/register-queue):
|
|
|
|
|
Added `can_delete_own_message_group` realm setting which is a
|
|
|
|
|
[group-setting value](/api/group-setting-values) describing the set of users
|
|
|
|
|
with permission to delete the messages that they have sent in the organization.
|
2024-09-11 19:26:04 +02:00
|
|
|
|
* `PATCH /realm`, [`GET /events`](/api/get-events): Removed
|
|
|
|
|
`delete_own_message_policy` property, as the permission to delete own messages
|
|
|
|
|
is now controlled by `can_delete_own_message_group` setting.
|
2024-09-11 19:13:37 +02:00
|
|
|
|
|
2024-05-15 15:44:18 +02:00
|
|
|
|
**Feature level 290**
|
|
|
|
|
|
|
|
|
|
* [`POST /user_groups/{user_group_id}/deactivate`](/api/deactivate-user-group):
|
|
|
|
|
Added new API endpoint to deactivate a user group.
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/user_groups`](/api/get-user-groups): Added `deactivated` field in
|
|
|
|
|
the user group objects to identify deactivated user groups.
|
|
|
|
|
* [`GET /events`](/api/get-events): When a user group is deactivated,
|
|
|
|
|
a `user_group` event with `op=update` is sent to clients.
|
2024-06-06 12:00:16 +02:00
|
|
|
|
* [`GET /user_groups`](/api/get-user-groups): Added support for
|
|
|
|
|
excluding deactivated user groups from the response.
|
2024-05-15 15:44:18 +02:00
|
|
|
|
|
2024-08-03 19:41:35 +02:00
|
|
|
|
**Feature level 289**
|
|
|
|
|
|
|
|
|
|
* [`POST /users/{user_id}/subscription`](/api/subscribe): In the response,
|
|
|
|
|
users are identified by their numeric user ID rather than by their
|
|
|
|
|
Zulip API email address.
|
|
|
|
|
|
2024-08-30 00:55:09 +02:00
|
|
|
|
**Feature level 288**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue):
|
|
|
|
|
A new `presence_history_limit_days` parameter can be given, instructing
|
|
|
|
|
the server to only fetch presence data more recent than the given
|
|
|
|
|
number of days ago.
|
|
|
|
|
* [`POST /users/me/presence`](/api/update-presence):
|
|
|
|
|
A new `history_limit_days` parameter can be given, with the
|
|
|
|
|
same meaning as in the `presence_history_limit_days` parameter of
|
|
|
|
|
[`POST /register`](/api/register-queue) above.
|
|
|
|
|
|
2024-09-04 18:01:56 +02:00
|
|
|
|
**Feature level 287**
|
|
|
|
|
|
|
|
|
|
* [Markdown message
|
|
|
|
|
formatting](/api/message-formatting#image-previews): Added
|
|
|
|
|
`data-original-dimensions` attributes to placeholder images
|
|
|
|
|
(`image-loading-placeholder`), containing the dimensions of the
|
|
|
|
|
original image. This change was also backported to the Zulip 9.x
|
|
|
|
|
series, at feature level 278.
|
|
|
|
|
|
2024-09-10 00:27:44 +02:00
|
|
|
|
**Feature level 286**
|
|
|
|
|
|
|
|
|
|
* [`POST /user_uploads`](/api/upload-file): Added `filename` field to
|
|
|
|
|
the response, which is closer to the original filename than the
|
|
|
|
|
basename of the `url` field in the response.
|
|
|
|
|
|
2024-07-28 03:21:33 +02:00
|
|
|
|
**Feature level 285**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message): Added
|
|
|
|
|
`detached_uploads` to the response, indicating which uploaded files
|
|
|
|
|
are now only accessible via message edit history.
|
|
|
|
|
|
2024-08-26 11:02:11 +02:00
|
|
|
|
**Feature level 284**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/{message_id}`](/api/get-message),
|
|
|
|
|
[`POST /zulip-outgoing-webhook`](/api/zulip-outgoing-webhooks): Removed
|
|
|
|
|
the `prev_rendered_content_version` field from the `edit_history` object
|
|
|
|
|
within message objects and the `update_message` event type as it is an
|
|
|
|
|
internal server implementation detail not used by any client.
|
|
|
|
|
|
2023-07-24 17:44:11 +02:00
|
|
|
|
**Feature level 283**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /user_groups`](/api/get-user-groups): Add `can_manage_group` to
|
|
|
|
|
user group objects.
|
2023-07-25 14:57:19 +02:00
|
|
|
|
* [`POST /user_groups/create`](/api/create-user-group): Added `can_manage_group`
|
|
|
|
|
parameter to support setting the user group whose members can manage the user
|
|
|
|
|
group.
|
2023-07-25 13:13:52 +02:00
|
|
|
|
* [`PATCH /user_groups/{user_group_id}`](/api/update-user-group): Added
|
|
|
|
|
`can_manage_group` parameter to support changing the user group whose
|
|
|
|
|
members can manage the specified user group.
|
2023-07-24 17:44:11 +02:00
|
|
|
|
|
2024-07-25 09:07:44 +02:00
|
|
|
|
**Feature level 282**
|
|
|
|
|
|
|
|
|
|
* `POST users/me/tutorial_status`: Removed this undocumented endpoint,
|
|
|
|
|
as the state that it maintained has been replaced by a cleaner
|
|
|
|
|
`onboarding_steps` implementation.
|
|
|
|
|
|
2024-08-15 07:29:15 +02:00
|
|
|
|
**Feature level 281**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
|
|
|
|
Added a new realm setting `realm_can_delete_any_message_group` which is a
|
|
|
|
|
[group-setting value](/api/group-setting-values) describing the set of
|
|
|
|
|
users with permission to delete any message in the organization.
|
|
|
|
|
|
2024-07-01 16:48:16 +02:00
|
|
|
|
**Feature level 280**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `can_create_web_public_channel_group`
|
|
|
|
|
realm setting, which is a [group-setting value](/api/group-setting-values)
|
|
|
|
|
describing the set of users with permission to create web-public channels.
|
2024-07-26 09:43:58 +02:00
|
|
|
|
* `PATCH /realm`, [`GET /events`](/api/get-events): Removed
|
|
|
|
|
`create_web_public_stream_policy` property, as the permission to create
|
|
|
|
|
web-public channels is now controlled by `can_create_web_public_channel_group`
|
|
|
|
|
setting.
|
|
|
|
|
* [`POST /register`](/api/register-queue): `realm_create_web_public_stream_policy`
|
|
|
|
|
field is deprecated, having been replaced by `can_create_web_public_channel_group`.
|
|
|
|
|
Notably, this backwards-compatible `realm_create_web_public_stream_policy` value
|
|
|
|
|
now contains the superset of the true value that best approximates the actual
|
|
|
|
|
permission setting.
|
2024-07-01 16:48:16 +02:00
|
|
|
|
|
2024-07-25 22:59:17 +02:00
|
|
|
|
Feature levels 278-279 are reserved for future use in 9.x maintenance
|
|
|
|
|
releases.
|
|
|
|
|
|
2023-12-15 21:42:42 +01:00
|
|
|
|
## Changes in Zulip 9.0
|
|
|
|
|
|
2024-09-04 18:01:56 +02:00
|
|
|
|
**Feature level 278**
|
|
|
|
|
|
|
|
|
|
* [Markdown message
|
|
|
|
|
formatting](/api/message-formatting#image-previews): Added
|
|
|
|
|
`data-original-dimensions` attributes to placeholder images
|
|
|
|
|
(`image-loading-placeholder`), containing the dimensions of the
|
|
|
|
|
original image. Backported change from feature level 287.
|
|
|
|
|
|
2024-07-25 21:24:37 +02:00
|
|
|
|
**Feature level 277**
|
|
|
|
|
|
|
|
|
|
No changes; feature level used for Zulip 9.0 release.
|
|
|
|
|
|
2024-07-22 23:16:03 +02:00
|
|
|
|
**Feature level 276**
|
|
|
|
|
|
|
|
|
|
* [Markdown message formatting](/api/message-formatting#image-previews):
|
|
|
|
|
Image preview elements not contain a `data-original-dimensions`
|
|
|
|
|
attribute containing the dimensions of the original image.
|
|
|
|
|
|
2024-07-21 15:23:56 +02:00
|
|
|
|
**Feature level 275**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH
|
|
|
|
|
/settings`](/api/update-settings), [`PATCH
|
|
|
|
|
/realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added new `web_animate_image_previews` setting, which controls how
|
|
|
|
|
animated images should be played in the web/desktop app message feed.
|
|
|
|
|
|
2024-07-17 05:11:28 +02:00
|
|
|
|
**Feature level 274**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): `delete_message` events are now
|
|
|
|
|
always sent to the user who deletes the message, even if the message
|
|
|
|
|
was in a channel that the user was not subscribed to.
|
|
|
|
|
|
2024-07-13 05:16:41 +02:00
|
|
|
|
**Feature level 273**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `server_thumbnail_formats`
|
|
|
|
|
describing what formats the server will thumbnail images into.
|
|
|
|
|
|
2024-07-15 07:06:38 +02:00
|
|
|
|
**Feature level 272**
|
|
|
|
|
|
|
|
|
|
* [`POST /user_uploads`](/api/upload-file): `uri` was renamed
|
|
|
|
|
to `url`, but remains available as a deprecated alias for
|
|
|
|
|
backwards-compatibility.
|
|
|
|
|
|
2024-06-28 08:57:02 +02:00
|
|
|
|
**Feature level 271**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/matches_narrow`](/api/check-messages-match-narrow),
|
|
|
|
|
[`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow),
|
|
|
|
|
[`POST /register`](/api/register-queue):
|
2024-07-17 05:00:55 +02:00
|
|
|
|
Added support for a new [search/narrow filter](/api/construct-narrow#changes)
|
|
|
|
|
operator, `with`, which uses a message ID for its operand. It returns
|
|
|
|
|
messages in the same conversation as the message with the specified
|
|
|
|
|
ID, and is designed to be used for creating permanent links to topics
|
|
|
|
|
that continue to work when a topic is moved or resolved.
|
2024-06-28 08:57:02 +02:00
|
|
|
|
|
2024-07-08 19:00:08 +02:00
|
|
|
|
**Feature level 270**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added two new realm settings,
|
|
|
|
|
`direct_message_initiator_group`, which is a
|
|
|
|
|
[group-setting value](/api/group-setting-values) describing the
|
|
|
|
|
set of users with permission to initiate direct message thread, and
|
|
|
|
|
`direct_message_permission_group`, which is a
|
|
|
|
|
[group-setting value](/api/group-setting-values) describing the
|
|
|
|
|
set of users of which at least one member must be included as sender
|
|
|
|
|
or recipient in all personal and group direct messages.
|
2024-07-08 19:00:19 +02:00
|
|
|
|
Removed `private_message_policy` property, as the permission to send
|
|
|
|
|
direct messages is now controlled by `direct_message_initiator_group`
|
|
|
|
|
and `direct_message_permission_group` settings.
|
2024-07-08 19:00:08 +02:00
|
|
|
|
|
2024-07-03 12:43:47 +02:00
|
|
|
|
**Feature level 269**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH
|
|
|
|
|
/settings`](/api/update-settings), [`PATCH
|
|
|
|
|
/realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added new user setting `web_channel_default_view`, controlling the
|
|
|
|
|
behavior of clicking a channel link in the web/desktop apps.
|
|
|
|
|
|
2024-07-04 11:48:17 +02:00
|
|
|
|
**Feature level 268**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
|
|
|
|
[`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings):
|
|
|
|
|
Added a new `web_navigate_to_sent_message` setting to allow users to decide
|
|
|
|
|
whether to automatically go to conversation where they sent a message.
|
|
|
|
|
|
2024-04-18 19:38:47 +02:00
|
|
|
|
**Feature level 267**
|
|
|
|
|
|
|
|
|
|
* [`GET /invites`](/api/get-invites),[`POST /invites`](/api/send-invites): Added
|
|
|
|
|
`notify_referrer_on_join` parameter, indicating whether the referrer has opted
|
|
|
|
|
to receive a direct message from the notification bot whenever a user joins
|
|
|
|
|
via this invitation.
|
|
|
|
|
|
2024-06-17 12:23:43 +02:00
|
|
|
|
**Feature level 266**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `can_create_private_channel_group`
|
|
|
|
|
realm setting, which is a [group-setting value](/api/group-setting-values)
|
|
|
|
|
describing the set of users with permission to create private channels.
|
2024-06-17 17:42:08 +02:00
|
|
|
|
* `PATCH /realm`, [`GET /events`](/api/get-events): Removed
|
|
|
|
|
`create_private_stream_policy` property, as the permission to create private
|
|
|
|
|
channels is now controlled by `can_create_private_channel_group` setting.
|
|
|
|
|
* [`POST /register`](/api/register-queue): `realm_create_private_stream_policy`
|
|
|
|
|
field is deprecated, having been replaced by `can_create_private_channel_group`.
|
|
|
|
|
Notably, this backwards-compatible `realm_create_private_stream_policy` value
|
|
|
|
|
now contains the superset of the true value that best approximates the actual
|
|
|
|
|
permission setting.
|
2024-06-17 12:23:43 +02:00
|
|
|
|
|
2023-10-25 19:44:52 +02:00
|
|
|
|
**Feature level 265**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/matches_narrow`](/api/check-messages-match-narrow),
|
|
|
|
|
[`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow),
|
|
|
|
|
[`POST /register`](/api/register-queue):
|
2024-07-17 04:57:40 +02:00
|
|
|
|
Added a new [search/narrow filter](/api/construct-narrow#changes),
|
2023-10-25 19:44:52 +02:00
|
|
|
|
`is:followed`, matching messages in topics that the current user is
|
|
|
|
|
[following](/help/follow-a-topic).
|
|
|
|
|
|
2024-05-23 16:21:25 +02:00
|
|
|
|
**Feature level 264**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `can_create_public_channel_group`
|
|
|
|
|
realm setting, which is a [group-setting value](/api/group-setting-values)
|
|
|
|
|
describing the set of users with permission to create channels.
|
2024-05-30 04:04:44 +02:00
|
|
|
|
* `PATCH /realm`, [`GET /events`](/api/get-events): Removed
|
|
|
|
|
`create_public_stream_policy` property, as the permission to create public
|
|
|
|
|
channels is now controlled by `can_create_public_channel_group` setting.
|
|
|
|
|
* [`POST /register`](/api/register-queue): `realm_create_public_stream_policy`
|
|
|
|
|
field is deprecated, having been replaced by `can_create_public_channel_group`.
|
|
|
|
|
Notably, this backwards-compatible `realm_create_public_stream_policy` value
|
|
|
|
|
now contains the superset of the true value that best approximates the actual
|
|
|
|
|
permission setting.
|
2024-05-23 16:21:25 +02:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 263**
|
2024-06-05 21:36:22 +02:00
|
|
|
|
|
2024-06-07 10:49:36 +02:00
|
|
|
|
* [`POST /users/me/presence`](/api/update-presence):
|
|
|
|
|
A new `last_update_id` parameter can be given, instructing
|
2024-06-05 21:36:22 +02:00
|
|
|
|
the server to only fetch presence data with `last_update_id`
|
|
|
|
|
greater than the value provided. The server also provides
|
|
|
|
|
a `presence_last_update_id` field in the response, which
|
|
|
|
|
tells the client the greatest `last_update_id` of the fetched
|
|
|
|
|
presence data. This can then be used as the value in the
|
|
|
|
|
aforementioned parameter to avoid re-fetching of already known
|
|
|
|
|
data when polling the endpoint next time.
|
|
|
|
|
Additionally, the client specifying the `last_update_id`
|
|
|
|
|
implies it uses the modern API format, so
|
|
|
|
|
`slim_presence=true` will be assumed by the server.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): The response now also
|
|
|
|
|
includes a `presence_last_update_id` field, with the same
|
2024-06-07 10:49:36 +02:00
|
|
|
|
meaning as described above for [`/users/me/presence`](/api/update-presence).
|
2024-06-05 21:36:22 +02:00
|
|
|
|
In the same way, the retrieved value can be passed when
|
2024-06-07 10:49:36 +02:00
|
|
|
|
querying [`/users/me/presence`](/api/update-presence) to avoid
|
|
|
|
|
re-fetching of already known data.
|
2024-06-05 21:36:22 +02:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 262**
|
2024-05-16 15:59:27 +02:00
|
|
|
|
|
|
|
|
|
* [`GET /users/{user_id}/status`](/api/get-user-status): Added a new
|
|
|
|
|
endpoint to fetch an individual user's currently set
|
|
|
|
|
[status](/help/status-and-availability).
|
|
|
|
|
|
2023-05-25 11:44:09 +02:00
|
|
|
|
**Feature level 261**
|
|
|
|
|
|
2024-05-15 15:26:51 +02:00
|
|
|
|
* [`POST /invites`](/api/send-invites),
|
|
|
|
|
[`POST /invites/multiuse`](/api/create-invite-link): Added
|
|
|
|
|
`include_realm_default_subscriptions` parameter to indicate whether
|
|
|
|
|
the newly created user will be automatically subscribed to [default
|
|
|
|
|
channels](/help/set-default-channels-for-new-users) in the
|
|
|
|
|
organization. Previously, the default channel IDs needed to be included
|
|
|
|
|
in the `stream_ids` parameter. This also allows a newly created user
|
|
|
|
|
to be automatically subscribed to the default channels in an
|
|
|
|
|
organization when the user creating the invitation does not generally
|
|
|
|
|
have permission to [subscribe other users to
|
|
|
|
|
channels](/help/configure-who-can-invite-to-channels).
|
2023-05-25 11:44:09 +02:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 260**
|
2024-05-02 15:52:23 +02:00
|
|
|
|
|
|
|
|
|
* [`PATCH /user_groups/{user_group_id}`](/api/update-user-group):
|
|
|
|
|
Updating `can_mention_group` now uses a race-resistant format where
|
|
|
|
|
the client sends the expected `old` value and desired `new` value.
|
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 259**
|
2024-05-10 15:37:43 +02:00
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events):
|
|
|
|
|
For the `onboarding_steps` event type, an array of onboarding steps
|
|
|
|
|
to be displayed to clients is sent. Onboarding step now has one-time
|
|
|
|
|
notices as the only valid type. Prior to this, both hotspots and
|
|
|
|
|
one-time notices were valid types of onboarding steps. There is no compatibility
|
|
|
|
|
support, as we expect that only official Zulip clients will interact with
|
|
|
|
|
this data. Currently, no client other than the Zulip web app uses this.
|
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 258**
|
2024-05-02 05:52:37 +02:00
|
|
|
|
|
|
|
|
|
* [`GET /user_groups`](/api/get-user-groups), [`POST
|
|
|
|
|
/register`](/api/register-queue): `can_mention_group` field can now
|
|
|
|
|
either be an ID of a named user group with the permission, or an
|
|
|
|
|
object describing the set of users and groups with the permission.
|
2024-04-30 15:16:58 +02:00
|
|
|
|
* [`POST /user_groups/create`](/api/create-user-group), [`PATCH
|
|
|
|
|
/user_groups/{user_group_id}`](/api/update-user-group): The
|
2024-04-29 05:51:48 +02:00
|
|
|
|
`can_mention_group` parameter can now either be an ID of a named
|
|
|
|
|
user group or an object describing a set of users and groups.
|
2024-05-02 05:52:37 +02:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 257**
|
2024-05-07 06:08:52 +02:00
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue),
|
|
|
|
|
[`POST /server_settings`](/api/get-server-settings), `PATCH /realm`:
|
|
|
|
|
`realm_uri` was renamed to `realm_url`, but remains available as a
|
|
|
|
|
deprecated alias for backwards-compatibility.
|
|
|
|
|
* Mobile push notification payloads, similarly, have a new `realm_url`,
|
|
|
|
|
replacing `realm_uri`, which remains available as a deprecated alias
|
|
|
|
|
for backwards-compatibility.
|
|
|
|
|
|
2024-04-27 16:51:14 +02:00
|
|
|
|
**Feature level 256**
|
|
|
|
|
|
2024-05-27 20:14:32 +02:00
|
|
|
|
* [`POST /streams/{stream_id}/delete_topic`](/api/delete-topic),
|
|
|
|
|
[`GET /events`](/api/get-events): When messages are deleted, a
|
|
|
|
|
[`stream` op: `update`](/api/get-events#stream-update) event with
|
|
|
|
|
an updated value for `first_message_id` may now be sent to clients.
|
2024-04-27 16:51:14 +02:00
|
|
|
|
|
2024-04-24 23:32:48 +02:00
|
|
|
|
**Feature level 255**
|
|
|
|
|
|
|
|
|
|
* "Stream" was renamed to "Channel" across strings in the Zulip API
|
|
|
|
|
and UI. Clients supporting a range of server versions are encouraged
|
|
|
|
|
to use different strings based on the server's API feature level for
|
|
|
|
|
consistency. Note that feature level marks the strings transition
|
|
|
|
|
only: Actual API changes related to this transition have their own
|
|
|
|
|
API changelog entries.
|
|
|
|
|
|
2024-03-22 19:37:19 +01:00
|
|
|
|
**Feature level 254**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
[`GET /streams`](/api/get-streams),
|
|
|
|
|
[`GET /streams/{stream_id}`](/api/get-stream-by-id),
|
|
|
|
|
[`GET /users/me/subscriptions`](/api/get-subscriptions): Added a new
|
2024-04-21 13:57:10 +02:00
|
|
|
|
field `creator_id` to stream and subscription objects, which contains the
|
|
|
|
|
user ID of the stream's creator.
|
2024-03-22 19:37:19 +01:00
|
|
|
|
|
2024-04-12 19:30:29 +02:00
|
|
|
|
**Feature level 253**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
|
|
|
|
[`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings):
|
|
|
|
|
Added new `receives_typing_notifications` option to allow users to decide whether
|
|
|
|
|
to receive typing notification events from other users.
|
|
|
|
|
|
2024-03-30 09:56:26 +01:00
|
|
|
|
**Feature level 252**
|
|
|
|
|
|
2024-03-30 13:12:18 +01:00
|
|
|
|
* `PATCH /realm/profile_fields/{field_id}`: `name`, `hint`, `display_in_profile_summary`,
|
|
|
|
|
`required` and `field_data` fields are now optional during an update. Previously we
|
|
|
|
|
required the clients to populate the fields in the PATCH request even if there was
|
|
|
|
|
no change to those fields' values.
|
2024-03-30 09:56:26 +01:00
|
|
|
|
|
2024-03-20 02:30:08 +01:00
|
|
|
|
**Feature level 251**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Fixed `realm_upload_quota_mib`
|
|
|
|
|
value to actually be in MiB. Until now the value was in bytes.
|
|
|
|
|
|
2024-04-12 13:46:36 +02:00
|
|
|
|
**Feature level 250**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/matches_narrow`](/api/check-messages-match-narrow),
|
|
|
|
|
[`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow),
|
|
|
|
|
[`POST /register`](/api/register-queue):
|
2024-07-17 04:57:40 +02:00
|
|
|
|
Added support for two [search/narrow filters](/api/construct-narrow#changes)
|
2024-04-12 13:46:36 +02:00
|
|
|
|
related to stream messages: `channel` and `channels`. The `channel`
|
|
|
|
|
operator is an alias for the `stream` operator. The `channels`
|
|
|
|
|
operator is an alias for the `streams` operator.
|
|
|
|
|
|
2024-04-02 06:24:20 +02:00
|
|
|
|
**Feature level 249**
|
|
|
|
|
|
2024-04-22 12:14:11 +02:00
|
|
|
|
* [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/matches_narrow`](/api/check-messages-match-narrow),
|
|
|
|
|
[`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow),
|
|
|
|
|
[`POST /register`](/api/register-queue):
|
2024-07-17 04:57:40 +02:00
|
|
|
|
Added support for a new [search/narrow filter](/api/construct-narrow#changes),
|
2024-04-22 12:14:11 +02:00
|
|
|
|
`has:reaction`, which returns messages with at least one [emoji
|
|
|
|
|
reaction](/help/emoji-reactions).
|
2024-04-02 06:24:20 +02:00
|
|
|
|
|
2024-04-10 20:48:10 +02:00
|
|
|
|
**Feature level 248**
|
|
|
|
|
|
|
|
|
|
* [`POST /typing`](/api/set-typing-status), [`POST /messages`](/api/send-message),
|
|
|
|
|
[`POST /scheduled_messages`](/api/create-scheduled-message),
|
|
|
|
|
[`PATCH /scheduled_messages/<int:scheduled_message_id>`](/api/update-scheduled-message):
|
|
|
|
|
Added `"channel"` as an additional value for the `type` parameter to
|
|
|
|
|
indicate a stream message.
|
|
|
|
|
|
2024-03-13 19:19:24 +01:00
|
|
|
|
**Feature level 247**
|
|
|
|
|
|
|
|
|
|
* [Markdown message formatting](/api/message-formatting#mentions):
|
|
|
|
|
Added `channel` to the supported options for [wildcard
|
|
|
|
|
mentions](/help/mention-a-user-or-group#mention-everyone-on-a-stream).
|
|
|
|
|
|
2024-03-11 20:02:05 +01:00
|
|
|
|
**Feature level 246**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`POST
|
|
|
|
|
/events`](/api/get-events): Added new `require_unique_names` setting
|
|
|
|
|
controlling whether users names can duplicate others.
|
|
|
|
|
|
2024-03-06 17:25:31 +01:00
|
|
|
|
**Feature level 245**
|
|
|
|
|
|
|
|
|
|
* [`PATCH
|
|
|
|
|
/realm/user_settings_defaults`](/api/update-realm-user-settings-defaults)
|
|
|
|
|
[`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events), [`PATCH
|
|
|
|
|
/settings`](/api/update-settings): Added new `web_font_size_px` and
|
|
|
|
|
`web_line_height_percent` settings to allow users to control the
|
|
|
|
|
styling of the web application.
|
|
|
|
|
|
2024-03-19 14:22:03 +01:00
|
|
|
|
**Feature level 244**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
[`POST /realm/profile_fields`](/api/create-custom-profile-field),
|
|
|
|
|
[`GET /realm/profile_fields`](/api/get-custom-profile-fields): Added a new
|
|
|
|
|
parameter `required`, on custom profile field objects, indicating whether an
|
|
|
|
|
organization administrator has configured the field as something users should
|
|
|
|
|
be required to provide.
|
|
|
|
|
|
2024-02-16 01:06:32 +01:00
|
|
|
|
**Feature level 243**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events): Changed the format of
|
|
|
|
|
`realm_authentication_methods` and `authentication_methods`,
|
|
|
|
|
respectively, to use a dictionary rather than a boolean as the value
|
|
|
|
|
for each authentication method. The new dictionaries are more
|
|
|
|
|
extensively and contain fields indicating whether the backend is
|
|
|
|
|
unavailable to the current realm due to Zulip Cloud plan
|
|
|
|
|
restrictions or any other reason.
|
|
|
|
|
|
2024-01-26 14:45:37 +01:00
|
|
|
|
**Feature level 242**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`POST /events`](/api/get-events),
|
|
|
|
|
`PATCH /realm`: Added `zulip_update_announcements_stream_id` realm setting,
|
|
|
|
|
which is the ID of the of the stream to which automated messages announcing
|
|
|
|
|
new features or other end-user updates about the Zulip software are sent.
|
|
|
|
|
|
2024-02-07 12:13:02 +01:00
|
|
|
|
**Feature level 241**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`POST /events`](/api/get-events),
|
2024-02-07 17:11:43 +01:00
|
|
|
|
`PATCH /realm`: Renamed the realm settings `notifications_stream` and
|
|
|
|
|
`signup_notifications_stream` to `new_stream_announcements_stream` and
|
|
|
|
|
`signup_announcements_stream`, respectively.
|
2024-02-07 12:13:02 +01:00
|
|
|
|
|
2024-02-10 04:19:08 +01:00
|
|
|
|
**Feature level 240**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): The `restart` event no longer contains an
|
|
|
|
|
optional `immediate` flag.
|
|
|
|
|
* [`GET /events`](/api/get-events): A new `web_reload_client` event has been
|
|
|
|
|
added; it is used to signal to website-based clients that they should reload
|
|
|
|
|
their code. This was previously implied by the `restart` event.
|
|
|
|
|
|
2023-12-15 21:42:42 +01:00
|
|
|
|
Feature levels 238-239 are reserved for future use in 8.x maintenance
|
|
|
|
|
releases.
|
|
|
|
|
|
2023-05-31 19:31:37 +02:00
|
|
|
|
## Changes in Zulip 8.0
|
|
|
|
|
|
2023-12-15 18:47:09 +01:00
|
|
|
|
**Feature level 237**
|
|
|
|
|
|
|
|
|
|
No changes; feature level used for Zulip 8.0 release.
|
|
|
|
|
|
2023-12-14 07:11:00 +01:00
|
|
|
|
**Feature level 236**
|
|
|
|
|
|
|
|
|
|
* [`POST /messages`](/api/send-message), [`POST
|
|
|
|
|
/scheduled_messages`](/api/create-scheduled-message): The new
|
|
|
|
|
`read_by_sender` parameter lets the client override the heuristic
|
|
|
|
|
that determines whether the new message will be initially marked
|
|
|
|
|
read by its sender.
|
|
|
|
|
|
2023-12-10 14:53:52 +01:00
|
|
|
|
**Feature level 235**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
|
|
|
|
[`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings):
|
2023-12-14 08:28:24 +01:00
|
|
|
|
Added a new user setting, `automatically_follow_topics_where_mentioned`,
|
|
|
|
|
that allows the user to automatically follow topics where the user is mentioned.
|
2023-12-10 14:53:52 +01:00
|
|
|
|
|
2023-12-07 19:03:21 +01:00
|
|
|
|
**Feature level 234**
|
|
|
|
|
|
|
|
|
|
* Mobile push notifications now include a `realm_name` field.
|
|
|
|
|
* [`POST /mobile_push/test_notification`](/api/test-notify) now sends
|
|
|
|
|
a test notification with `test` rather than `test-by-device-token`
|
|
|
|
|
in the `event` field.
|
|
|
|
|
|
2023-12-01 11:52:41 +01:00
|
|
|
|
**Feature level 233**
|
|
|
|
|
|
2023-12-02 11:30:35 +01:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events):
|
2024-01-05 17:07:50 +01:00
|
|
|
|
Renamed the `hotspots` event type and the related `hotspots` object array
|
|
|
|
|
to `onboarding_steps`. These are sent to clients if there are onboarding
|
|
|
|
|
steps to display to the user. Onboarding steps now include
|
|
|
|
|
both hotspots and one-time notices. Prior to this, hotspots were the only
|
|
|
|
|
type of onboarding step. Also, added a `type` field to the objects
|
|
|
|
|
returned in the renamed `onboarding_steps` array to distinguish between
|
|
|
|
|
the two types of onboarding steps.
|
|
|
|
|
|
|
|
|
|
* `POST /users/me/onboarding_steps`: Added a new endpoint, which
|
|
|
|
|
deprecates the `/users/me/hotspots` endpoint, in order to support
|
|
|
|
|
displaying both one-time notices (which highlight new features for
|
|
|
|
|
existing users) and hotspots (which are used in new user tutorials).
|
|
|
|
|
This endpoint marks both types of onboarding steps, i.e. `hotspot`
|
|
|
|
|
and `one_time_notice`, as read by the user. There is no compatibility
|
|
|
|
|
support for `/users/me/hotspots` as no client other than the Zulip
|
|
|
|
|
web app used the endpoint prior to these changes.
|
2023-12-01 11:52:41 +01:00
|
|
|
|
|
2023-10-24 19:47:39 +02:00
|
|
|
|
**Feature level 232**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new
|
|
|
|
|
`user_list_incomplete` [client
|
|
|
|
|
capability](/api/register-queue#parameter-client_capabilities)
|
|
|
|
|
controlling whether `realm_users` contains "Unknown user"
|
|
|
|
|
placeholder objects for users that the current user cannot access
|
|
|
|
|
due to a `can_access_all_users_group` policy.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): The new `user_list_incomplete`
|
|
|
|
|
[client
|
|
|
|
|
capability](/api/register-queue#parameter-client_capabilities)
|
|
|
|
|
controls whether to send `realm_user` events with `op: "add"`
|
|
|
|
|
containing "Unknown user" placeholder objects to clients when a new
|
|
|
|
|
user is created that the client does not have access to due to a
|
|
|
|
|
`can_access_all_users_group` policy.
|
|
|
|
|
|
2023-11-23 22:07:41 +01:00
|
|
|
|
**Feature level 231**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue):
|
|
|
|
|
`realm_push_notifications_enabled` now represents more accurately
|
|
|
|
|
whether push notifications are actually enabled via the mobile push
|
|
|
|
|
notifications service. Added
|
|
|
|
|
`realm_push_notifications_enabled_end_timestamp` field to realm
|
|
|
|
|
data.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): A `realm` update event is now sent
|
|
|
|
|
whenever `push_notifications_enabled` or
|
|
|
|
|
`push_notifications_enabled_end_timestamp` changes.
|
|
|
|
|
|
2021-05-08 11:00:12 +02:00
|
|
|
|
**Feature level 230**
|
|
|
|
|
|
2024-01-05 17:07:50 +01:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events):
|
|
|
|
|
Added `has_trigger` field to objects returned in the `hotspots` array to
|
|
|
|
|
identify if the hotspot will activate only when some specific event
|
|
|
|
|
occurs.
|
2021-05-08 11:00:12 +02:00
|
|
|
|
|
2023-11-21 10:39:13 +01:00
|
|
|
|
**Feature level 229**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message), [`POST
|
|
|
|
|
/messages`](/api/send-message): Topic wildcard mentions involving
|
|
|
|
|
large numbers of participants are now restricted by
|
|
|
|
|
`wildcard_mention_policy`. The server now uses the
|
|
|
|
|
`STREAM_WILDCARD_MENTION_NOT_ALLOWED` and
|
|
|
|
|
`TOPIC_WILDCARD_MENTION_NOT_ALLOWED` error codes when a message is
|
|
|
|
|
rejected because of `wildcard_mention_policy`.
|
|
|
|
|
|
2023-10-11 09:34:26 +02:00
|
|
|
|
**Feature level 228**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): `realm_user` events with `op: "update"`
|
|
|
|
|
are now only sent to users who can access the modified user.
|
|
|
|
|
|
2023-10-17 12:56:39 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `presence` events are now only sent to
|
|
|
|
|
users who can access the user who comes back online if the
|
|
|
|
|
`CAN_ACCESS_ALL_USERS_GROUP_LIMITS_PRESENCE` server setting is set
|
|
|
|
|
to `true`.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): `user_status` events are now only
|
|
|
|
|
sent to users who can access the modified user.
|
|
|
|
|
|
|
|
|
|
* [`GET /realm/presence`](/api/get-presence): The endpoint now returns
|
|
|
|
|
presence information of accessible users only if the
|
|
|
|
|
`CAN_ACCESS_ALL_USERS_GROUP_LIMITS_PRESENCE` server setting is set
|
|
|
|
|
to `true`.
|
|
|
|
|
|
2023-10-18 05:24:50 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `realm_user` events with `op: "add"`
|
|
|
|
|
are now also sent when a guest user gains access to a user.
|
|
|
|
|
|
2023-10-24 05:11:34 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `realm_user` events with `op: "remove"`
|
|
|
|
|
are now also sent when a guest user loses access to a user.
|
|
|
|
|
|
2023-11-16 09:45:19 +01:00
|
|
|
|
**Feature level 227**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
|
|
|
|
[`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings):
|
|
|
|
|
Added `DMs, mentions, and followed topics` option for `desktop_icon_count_display`
|
|
|
|
|
setting, and renumbered the options.
|
|
|
|
|
The total unread count of DMs, mentions, and followed topics appears in
|
|
|
|
|
desktop sidebar and browser tab when this option is configured.
|
|
|
|
|
|
2023-09-29 19:38:07 +02:00
|
|
|
|
**Feature level 226**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
[`GET /users/me/subscriptions`](/api/get-subscriptions): Removed
|
|
|
|
|
`email_address` field from subscription objects.
|
|
|
|
|
|
2023-09-29 19:54:03 +02:00
|
|
|
|
* [`GET /streams/{stream_id}/email_address`](/api/get-stream-email-address):
|
|
|
|
|
Added new endpoint to get email address of a stream.
|
|
|
|
|
|
2023-03-23 15:42:00 +01:00
|
|
|
|
**Feature level 225**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `can_access_all_users_group_id`
|
|
|
|
|
realm setting, which is the ID of the user group whose members can
|
|
|
|
|
access all the users in the oragnization.
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `allowed_system_groups`
|
|
|
|
|
field to configuration data object of permission settings passed in
|
|
|
|
|
`server_supported_permission_settings`.
|
|
|
|
|
|
2023-11-03 15:20:44 +01:00
|
|
|
|
**Feature level 224**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`GET /messages`](/api/get-messages),
|
2024-03-12 14:48:05 +01:00
|
|
|
|
[`GET /messages/{message_id}`](/api/get-message): Of the [available
|
|
|
|
|
message flags](/api/update-message-flags#available-flags) that a user
|
|
|
|
|
may have for a message, the `wildcard_mentioned` flag was
|
|
|
|
|
deprecated in favor of the `stream_wildcard_mentioned` and
|
|
|
|
|
`topic_wildcard_mentioned` flags, but it is still available for
|
|
|
|
|
backwards compatibility.
|
2023-11-03 15:20:44 +01:00
|
|
|
|
|
2023-11-06 20:05:30 +01:00
|
|
|
|
**Feature level 223**
|
|
|
|
|
|
2024-05-10 06:26:36 +02:00
|
|
|
|
* [`POST /users/me/apns_device_token`](/api/add-apns-token):
|
2023-11-06 20:05:30 +01:00
|
|
|
|
The `appid` parameter is now required.
|
|
|
|
|
Previously it defaulted to the server setting `ZULIP_IOS_APP_ID`,
|
|
|
|
|
defaulting to "org.zulip.Zulip".
|
|
|
|
|
|
2023-11-06 22:18:52 +01:00
|
|
|
|
* `POST /remotes/server/register`: The `ios_app_id` parameter is now
|
|
|
|
|
required when `kind` is 1, i.e. when registering an APNs token.
|
|
|
|
|
Previously it was ignored, and the push bouncer effectively
|
|
|
|
|
assumed its value was the server setting `APNS_TOPIC`,
|
|
|
|
|
defaulting to "org.zulip.Zulip".
|
|
|
|
|
|
2023-10-30 12:50:40 +01:00
|
|
|
|
**Feature level 222**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): When a user is deactivated or
|
|
|
|
|
reactivated, the server uses `realm_user` events with `op: "update"`
|
|
|
|
|
updating the `is_active` field, instead of `realm_user` events with
|
|
|
|
|
`op: "remove"` and `op: "add"`, respectively.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): When a bot is deactivated or
|
|
|
|
|
reactivated, the server sends `realm_bot` events with `op: "update"`
|
|
|
|
|
updating the `is_active` field, instead of `realm_bot` events with
|
|
|
|
|
`op: "remove"` and `op: "add"`, respectively.
|
|
|
|
|
|
2023-10-19 16:50:26 +02:00
|
|
|
|
**Feature level 221**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `server_supported_permission_settings`
|
|
|
|
|
field in the response which contains configuration data for various permission
|
|
|
|
|
settings.
|
|
|
|
|
|
2023-10-26 18:14:01 +02:00
|
|
|
|
**Feature level 220**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Stream creation events for web-public
|
|
|
|
|
streams are now sent to all guest users in the organization as well.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): The `subscription` events for `op:
|
|
|
|
|
"peer_add"` and `op: "peer_remove"` are now sent to subscribed guest
|
|
|
|
|
users for public streams and to all the guest users for web-public
|
|
|
|
|
streams; previously, they incorrectly only received these for
|
|
|
|
|
private streams.
|
|
|
|
|
|
2023-10-23 09:02:57 +02:00
|
|
|
|
**Feature level 219**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults)
|
|
|
|
|
[`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
[`PATCH /settings`](/api/update-settings): Renamed `default_view` and
|
|
|
|
|
`escape_navigates_to_default_view` settings to `web_home_view` and
|
|
|
|
|
`web_escape_navigates_to_home_view` respectively.
|
2023-11-17 18:20:26 +01:00
|
|
|
|
* [`POST /user_topics`](/api/update-user-topic), [`POST
|
|
|
|
|
register`](/api/register-queue), [`GET /events`](/api/get-events):
|
|
|
|
|
Added followed as a supported value for visibility policies in
|
|
|
|
|
`user_topic` objects.
|
2023-10-23 09:02:57 +02:00
|
|
|
|
|
2023-10-09 13:11:32 +02:00
|
|
|
|
**Feature level 218**
|
|
|
|
|
|
|
|
|
|
* [`POST /messages`](/api/send-message): Added an optional
|
|
|
|
|
`automatic_new_visibility_policy` enum field in the success response
|
|
|
|
|
to indicate the new visibility policy value due to the [visibility policy settings](/help/mute-a-topic)
|
|
|
|
|
during the send message action.
|
|
|
|
|
|
2023-10-05 13:53:09 +02:00
|
|
|
|
**Feature level 217**
|
|
|
|
|
|
|
|
|
|
* [`POST /mobile_push/test_notification`](/api/test-notify): Added new endpoint
|
|
|
|
|
to send a test push notification to a mobile device or devices.
|
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 216**
|
2023-09-13 13:17:00 +02:00
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`POST register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `enable_guest_user_indicator`
|
|
|
|
|
setting to control whether "(guest)" is added to user names in UI.
|
|
|
|
|
|
2023-10-01 20:20:05 +02:00
|
|
|
|
**Feature level 215**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Replaced the value `private`
|
|
|
|
|
with `direct` in the `message_type` field for the `typing` events
|
|
|
|
|
sent when a user starts or stops typing a message.
|
|
|
|
|
|
2023-10-01 20:59:21 +02:00
|
|
|
|
* [`POST /typing`](/api/set-typing-status): Stopped supporting `private`
|
|
|
|
|
as a valid value for the `type` parameter.
|
|
|
|
|
|
2023-10-12 09:13:34 +02:00
|
|
|
|
* [`POST /typing`](/api/set-typing-status): Stopped using the `to` parameter
|
|
|
|
|
for the `"stream"` type. Previously, in the case of the `"stream"` type, it
|
|
|
|
|
accepted a single-element list containing the ID of the stream. Added an
|
|
|
|
|
optional parameter, `stream_id`. Now, `to` is used only for `"direct"` type.
|
|
|
|
|
In the case of `"stream"` type, `stream_id` and `topic` are used.
|
2023-10-07 09:22:12 +02:00
|
|
|
|
|
|
|
|
|
* Note that stream typing notifications were not enabled in any Zulip client
|
|
|
|
|
prior to feature level 215.
|
|
|
|
|
|
2023-06-17 17:37:04 +02:00
|
|
|
|
**Feature level 214**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
|
|
|
|
[`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings):
|
|
|
|
|
Added two new user settings, `automatically_follow_topics_policy` and
|
|
|
|
|
`automatically_unmute_topics_in_muted_streams_policy`. The settings control the
|
|
|
|
|
user's preference on which topics the user will automatically 'follow' and
|
|
|
|
|
'unmute in muted streams' respectively.
|
|
|
|
|
|
2023-09-25 11:27:15 +02:00
|
|
|
|
**Feature level 213**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Fixed incorrect handling of
|
|
|
|
|
unmuted and followed topics in calculating the `mentions` and
|
|
|
|
|
`count` fields of the `unread_msgs` object.
|
|
|
|
|
|
2023-09-19 19:03:08 +02:00
|
|
|
|
**Feature level 212**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue),
|
|
|
|
|
`PATCH /realm`: Added the `jitsi_server_url` field to the `realm` object,
|
|
|
|
|
allowing organizations to set a custom Jitsi Meet server. Previously, this
|
|
|
|
|
was only available as a server-level configuration.
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `server_jitsi_server_url`
|
|
|
|
|
fields to the `realm` object. The existing `jitsi_server_url` will now be
|
|
|
|
|
calculated as `realm_jitsi_server_url || server_jitsi_server_url`.
|
|
|
|
|
|
2023-09-07 17:45:10 +02:00
|
|
|
|
**Feature level 211**
|
|
|
|
|
|
|
|
|
|
* [`POST /streams/{stream_id}/delete_topic`](/api/delete-topic),
|
|
|
|
|
[`POST /mark_all_as_read`](/api/mark-all-as-read):
|
|
|
|
|
Added a `complete` boolean field in the success response to indicate
|
|
|
|
|
whether all or only some of the targeted messages were processed.
|
|
|
|
|
This replaces the use of `"result": "partially_completed"` (introduced
|
|
|
|
|
in feature levels 154 and 153), so that these endpoints now send a
|
|
|
|
|
`result` string of either `"success"` or `"error"`, like the rest of
|
|
|
|
|
the Zulip API.
|
|
|
|
|
|
2023-04-25 12:29:15 +02:00
|
|
|
|
**Feature level 210**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings),
|
|
|
|
|
[`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added new `web_stream_unreads_count_display_policy` display setting, which controls in
|
|
|
|
|
which streams (all/unmuted/none) unread messages count shows up
|
|
|
|
|
in left sidebar.
|
|
|
|
|
|
2023-08-09 15:06:56 +02:00
|
|
|
|
**Feature level 209**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `create_multiuse_invite_group`
|
|
|
|
|
realm setting, which is the ID of the user group whose members can
|
|
|
|
|
create [reusable invitation links](/help/invite-new-users#create-a-reusable-invitation-link)
|
|
|
|
|
to an organization. Previously, only admin users could create these
|
|
|
|
|
links.
|
|
|
|
|
|
2024-04-09 17:36:23 +02:00
|
|
|
|
* [`POST /invites/multiuse`](/api/create-invite-link): Non-admin users can
|
|
|
|
|
now use this endpoint to create reusable invitation links. Previously,
|
|
|
|
|
this endpoint was restricted to admin users only.
|
2023-08-09 15:06:56 +02:00
|
|
|
|
|
2024-04-01 16:38:09 +02:00
|
|
|
|
* [`GET /invites`](/api/get-invites): Endpoint response for non-admin users now
|
|
|
|
|
includes both email invitations and reusable invitation links that they have
|
|
|
|
|
created. Previously, non-admin users could only create email invitations, and
|
|
|
|
|
therefore the response did not include reusable invitation links for these
|
|
|
|
|
users.
|
2023-08-05 12:41:47 +02:00
|
|
|
|
|
2024-05-08 09:46:20 +02:00
|
|
|
|
* [`DELETE /invites/multiuse/{invite_id}`](/api/revoke-invite-link): Non-admin
|
|
|
|
|
users can now revoke reusable invitation links they have created. Previously,
|
|
|
|
|
only admin users could create and revoke reusable invitation links.
|
2023-08-05 12:41:47 +02:00
|
|
|
|
|
2023-08-05 14:50:19 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): When the set of invitations in an
|
|
|
|
|
organization changes, an `invites_changed` event is now sent to the
|
|
|
|
|
creator of the changed invitation, as well as all admin users.
|
|
|
|
|
Previously, this event was only sent to admin users.
|
|
|
|
|
|
2023-08-29 16:53:47 +02:00
|
|
|
|
**Feature level 208**
|
|
|
|
|
|
|
|
|
|
* [`POST /users/me/subscriptions`](/api/subscribe),
|
|
|
|
|
[`DELETE /users/me/subscriptions`](/api/unsubscribe): These endpoints
|
|
|
|
|
now return an HTTP status code of 400 with `code: "BAD_REQUEST"` in
|
|
|
|
|
the error response when a user specified in the `principals` parameter
|
|
|
|
|
is deactivated or does not exist. Previously, these endpoints returned
|
|
|
|
|
an HTTP status code of 403 with `code: "UNAUTHORIZED_PRINCIPAL"` in the
|
|
|
|
|
error response for these cases.
|
|
|
|
|
|
2023-08-07 12:25:50 +02:00
|
|
|
|
**Feature level 207**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `display_name` and
|
|
|
|
|
`all_event_types` fields to the `realm_incoming_webhook_bots` object.
|
|
|
|
|
|
2023-08-27 02:43:48 +02:00
|
|
|
|
**Feature level 206**
|
|
|
|
|
|
|
|
|
|
* `POST /calls/zoom/create`: Added `is_video_call` parameter
|
|
|
|
|
controlling whether to request a Zoom meeting that defaults to
|
|
|
|
|
having video enabled.
|
|
|
|
|
|
2023-07-06 18:54:20 +02:00
|
|
|
|
**Feature level 205**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): `streams` field in the response
|
2023-08-31 17:52:31 +02:00
|
|
|
|
now includes [web-public streams](/help/public-access-option) as well.
|
2023-07-06 08:38:12 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): Events for stream creation and deletion
|
2023-08-31 17:52:31 +02:00
|
|
|
|
are now sent to clients when a user gains or loses access to any streams
|
|
|
|
|
due to a change in their [role](/help/roles-and-permissions).
|
2023-09-05 13:30:58 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): The `subscription` events for `op:
|
|
|
|
|
"peer_add"` are now sent to clients when a user gains access to a stream
|
|
|
|
|
due to a change in their role.
|
2023-07-06 18:54:20 +02:00
|
|
|
|
|
2023-08-17 14:42:41 +02:00
|
|
|
|
**Feature level 204**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`server_typing_started_wait_period_milliseconds`,
|
|
|
|
|
`server_typing_stopped_wait_period_milliseconds`, and
|
|
|
|
|
`server_typing_started_expiry_period_milliseconds` fields
|
|
|
|
|
for clients to use when implementing [typing
|
|
|
|
|
notifications](/api/set-typing-status) protocol.
|
|
|
|
|
|
2023-08-11 19:46:58 +02:00
|
|
|
|
**Feature level 203**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Add
|
|
|
|
|
`realm_date_created` field to realm data.
|
|
|
|
|
|
2023-08-10 04:09:25 +02:00
|
|
|
|
**Feature level 202**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/linkifiers`](/api/reorder-linkifiers): Added new endpoint
|
|
|
|
|
to support changing the order in which linkifiers will be processed.
|
|
|
|
|
|
2023-08-04 19:54:41 +02:00
|
|
|
|
**Feature level 201**
|
|
|
|
|
|
2023-08-25 20:57:38 +02:00
|
|
|
|
* `POST /zulip-outgoing-webhook`: Renamed the notification trigger
|
2023-08-04 19:54:41 +02:00
|
|
|
|
`private_message` to `direct_message`.
|
|
|
|
|
|
2023-07-22 12:24:55 +02:00
|
|
|
|
**Feature level 200**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /streams/{stream_id}`](/api/update-stream): Added
|
2023-08-08 19:28:04 +02:00
|
|
|
|
`is_default_stream` parameter to change whether the stream is a
|
|
|
|
|
default stream for new users in the organization.
|
|
|
|
|
* [`POST /users/me/subscriptions`](/api/subscribe): Added
|
|
|
|
|
`is_default_stream` parameter which determines whether any streams
|
|
|
|
|
created by this request will be default streams for new users.
|
2023-07-22 12:24:55 +02:00
|
|
|
|
|
2023-07-27 16:42:21 +02:00
|
|
|
|
**Feature level 199**
|
|
|
|
|
|
2023-08-10 03:11:40 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
2023-07-27 16:42:21 +02:00
|
|
|
|
[`GET /streams`](/api/get-streams),
|
|
|
|
|
[`GET /streams/{stream_id}`](/api/get-stream-by-id): Stream objects now
|
|
|
|
|
include a `stream_weekly_traffic` field indicating the stream's level of
|
|
|
|
|
traffic.
|
|
|
|
|
|
2023-07-14 06:50:33 +02:00
|
|
|
|
**Feature level 198**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /user_groups`](/api/get-user-groups),
|
|
|
|
|
[`POST /user_groups/create`](/api/create-user-group),
|
|
|
|
|
[`PATCH /user_groups/{user_group_id}`](/api/update-user-group):Renamed
|
|
|
|
|
group setting `can_mention_group_id` to `can_mention_group`.
|
|
|
|
|
|
2023-07-12 12:57:57 +02:00
|
|
|
|
**Feature level 197**
|
|
|
|
|
|
|
|
|
|
* [`POST /users/me/subscriptions`](/api/subscribe),
|
|
|
|
|
[`PATCH /streams/{stream_id}`](/api/update-stream),
|
2023-08-30 14:31:46 +02:00
|
|
|
|
[`GET /users/me/subscriptions`](/api/get-subscriptions),
|
2023-07-12 12:57:57 +02:00
|
|
|
|
[`GET /streams`](/api/get-streams),
|
|
|
|
|
[`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Renamed
|
|
|
|
|
stream setting `can_remove_subscribers_group_id`
|
|
|
|
|
to `can_remove_subscribers_group`.
|
|
|
|
|
|
2023-05-27 05:04:50 +02:00
|
|
|
|
**Feature level 196**
|
|
|
|
|
|
|
|
|
|
* [`POST /realm/playgrounds`](/api/add-code-playground): `url_prefix` is
|
|
|
|
|
replaced by `url_template`, which only accepts [RFC 6570][rfc6570] compliant
|
|
|
|
|
URL templates. The old prefix format is no longer supported.
|
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
|
|
|
|
`url_prefix` is replaced by `url_template` in `realm_playgrounds` events.
|
|
|
|
|
|
2023-07-17 13:25:24 +02:00
|
|
|
|
**Feature level 195**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
|
|
|
|
The `default_code_block_language` realm setting is now consistently an
|
|
|
|
|
empty string when no default pygments language code is set. Previously,
|
|
|
|
|
the server had a bug that meant it might represent no default for this
|
|
|
|
|
realm setting as either `null` or an empty string. Clients supporting
|
|
|
|
|
older server versions should treat either value (`null` or `""`) as no
|
|
|
|
|
default being set.
|
|
|
|
|
|
2023-07-17 15:39:05 +02:00
|
|
|
|
**Feature level 194**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/matches_narrow`](/api/check-messages-match-narrow),
|
2024-02-29 02:52:04 +01:00
|
|
|
|
[`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow),
|
2023-07-17 15:39:05 +02:00
|
|
|
|
[`POST /register`](/api/register-queue):
|
2024-07-17 04:57:40 +02:00
|
|
|
|
For [search/narrow filters](/api/construct-narrow#message-ids) with the
|
|
|
|
|
`id` operator, added support for encoding the message ID operand as either
|
2023-07-17 15:39:05 +02:00
|
|
|
|
a string or an integer. Previously, only string encoding was supported.
|
|
|
|
|
|
2023-07-20 17:01:39 +02:00
|
|
|
|
**Feature level 193**
|
|
|
|
|
|
|
|
|
|
* [`POST /messages/{message_id}/reactions`](/api/add-reaction),
|
|
|
|
|
[`DELETE /messages/{message_id}/reactions`](/api/remove-reaction):
|
|
|
|
|
Endpoints return specific error responses if an emoji reaction
|
|
|
|
|
already exists when adding a reaction (`"code": "REACTION_ALREADY_EXISTS"`)
|
|
|
|
|
or if an emoji reaction does not exist when deleting a reaction
|
|
|
|
|
(`"code": "REACTION_DOES_NOT_EXIST"`). Previously, these errors
|
|
|
|
|
returned the `"BAD_REQUEST"` code.
|
|
|
|
|
|
2023-06-30 13:14:49 +02:00
|
|
|
|
**Feature level 192**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Stream creation events are now
|
|
|
|
|
sent when guest users gain access to a public stream by being
|
|
|
|
|
subscribed. Guest users previously only received these events when
|
|
|
|
|
subscribed to private streams.
|
|
|
|
|
|
2023-06-15 10:21:13 +02:00
|
|
|
|
**Feature level 191**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /user_groups`](/api/get-user-groups): Add `can_mention_group_id` to
|
|
|
|
|
user group objects.
|
2023-06-14 16:48:58 +02:00
|
|
|
|
* [`POST /user_groups/create`](/api/create-user-group): Added `can_mention_group_id`
|
|
|
|
|
parameter to support setting the user group whose members can mention the new user
|
|
|
|
|
group.
|
2023-06-15 05:24:23 +02:00
|
|
|
|
* [`PATCH /user_groups/{user_group_id}`](/api/update-user-group): Added
|
|
|
|
|
`can_mention_group_id` parameter to support changing the user group whose
|
|
|
|
|
members can mention the specified user group.
|
2023-06-15 10:21:13 +02:00
|
|
|
|
|
2023-01-25 08:29:51 +01:00
|
|
|
|
**Feature level 190**
|
|
|
|
|
|
|
|
|
|
* [`DELETE /realm/emoji/{emoji_name}`](/api/deactivate-custom-emoji): This endpoint
|
|
|
|
|
now returns an HTTP status code of 404 when an emoji does not exist, instead of 400.
|
|
|
|
|
|
2023-05-17 16:01:16 +02:00
|
|
|
|
**Feature level 189**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
|
|
|
|
[`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings):
|
2023-06-14 12:39:21 +02:00
|
|
|
|
Added new boolean user settings `enable_followed_topic_email_notifications`,
|
|
|
|
|
`enable_followed_topic_push_notifications`,
|
|
|
|
|
`enable_followed_topic_wildcard_mentions_notify`,
|
|
|
|
|
`enable_followed_topic_desktop_notifications`
|
|
|
|
|
and `enable_followed_topic_audible_notifications` to control whether a user
|
|
|
|
|
receives email, push, wildcard mention, visual desktop and audible desktop
|
|
|
|
|
notifications, respectively, for messages sent to followed topics.
|
2023-05-17 16:01:16 +02:00
|
|
|
|
|
2023-06-13 18:15:36 +02:00
|
|
|
|
**Feature level 188**
|
|
|
|
|
|
|
|
|
|
* [`POST /users/me/muted_users/{muted_user_id}`](/api/mute-user),
|
|
|
|
|
[`DELETE /users/me/muted_users/{muted_user_id}`](/api/unmute-user):
|
|
|
|
|
Added support to mute/unmute bot users.
|
|
|
|
|
|
2023-05-31 19:31:37 +02:00
|
|
|
|
Feature levels 186-187 are reserved for future use in 7.x maintenance
|
|
|
|
|
releases.
|
|
|
|
|
|
2022-11-18 00:13:58 +01:00
|
|
|
|
## Changes in Zulip 7.0
|
|
|
|
|
|
2023-05-31 02:58:42 +02:00
|
|
|
|
**Feature level 185**
|
|
|
|
|
|
|
|
|
|
No changes; feature level used for Zulip 7.0 release.
|
|
|
|
|
|
2023-05-16 21:20:49 +02:00
|
|
|
|
**Feature level 184**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /scheduled_messages/<int:scheduled_message_id>`](/api/update-scheduled-message):
|
|
|
|
|
Added new endpoint for editing an existing scheduled message.
|
|
|
|
|
* [`POST /scheduled_messages`](/api/create-scheduled-message):
|
|
|
|
|
Removed optional `scheduled_message_id` parameter, which had
|
|
|
|
|
been a previous way for clients to support editing an existing
|
|
|
|
|
scheduled message.
|
|
|
|
|
|
2023-05-23 16:41:49 +02:00
|
|
|
|
**Feature level 183**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Removed the
|
|
|
|
|
`realm_community_topic_editing_limit_seconds` property, which was no
|
|
|
|
|
longer in use. The time limit for editing topics is controlled by the
|
|
|
|
|
realm setting `move_messages_within_stream_limit_seconds`, see feature
|
|
|
|
|
level 162.
|
|
|
|
|
* [`GET /events`](/api/get-events): Removed the `community_topic_editing_limit_seconds`
|
|
|
|
|
property from realm `update_dict` event documentation, because it was
|
|
|
|
|
never returned as a changed property in this event and was only ever
|
|
|
|
|
returned in the [`POST /register`](/api/register-queue) response.
|
|
|
|
|
|
2023-05-16 19:14:14 +02:00
|
|
|
|
**Feature level 182**
|
|
|
|
|
|
2024-08-03 09:00:52 +02:00
|
|
|
|
* [`POST /export/realm`](/api/export-realm): This endpoint now returns the ID
|
|
|
|
|
of the data export object created by the request.
|
2023-05-16 19:14:14 +02:00
|
|
|
|
|
2023-05-11 19:31:13 +02:00
|
|
|
|
**Feature level 181**
|
|
|
|
|
|
|
|
|
|
* [`GET /scheduled_messages`](/api/get-scheduled-messages), [`GET
|
|
|
|
|
/events`](/api/get-events), [`POST /register`](/api/register-queue):
|
|
|
|
|
Added `failed` boolean field to scheduled message objects to
|
|
|
|
|
indicate if the server tried to send the scheduled message and was
|
|
|
|
|
unsuccessful. Clients that support unscheduling and editing
|
|
|
|
|
scheduled messages should use this field to indicate to the user
|
|
|
|
|
when a scheduled message failed to send at the appointed time.
|
|
|
|
|
|
2023-04-26 19:20:44 +02:00
|
|
|
|
**Feature level 180**
|
|
|
|
|
|
2024-04-01 16:38:09 +02:00
|
|
|
|
* [`POST /invites`](/api/send-invites): Added support for invitations specifying
|
|
|
|
|
the empty list as the user's initial stream subscriptions. Previously, this
|
2023-05-13 02:55:28 +02:00
|
|
|
|
returned an error. This change was also backported to Zulip 6.2, and
|
|
|
|
|
is available at feature levels 157-158 as well.
|
2023-04-26 19:20:44 +02:00
|
|
|
|
|
2023-05-11 19:31:13 +02:00
|
|
|
|
**Feature level 179**
|
2023-04-28 13:39:48 +02:00
|
|
|
|
|
2023-05-16 21:20:49 +02:00
|
|
|
|
* [`POST /scheduled_messages`](/api/create-scheduled-message):
|
2023-04-28 13:39:48 +02:00
|
|
|
|
Added new endpoint to create and edit scheduled messages.
|
2023-05-11 19:31:13 +02:00
|
|
|
|
* [`GET /events`](/api/get-events):
|
2023-04-28 13:39:48 +02:00
|
|
|
|
Added `scheduled_messages` events sent to clients when a user creates,
|
|
|
|
|
edits or deletes scheduled messages.
|
|
|
|
|
* [`POST /register`](/api/register-queue):
|
|
|
|
|
Added an optional `scheduled_messages` field to that includes all
|
|
|
|
|
of the undelivered scheduled messages for the current user.
|
|
|
|
|
|
2023-04-26 22:43:02 +02:00
|
|
|
|
**Feature level 178**
|
|
|
|
|
|
2024-06-07 10:49:36 +02:00
|
|
|
|
* [`POST /users/me/presence`](/api/update-presence),
|
2023-05-18 19:11:18 +02:00
|
|
|
|
[`GET /users/<user_id_or_email>/presence`](/api/get-user-presence),
|
|
|
|
|
[`GET /realm/presence`](/api/get-presence),
|
|
|
|
|
[`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events):
|
|
|
|
|
The server no longer stores which client submitted presence data,
|
|
|
|
|
and presence responses from the server will always contain the
|
|
|
|
|
`"aggregated"` and `"website"` keys.
|
2023-04-26 22:43:02 +02:00
|
|
|
|
|
2023-04-20 15:03:07 +02:00
|
|
|
|
**Feature level 177**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/matches_narrow`](/api/check-messages-match-narrow),
|
2024-02-29 02:52:04 +01:00
|
|
|
|
[`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow),
|
2023-04-20 15:03:07 +02:00
|
|
|
|
[`POST /register`](/api/register-queue):
|
2024-07-17 04:57:40 +02:00
|
|
|
|
Added support for three [search/narrow filters](/api/construct-narrow#changes)
|
2023-04-20 15:03:07 +02:00
|
|
|
|
related to direct messages: `is:dm`, `dm` and `dm-including`.
|
|
|
|
|
The `dm` operator replaces and deprecates the `pm-with` operator.
|
|
|
|
|
The `is:dm` filter replaces and deprecates the `is:private` filter.
|
|
|
|
|
The `dm-including` operator replaces and deprecates the `group-pm-with`
|
|
|
|
|
operator. Because existing Zulip messages may have links with these
|
|
|
|
|
legacy filters, they are still supported for backwards-compatibility.
|
|
|
|
|
|
linkifier: Support URL templates for linkifiers.
This swaps out url_format_string from all of our APIs and replaces it
with url_template. Note that the documentation changes in the following
commits will be squashed with this commit.
We change the "url_format" key to "url_template" for the
realm_linkifiers events in event_schema, along with updating
LinkifierDict. "url_template" is the name chosen to normalize
mixed usages of "url_format_string" and "url_format" throughout
the backend.
The markdown processor is updated to stop handling the format string
interpolation and delegate the task template expansion to the uri_template
library instead.
This change affects many test cases. We mostly just replace "%(name)s"
with "{name}", "url_format_string" with "url_template" to make sure that
they still pass. There are some test cases dedicated for testing "%"
escaping, which aren't relevant anymore and are subject to removal.
But for now we keep most of them as-is, and make sure that "%" is always
escaped since we do not use it for variable substitution any more.
Since url_format_string is not populated anymore, a migration is created
to remove this field entirely, and make url_template non-nullable since
we will always populate it. Note that it is possible to have
url_template being null after migration 0422 and before 0424, but
in practice, url_template will not be None after backfilling and the
backend now is always setting url_template.
With the removal of url_format_string, RealmFilter model will now be cleaned
with URL template checks, and the old checks for escapes are removed.
We also modified RealmFilter.clean to skip the validation when the
url_template is invalid. This avoids raising mulitple ValidationError's
when calling full_clean on a linkifier. But we might eventually want to
have a more centric approach to data validation instead of having
the same validation in both the clean method and the validator.
Fixes #23124.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-10-05 20:55:31 +02:00
|
|
|
|
**Feature level 176**
|
|
|
|
|
|
2023-05-19 18:04:36 +02:00
|
|
|
|
* [`POST /realm/filters`](/api/add-linkifier),
|
2023-08-30 14:31:46 +02:00
|
|
|
|
[`PATCH /realm/filters/<int:filter_id>`](/api/update-linkifier):
|
2023-05-19 18:04:36 +02:00
|
|
|
|
The `url_format_string` parameter is replaced by `url_template`.
|
|
|
|
|
[Linkifiers](/help/add-a-custom-linkifier) now only accept
|
|
|
|
|
[RFC 6570][rfc6570] compliant URL templates. The old URL format
|
|
|
|
|
strings are no longer supported.
|
linkifier: Support URL templates for linkifiers.
This swaps out url_format_string from all of our APIs and replaces it
with url_template. Note that the documentation changes in the following
commits will be squashed with this commit.
We change the "url_format" key to "url_template" for the
realm_linkifiers events in event_schema, along with updating
LinkifierDict. "url_template" is the name chosen to normalize
mixed usages of "url_format_string" and "url_format" throughout
the backend.
The markdown processor is updated to stop handling the format string
interpolation and delegate the task template expansion to the uri_template
library instead.
This change affects many test cases. We mostly just replace "%(name)s"
with "{name}", "url_format_string" with "url_template" to make sure that
they still pass. There are some test cases dedicated for testing "%"
escaping, which aren't relevant anymore and are subject to removal.
But for now we keep most of them as-is, and make sure that "%" is always
escaped since we do not use it for variable substitution any more.
Since url_format_string is not populated anymore, a migration is created
to remove this field entirely, and make url_template non-nullable since
we will always populate it. Note that it is possible to have
url_template being null after migration 0422 and before 0424, but
in practice, url_template will not be None after backfilling and the
backend now is always setting url_template.
With the removal of url_format_string, RealmFilter model will now be cleaned
with URL template checks, and the old checks for escapes are removed.
We also modified RealmFilter.clean to skip the validation when the
url_template is invalid. This avoids raising mulitple ValidationError's
when calling full_clean on a linkifier. But we might eventually want to
have a more centric approach to data validation instead of having
the same validation in both the clean method and the validator.
Fixes #23124.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-10-05 20:55:31 +02:00
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
2023-05-19 18:04:36 +02:00
|
|
|
|
The `url_format_string` key in `realm_linkifiers` objects is replaced
|
|
|
|
|
by `url_template`. For backwards-compatibility, clients that do not
|
|
|
|
|
support the `linkifier_url_template`
|
linkifier: Support URL templates for linkifiers.
This swaps out url_format_string from all of our APIs and replaces it
with url_template. Note that the documentation changes in the following
commits will be squashed with this commit.
We change the "url_format" key to "url_template" for the
realm_linkifiers events in event_schema, along with updating
LinkifierDict. "url_template" is the name chosen to normalize
mixed usages of "url_format_string" and "url_format" throughout
the backend.
The markdown processor is updated to stop handling the format string
interpolation and delegate the task template expansion to the uri_template
library instead.
This change affects many test cases. We mostly just replace "%(name)s"
with "{name}", "url_format_string" with "url_template" to make sure that
they still pass. There are some test cases dedicated for testing "%"
escaping, which aren't relevant anymore and are subject to removal.
But for now we keep most of them as-is, and make sure that "%" is always
escaped since we do not use it for variable substitution any more.
Since url_format_string is not populated anymore, a migration is created
to remove this field entirely, and make url_template non-nullable since
we will always populate it. Note that it is possible to have
url_template being null after migration 0422 and before 0424, but
in practice, url_template will not be None after backfilling and the
backend now is always setting url_template.
With the removal of url_format_string, RealmFilter model will now be cleaned
with URL template checks, and the old checks for escapes are removed.
We also modified RealmFilter.clean to skip the validation when the
url_template is invalid. This avoids raising mulitple ValidationError's
when calling full_clean on a linkifier. But we might eventually want to
have a more centric approach to data validation instead of having
the same validation in both the clean method and the validator.
Fixes #23124.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-10-05 20:55:31 +02:00
|
|
|
|
[client capability](/api/register-queue#parameter-client_capabilities)
|
2023-05-19 18:04:36 +02:00
|
|
|
|
will receive an empty `realm_linkifiers` array in the `/register`
|
|
|
|
|
response and not receive `realm_linkifiers` events. Unconditionally,
|
|
|
|
|
the deprecated `realm_filters` event type returns an empty array in
|
|
|
|
|
the `/register` response and these events are no longer sent to
|
|
|
|
|
clients.
|
linkifier: Support URL templates for linkifiers.
This swaps out url_format_string from all of our APIs and replaces it
with url_template. Note that the documentation changes in the following
commits will be squashed with this commit.
We change the "url_format" key to "url_template" for the
realm_linkifiers events in event_schema, along with updating
LinkifierDict. "url_template" is the name chosen to normalize
mixed usages of "url_format_string" and "url_format" throughout
the backend.
The markdown processor is updated to stop handling the format string
interpolation and delegate the task template expansion to the uri_template
library instead.
This change affects many test cases. We mostly just replace "%(name)s"
with "{name}", "url_format_string" with "url_template" to make sure that
they still pass. There are some test cases dedicated for testing "%"
escaping, which aren't relevant anymore and are subject to removal.
But for now we keep most of them as-is, and make sure that "%" is always
escaped since we do not use it for variable substitution any more.
Since url_format_string is not populated anymore, a migration is created
to remove this field entirely, and make url_template non-nullable since
we will always populate it. Note that it is possible to have
url_template being null after migration 0422 and before 0424, but
in practice, url_template will not be None after backfilling and the
backend now is always setting url_template.
With the removal of url_format_string, RealmFilter model will now be cleaned
with URL template checks, and the old checks for escapes are removed.
We also modified RealmFilter.clean to skip the validation when the
url_template is invalid. This avoids raising mulitple ValidationError's
when calling full_clean on a linkifier. But we might eventually want to
have a more centric approach to data validation instead of having
the same validation in both the clean method and the validator.
Fixes #23124.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-10-05 20:55:31 +02:00
|
|
|
|
|
2023-04-05 21:35:47 +02:00
|
|
|
|
**Feature level 175**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings),
|
|
|
|
|
[`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
2023-05-19 21:37:24 +02:00
|
|
|
|
Added new user setting `web_mark_read_on_scroll_policy`. Clients may use this to
|
|
|
|
|
determine the user's preference on whether to mark messages as read or not when
|
|
|
|
|
scrolling through their message feed.
|
2023-04-05 21:35:47 +02:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 174**
|
2023-04-17 17:02:07 +02:00
|
|
|
|
|
|
|
|
|
* [`POST /typing`](/api/set-typing-status), [`POST /messages`](/api/send-message):
|
|
|
|
|
Added `"direct"` as the preferred way to indicate a direct message for the
|
|
|
|
|
`type` parameter, deprecating the original `"private"`. While `"private"`
|
2023-04-21 14:56:52 +02:00
|
|
|
|
is still supported for direct messages, clients are encouraged to use
|
2023-04-17 17:02:07 +02:00
|
|
|
|
the modern convention with servers that support it, because support for
|
2023-04-21 14:56:52 +02:00
|
|
|
|
`"private"` may eventually be removed.
|
2023-04-17 17:02:07 +02:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 173**
|
2023-04-14 21:19:46 +02:00
|
|
|
|
|
|
|
|
|
* [`GET /scheduled_messages`](/api/get-scheduled-messages), [`DELETE
|
|
|
|
|
/scheduled_messages/<int:scheduled_message_id>`](/api/delete-scheduled-message):
|
|
|
|
|
Added new endpoints to fetch and delete scheduled messages.
|
|
|
|
|
|
2023-03-16 13:32:30 +01:00
|
|
|
|
**Feature level 172**
|
|
|
|
|
|
2023-05-22 16:27:12 +02:00
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message):
|
|
|
|
|
[Topic editing restrictions](/help/restrict-moving-messages) now apply
|
|
|
|
|
to stream messages without a topic.
|
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message): When users, other
|
|
|
|
|
than organization administrators and moderators, use
|
|
|
|
|
`"propagate_mode": "change_all"` to move messages that have passed the
|
|
|
|
|
organization's time limit for updating a message's topic and/or stream,
|
|
|
|
|
this endpoint now returns an error response
|
|
|
|
|
(`"code": "MOVE_MESSAGES_TIME_LIMIT_EXCEEDED"`).
|
2023-03-16 13:32:30 +01:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 171**
|
2023-04-04 12:36:44 +02:00
|
|
|
|
|
|
|
|
|
* [`POST /fetch_api_key`](/api/fetch-api-key),
|
|
|
|
|
[`POST /dev_fetch_api_key`](/api/dev-fetch-api-key): The return values
|
|
|
|
|
for these endpoints now include the unique ID of the user who owns the
|
|
|
|
|
API key.
|
|
|
|
|
|
2023-03-31 21:18:12 +02:00
|
|
|
|
**Feature level 170**
|
|
|
|
|
|
2023-05-22 07:29:45 +02:00
|
|
|
|
* [`POST /user_topics`](/api/update-user-topic): Added a new endpoint to
|
|
|
|
|
update a user's personal preferences for a topic, which deprecates the
|
|
|
|
|
[`PATCH /users/me/subscriptions/muted_topics`](/api/mute-topic) endpoint.
|
|
|
|
|
The deprecated endpoint is maintained for backwards-compatibility but may be
|
|
|
|
|
removed in a future release.
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events):
|
|
|
|
|
Unmuted added as a visibility policy option to the objects sent in response
|
|
|
|
|
to the `user_topic` event.
|
2023-03-31 21:18:12 +02:00
|
|
|
|
|
2023-03-14 15:09:12 +01:00
|
|
|
|
**Feature level 169**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /users/me/subscriptions/muted_topics`](/api/mute-topic):
|
|
|
|
|
Trying to mute a topic that is already muted or unmute a topic
|
|
|
|
|
that was not previously muted now results in a success response
|
|
|
|
|
rather than an error.
|
|
|
|
|
|
2023-01-14 20:36:37 +01:00
|
|
|
|
**Feature level 168**
|
|
|
|
|
|
2023-05-23 19:18:59 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings),
|
|
|
|
|
[`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Replaced the boolean user setting `realm_name_in_notifications`
|
|
|
|
|
with an integer `realm_name_in_email_notifications_policy`.
|
2023-01-14 20:36:37 +01:00
|
|
|
|
|
2022-08-25 18:41:46 +02:00
|
|
|
|
**Feature level 167**
|
|
|
|
|
|
|
|
|
|
* [All REST API endpoints](/api/rest-error-handling#ignored-parameters):
|
|
|
|
|
Implemented `ignored_parameters_unsupported` as a possible return value
|
|
|
|
|
in the JSON success response for all endpoints. This value is a array
|
|
|
|
|
of any parameters that were sent in the request by the client that are
|
|
|
|
|
not supported by the endpoint. Previously, unsupported parameters were
|
|
|
|
|
silently ignored, except in the subset of endpoints which already
|
|
|
|
|
supported this return value; see feature levels 111, 96 and 78.
|
|
|
|
|
|
2023-02-28 00:47:40 +01:00
|
|
|
|
**Feature level 166**
|
2023-03-01 19:21:57 +01:00
|
|
|
|
|
|
|
|
|
* [`POST /messages`](/api/send-message): Eliminated the undocumented
|
|
|
|
|
`realm_str` parameter. This parameter was already redundant due to
|
|
|
|
|
it needing to match the realm of the user making the request, otherwise
|
|
|
|
|
returning an authorization error. With this, the parameter is removed,
|
|
|
|
|
meaning that if provided in the API request, it will be ignored.
|
2023-02-28 00:47:40 +01:00
|
|
|
|
|
2023-02-26 16:47:58 +01:00
|
|
|
|
**Feature level 165**
|
2023-02-28 16:56:23 +01:00
|
|
|
|
|
2023-02-26 16:47:58 +01:00
|
|
|
|
* [`PATCH /user_groups/{user_group_id}`](/api/update-user-group): The
|
|
|
|
|
`name` and `description` parameters are now optional.
|
|
|
|
|
|
2023-02-20 22:39:40 +01:00
|
|
|
|
**Feature level 164**
|
|
|
|
|
|
2023-02-22 12:41:10 +01:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added the
|
2023-05-25 12:34:58 +02:00
|
|
|
|
`server_presence_ping_interval_seconds` and
|
|
|
|
|
`server_presence_offline_threshold_seconds` fields for clients
|
|
|
|
|
to use when implementing the [presence](/api/get-presence) system.
|
2023-02-20 22:39:40 +01:00
|
|
|
|
|
2022-05-25 13:13:31 +02:00
|
|
|
|
**Feature level 163**
|
|
|
|
|
|
|
|
|
|
* [`GET /users`](/api/get-users), [`GET /users/{user_id}`](/api/get-user),
|
|
|
|
|
[`GET /users/{email}`](/api/get-user-by-email),
|
2023-05-25 17:48:54 +02:00
|
|
|
|
[`GET /users/me`](/api/get-own-user), [`GET /events`](/api/get-events):
|
|
|
|
|
The `delivery_email` field is always present in user objects, including
|
|
|
|
|
the case when a user's `email_address_visibility` is set to everyone.
|
2023-06-20 22:52:31 +02:00
|
|
|
|
The value will be `null` if the requester does not have access to the
|
2023-05-25 17:48:54 +02:00
|
|
|
|
user's real email. For bot users, the `delivery_email` field is always
|
|
|
|
|
set to the bot user's real email.
|
|
|
|
|
* [`GET /events`](/api/get-events): Event for updating a user's
|
|
|
|
|
`delivery_email` is now sent to all users who have access to it, and
|
|
|
|
|
is also sent when a user's `email_address_visibility` setting changes.
|
2023-05-26 17:03:39 +02:00
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue)
|
|
|
|
|
[`GET /users`](/api/get-users), [`GET /users/{user_id}`](/api/get-user),
|
|
|
|
|
[`GET /users/{email}`](/api/get-user-by-email),
|
|
|
|
|
[`GET /users/me`](/api/get-own-user), [`GET /messages`](/api/get-messages),
|
|
|
|
|
[`GET /messages/{message_id}`](/api/get-message): Whether the `avatar_url`
|
|
|
|
|
field in message and user objects returned by these endpoints can be `null`
|
|
|
|
|
now depends on if the current user has access to the other user's real
|
|
|
|
|
email address based on the other user's `email_address_visibility` policy.
|
2023-05-25 17:48:54 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings),
|
|
|
|
|
[`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added user setting `email_address_visibility`, to replace the
|
|
|
|
|
realm setting `email_address_visibility`.
|
|
|
|
|
* [`POST /register`](/api/register-queue), `PATCH /realm`: Removed realm
|
2021-10-21 10:36:57 +02:00
|
|
|
|
setting `email_address_visibility`.
|
2022-05-25 13:13:31 +02:00
|
|
|
|
|
2023-01-26 12:53:27 +01:00
|
|
|
|
**Feature level 162**
|
|
|
|
|
|
2023-05-22 17:59:24 +02:00
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added two new realm settings
|
|
|
|
|
`move_messages_within_stream_limit_seconds` and
|
|
|
|
|
`move_messages_between_streams_limit_seconds` for organizations to
|
|
|
|
|
configure time limits for editing topics and moving messages between streams.
|
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message): For users other than
|
|
|
|
|
administrators and moderators, the time limit for editing topics is now
|
|
|
|
|
controlled via the realm setting `move_messages_within_stream_limit_seconds`
|
|
|
|
|
and the time limit for moving messages between streams is now controlled by
|
|
|
|
|
the realm setting `move_messages_between_streams_limit_seconds`.
|
2023-01-26 12:53:27 +01:00
|
|
|
|
|
2022-09-16 14:27:38 +02:00
|
|
|
|
**Feature level 161**
|
|
|
|
|
|
2023-05-31 14:03:52 +02:00
|
|
|
|
* [`POST /users/me/subscriptions`](/api/subscribe),
|
|
|
|
|
[`PATCH /streams/{stream_id}`](/api/update-stream): Added
|
|
|
|
|
`can_remove_subscribers_group_id` parameter to support setting and
|
|
|
|
|
changing the user group whose members can remove other subscribers
|
|
|
|
|
from the specified stream.
|
|
|
|
|
* [`DELETE /users/me/subscriptions`](/api/unsubscribe): Expanded the
|
|
|
|
|
situations where users can use this endpoint to unsubscribe other
|
|
|
|
|
users from a stream to include the case where the current user has
|
|
|
|
|
access to the stream and is a member of the user group specified by
|
|
|
|
|
the `can_remove_subscribers_group_id` for the stream.
|
2022-09-16 14:27:38 +02:00
|
|
|
|
|
2022-09-13 17:39:18 +02:00
|
|
|
|
**Feature level 160**
|
|
|
|
|
|
2023-05-25 12:41:59 +02:00
|
|
|
|
* `POST /api/v1/jwt/fetch_api_key`: Added new endpoint to fetch API
|
2022-09-13 17:39:18 +02:00
|
|
|
|
keys using JSON Web Token (JWT) authentication.
|
2023-05-25 12:41:59 +02:00
|
|
|
|
* `accounts/login/jwt/`: Adjusted format of requests to undocumented,
|
|
|
|
|
optional endpoint for JWT authentication log in support.
|
2022-09-13 17:39:18 +02:00
|
|
|
|
|
2022-09-28 16:30:10 +02:00
|
|
|
|
**Feature level 159**
|
|
|
|
|
|
2023-05-22 19:56:45 +02:00
|
|
|
|
* `PATCH /realm`, [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events):
|
|
|
|
|
Nobody added as an option for the realm settings `edit_topic_policy`
|
|
|
|
|
and `move_messages_between_streams_policy`.
|
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message): Permission
|
|
|
|
|
to edit the stream and/or topic of messages no longer depends on the
|
|
|
|
|
realm setting `allow_message_editing`.
|
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message): The user who
|
|
|
|
|
sent the message can no longer edit the message's topic indefinitely.
|
2022-09-28 16:30:10 +02:00
|
|
|
|
|
2023-05-13 02:55:28 +02:00
|
|
|
|
Feature level 158 is reserved for future use in 6.x maintenance
|
2022-11-18 00:13:58 +01:00
|
|
|
|
releases.
|
|
|
|
|
|
2023-05-13 02:55:28 +02:00
|
|
|
|
## Changes in Zulip 6.2
|
|
|
|
|
|
|
|
|
|
**Feature level 157**
|
|
|
|
|
|
2024-04-01 16:38:09 +02:00
|
|
|
|
* [`POST /invites`](/api/send-invites): Added support for invitations specifying
|
|
|
|
|
the empty list as the user's initial stream subscriptions. Previously, this
|
2023-05-13 02:55:28 +02:00
|
|
|
|
returned an error. This change was backported from the Zulip 7.0
|
|
|
|
|
branch, and thus is available at feature levels 157-158 and 180+.
|
|
|
|
|
|
2022-03-29 17:36:41 +02:00
|
|
|
|
## Changes in Zulip 6.0
|
|
|
|
|
|
2022-11-17 20:21:05 +01:00
|
|
|
|
**Feature level 156**
|
|
|
|
|
|
|
|
|
|
No changes; feature level used for Zulip 6.0 release.
|
|
|
|
|
|
2022-11-11 03:32:09 +01:00
|
|
|
|
**Feature level 155**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages): The new `include_anchor`
|
|
|
|
|
parameter controls whether a message with ID matching the specified
|
|
|
|
|
`anchor` should be included.
|
2022-11-17 00:50:22 +01:00
|
|
|
|
* The `update_message_flags` event sent by [`POST
|
|
|
|
|
/messages/flags`](/api/update-message-flags) no longer redundantly
|
|
|
|
|
lists messages where the flag was set to the same state it was
|
|
|
|
|
already in.
|
2022-11-10 01:06:37 +01:00
|
|
|
|
* [`POST /messages/flags/narrow`](/api/update-message-flags-for-narrow):
|
|
|
|
|
This new endpoint allows updating message flags on a range of
|
|
|
|
|
messages within a narrow.
|
2022-11-11 03:32:09 +01:00
|
|
|
|
|
2022-11-01 10:00:38 +01:00
|
|
|
|
**Feature level 154**
|
|
|
|
|
|
|
|
|
|
* [`POST /streams/{stream_id}/delete_topic`](/api/delete-topic):
|
2023-09-07 17:45:10 +02:00
|
|
|
|
When the process of deleting messages times out, but successfully
|
|
|
|
|
deletes some messages in the topic (see feature level 147 for when
|
|
|
|
|
this endpoint started deleting messages in batches), a success
|
|
|
|
|
response with `"result": "partially_completed"` will now be returned
|
|
|
|
|
by the server, analogically to the `POST /mark_all_as_read` endpoint
|
|
|
|
|
(see feature level 153 entry below).
|
2022-11-01 10:00:38 +01:00
|
|
|
|
|
2022-10-02 21:32:36 +02:00
|
|
|
|
**Feature level 153**
|
|
|
|
|
|
|
|
|
|
* [`POST /mark_all_as_read`](/api/mark-all-as-read): Messages are now
|
|
|
|
|
marked as read in batches, so that progress will be made even if the
|
|
|
|
|
request times out because of an extremely large number of unread
|
2023-09-07 17:45:10 +02:00
|
|
|
|
messages to process. Upon timeout, a success response with
|
|
|
|
|
`"result": "partially_completed"` will be returned by the server.
|
2022-10-02 21:32:36 +02:00
|
|
|
|
|
2022-07-17 13:34:04 +02:00
|
|
|
|
**Feature level 152**
|
|
|
|
|
|
2023-08-25 21:27:38 +02:00
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message):
|
|
|
|
|
The default value for `send_notification_to_old_thread` was changed from
|
|
|
|
|
`true` to `false`.
|
|
|
|
|
When moving a topic within a stream, the `send_notification_to_old_thread`
|
|
|
|
|
and `send_notification_to_new_thread` parameters are now respected, and by
|
|
|
|
|
default a notification is sent to the new thread.
|
2022-07-17 13:34:04 +02:00
|
|
|
|
|
2022-10-01 12:16:11 +02:00
|
|
|
|
**Feature level 151**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
[`POST /realm/profile_fields`](/api/create-custom-profile-field),
|
|
|
|
|
[`GET /realm/profile_fields`](/api/get-custom-profile-fields): Added
|
|
|
|
|
pronouns custom profile field type.
|
|
|
|
|
|
2022-09-22 10:53:37 +02:00
|
|
|
|
**Feature level 150**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Separate events are now sent on changing
|
|
|
|
|
`allow_message_editing`, `message_content_edit_limit_seconds` and
|
|
|
|
|
`edit_topic_policy` settings, whereas previously one event was sent including
|
|
|
|
|
all of these setting values irrespective of which of them were actually changed.
|
2023-02-22 12:41:10 +01:00
|
|
|
|
* `PATCH /realm`: Only changed settings are included in the response data now
|
2022-09-22 10:53:37 +02:00
|
|
|
|
when changing `allow_message_editing`, `edit_topic_policy` and
|
|
|
|
|
`message_content_edit_limit_seconds` settings, instead of including all the
|
|
|
|
|
fields even if one of these settings was changed.
|
|
|
|
|
|
2022-09-26 17:37:04 +02:00
|
|
|
|
**Feature level 149**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): The `client_gravatar` and
|
|
|
|
|
`include_subscribers` parameters now return an error for
|
|
|
|
|
[unauthenticated requests](/help/public-access-option) if an
|
|
|
|
|
unsupported value is requested by the client.
|
|
|
|
|
|
2022-09-22 12:27:20 +02:00
|
|
|
|
**Feature level 148**
|
|
|
|
|
|
2023-02-22 12:41:10 +01:00
|
|
|
|
* [`POST /users/me/status`](/api/update-status),
|
2022-09-22 12:27:20 +02:00
|
|
|
|
[`POST /register`](/api/register-queue), [`GET /events`](/api/get-events):
|
|
|
|
|
The user status `away` field/parameter is deprecated, and as of this
|
|
|
|
|
feature level are a legacy way to access the user's `presence_enabled`
|
|
|
|
|
setting, with `away = !presence_enabled`. To be removed in a future
|
|
|
|
|
release.
|
|
|
|
|
|
2022-09-20 21:24:59 +02:00
|
|
|
|
**Feature level 147**
|
|
|
|
|
|
|
|
|
|
* [`POST /streams/{stream_id}/delete_topic`](/api/delete-topic):
|
|
|
|
|
Messages now are deleted in batches, starting from the newest, so
|
|
|
|
|
that progress will be made even if the request times out because of
|
|
|
|
|
an extremely large topic.
|
|
|
|
|
|
2022-07-12 21:04:47 +02:00
|
|
|
|
**Feature level 146**
|
|
|
|
|
|
|
|
|
|
* [`POST /realm/profile_fields`](/api/create-custom-profile-field),
|
|
|
|
|
[`GET /realm/profile_fields`](/api/get-custom-profile-fields): Added a
|
|
|
|
|
new parameter `display_in_profile_summary`, which clients use to
|
|
|
|
|
decide whether to display the field in a small/summary section of the
|
|
|
|
|
user's profile.
|
|
|
|
|
|
2022-06-27 21:44:12 +02:00
|
|
|
|
**Feature level 145**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`DELETE /users/me/subscriptions`](/api/unsubscribe): Normal users can
|
2022-06-27 21:44:12 +02:00
|
|
|
|
now remove bots that they own from streams.
|
|
|
|
|
|
2022-09-12 17:15:00 +02:00
|
|
|
|
**Feature level 144**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages/{message_id}/read_receipts`](/api/get-read-receipts):
|
|
|
|
|
The `user_ids` array returned by the server no longer includes IDs
|
|
|
|
|
of users who have been muted by or have muted the current user.
|
|
|
|
|
|
2022-09-17 00:26:44 +02:00
|
|
|
|
**Feature level 143**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`: The `disallow_disposable_email_addresses`,
|
|
|
|
|
`emails_restricted_to_domains`, `invite_required`, and
|
|
|
|
|
`waiting_period_threshold` settings can no longer be changed by
|
|
|
|
|
organization administrators who are not owners.
|
|
|
|
|
* `PATCH /realm/domains`, `POST /realm/domains`, `DELETE
|
|
|
|
|
/realm/domains`: Organization administrators who are not owners can
|
|
|
|
|
no longer access these endpoints.
|
|
|
|
|
|
2022-06-27 18:39:33 +02:00
|
|
|
|
**Feature level 142**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions), [`GET
|
2022-06-27 18:39:33 +02:00
|
|
|
|
/streams`](/api/get-streams), [`POST /register`](/api/register-queue),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `can_remove_subscribers_group_id`
|
|
|
|
|
field to Stream and Subscription objects.
|
|
|
|
|
|
2022-08-12 22:41:06 +02:00
|
|
|
|
**Feature level 141**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH
|
|
|
|
|
/settings`](/api/update-settings), [`PATCH
|
|
|
|
|
/realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added new `user_list_style` display setting, which controls the
|
|
|
|
|
layout of the right sidebar.
|
|
|
|
|
|
2022-06-21 23:56:52 +02:00
|
|
|
|
**Feature level 140**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added string field `server_emoji_data_url`
|
|
|
|
|
to the response.
|
|
|
|
|
|
2022-08-09 20:37:07 +02:00
|
|
|
|
**Feature level 139**
|
|
|
|
|
|
|
|
|
|
* [`GET /get-events`](/api/get-events): When a user mutes or unmutes
|
|
|
|
|
their subscription to a stream, a `subscription` update event
|
|
|
|
|
is now sent for the `is_muted` property and for the deprecated
|
|
|
|
|
`in_home_view` property to support clients fully migrating to use the
|
|
|
|
|
`is_muted` property. Prior to this feature level, only one event was
|
|
|
|
|
sent to clients with the deprecated `in_home_view` property.
|
|
|
|
|
|
2022-04-12 13:13:02 +02:00
|
|
|
|
**Feature level 138**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events): `message_content_edit_limit_seconds`
|
|
|
|
|
now represents no limit using `null`, instead of the integer 0.
|
|
|
|
|
* `PATCH /realm`: One now sets `message_content_edit_limit_seconds`
|
|
|
|
|
to no limit by passing the string `unlimited`, rather than the
|
|
|
|
|
integer 0.
|
|
|
|
|
|
2022-08-04 11:43:59 +02:00
|
|
|
|
**Feature level 137**
|
|
|
|
|
|
2021-06-16 21:15:47 +02:00
|
|
|
|
* [`GET /messages/{message_id}/read_receipts`](/api/get-read-receipts):
|
|
|
|
|
Added new endpoint to fetch read receipts for a message.
|
2022-08-04 11:43:59 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events), `PATCH /realm`: Added new
|
|
|
|
|
`enable_read_receipts` realm setting.
|
|
|
|
|
|
2022-05-30 13:53:52 +02:00
|
|
|
|
**Feature level 136**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /streams/{stream_id}`](/api/update-stream): The endpoint
|
|
|
|
|
now returns an error for a request to make a public stream with
|
|
|
|
|
protected history which was previously ignored silently.
|
|
|
|
|
* [`PATCH /streams/{stream_id}`](/api/update-stream): Added support
|
|
|
|
|
to change access to history of the stream by only passing
|
|
|
|
|
`history_public_to_subscribers` parameter without `is_private`
|
|
|
|
|
and `is_web_public` parameters.
|
|
|
|
|
|
2021-11-27 15:26:09 +01:00
|
|
|
|
**Feature level 135**
|
|
|
|
|
|
|
|
|
|
* [`DELETE /user/{user_id}`](/api/deactivate-user): Added
|
|
|
|
|
`deactivation_notification_comment` field controlling whether the
|
|
|
|
|
user receives a notification email about their deactivation.
|
|
|
|
|
|
2022-02-25 21:48:56 +01:00
|
|
|
|
**Feature level 134**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `user_topic` event type
|
|
|
|
|
which is sent when a topic is muted or unmuted. This generalizes and
|
|
|
|
|
replaces the previous `muted_topics` array, which will no longer be
|
|
|
|
|
sent if `user_topic` was included in `event_types` when registering
|
|
|
|
|
the queue.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `user_topics` array
|
|
|
|
|
to the response. This generalizes and replaces the previous
|
|
|
|
|
`muted_topics` array, which will no longer be sent if `user_topic`
|
|
|
|
|
is included in `fetch_event_types`.
|
2023-09-08 17:40:29 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): When private streams are made
|
|
|
|
|
public, `stream` events for `op: "create"` and `subscription` events
|
|
|
|
|
for `op: "peer_add"` are now sent to clients.
|
2022-02-25 21:48:56 +01:00
|
|
|
|
|
2022-07-05 14:35:17 +02:00
|
|
|
|
**Feature level 133**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), `PATCH /realm`: Removed
|
|
|
|
|
stream administrators option from `wildcard_mention_policy` setting.
|
2022-07-05 16:42:29 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
[`GET /users/me/subscriptions`](/api/get-subscriptions): Removed
|
|
|
|
|
`role` field from subscription objects.
|
2022-07-05 14:35:17 +02:00
|
|
|
|
|
2022-05-18 13:54:35 +02:00
|
|
|
|
**Feature level 132**
|
|
|
|
|
|
|
|
|
|
* [`GET /streams/{stream_id}`](/api/get-stream-by-id):
|
|
|
|
|
Added new endpoint to get a stream by ID.
|
|
|
|
|
|
2022-05-16 17:02:44 +02:00
|
|
|
|
**Feature level 131**
|
|
|
|
|
|
|
|
|
|
* [`GET /user_groups`](/api/get-user-groups),[`POST
|
|
|
|
|
/register`](/api/register-queue): Renamed `subgroups` field in
|
|
|
|
|
the user group objects to `direct_subgroup_ids`.
|
|
|
|
|
* [`GET /events`](/api/get-events): Renamed `subgroup_ids` field
|
|
|
|
|
in the group object to `direct_subgroup_ids`.
|
|
|
|
|
|
2022-05-07 09:03:02 +02:00
|
|
|
|
**Feature level 130**
|
|
|
|
|
|
|
|
|
|
* `PATCH /bots/{bot_user_id}`: Added support for changing a bot's role
|
|
|
|
|
via this endpoint. Previously, this could only be done via [`PATCH
|
|
|
|
|
/users/{user_id}`](/api/update-user).
|
|
|
|
|
|
2022-04-22 18:45:30 +02:00
|
|
|
|
**Feature level 129**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue),
|
2022-05-05 15:40:41 +02:00
|
|
|
|
[`GET /events`](/api/get-events), `PATCH /realm`: Added realm setting
|
2022-04-22 18:45:30 +02:00
|
|
|
|
`want_advertise_in_communities_directory` for organizations to give
|
|
|
|
|
permission to be advertised in the Zulip communities directory.
|
|
|
|
|
|
2022-04-11 19:26:16 +02:00
|
|
|
|
**Feature level 128**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events), `PATCH /realm`: Added
|
|
|
|
|
`org_type` realm setting.
|
|
|
|
|
|
2022-02-28 11:50:33 +01:00
|
|
|
|
**Feature level 127**
|
|
|
|
|
|
|
|
|
|
* [`GET /user_groups`](/api/get-user-groups),[`POST
|
|
|
|
|
/register`](/api/register-queue): Added `subgroups` field,
|
|
|
|
|
which is a list of IDs of all the subgroups of the user group, to
|
|
|
|
|
user group objects.
|
2022-03-01 07:52:47 +01:00
|
|
|
|
* [`GET /events`](/api/get-events): Added new `user_group` events
|
|
|
|
|
operations for live updates to subgroups (`add_subgroups` and
|
|
|
|
|
`remove_subgroups`).
|
2022-03-02 11:58:37 +01:00
|
|
|
|
* [`PATCH /user_groups/{user_group_id}/subgroups`](/api/update-user-group-subgroups):
|
|
|
|
|
Added new endpoint for updating subgroups of a user group.
|
2022-03-18 14:38:11 +01:00
|
|
|
|
* [`GET /user_groups/{user_group_id}/members/{user_id}`](/api/get-is-user-group-member):
|
|
|
|
|
Added new endpoint for checking whether a given user is member of a
|
|
|
|
|
given user group.
|
2022-03-24 11:39:57 +01:00
|
|
|
|
* [`GET /user_groups/{user_group_id}/members`](/api/get-user-group-members):
|
|
|
|
|
Added new endpoint to get members of a user group.
|
2022-04-04 13:59:25 +02:00
|
|
|
|
* [`GET /user_groups/{user_group_id}/members`](/api/get-user-group-subgroups):
|
|
|
|
|
Added new endpoint to get subgroups of a user group.
|
2022-02-28 11:50:33 +01:00
|
|
|
|
|
2022-02-10 11:52:34 +01:00
|
|
|
|
**Feature level 126**
|
|
|
|
|
|
2024-04-09 17:36:23 +02:00
|
|
|
|
* [`POST /invites`](/api/send-invites),
|
|
|
|
|
[`POST /invites/multiuse`](/api/create-invite-link): Replaced
|
2024-04-01 16:38:09 +02:00
|
|
|
|
`invite_expires_in_days` parameter with `invite_expires_in_minutes`.
|
2022-02-10 11:52:34 +01:00
|
|
|
|
|
2022-04-08 16:04:22 +02:00
|
|
|
|
**Feature level 125**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH
|
|
|
|
|
/settings`](/api/update-settings), [`PATCH
|
|
|
|
|
/realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added new `display_emoji_reaction_users` display setting,
|
|
|
|
|
controlling whether to display the names of users with emoji reactions.
|
|
|
|
|
|
2022-03-29 17:36:41 +02:00
|
|
|
|
Feature levels 123-124 are reserved for future use in 5.x maintenance
|
|
|
|
|
releases.
|
|
|
|
|
|
2021-05-13 21:34:50 +02:00
|
|
|
|
## Changes in Zulip 5.0
|
2021-09-13 20:01:35 +02:00
|
|
|
|
|
2022-03-29 17:13:34 +02:00
|
|
|
|
**Feature level 122**
|
|
|
|
|
|
|
|
|
|
No changes; feature level used for Zulip 5.0 release.
|
|
|
|
|
|
2021-06-09 13:31:39 +02:00
|
|
|
|
**Feature level 121**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `message_details` field
|
|
|
|
|
appearing in message flag update events when marking previously read
|
|
|
|
|
messages as unread.
|
|
|
|
|
|
2022-03-02 05:33:20 +01:00
|
|
|
|
**Feature level 120**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages/{message_id}`](/api/get-message): This endpoint
|
|
|
|
|
now sends the full message details. Previously, it only returned
|
|
|
|
|
the message's raw Markdown content.
|
|
|
|
|
|
2022-03-07 16:47:49 +01:00
|
|
|
|
**Feature level 119**
|
|
|
|
|
|
2023-08-29 12:33:20 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added `other_user_id` field
|
|
|
|
|
to the `pms` objects in the `unread_msgs` data set, deprecating the
|
|
|
|
|
less clearly named `sender_id` field. This change was motivated by
|
|
|
|
|
the possibility that a one-on-one direct message sent by the current
|
|
|
|
|
user to another user could be marked as unread. The `sender_id` field
|
|
|
|
|
is still present for backwards compatibility with older server versions.
|
2022-03-07 16:47:49 +01:00
|
|
|
|
|
2022-02-14 17:04:39 +01:00
|
|
|
|
**Feature level 118**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages), [`GET
|
|
|
|
|
/events`](/api/get-events): Improved the format of the
|
|
|
|
|
`edit_history` object within message objects. Entries for stream
|
|
|
|
|
edits now include a both a `prev_stream` and `stream` field to
|
2023-05-26 19:47:41 +02:00
|
|
|
|
indicate the previous and current stream IDs. Prior to this feature
|
|
|
|
|
level, only the `prev_stream` field was present. Entries for topic
|
2022-02-14 17:04:39 +01:00
|
|
|
|
edits now include both a `prev_topic` and `topic` field to indicate
|
|
|
|
|
the previous and current topic, replacing the `prev_subject`
|
|
|
|
|
field. These changes substantially simplify client complexity for
|
|
|
|
|
processing historical message edits.
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /messages/{message_id}/history`](/api/get-message-history):
|
2022-02-14 17:04:39 +01:00
|
|
|
|
Added `stream` field to message history `snapshot` indicating
|
|
|
|
|
the updated stream ID of messages moved to a new stream.
|
2022-01-29 22:59:06 +01:00
|
|
|
|
|
2021-11-30 13:34:37 +01:00
|
|
|
|
**Feature level 117**
|
|
|
|
|
|
2024-04-09 17:36:23 +02:00
|
|
|
|
* [`POST /invites`](/api/send-invites),
|
|
|
|
|
[`POST /invites/multiuse`](/api/create-invite-link): Added support
|
|
|
|
|
for passing `null` as the `invite_expires_in_days` parameter to
|
|
|
|
|
request an invitation that never expires.
|
2021-11-30 13:34:37 +01:00
|
|
|
|
|
2022-02-20 21:40:59 +01:00
|
|
|
|
**Feature level 116**
|
|
|
|
|
|
|
|
|
|
* [`GET /server_settings`](/api/get-server-settings): Added
|
|
|
|
|
`realm_web_public_access_enabled` as a realm-specific server setting,
|
|
|
|
|
which can be used by clients to detect whether the realm allows and
|
2022-04-28 12:49:40 +02:00
|
|
|
|
has at least one [web-public stream](/help/public-access-option).
|
2022-02-20 21:40:59 +01:00
|
|
|
|
|
2022-01-29 22:59:06 +01:00
|
|
|
|
**Feature level 115**
|
|
|
|
|
|
|
|
|
|
* Mobile push notifications about stream messages now include the
|
|
|
|
|
`stream_id` field.
|
|
|
|
|
|
2022-01-14 15:23:49 +01:00
|
|
|
|
**Feature level 114**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `rendering_only` field to
|
|
|
|
|
`update_message` event type to indicate if the message change only
|
|
|
|
|
updated the rendering of the message or if it was the result of a
|
|
|
|
|
user interaction.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Updated `update_message` event type
|
|
|
|
|
to always include `edit_timestamp` and `user_id` fields. If the event
|
|
|
|
|
only updates the rendering of the message, then the `user_id` field
|
|
|
|
|
will be present, but with a value of null as the update was not the
|
|
|
|
|
result of a user interaction.
|
|
|
|
|
|
2021-12-29 16:16:15 +01:00
|
|
|
|
**Feature level 113**
|
|
|
|
|
|
|
|
|
|
* `GET /realm/emoji`, `POST /realm/emoji/{emoji_name}`, [`GET
|
|
|
|
|
/events`](/api/get-events), [`POST /register`](/api/register-queue):
|
|
|
|
|
The `still_url` field for custom emoji objects is now always
|
|
|
|
|
present, with a value of null for non-animated emoji. Previously, it
|
|
|
|
|
only was present for animated emoji.
|
|
|
|
|
|
2021-12-14 18:14:10 +01:00
|
|
|
|
**Feature level 112**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Updated `update_message` event type
|
|
|
|
|
to include `stream_id` field for all edits to stream messages.
|
|
|
|
|
|
2021-11-24 18:00:12 +01:00
|
|
|
|
**Feature level 111**
|
|
|
|
|
|
2022-08-09 20:37:07 +02:00
|
|
|
|
* [`POST /users/me/subscriptions/properties`](/api/update-subscription-settings):
|
2021-11-24 18:00:12 +01:00
|
|
|
|
Removed `subscription_data` from response object, replacing it with
|
|
|
|
|
`ignored_parameters_unsupported`.
|
|
|
|
|
|
2021-11-23 23:05:31 +01:00
|
|
|
|
**Feature level 110**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`server_web_public_streams_enabled` to the response.
|
|
|
|
|
|
2021-10-03 14:16:07 +02:00
|
|
|
|
**Feature level 109**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events), `PATCH /realm`: Added new
|
|
|
|
|
`enable_spectator_access` realm setting.
|
|
|
|
|
|
2021-11-16 16:04:04 +01:00
|
|
|
|
**Feature level 108**
|
|
|
|
|
|
|
|
|
|
* In the mobile application authentication flow, the authenticated
|
|
|
|
|
user's `user_id` is now included in the parameters encoded in the
|
|
|
|
|
final `zulip://` redirect URL.
|
|
|
|
|
|
2021-10-25 19:17:19 +02:00
|
|
|
|
**Feature level 107**
|
2021-12-14 18:21:18 +01:00
|
|
|
|
|
2021-10-25 19:17:19 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH /settings`](/api/update-settings),
|
|
|
|
|
[`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added user setting `escape_navigates_to_default_view` to allow users to
|
2023-10-18 11:30:32 +02:00
|
|
|
|
[disable the keyboard shortcut](/help/configure-home-view) for the `Esc` key that
|
2021-10-25 19:17:19 +02:00
|
|
|
|
navigates the app to the default view.
|
|
|
|
|
|
2021-10-16 19:52:57 +02:00
|
|
|
|
**Feature level 106**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /user/{user_id}`](/api/update-user): Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameter `full_name`.
|
|
|
|
|
|
2021-10-03 08:36:36 +02:00
|
|
|
|
**Feature level 105**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`PATCH
|
|
|
|
|
/settings`](/api/update-settings), [`PATCH
|
|
|
|
|
/realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
2021-10-03 08:53:35 +02:00
|
|
|
|
Added three new privacy settings: `send_private_typing_notifications`,
|
|
|
|
|
`send_stream_typing_notifications`, and `send_read_receipts`.
|
2021-10-03 08:36:36 +02:00
|
|
|
|
|
2021-09-13 20:01:35 +02:00
|
|
|
|
**Feature level 104**
|
|
|
|
|
|
2022-05-18 21:44:58 +02:00
|
|
|
|
* `PATCH /realm`: Added `string_id` parameter for changing an
|
2021-09-13 20:01:35 +02:00
|
|
|
|
organization's subdomain. Currently, this is only allowed for
|
2022-02-08 00:13:33 +01:00
|
|
|
|
changing a demo organization to a normal one.
|
2021-05-13 21:34:50 +02:00
|
|
|
|
|
2021-10-04 08:33:31 +02:00
|
|
|
|
**Feature level 103**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `create_web_public_stream_policy`
|
2022-01-29 00:54:13 +01:00
|
|
|
|
policy for which users can create web-public streams.
|
2022-05-18 21:44:58 +02:00
|
|
|
|
* [`GET /events`](/api/get-events), `PATCH /realm`: Added support for updating
|
|
|
|
|
`create_web_public_stream_policy`.
|
2021-10-04 19:28:33 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added `can_create_web_public_streams` boolean
|
|
|
|
|
field to the response.
|
2021-10-04 08:33:31 +02:00
|
|
|
|
|
2021-03-27 05:48:37 +01:00
|
|
|
|
**Feature level 102**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), `PATCH /realm`: The
|
|
|
|
|
`create_stream_policy` setting was split into two settings for
|
|
|
|
|
different types of streams: `create_private_stream_policy` and
|
|
|
|
|
`create_public_stream_policy`.
|
|
|
|
|
* [`POST /register`](/api/register-queue): The `create_stream_policy`
|
|
|
|
|
property was deprecated in favor of the
|
|
|
|
|
`create_private_stream_policy` and `create_public_stream_policy`
|
|
|
|
|
properties, but it still available for backwards-compatibility.
|
|
|
|
|
|
2021-06-08 13:45:14 +02:00
|
|
|
|
**Feature level 101**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), `PATCH /realm`: Replaced
|
|
|
|
|
the `allow_message_deleting` boolean field with an integer field
|
|
|
|
|
`delete_own_message_policy` defining which roles can delete messages
|
|
|
|
|
they had sent.
|
|
|
|
|
|
2021-06-14 18:49:28 +02:00
|
|
|
|
**Feature level 100**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET
|
|
|
|
|
/events`](/api/get-events): `message_content_delete_limit_seconds`
|
2021-11-02 00:26:13 +01:00
|
|
|
|
now represents no limit using `null`, instead of the integer 0, and 0 is
|
|
|
|
|
no longer a possible value with any meaning.
|
2021-06-14 18:49:28 +02:00
|
|
|
|
* `PATCH /realm`: One now sets `message_content_delete_limit_seconds`
|
|
|
|
|
to no limit by passing the string `unlimited`, rather than the
|
|
|
|
|
integer 0.
|
|
|
|
|
|
2021-09-17 18:11:37 +02:00
|
|
|
|
**Feature level 99**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults),
|
|
|
|
|
`PATCH /realm`: The `default_twenty_four_hour_time` parameter to
|
|
|
|
|
`PATCH /realm` has been replaced by the `twenty_four_hour_time` parameter
|
|
|
|
|
to `PATCH /realm/user_settings_defaults`, to match the new model for
|
|
|
|
|
user preference defaults settings.
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Removed `realm_default_twenty_four_hour_time`
|
|
|
|
|
from the response object. This value is now available in the
|
|
|
|
|
`twenty_four_hour_time` field of the `realm_user_settings_default` object.
|
|
|
|
|
|
2021-05-20 10:50:17 +02:00
|
|
|
|
**Feature level 98**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`POST /users/me/subscriptions`](/api/subscribe): Added `is_web_public` parameter
|
2021-05-20 10:50:17 +02:00
|
|
|
|
for requesting the creation of a web-public stream.
|
2020-11-10 14:15:04 +01:00
|
|
|
|
* [`PATCH /streams/{stream_id}`](/api/update-stream): Added
|
|
|
|
|
`is_web_public` parameter for converting a stream into a web-public stream.
|
2021-05-20 10:50:17 +02:00
|
|
|
|
|
2021-08-12 10:19:53 +02:00
|
|
|
|
**Feature level 97**
|
|
|
|
|
|
|
|
|
|
* `GET /realm/emoji`, `POST /realm/emoji/{emoji_name}`, [`GET
|
|
|
|
|
/events`](/api/get-events), [`POST /register`](/api/register-queue):
|
|
|
|
|
Custom emoji objects may now contain a `still_url` field, with the
|
|
|
|
|
URL of a PNG still image version of the emoji. This field will only be
|
|
|
|
|
present for animated emoji.
|
|
|
|
|
|
2021-07-21 13:23:23 +02:00
|
|
|
|
**Feature level 96**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/user_settings_defaults`](/api/update-realm-user-settings-defaults):
|
|
|
|
|
Added new endpoint to update default values of user settings in a realm.
|
2024-04-09 17:36:23 +02:00
|
|
|
|
* [`POST /invites`](/api/send-invites),
|
|
|
|
|
[`POST /invites/multiuse`](/api/create-invite-link): Added
|
2022-02-25 01:35:22 +01:00
|
|
|
|
`invite_expires_in_days` parameter encoding the number days before
|
|
|
|
|
the invitation should expire.
|
2021-07-21 13:23:23 +02:00
|
|
|
|
|
2021-07-21 13:40:46 +02:00
|
|
|
|
**Feature level 95**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`realm_user_settings_defaults` object, containing default values of
|
|
|
|
|
personal user settings for new users in the realm.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Added
|
|
|
|
|
`realm_user_settings_defaults` event type, which is sent when the
|
|
|
|
|
organization's configured default settings for new users change.
|
|
|
|
|
|
2021-09-04 01:42:30 +02:00
|
|
|
|
**Feature level 94**
|
2021-10-01 22:32:11 +02:00
|
|
|
|
|
2021-09-04 01:42:30 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`demo_organization_scheduled_deletion_date` field to realm data.
|
|
|
|
|
|
2021-08-06 19:31:00 +02:00
|
|
|
|
**Feature level 93**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /user_groups`](/api/get-user-groups),
|
|
|
|
|
[`GET /events`](/api/get-events): Added `is_system_group` field to user group
|
|
|
|
|
objects.
|
|
|
|
|
|
2021-08-05 19:48:43 +02:00
|
|
|
|
**Feature level 92**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages), [`POST
|
|
|
|
|
/register`](/api/register-queue), [`GET /users`](/api/get-users),
|
|
|
|
|
[`GET /users/{user_id}`](/api/get-user), [`GET
|
|
|
|
|
/users/{email}`](/api/get-user-by-email): The `client_gravatar`
|
|
|
|
|
parameter now defaults to `true`.
|
|
|
|
|
|
2021-08-02 18:43:08 +02:00
|
|
|
|
**Feature level 91**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`, [`PATCH /streams/{stream_id}`](/api/update-stream):
|
|
|
|
|
These endpoints now accept `"unlimited"` for `message_retention_days`,
|
|
|
|
|
replacing `"forever"` as the way to encode a retention policy where
|
|
|
|
|
messages are not automatically deleted.
|
|
|
|
|
|
2021-07-19 15:06:58 +02:00
|
|
|
|
**Feature level 90**
|
|
|
|
|
|
2021-08-04 19:48:42 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): The `unread_msgs` section
|
|
|
|
|
of the response no longer includes `sender_ids` in the `streams`
|
|
|
|
|
dictionaries. These were removed because no clients were interested
|
|
|
|
|
in using the data, which required substantial complexity to
|
|
|
|
|
construct correctly.
|
2021-07-19 15:06:58 +02:00
|
|
|
|
|
2021-07-26 08:35:27 +02:00
|
|
|
|
**Feature level 89**
|
|
|
|
|
|
2021-08-02 00:07:53 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): Introduced the `user_settings`
|
|
|
|
|
event type, unifying and replacing the previous
|
|
|
|
|
`update_display_settings` and `update_global_notifications` event
|
|
|
|
|
types. The legacy event types are still supported for backwards
|
|
|
|
|
compatibility, but will be removed in a future release.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `user_settings` field
|
|
|
|
|
in the response, which is a dictionary containing all the user's
|
|
|
|
|
personal settings. For backwards-compatibility, individual settings
|
|
|
|
|
will still appear in the top-level response for clients don't
|
|
|
|
|
support the `user_settings_object` client capability.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added the
|
2021-07-24 19:51:25 +02:00
|
|
|
|
`user_settings_object` property to supported `client_capabilities`.
|
2021-08-02 00:07:53 +02:00
|
|
|
|
When enabled, the server will not include a duplicate copy of
|
|
|
|
|
personal settings in the top-level response.
|
2021-07-24 19:51:25 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `update_display_settings` and
|
2021-08-02 00:07:53 +02:00
|
|
|
|
`update_global_notifications` events now only sent to clients that
|
|
|
|
|
did not include `user_settings_object` in their
|
|
|
|
|
`client_capabilities` when the event queue was created.
|
2021-07-26 08:35:27 +02:00
|
|
|
|
|
2021-07-30 12:25:53 +02:00
|
|
|
|
**Feature level 88**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `zulip_merge_base`
|
|
|
|
|
field to the response.
|
|
|
|
|
* [`GET /events`](/api/get-events): Added new `zulip_merge_base`
|
|
|
|
|
field to the `restart` event.
|
|
|
|
|
* [`GET /server_settings`](/api/get-server-settings): Added
|
|
|
|
|
`zulip_merge_base` to the responses which can be used to
|
|
|
|
|
make "About Zulip" widgets in clients.
|
|
|
|
|
|
2021-07-24 06:56:56 +02:00
|
|
|
|
**Feature level 87**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /settings`](/api/update-settings): Added a new
|
|
|
|
|
`enable_drafts_synchronization` setting, which controls whether the
|
|
|
|
|
syncing drafts between different clients is enabled.
|
2021-02-14 12:56:14 +01:00
|
|
|
|
|
2021-07-24 06:56:56 +02:00
|
|
|
|
* [`GET /events`](/api/get-events), [`POST /register`](/api/register-queue):
|
|
|
|
|
Added new `enable_drafts_synchronization` setting under
|
|
|
|
|
`update_display_settings`.
|
|
|
|
|
|
2021-02-14 12:56:14 +01:00
|
|
|
|
* [`GET /drafts`](/api/get-drafts): Added new endpoint to fetch user's
|
|
|
|
|
synced drafts from the server.
|
|
|
|
|
|
|
|
|
|
* [`POST /drafts`](/api/create-drafts): Added new endpoint to create
|
|
|
|
|
drafts when syncing has been enabled.
|
|
|
|
|
|
|
|
|
|
* [`PATCH /drafts/{draft_id}`](/api/edit-draft): Added new endpoint
|
|
|
|
|
to edit a draft already owned by the user.
|
|
|
|
|
|
|
|
|
|
* [`DELETE /drafts/{draft_id}`](/api/delete-draft): Added new endpoint
|
|
|
|
|
to delete a draft already owned by the user.
|
|
|
|
|
|
2021-06-22 18:42:31 +02:00
|
|
|
|
**Feature level 86**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `emoji_name`,
|
|
|
|
|
`emoji_code`, and `reaction_type` fields to `user_status` objects.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `emoji_name`,
|
|
|
|
|
`emoji_code`, and `reaction_type` fields to `user_status` objects.
|
2022-04-11 21:35:54 +02:00
|
|
|
|
* [`POST /users/me/status`](/api/update-status): Added support for new
|
|
|
|
|
`emoji_name`, `emoji_code`, and `reaction_type` parameters.
|
2021-06-22 18:42:31 +02:00
|
|
|
|
|
2021-05-04 19:02:24 +02:00
|
|
|
|
**Feature level 85**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), `PATCH /realm`: Replaced `add_emoji_by_admins_only`
|
|
|
|
|
field with an integer field `add_custom_emoji_policy`.
|
|
|
|
|
|
2021-07-26 22:09:17 +02:00
|
|
|
|
**Feature level 84**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): The `enter_sends` setting
|
|
|
|
|
is now sent when `update_display_setting` is present in
|
|
|
|
|
`fetch_event_types` instead of `realm_user`.
|
|
|
|
|
|
2021-03-07 15:51:55 +01:00
|
|
|
|
**Feature level 83**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): The `cross_realm_bots`
|
2021-03-07 15:51:55 +01:00
|
|
|
|
section of the response now uses the `is_system_bot` flag to
|
|
|
|
|
indicate whether the bot is a system bot.
|
|
|
|
|
|
2021-07-22 10:05:04 +02:00
|
|
|
|
**Feature level 82**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /settings`](/api/update-settings) now accepts a new
|
|
|
|
|
`email_notifications_batching_period_seconds` field for setting the
|
|
|
|
|
time duration for which the server will collect email notifications
|
|
|
|
|
before sending them.
|
|
|
|
|
|
2021-07-22 18:14:28 +02:00
|
|
|
|
**Feature level 81**
|
|
|
|
|
|
|
|
|
|
* `POST /users/me/enter-sends` has been removed. The `enter_sends`
|
|
|
|
|
setting is now edited using the normal [`PATCH
|
|
|
|
|
/settings`](/api/update-settings) endpoint.
|
|
|
|
|
|
2021-07-07 22:08:11 +02:00
|
|
|
|
**Feature level 80**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /settings`](/api/update-settings): The
|
|
|
|
|
`/settings/notifications` and `/settings/display` endpoints were
|
|
|
|
|
merged into the main `/settings` endpoint; now all personal settings
|
|
|
|
|
should be edited using that single endpoint. The old URLs are
|
|
|
|
|
preserved as deprecated aliases for backwards compatibility.
|
|
|
|
|
|
2021-07-17 00:29:45 +02:00
|
|
|
|
**Feature level 79**
|
|
|
|
|
|
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions): The
|
|
|
|
|
`subscribers` field now returns user IDs if `include_subscribers` is
|
|
|
|
|
passed. Previously, this endpoint returned user display email
|
|
|
|
|
addresses in this field.
|
|
|
|
|
* `GET /streams/{stream_id}/members`: This endpoint now returns user
|
|
|
|
|
IDs. Previously, it returned display email addresses.
|
|
|
|
|
|
2021-07-15 16:57:07 +02:00
|
|
|
|
**Feature level 78**
|
|
|
|
|
|
2021-07-07 22:08:11 +02:00
|
|
|
|
* [`PATCH /settings`](/api/update-settings): Added
|
|
|
|
|
`ignored_parameters_unsupported` field, which is a list of
|
|
|
|
|
parameters that were ignored by the endpoint, to the response
|
|
|
|
|
object.
|
2021-07-15 16:57:07 +02:00
|
|
|
|
|
2021-07-07 22:08:11 +02:00
|
|
|
|
* [`PATCH /settings`](/api/update-settings): Removed `full_name` and
|
|
|
|
|
`account_email` fields from the response object.
|
2021-07-15 18:31:34 +02:00
|
|
|
|
|
2021-06-12 16:35:17 +02:00
|
|
|
|
**Feature level 77**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Removed `recipient_id` and
|
|
|
|
|
`sender_id` field in responses of `delete_message` event when
|
|
|
|
|
`message_type` is `private`.
|
|
|
|
|
|
2021-07-05 20:28:24 +02:00
|
|
|
|
**Feature level 76**
|
|
|
|
|
|
2024-06-17 16:55:37 +02:00
|
|
|
|
* [`POST /fetch_api_key`](/api/fetch-api-key),
|
|
|
|
|
[`POST /dev_fetch_api_key`](/api/dev-fetch-api-key): The HTTP status
|
|
|
|
|
for authentication errors is now 401. These previously used the HTTP
|
|
|
|
|
403 error status.
|
|
|
|
|
* [Error handling](/api/rest-error-handling#common-error-responses): API
|
|
|
|
|
requests that involve a deactivated user or organization now use the
|
|
|
|
|
HTTP 401 error status. These previously used the HTTP 403 error status.
|
|
|
|
|
* [Error handling](/api/rest-error-handling): All error responses
|
|
|
|
|
now include a `code` key with a machine-readable string value. The
|
|
|
|
|
default value for this key is `"BAD_REQUEST"` for general error
|
|
|
|
|
responses.
|
2021-07-05 20:28:24 +02:00
|
|
|
|
* Mobile push notifications now include the `mentioned_user_group_id`
|
|
|
|
|
and `mentioned_user_group_name` fields when a user group containing
|
|
|
|
|
the user is mentioned. Previously, these were indistinguishable
|
|
|
|
|
from personal mentions (as both types have `trigger="mention"`).
|
|
|
|
|
|
2021-05-26 12:21:37 +02:00
|
|
|
|
**Feature level 75**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue), `PATCH /realm`: Replaced `allow_community_topic_editing`
|
|
|
|
|
field with an integer field `edit_topic_policy`.
|
|
|
|
|
|
2021-06-04 15:12:37 +02:00
|
|
|
|
**Feature level 74**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `server_needs_upgrade`
|
|
|
|
|
and `event_queue_longpoll_timeout_seconds` field when fetching
|
|
|
|
|
realm data.
|
|
|
|
|
|
2021-05-28 12:51:50 +02:00
|
|
|
|
**Feature level 73**
|
|
|
|
|
|
|
|
|
|
* [`GET /users`](/api/get-users), [`GET /users/{user_id}`](/api/get-user),
|
|
|
|
|
[`GET /users/{email}`](/api/get-user-by-email) and
|
2021-08-09 02:10:54 +02:00
|
|
|
|
[`GET /users/me`](/api/get-own-user): Added is `user_billing_admin` field to
|
2021-05-28 12:51:50 +02:00
|
|
|
|
returned user objects.
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `is_billing_admin` field to
|
|
|
|
|
user objects sent in `realm_user` events.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `is_billing_admin` field
|
|
|
|
|
in the user objects returned in the `realm_users` field.
|
|
|
|
|
|
2021-05-22 09:39:09 +02:00
|
|
|
|
**Feature level 72**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Renamed `max_icon_file_size` to
|
|
|
|
|
`max_icon_file_size_mib`, `realm_upload_quota` to `realm_upload_quota_mib`
|
|
|
|
|
and `max_logo_file_size` to `max_logo_file_size_mib`.
|
|
|
|
|
|
2021-05-22 16:26:00 +02:00
|
|
|
|
**Feature level 71**
|
2021-05-20 20:01:51 +02:00
|
|
|
|
|
2020-11-10 16:02:55 +01:00
|
|
|
|
* [`GET /events`](/api/get-events): Added `is_web_public` field to
|
|
|
|
|
`stream` events changing `invite_only`.
|
|
|
|
|
|
|
|
|
|
**Feature level 70**
|
|
|
|
|
|
2021-05-20 20:01:51 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added new top-level
|
|
|
|
|
`server_timestamp` field when fetching presence data, to match the
|
|
|
|
|
existing presence API.
|
|
|
|
|
|
2021-05-13 21:34:50 +02:00
|
|
|
|
Feature levels 66-69 are reserved for future use in 4.x maintenance
|
|
|
|
|
releases.
|
|
|
|
|
|
2020-07-28 02:10:59 +02:00
|
|
|
|
## Changes in Zulip 4.0
|
|
|
|
|
|
2021-05-13 21:29:57 +02:00
|
|
|
|
**Feature level 65**
|
|
|
|
|
|
2021-05-14 00:41:53 +02:00
|
|
|
|
No changes; feature level used for Zulip 4.0 release.
|
2021-05-13 21:29:57 +02:00
|
|
|
|
|
2021-05-08 18:41:54 +02:00
|
|
|
|
**Feature level 64**
|
|
|
|
|
|
|
|
|
|
* `PATCH /streams/{stream_id}`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameters `new_name` and `description`.
|
|
|
|
|
* `PATCH /settings/display`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameters `default_view`, `emojiset` and `timezone`.
|
|
|
|
|
|
2021-05-06 21:14:16 +02:00
|
|
|
|
**Feature level 63**
|
|
|
|
|
|
|
|
|
|
* `PATCH /settings/notifications`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameter `notification_sound`.
|
|
|
|
|
* `PATCH /settings/display`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameter `default_language`.
|
|
|
|
|
* `POST /users/me/tutorial_status`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameter `status`.
|
|
|
|
|
* `POST /realm/domains`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameter `domain`.
|
|
|
|
|
* `PATCH /default_stream_groups/{user_id}`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameters `new_group_name` and `new_description`.
|
|
|
|
|
* `POST /users/me/hotspots`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameter `hotspot`.
|
|
|
|
|
|
2021-05-02 09:56:58 +02:00
|
|
|
|
**Feature level 62**
|
|
|
|
|
|
|
|
|
|
* Added `moderators only` option for `wildcard_mention_policy`.
|
|
|
|
|
|
2021-04-30 15:19:47 +02:00
|
|
|
|
**Feature level 61**
|
|
|
|
|
|
2024-04-09 17:36:23 +02:00
|
|
|
|
* [`POST /invites`](/api/send-invites),
|
|
|
|
|
[`POST /invites/multiuse`](/api/create-invite-link): Added support
|
|
|
|
|
for inviting users as moderators.
|
2021-04-30 15:19:47 +02:00
|
|
|
|
|
2021-04-19 18:41:20 +02:00
|
|
|
|
**Feature level 60**
|
|
|
|
|
|
2021-04-19 20:56:15 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new boolean field
|
|
|
|
|
`is_moderator`, similar to the existing `is_admin`, `is_owner` and
|
|
|
|
|
`is_guest` fields, to the response.
|
2021-04-19 18:41:20 +02:00
|
|
|
|
* [`PATCH /users/{user_id}`](/api/update-user): Added support for
|
|
|
|
|
changing a user's organization-level role to moderator.
|
|
|
|
|
* API endpoints that return `role` values can now return `300`, the
|
|
|
|
|
encoding of the moderator role.
|
|
|
|
|
|
2021-04-18 11:28:39 +02:00
|
|
|
|
**Feature level 59**
|
|
|
|
|
|
2021-04-11 07:38:09 +02:00
|
|
|
|
* [`GET /users`](/api/get-users), [`GET /users/{user_id}`](/api/get-user),
|
|
|
|
|
[`GET /users/{email}`](/api/get-user-by-email) and
|
|
|
|
|
[`GET /users/me`](/api/get-own-user): Added `role` field to returned
|
|
|
|
|
user objects.
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `role` field to
|
|
|
|
|
user objects sent in `realm_user` events.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `role` field
|
|
|
|
|
in the user objects returned in the `realm_users` field.
|
2021-04-18 11:28:39 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): Added new `zulip_version` and
|
|
|
|
|
`zulip_feature_level` fields to the `restart` event.
|
|
|
|
|
|
2020-12-24 21:00:20 +01:00
|
|
|
|
**Feature level 58**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added the new
|
|
|
|
|
`stream_typing_notifications` property to supported
|
|
|
|
|
`client_capabilities`.
|
|
|
|
|
* [`GET /events`](/api/get-events): Extended format for `typing`
|
|
|
|
|
events to support typing notifications in stream messages. These new
|
|
|
|
|
events are only sent to clients with `client_capabilities`
|
|
|
|
|
showing support for `stream_typing_notifications`.
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`POST /typing`](/api/set-typing-status): Added support
|
2020-12-24 21:00:20 +01:00
|
|
|
|
for sending typing notifications for stream messages.
|
|
|
|
|
|
2021-04-15 19:51:36 +02:00
|
|
|
|
**Feature level 57**
|
|
|
|
|
|
|
|
|
|
* [`PATCH /realm/filters/{filter_id}`](/api/update-linkifier): New
|
|
|
|
|
endpoint added to update a realm linkifier.
|
|
|
|
|
|
2021-04-08 19:24:01 +02:00
|
|
|
|
**Feature level 56**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new setting
|
|
|
|
|
`move_messages_between_streams_policy` for controlling who can
|
|
|
|
|
move messages between streams.
|
|
|
|
|
|
2021-03-31 13:10:46 +02:00
|
|
|
|
**Feature level 55**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `realm_giphy_rating`
|
|
|
|
|
and `giphy_rating_options` fields.
|
|
|
|
|
* `PATCH /realm`: Added `giphy_rating` parameter.
|
|
|
|
|
|
2021-03-30 12:51:54 +02:00
|
|
|
|
**Feature level 54**
|
|
|
|
|
|
|
|
|
|
* `GET /realm/filters` has been removed and replace with [`GET
|
|
|
|
|
/realm/linkifiers`](/api/get-linkifiers) which returns the data in a
|
|
|
|
|
cleaner dictionary format.
|
|
|
|
|
* [`GET /events`](/api/get-events): Introduced new event type
|
|
|
|
|
`realm_linkifiers`. The previous `realm_filters` event type is
|
|
|
|
|
still supported for backwards compatibility, but will be removed in
|
|
|
|
|
a future release.
|
|
|
|
|
* [`POST /register`](/api/register-queue): The response now supports a
|
|
|
|
|
`realm_linkifiers` event type, containing the same data as the
|
|
|
|
|
legacy `realm_filters` key, with a more extensible object
|
|
|
|
|
format. The previous `realm_filters` event type is still supported
|
|
|
|
|
for backwards compatibility, but will be removed in a future
|
|
|
|
|
release. The legacy `realm_filters` key is deprecated but remains
|
|
|
|
|
available for backwards compatibility.
|
|
|
|
|
|
2021-04-10 17:50:58 +02:00
|
|
|
|
**Feature level 53**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `max_topic_length`
|
2021-04-13 01:03:31 +02:00
|
|
|
|
and `max_message_length`, and renamed `max_stream_name_length` and
|
2021-04-10 17:50:58 +02:00
|
|
|
|
`max_stream_description_length` to allow clients to transparently
|
|
|
|
|
support these values changing in a future server version.
|
|
|
|
|
|
2021-04-07 22:00:40 +02:00
|
|
|
|
**Feature level 52**
|
|
|
|
|
|
|
|
|
|
* `PATCH /realm`: Removed unnecessary JSON-encoding of string
|
|
|
|
|
parameters `name`, `description`, `default_language`, and
|
|
|
|
|
`default_code_block_language`.
|
|
|
|
|
|
2021-04-03 21:09:26 +02:00
|
|
|
|
**Feature level 51**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new boolean field
|
|
|
|
|
`can_invite_others_to_realm`.
|
|
|
|
|
|
2021-04-02 18:47:08 +02:00
|
|
|
|
**Feature level 50**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Replaced `invite_by_admins_only`
|
|
|
|
|
field with an integer field `invite_to_realm_policy`.
|
|
|
|
|
|
2020-10-28 04:00:46 +01:00
|
|
|
|
**Feature level 49**
|
|
|
|
|
|
2021-05-23 10:04:50 +02:00
|
|
|
|
* Added new [`POST /realm/playground`](/api/add-code-playground) and
|
|
|
|
|
[`DELETE /realm/playground/{playground_id}`](/api/remove-code-playground)
|
|
|
|
|
endpoints for code playgrounds.
|
2020-10-28 04:00:46 +01:00
|
|
|
|
* [`GET /events`](/api/get-events): A new `realm_playgrounds` events
|
2021-05-23 10:04:50 +02:00
|
|
|
|
is sent when changes are made to a set of configured code playgrounds for
|
2020-10-28 04:00:46 +01:00
|
|
|
|
an organization.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new `realm_playgrounds`
|
2021-05-23 10:04:50 +02:00
|
|
|
|
field, which is required to fetch the set of configured code playgrounds for
|
2020-10-28 04:00:46 +01:00
|
|
|
|
an organization.
|
|
|
|
|
|
2021-03-27 12:23:32 +01:00
|
|
|
|
**Feature level 48**
|
|
|
|
|
|
|
|
|
|
* [`POST /users/me/muted_users/{muted_user_id}`](/api/mute-user),
|
|
|
|
|
[`DELETE /users/me/muted_users/{muted_user_id}`](/api/unmute-user):
|
|
|
|
|
New endpoints added to mute/unmute users.
|
|
|
|
|
* [`GET /events`](/api/get-events): Added new event type `muted_users`
|
|
|
|
|
which will be sent to a user when the set of users muted by them has
|
|
|
|
|
changed.
|
2023-08-25 19:09:25 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new `muted_users` field,
|
|
|
|
|
which identifies the set of other users the current user has muted.
|
2021-03-27 12:23:32 +01:00
|
|
|
|
|
2021-03-19 13:21:18 +01:00
|
|
|
|
**Feature level 47**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new `giphy_api_key`
|
|
|
|
|
field, which is required to fetch GIFs using the GIPHY API.
|
|
|
|
|
|
2021-01-26 07:32:29 +01:00
|
|
|
|
**Feature level 46**
|
|
|
|
|
|
|
|
|
|
* [`GET /messages`](/api/get-messages) and [`GET
|
|
|
|
|
/events`](/api/get-events): The `topic_links` field now contains a
|
|
|
|
|
list of dictionaries, rather than a list of strings.
|
|
|
|
|
|
2021-03-26 09:51:43 +01:00
|
|
|
|
**Feature level 45**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Removed useless `op` field from
|
|
|
|
|
`custom_profile_fields` events. These events contain the full set
|
|
|
|
|
of configured `custom_profile_fields` for the organization
|
|
|
|
|
regardless of what triggered the change.
|
|
|
|
|
|
2021-03-18 22:33:52 +01:00
|
|
|
|
**Feature level 44**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): extended the `unread_msgs`
|
|
|
|
|
object to include `old_unreads_missing`, which indicates whether the
|
|
|
|
|
server truncated the `unread_msgs` due to excessive total unread
|
|
|
|
|
messages.
|
|
|
|
|
|
2021-01-04 19:36:00 +01:00
|
|
|
|
**Feature level 43**
|
|
|
|
|
|
2023-02-22 12:41:10 +01:00
|
|
|
|
* [`GET /users/{user_id_or_email}/presence`](/api/get-user-presence):
|
|
|
|
|
Added support for passing the `user_id` to identify the target user.
|
2021-01-04 19:36:00 +01:00
|
|
|
|
|
2021-03-10 13:56:10 +01:00
|
|
|
|
**Feature level 42**
|
|
|
|
|
|
|
|
|
|
* `PATCH /settings/display`: Added a new `default_view` setting allowing
|
2023-10-18 11:30:32 +02:00
|
|
|
|
the user to [set the default view](/help/configure-home-view).
|
2021-03-10 13:56:10 +01:00
|
|
|
|
|
2021-03-06 13:20:32 +01:00
|
|
|
|
**Feature level 41**
|
|
|
|
|
|
2021-03-10 13:56:10 +01:00
|
|
|
|
* [`GET /events`](/api/get-events): Removed `name` field from update
|
2021-03-06 13:20:32 +01:00
|
|
|
|
subscription events.
|
|
|
|
|
|
2021-02-26 19:19:03 +01:00
|
|
|
|
**Feature level 40**
|
|
|
|
|
|
2021-03-10 13:56:10 +01:00
|
|
|
|
* [`GET /events`](/api/get-events): Removed `email` field from update
|
2021-02-26 19:19:03 +01:00
|
|
|
|
subscription events.
|
|
|
|
|
|
2021-01-02 15:05:29 +01:00
|
|
|
|
**Feature level 39**
|
|
|
|
|
|
2022-05-05 15:40:41 +02:00
|
|
|
|
* Added new [`GET /users/{email}`](/api/get-user-by-email) endpoint.
|
2021-01-02 15:05:29 +01:00
|
|
|
|
|
2021-01-05 06:22:08 +01:00
|
|
|
|
**Feature level 38**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Increased
|
|
|
|
|
`realm_community_topic_editing_limit_seconds` time limit value
|
|
|
|
|
to 259200s (3 days).
|
|
|
|
|
|
refactor: Eliminate checks in build_stream_dict_for_sub.
We eliminate some redundant checks.
We also consistently provide a `subscribers` field
in our stream data with `[]`, even if our users
can't access subscribers. We therefore bump
the API version and tweak the docs. (See further
down for a detailed justification of the change.)
Even though it is sometimes fine to have redundant code
that is defensive in nature, some upcoming changes are gonna
move subscriber-related logic out of build_stream_dict_for_sub
for certain codepaths as part of our effort to streamline
the payload for subscribers within page_params.
So we can't rely on the code that I removed here
inside of build_stream_dict_for_sub.
Anyway, it makes more sense to do these checks explicitly
in the validate function.
The code in build_stream_dict_for_sub was almost effectively
a noop, since the validation function was already preventing
us from getting subscriber info. The only difference it
made was sometimes converting `[]` to `None`, and then
subsequently omitting the subscribers field.
Neither ZT nor the webapp make any distinction between
`[]` or <missing key> for the `subscribers` data in
`page_params`.
The webapp has had this code for a long time (and now
equivalent code elsewhere in this PR):
if (!Object.prototype.hasOwnProperty.call(sub, "subscribers")) {
sub.subscribers = new LazySet([]);
}
The webapp calculates access based on booleans, anyway:
sub.can_access_subscribers =
page_params.is_admin || sub.subscribed ||
(!page_params.is_guest && !sub.invite_only);
And ZT would choke if `subscribers` were missing, except that
it never gets to the relevant code due to other checks:
def get_other_subscribers_in_stream(<snip>):
assert stream_id is not None or stream_name is not None
if stream_id:
assert self.is_user_subscribed_to_stream(stream_id)
return [sub
for sub in self.stream_dict[stream_id]['subscribers']
if sub != self.user_id]
else:
return [sub
for _, stream in self.stream_dict.items()
for sub in stream['subscribers']
if stream['name'] == stream_name
if sub != self.user_id]
You could make a semantic argument that we should prefer
<missing key> to `[]` when subscribers aren't even available, but
we have precedent from the way that `bulk_get_subscriber_user_ids`
has traditionally populated its result:
result: Dict[int, List[int]] =
{stream["id"]: [] for stream in stream_dicts}
If we changed `stream_dicts` to `target_stream_dicts` we
would faciliate a move toward `None`, but it would just cause
headaches for other server code as well as the frontends
(which, to reiterate, already prefer the empty array
for convenience).
2021-01-14 16:18:42 +01:00
|
|
|
|
**Feature level 37**
|
|
|
|
|
|
|
|
|
|
* Consistently provide `subscribers` in stream data when
|
|
|
|
|
clients register for subscriptions with `include_subscribers`,
|
|
|
|
|
even if the user can't access subscribers.
|
|
|
|
|
|
2020-12-14 22:02:22 +01:00
|
|
|
|
**Feature level 36**
|
|
|
|
|
|
|
|
|
|
* [`POST /users`](/api/create-user): Restricted access to organization
|
|
|
|
|
administrators with the `can_create_users` permission.
|
2024-06-18 13:53:58 +02:00
|
|
|
|
* [Error handling](/api/rest-error-handling#common-error-responses): The
|
|
|
|
|
`code` key will now be present in errors that are due to rate
|
|
|
|
|
limits, with a value of `"RATE_LIMIT_HIT"`.
|
2020-12-14 22:02:22 +01:00
|
|
|
|
|
2020-10-24 16:41:46 +02:00
|
|
|
|
**Feature level 35**
|
|
|
|
|
|
2023-06-21 19:31:51 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): The `subscription` events for
|
|
|
|
|
`peer_add` and `peer_remove` now include `user_ids` and `stream_ids`
|
|
|
|
|
arrays. Previously, these events included singular `user_id` and
|
|
|
|
|
`stream_id` integers.
|
2020-10-24 16:41:46 +02:00
|
|
|
|
|
2020-09-04 18:53:22 +02:00
|
|
|
|
**Feature level 34**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added a new `wildcard_mention_policy`
|
|
|
|
|
setting for controlling who can use wildcard mentions in large streams.
|
|
|
|
|
|
2020-09-18 18:09:17 +02:00
|
|
|
|
**Feature level 33**
|
|
|
|
|
|
2024-04-03 20:37:14 +02:00
|
|
|
|
* [Markdown message formatting](/api/message-formatting#code-blocks):
|
|
|
|
|
[Code blocks](/help/code-blocks) now have a `data-code-language`
|
|
|
|
|
attribute attached to the outer HTML `div` element, recording the
|
|
|
|
|
programming language that was selected for syntax highlighting.
|
2020-09-18 18:09:17 +02:00
|
|
|
|
|
2020-08-19 21:51:47 +02:00
|
|
|
|
**Feature level 32**
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `op` field to
|
|
|
|
|
`update_message_flags` events, deprecating the `operation` field
|
|
|
|
|
(which has the same value). This removes an unintentional anomaly
|
|
|
|
|
in the format of this event type.
|
|
|
|
|
|
2020-07-15 16:02:35 +02:00
|
|
|
|
**Feature level 31**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions): Added a
|
2020-07-15 16:02:35 +02:00
|
|
|
|
`role` field to Subscription objects representing whether the user
|
|
|
|
|
is a stream administrator.
|
|
|
|
|
|
|
|
|
|
* [`GET /events`](/api/get-events): Added `role` field to
|
|
|
|
|
Subscription objects sent in `subscriptions` events.
|
|
|
|
|
|
|
|
|
|
Note that as of this feature level, stream administrators are a
|
|
|
|
|
partially completed feature. In particular, it is impossible for a
|
|
|
|
|
user to be a stream administrator at this feature level.
|
|
|
|
|
|
2020-10-23 02:43:28 +02:00
|
|
|
|
**Feature level 30**
|
2020-07-28 02:10:59 +02:00
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions), [`GET
|
2020-07-28 02:10:59 +02:00
|
|
|
|
/streams`](/api/get-streams): Added `date_created` to Stream
|
|
|
|
|
objects.
|
2020-08-11 23:01:01 +02:00
|
|
|
|
* [`POST /users`](/api/create-user), `POST /bots`: The ID of the newly
|
|
|
|
|
created user is now returned in the response.
|
2020-07-28 02:10:59 +02:00
|
|
|
|
|
|
|
|
|
Feature levels 28 and 29 are reserved for future use in 3.x bug fix
|
|
|
|
|
releases.
|
|
|
|
|
|
2020-07-16 14:29:18 +02:00
|
|
|
|
## Changes in Zulip 3.1
|
|
|
|
|
|
2020-07-16 23:56:34 +02:00
|
|
|
|
**Feature level 27**
|
|
|
|
|
|
2022-05-18 01:35:28 +02:00
|
|
|
|
* [`POST /users`](/api/create-user): Removed `short_name` field from
|
|
|
|
|
`display_recipient` array objects.
|
2020-07-16 23:56:34 +02:00
|
|
|
|
|
2020-07-16 14:29:18 +02:00
|
|
|
|
**Feature level 26**
|
|
|
|
|
|
2023-06-21 18:06:17 +02:00
|
|
|
|
* [`GET /messages`](/api/get-messages), [`GET /events`](/api/get-events):
|
|
|
|
|
The `sender_short_name` field is no longer included in message objects
|
|
|
|
|
returned by these endpoints.
|
2022-05-18 01:35:28 +02:00
|
|
|
|
* [`GET /messages`](/api/get-messages) : Removed `short_name` field from
|
|
|
|
|
`display_recipient` array objects.
|
2020-07-16 14:29:18 +02:00
|
|
|
|
|
2020-06-25 01:25:14 +02:00
|
|
|
|
## Changes in Zulip 3.0
|
2020-04-29 05:55:42 +02:00
|
|
|
|
|
2020-07-16 11:13:43 +02:00
|
|
|
|
**Feature level 25**
|
|
|
|
|
|
|
|
|
|
No changes; feature level used for Zulip 3.0 release.
|
|
|
|
|
|
markdown: Remove !avatar() and !gravatar() syntax.
This particular commit has been a long time coming. For reference,
!avatar(email) was an undocumented syntax that simply rendered an
inline 50px avatar for a user in a message, essentially allowing
you to create a user pill like:
`!avatar(alice@example.com) Alice: hey!`
---
Reimplementation
If we decide to reimplement this or a similar feature in the future,
we could use something like `<avatar:userid>` syntax which is more
in line with creating links in markdown. Even then, it would not be
a good idea to add this instead of supporting inline images directly.
Since any usecases of such a syntax are in automation, we do not need
to make it userfriendly and something like the following is a better
implementation that doesn't need a custom syntax:
`![avatar for Alice](/avatar/1234?s=50) Alice: hey!`
---
History
We initially added this syntax back in 2012 and it was 'deprecated'
from the get go. Here's what the original commit had to say about
the new syntax:
> We'll use this internally for the commit bot. We might eventually
> disable it for external users.
We eventually did start using this for our github integrations in 2013
but since then, those integrations have been neglected in favor of
our GitHub webhooks which do not use this syntax.
When we copied `!gravatar` to add the `!avatar` syntax, we also noted
that we want to deprecate the `!gravatar` syntax entirely - in 2013!
Since then, we haven't advertised either of these syntaxes anywhere
in our docs, and the only two places where this syntax remains is
our game bots that could easily do without these, and the git commit
integration that we have deprecated anyway.
We do not have any evidence of someone asking about this syntax on
chat.zulip.org when developing an integration and rightfully so- only
the people who work on Zulip (and specifically, markdown) are likely
to stumble upon it and try it out.
This is also the only peice of code due to which we had to look up
emails -> userid mapping in our backend markdown. By removing this,
we entirely remove the backend markdown's dependency on user emails
to render messages.
---
Relevant commits:
- Oct 2012, Initial commit c31462c2782a33886e737cf33424a36a95c81f97
- Nov 2013, Update commit bot 968c393826f8846065c5c880427328f6e534c2f5
- Nov 2013, Add avatar syntax 761c0a0266669aca82d134716a4d6b6e33d541fc
- Sep 2017, Avoid email use c3032a7fe8ed49b011e0d242f4b8a7d756b9f647
- Apr 2019, Remove from webhook 674fcfcce1fcf35bdc57031a1025ef169d495d36
2020-07-06 23:01:38 +02:00
|
|
|
|
**Feature level 24**
|
|
|
|
|
|
2024-04-03 20:37:14 +02:00
|
|
|
|
* [Markdown message formatting](/api/message-formatting#removed-features):
|
|
|
|
|
The rarely used `!avatar()` and `!gravatar()` markup syntax, which
|
|
|
|
|
was never documented and had inconsistent syntax, was removed.
|
markdown: Remove !avatar() and !gravatar() syntax.
This particular commit has been a long time coming. For reference,
!avatar(email) was an undocumented syntax that simply rendered an
inline 50px avatar for a user in a message, essentially allowing
you to create a user pill like:
`!avatar(alice@example.com) Alice: hey!`
---
Reimplementation
If we decide to reimplement this or a similar feature in the future,
we could use something like `<avatar:userid>` syntax which is more
in line with creating links in markdown. Even then, it would not be
a good idea to add this instead of supporting inline images directly.
Since any usecases of such a syntax are in automation, we do not need
to make it userfriendly and something like the following is a better
implementation that doesn't need a custom syntax:
`![avatar for Alice](/avatar/1234?s=50) Alice: hey!`
---
History
We initially added this syntax back in 2012 and it was 'deprecated'
from the get go. Here's what the original commit had to say about
the new syntax:
> We'll use this internally for the commit bot. We might eventually
> disable it for external users.
We eventually did start using this for our github integrations in 2013
but since then, those integrations have been neglected in favor of
our GitHub webhooks which do not use this syntax.
When we copied `!gravatar` to add the `!avatar` syntax, we also noted
that we want to deprecate the `!gravatar` syntax entirely - in 2013!
Since then, we haven't advertised either of these syntaxes anywhere
in our docs, and the only two places where this syntax remains is
our game bots that could easily do without these, and the git commit
integration that we have deprecated anyway.
We do not have any evidence of someone asking about this syntax on
chat.zulip.org when developing an integration and rightfully so- only
the people who work on Zulip (and specifically, markdown) are likely
to stumble upon it and try it out.
This is also the only peice of code due to which we had to look up
emails -> userid mapping in our backend markdown. By removing this,
we entirely remove the backend markdown's dependency on user emails
to render messages.
---
Relevant commits:
- Oct 2012, Initial commit c31462c2782a33886e737cf33424a36a95c81f97
- Nov 2013, Update commit bot 968c393826f8846065c5c880427328f6e534c2f5
- Nov 2013, Add avatar syntax 761c0a0266669aca82d134716a4d6b6e33d541fc
- Sep 2017, Avoid email use c3032a7fe8ed49b011e0d242f4b8a7d756b9f647
- Apr 2019, Remove from webhook 674fcfcce1fcf35bdc57031a1025ef169d495d36
2020-07-06 23:01:38 +02:00
|
|
|
|
|
2020-06-26 19:51:10 +02:00
|
|
|
|
**Feature level 23**
|
|
|
|
|
|
2020-07-14 07:59:15 +02:00
|
|
|
|
* `GET/PUT/POST /users/me/pointer`: Removed. Zulip 3.0 removes the
|
|
|
|
|
`pointer` concept from Zulip; this legacy data structure was
|
|
|
|
|
replaced by tracking unread messages and loading views centered on
|
|
|
|
|
the first unread message.
|
2020-06-26 19:51:10 +02:00
|
|
|
|
|
2020-06-24 10:28:00 +02:00
|
|
|
|
**Feature level 22**
|
|
|
|
|
|
2020-07-14 07:59:15 +02:00
|
|
|
|
* [`GET /attachments`](/api/get-attachments): The date when a message
|
|
|
|
|
using the attachment was sent is now correctly encoded as
|
|
|
|
|
`date_sent`, replacing the confusingly named `name` field. The
|
|
|
|
|
`date_sent` and `create_time` fields of attachment objects are now
|
|
|
|
|
encoded as integers; (previously the implementation could send
|
|
|
|
|
floats incorrectly suggesting that microsecond precision is
|
|
|
|
|
relevant).
|
2024-04-01 16:38:09 +02:00
|
|
|
|
* [`GET /invites`](/api/get-invites): Now encodes the user ID of the person
|
|
|
|
|
who created the invitation as `invited_by_user_id`, replacing the previous
|
2020-06-26 21:26:57 +02:00
|
|
|
|
`ref` field (which had that user's Zulip display email address).
|
2021-08-20 10:32:59 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): The encoding of an
|
|
|
|
|
unlimited `realm_message_retention_days` in the response was changed
|
|
|
|
|
from `null` to `-1`.
|
2020-06-24 10:28:00 +02:00
|
|
|
|
|
2020-05-16 13:13:59 +02:00
|
|
|
|
**Feature level 21**
|
|
|
|
|
|
|
|
|
|
* `PATCH /settings/display`: Replaced the `night_mode` boolean with
|
|
|
|
|
`color_scheme` as part of supporting automatic night theme detection.
|
|
|
|
|
|
2020-06-18 13:03:06 +02:00
|
|
|
|
**Feature level 20**
|
|
|
|
|
|
|
|
|
|
* Added support for inviting users as organization owners to the
|
|
|
|
|
invitation endpoints.
|
|
|
|
|
|
2020-06-12 16:54:01 +02:00
|
|
|
|
**Feature level 19**
|
|
|
|
|
|
2023-06-21 19:31:51 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): The `subscription` events for
|
|
|
|
|
`peer_add` and `peer_remove` now identify the modified
|
|
|
|
|
stream by the `stream_id` field, replacing the old `name` field.
|
2020-06-12 16:54:01 +02:00
|
|
|
|
|
2020-06-13 10:10:05 +02:00
|
|
|
|
**Feature level 18**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`user_avatar_url_field_optional` to supported `client_capabilities`.
|
|
|
|
|
|
2020-06-14 18:57:02 +02:00
|
|
|
|
**Feature level 17**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions),
|
2020-06-19 08:09:06 +02:00
|
|
|
|
[`GET /streams`](/api/get-streams): Added
|
2020-06-19 07:12:36 +02:00
|
|
|
|
`message_retention_days` to Stream objects.
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`POST /users/me/subscriptions`](/api/subscribe), [`PATCH
|
|
|
|
|
/streams/{stream_id}`](/api/update-stream): Added `message_retention_days`
|
2020-06-14 18:57:02 +02:00
|
|
|
|
parameter.
|
|
|
|
|
|
2020-06-18 09:18:29 +02:00
|
|
|
|
**Feature level 16**
|
|
|
|
|
|
2022-05-18 01:35:28 +02:00
|
|
|
|
* [`GET /users/me`](/api/get-own-user): Removed `pointer` from the response,
|
|
|
|
|
as the "pointer" concept is being removed in Zulip.
|
2020-06-18 23:19:48 +02:00
|
|
|
|
* Changed the rendered HTML markup for mentioning a time to use the
|
|
|
|
|
`<time>` HTML tag. It is OK for clients to ignore the previous time
|
|
|
|
|
mention markup, as the feature was not advertised before this change.
|
2020-06-18 09:18:29 +02:00
|
|
|
|
|
2020-06-17 01:36:49 +02:00
|
|
|
|
**Feature level 15**
|
|
|
|
|
|
2024-04-03 20:37:14 +02:00
|
|
|
|
* [Markdown message formatting](/api/message-formatting#spoilers): Added
|
|
|
|
|
[spoilers](/help/spoilers) to supported message formatting features.
|
2020-06-17 01:36:49 +02:00
|
|
|
|
|
2020-06-16 18:42:13 +02:00
|
|
|
|
**Feature level 14**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions): Removed
|
2020-06-16 18:42:13 +02:00
|
|
|
|
the `is_old_stream` field from Stream objects. This field was
|
|
|
|
|
always equivalent to `stream_weekly_traffic != null` on the same object.
|
|
|
|
|
|
2020-06-10 13:47:08 +02:00
|
|
|
|
**Feature level 13**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`bulk_message_deletion` to supported `client_capabilities`.
|
2022-05-18 01:35:28 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `delete_message`
|
2020-06-10 13:47:08 +02:00
|
|
|
|
events have new behavior. The `sender` and `sender_id` fields were
|
|
|
|
|
removed, and the `message_id` field was replaced by a `message_ids`
|
|
|
|
|
list for clients with the `bulk_message_deletion` client capability.
|
|
|
|
|
All clients should upgrade; we expect `bulk_message_deletion` to be
|
|
|
|
|
required in the future.
|
|
|
|
|
|
2020-05-31 19:10:41 +02:00
|
|
|
|
**Feature level 12**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/{user_id}/subscriptions/{stream_id}`](/api/get-subscription-status):
|
2020-05-31 19:10:41 +02:00
|
|
|
|
New endpoint added for checking if another user is subscribed to a stream.
|
|
|
|
|
|
2020-06-09 23:37:51 +02:00
|
|
|
|
**Feature level 11**
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`realm_community_topic_editing_limit_seconds` to the response, the
|
|
|
|
|
time limit before community topic editing is forbidden. A `null`
|
2020-09-08 16:06:25 +02:00
|
|
|
|
value means no limit. This was previously hard-coded in the server
|
|
|
|
|
as 86400 seconds (1 day).
|
2023-08-30 14:40:58 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): The response now contains
|
|
|
|
|
an `is_owner` boolean field, which is similar to the existing
|
|
|
|
|
`is_admin` and `is_guest` fields.
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`POST /typing`](/api/set-typing-status): Removed legacy
|
2023-08-30 14:13:12 +02:00
|
|
|
|
support for sending email addresses in the `to` parameter, rather
|
|
|
|
|
than user IDs, to encode direct message recipients.
|
2020-06-09 23:37:51 +02:00
|
|
|
|
|
2020-06-03 16:44:57 +02:00
|
|
|
|
**Feature level 10**
|
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/me`](/api/get-own-user): Added `avatar_version`, `is_guest`,
|
2020-06-08 00:29:47 +02:00
|
|
|
|
`is_active`, `timezone`, and `date_joined` fields to the User objects.
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /users/me`](/api/get-own-user): Removed `client_id` and `short_name`
|
2020-08-11 01:47:44 +02:00
|
|
|
|
from the response to this endpoint. These fields had no purpose and
|
2020-06-09 00:07:13 +02:00
|
|
|
|
were inconsistent with other API responses describing users.
|
2020-06-08 00:29:47 +02:00
|
|
|
|
|
2020-04-09 19:07:57 +02:00
|
|
|
|
**Feature level 9**
|
2020-06-03 23:30:32 +02:00
|
|
|
|
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`POST /users/me/subscriptions`](/api/subscribe), [`DELETE
|
2020-06-11 14:44:00 +02:00
|
|
|
|
/users/me/subscriptions`](/api/unsubscribe): Other users to
|
2020-04-09 19:07:57 +02:00
|
|
|
|
subscribe/unsubscribe, declared in the `principals` parameter, can
|
|
|
|
|
now be referenced by user_id, rather than Zulip display email
|
|
|
|
|
address.
|
2022-05-05 15:40:41 +02:00
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message): Added
|
2020-06-03 16:44:57 +02:00
|
|
|
|
`send_notification_to_old_thread` and
|
|
|
|
|
`send_notification_to_new_thread` optional parameters.
|
2020-04-09 19:07:57 +02:00
|
|
|
|
|
2020-06-01 21:47:18 +02:00
|
|
|
|
**Feature level 8**
|
2020-06-03 23:30:32 +02:00
|
|
|
|
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users`](/api/get-users), [`GET /users/{user_id}`](/api/get-user)
|
|
|
|
|
and [`GET /users/me`](/api/get-own-user): User objects now contain the
|
2020-06-01 21:47:18 +02:00
|
|
|
|
`is_owner` field as well.
|
2024-04-03 20:37:14 +02:00
|
|
|
|
* [Markdown message formatting](/api/message-formatting#global-times):
|
|
|
|
|
Added [global times](/help/global-times) to supported message
|
|
|
|
|
formatting features.
|
2020-06-01 21:47:18 +02:00
|
|
|
|
|
2020-05-12 20:28:53 +02:00
|
|
|
|
**Feature level 7**
|
2020-06-03 23:30:32 +02:00
|
|
|
|
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `realm_user` and
|
2020-05-12 20:28:53 +02:00
|
|
|
|
`realm_bot` events no longer contain an `email` field to identify
|
|
|
|
|
the user; use the `user_id` field instead. Previously, some (but
|
|
|
|
|
not all) events of these types contained an `email` key in addition to
|
|
|
|
|
to `user_id`) for identifying the modified user.
|
2020-05-29 16:12:09 +02:00
|
|
|
|
* [`PATCH /users/{user_id}`](/api/update-user): The `is_admin` and
|
|
|
|
|
`is_guest` parameters were removed in favor of the more general
|
|
|
|
|
`role` parameter for specifying a change in user role.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `realm_user` events
|
2020-05-30 21:43:19 +02:00
|
|
|
|
sent when a user's role changes now include `role` property, instead
|
|
|
|
|
of the previous `is_guest` or `is_admin` booleans.
|
2022-05-18 01:35:28 +02:00
|
|
|
|
* [`GET /realm/emoji`](/api/get-custom-emoji): The user who uploaded a
|
|
|
|
|
given custom emoji is now indicated by an `author_id` field, replacing
|
|
|
|
|
a previous `author` object that had unnecessary additional data.
|
2020-05-12 20:28:53 +02:00
|
|
|
|
|
2020-04-07 20:09:30 +02:00
|
|
|
|
**Feature level 6**
|
2020-06-03 23:30:32 +02:00
|
|
|
|
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `realm_user` events to
|
2020-04-07 20:09:30 +02:00
|
|
|
|
update a user's avatar now include the `avatar_version` field, which
|
|
|
|
|
is important for correctly refetching medium-size avatar images when
|
|
|
|
|
the user's avatar changes.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users`](/api/get-users) and [`GET
|
2020-04-07 20:09:30 +02:00
|
|
|
|
/users/{user_id}`](/api/get-user): User objects now contain the
|
|
|
|
|
`avatar_version` field as well.
|
|
|
|
|
|
2020-05-10 19:21:08 +02:00
|
|
|
|
**Feature level 5**
|
2022-05-18 01:35:28 +02:00
|
|
|
|
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /events`](/api/get-events): `realm_bot` events,
|
2020-05-10 19:21:08 +02:00
|
|
|
|
sent when changes are made to bot users, now contain an
|
|
|
|
|
integer-format `owner_id` field, replacing the `owner` field (which
|
|
|
|
|
was an email address).
|
|
|
|
|
|
2020-05-08 10:02:10 +02:00
|
|
|
|
**Feature level 4**
|
|
|
|
|
|
|
|
|
|
* `jitsi_server_url`, `development_environment`, `server_generation`,
|
|
|
|
|
`password_min_length`, `password_min_guesses`, `max_file_upload_size_mib`,
|
|
|
|
|
`max_avatar_file_size_mib`, `server_inline_image_preview`,
|
|
|
|
|
`server_inline_url_embed_preview`, `server_avatar_changes_disabled` and
|
|
|
|
|
`server_name_changes_disabled` fields are now available via
|
|
|
|
|
`POST /register` to make them accessible to all the clients;
|
|
|
|
|
they were only internally available to Zulip's web app prior to this.
|
|
|
|
|
|
2023-05-18 16:00:25 +02:00
|
|
|
|
**Feature level 3**
|
2020-04-29 12:39:39 +02:00
|
|
|
|
|
2023-05-18 16:00:25 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): `zulip_version` and
|
|
|
|
|
`zulip_feature_level` are always returned in the endpoint response.
|
|
|
|
|
Previously, they were only present if `event_types` included
|
|
|
|
|
`zulip_version`.
|
2020-05-01 20:39:26 +02:00
|
|
|
|
* Added new `presence_enabled` user notification setting; previously
|
|
|
|
|
[presence](/help/status-and-availability) was always enabled.
|
2020-04-29 12:39:39 +02:00
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 2**
|
2020-04-29 05:55:42 +02:00
|
|
|
|
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`POST /messages/{message_id}/reactions`](/api/add-reaction):
|
2020-04-30 01:03:05 +02:00
|
|
|
|
The `reaction_type` parameter is optional; the server will guess the
|
|
|
|
|
`reaction_type` if it is not specified (checking custom emoji, then
|
2020-10-23 02:43:28 +02:00
|
|
|
|
Unicode emoji for any with the provided name).
|
2020-04-29 05:55:42 +02:00
|
|
|
|
* `reactions` objects returned by the API (both in `GET /messages` and
|
|
|
|
|
in `GET /events`) now include the user who reacted in a top-level
|
|
|
|
|
`user_id` field. The legacy `user` dictionary (which had
|
|
|
|
|
inconsistent format between those two endpoints) is deprecated.
|
|
|
|
|
|
2024-06-11 21:30:24 +02:00
|
|
|
|
**Feature level 1**
|
2020-04-29 05:55:42 +02:00
|
|
|
|
|
2023-05-26 20:02:39 +02:00
|
|
|
|
* [`PATCH /messages/{message_id}`](/api/update-message): Added the
|
|
|
|
|
`stream_id` parameter to support moving messages between streams.
|
|
|
|
|
* [`GET /messages`](/api/get-messages), [`GET /events`](/api/get-events):
|
|
|
|
|
Added `prev_stream` as a potential property of the `edit_history` object
|
|
|
|
|
within message objects to indicate when a message was moved to another
|
|
|
|
|
stream.
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`GET /messages/{message_id}/history`](/api/get-message-history):
|
2023-05-26 20:02:39 +02:00
|
|
|
|
`prev_stream` is present in `snapshot` objects within `message_history`
|
|
|
|
|
object when a message was moved to another stream.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /server_settings`](/api/get-server-settings): Added
|
2020-04-29 05:55:42 +02:00
|
|
|
|
`zulip_feature_level`, which can be used by clients to detect which
|
|
|
|
|
of the features described in this changelog are supported.
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `zulip_feature_level`
|
|
|
|
|
to the response if `zulip_version` is among the requested
|
|
|
|
|
`event_types`.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users`](/api/get-users): User objects for bots now
|
2020-04-29 05:55:42 +02:00
|
|
|
|
contain a `bot_owner_id`, replacing the previous `bot_owner` field
|
|
|
|
|
(which had the email address of the bot owner).
|
2022-07-11 15:53:17 +02:00
|
|
|
|
* [`GET /users/{user_id}`](/api/get-user): New endpoint added to get
|
|
|
|
|
a single user's details by the user's ID.
|
2020-04-29 05:55:42 +02:00
|
|
|
|
* [`GET /messages`](/api/get-messages): Add support for string-format
|
|
|
|
|
values for the `anchor` parameter, deprecating and replacing the
|
|
|
|
|
`use_first_unread_anchor` parameter.
|
2022-05-18 01:35:28 +02:00
|
|
|
|
* [`GET /messages`](/api/get-messages), [`GET /events`](/api/get-events):
|
|
|
|
|
Message objects now use `topic_links` rather than `subject_links` to
|
|
|
|
|
indicate links either present in the topic or generated by linkifiers
|
|
|
|
|
applied to the topic.
|
2022-07-11 15:53:17 +02:00
|
|
|
|
* [`GET /streams`](/api/get-streams),
|
|
|
|
|
[`POST /users/me/subscriptions`](/api/subscribe),
|
|
|
|
|
[`PATCH /streams/{stream_id}`](/api/update-stream): Stream objects now
|
|
|
|
|
have `stream_post_policy` enum for specifying who can post to the stream,
|
|
|
|
|
deprecating and replacing the `is_announcement_only` boolean.
|
|
|
|
|
* [`GET /user_uploads/{realm_id_str}/{filename}`](/api/get-file-temporary-url):
|
|
|
|
|
New endpoint added for requesting a temporary URL for an uploaded
|
2024-07-04 12:14:37 +02:00
|
|
|
|
file that does not require authentication to access (e.g., for passing
|
2022-07-11 15:53:17 +02:00
|
|
|
|
from a Zulip desktop, mobile, or terminal app to the user's default
|
|
|
|
|
browser).
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
`PATCH /realm`: Nobody added as an option for the realm setting
|
2020-04-29 05:55:42 +02:00
|
|
|
|
`email_address_visibility`.
|
2022-07-11 15:53:17 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
`PATCH /realm`: Added realm setting `private_message_policy`.
|
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events):
|
|
|
|
|
`muted_topics` array objects now are 3-item tuples that include the
|
|
|
|
|
stream name, the topic name, and the time when the topic was muted.
|
|
|
|
|
Previously, they were 2-item tuples and did not include the time when
|
|
|
|
|
the topic was muted.
|
2022-07-11 16:04:32 +02:00
|
|
|
|
* [`GET /server_settings`](/api/get-server-settings): Added `gitlab` boolean
|
|
|
|
|
to deprecated `authentication_methods` object.
|
2022-07-11 15:56:20 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue), [`GET /events`](/api/get-events),
|
|
|
|
|
`PATCH /realm`: None added as an option for the realm setting
|
|
|
|
|
`video_chat_provider` to disable video call UI.
|
2020-04-29 05:55:42 +02:00
|
|
|
|
|
|
|
|
|
## Changes in Zulip 2.1
|
|
|
|
|
|
2023-05-18 17:23:17 +02:00
|
|
|
|
* [`POST /register`](/api/register-queue): Added
|
|
|
|
|
`realm_default_external_accounts` to endpoint response.
|
2022-05-16 23:13:48 +02:00
|
|
|
|
* [`GET /messages`](/api/get-messages): Added support for
|
2024-07-17 04:57:40 +02:00
|
|
|
|
[search/narrow options](/api/construct-narrow#changes) that use stream/user
|
2022-05-16 23:13:48 +02:00
|
|
|
|
IDs to specify a message's sender, its stream, and/or its recipient(s).
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users`](/api/get-users): Added `include_custom_profile_fields`
|
2020-04-29 05:55:42 +02:00
|
|
|
|
to request custom profile field data.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users/me`](/api/get-own-user): Added `avatar_url` field,
|
2020-04-29 05:55:42 +02:00
|
|
|
|
containing the user's avatar URL, to the response.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions): Added
|
2020-04-29 05:55:42 +02:00
|
|
|
|
`include_subscribers` parameter controlling whether data on the
|
|
|
|
|
other subscribers is included. Previous behavior was to always send
|
|
|
|
|
subscriber data.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions):
|
2020-04-29 05:55:42 +02:00
|
|
|
|
Stream-level notification settings like `push_notifications` were
|
|
|
|
|
changed to be nullable boolean fields (true/false/null), with `null`
|
|
|
|
|
meaning that the stream inherits the organization-level default.
|
|
|
|
|
Previously, the only values were true/false. A client communicates
|
|
|
|
|
support for this feature using `client_capabilities`.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /users/me/subscriptions`](/api/get-subscriptions): Added
|
2020-04-29 05:55:42 +02:00
|
|
|
|
`wildcard_mentions_notify` notification setting, with the same
|
|
|
|
|
global-plus-stream-level-override model as other notification settings.
|
2020-06-11 14:44:00 +02:00
|
|
|
|
* [`GET /server_settings`](/api/get-server-settings): Added
|
2020-04-29 05:55:42 +02:00
|
|
|
|
`external_authentication_methods` structure, used to display login
|
|
|
|
|
buttons nicely in the mobile apps.
|
|
|
|
|
* Added `first_message_id` field to Stream objects. This is helpful
|
|
|
|
|
for determining whether the stream has any messages older than a
|
|
|
|
|
window cached in a client.
|
|
|
|
|
* Added `is_web_public` field to Stream objects. This field is
|
|
|
|
|
intended to support web-public streams.
|
2024-08-03 09:00:52 +02:00
|
|
|
|
* [`GET /export/realm`](/api/get-realm-exports): Added endpoint for
|
|
|
|
|
fetching public data exports.
|
|
|
|
|
[`POST /export/realm`](/api/export-realm): Added endpoint for
|
|
|
|
|
triggering a public data export.
|
2020-04-29 05:55:42 +02:00
|
|
|
|
* `PATCH /realm`: Added `invite_to_stream_policy`,
|
|
|
|
|
`create_stream_policy`, `digest_emails_enabled`, `digest_weekday`,
|
|
|
|
|
`user_group_edit_policy`, and `avatar_changes_disabled` organization settings.
|
|
|
|
|
* Added `fluid_layout_width`, `desktop_icon_count_display`, and
|
|
|
|
|
`demote_inactive_streams` display settings.
|
|
|
|
|
* `enable_stream_sounds` was renamed to
|
|
|
|
|
`enable_stream_audible_notifications`.
|
2022-08-09 20:37:07 +02:00
|
|
|
|
* [`POST /users/me/subscriptions/properties`](/api/update-subscription-settings):
|
|
|
|
|
Deprecated `in_home_view`, replacing it with the more readable
|
2020-04-29 05:55:42 +02:00
|
|
|
|
`is_muted` (with the opposite meaning).
|
|
|
|
|
* Custom profile fields: Added `EXTERNAL_ACCOUNT` field type.
|
|
|
|
|
|
|
|
|
|
## Changes in Zulip 2.0
|
|
|
|
|
|
2022-05-19 23:24:50 +02:00
|
|
|
|
* [`PATCH /users/me/subscriptions/muted_topics`](/api/mute-topic):
|
|
|
|
|
Added support for using stream IDs to specify the stream in which to
|
|
|
|
|
mute/unmute a topic.
|
2020-04-29 05:55:42 +02:00
|
|
|
|
* [`POST /messages`](/api/send-message): Added support for using user
|
|
|
|
|
IDs and stream IDs for specifying the recipients of a message.
|
2020-06-25 21:40:55 +02:00
|
|
|
|
* [`POST /messages`](/api/send-message), [`POST
|
|
|
|
|
/messages/{message_id}`](/api/update-message): Added support for
|
|
|
|
|
encoding topics using the `topic` parameter name. The previous
|
|
|
|
|
`subject` parameter name was deprecated but is still supported for
|
|
|
|
|
backwards-compatibility.
|
2023-08-30 14:31:46 +02:00
|
|
|
|
* [`POST /typing`](/api/set-typing-status): Added support for specifying the
|
2020-04-29 05:55:42 +02:00
|
|
|
|
recipients with user IDs, deprecating the original API of specifying
|
|
|
|
|
them using email addresses.
|
|
|
|
|
|
|
|
|
|
------------------
|
|
|
|
|
|
|
|
|
|
## Changes not yet stabilized
|
|
|
|
|
|
|
|
|
|
* [`POST /register`](/api/register-queue): Added `slim_presence`
|
|
|
|
|
parameter. Changes the format of presence events, but is still
|
|
|
|
|
being changed and should not be used by clients.
|
2021-05-12 07:00:05 +02:00
|
|
|
|
|
|
|
|
|
[server-changelog]: https://zulip.readthedocs.io/en/latest/overview/changelog.html
|
2021-11-02 22:45:14 +01:00
|
|
|
|
[release-lifecycle]: https://zulip.readthedocs.io/en/latest/overview/release-lifecycle.html
|
linkifier: Support URL templates for linkifiers.
This swaps out url_format_string from all of our APIs and replaces it
with url_template. Note that the documentation changes in the following
commits will be squashed with this commit.
We change the "url_format" key to "url_template" for the
realm_linkifiers events in event_schema, along with updating
LinkifierDict. "url_template" is the name chosen to normalize
mixed usages of "url_format_string" and "url_format" throughout
the backend.
The markdown processor is updated to stop handling the format string
interpolation and delegate the task template expansion to the uri_template
library instead.
This change affects many test cases. We mostly just replace "%(name)s"
with "{name}", "url_format_string" with "url_template" to make sure that
they still pass. There are some test cases dedicated for testing "%"
escaping, which aren't relevant anymore and are subject to removal.
But for now we keep most of them as-is, and make sure that "%" is always
escaped since we do not use it for variable substitution any more.
Since url_format_string is not populated anymore, a migration is created
to remove this field entirely, and make url_template non-nullable since
we will always populate it. Note that it is possible to have
url_template being null after migration 0422 and before 0424, but
in practice, url_template will not be None after backfilling and the
backend now is always setting url_template.
With the removal of url_format_string, RealmFilter model will now be cleaned
with URL template checks, and the old checks for escapes are removed.
We also modified RealmFilter.clean to skip the validation when the
url_template is invalid. This avoids raising mulitple ValidationError's
when calling full_clean on a linkifier. But we might eventually want to
have a more centric approach to data validation instead of having
the same validation in both the clean method and the validator.
Fixes #23124.
Signed-off-by: Zixuan James Li <p359101898@gmail.com>
2022-10-05 20:55:31 +02:00
|
|
|
|
[rfc6570]: https://www.rfc-editor.org/rfc/rfc6570.html
|