api-changelog: Add notes for feature level 3 `zulip_version` change.

Original API changelog note was made in commit 2c63130195.
This commit is contained in:
Lauryn Menard 2023-05-18 16:00:25 +02:00 committed by Tim Abbott
parent 656a31d38d
commit 2f96b1756e
2 changed files with 14 additions and 5 deletions

View File

@ -1408,11 +1408,12 @@ No changes; feature level used for Zulip 3.0 release.
`POST /register` to make them accessible to all the clients; `POST /register` to make them accessible to all the clients;
they were only internally available to Zulip's web app prior to this. they were only internally available to Zulip's web app prior to this.
**Feature level 3**: **Feature level 3**
* `zulip_version` and `zulip_feature_level` are always returned * [`POST /register`](/api/register-queue): `zulip_version` and
in `POST /register`; previously they were only returned if `event_types` `zulip_feature_level` are always returned in the endpoint response.
included `zulip_version`. Previously, they were only present if `event_types` included
`zulip_version`.
* Added new `presence_enabled` user notification setting; previously * Added new `presence_enabled` user notification setting; previously
[presence](/help/status-and-availability) was always enabled. [presence](/help/status-and-availability) was always enabled.

View File

@ -10668,7 +10668,11 @@ paths:
description: | description: |
The server's current [Zulip feature level](/api/changelog). The server's current [Zulip feature level](/api/changelog).
**Changes**: New in Zulip 3.0 (feature level 1). **Changes**: As of Zulip 3.0 (feature level 3), this is always present
in the endpoint's response. Previously, it was only present if
`event_types` included `zulip_version`.
New in Zulip 3.0 (feature level 1).
zulip_version: zulip_version:
type: string type: string
description: | description: |
@ -10676,6 +10680,10 @@ paths:
like `2.1.7`. But for a server running a [version from Git][git-release], like `2.1.7`. But for a server running a [version from Git][git-release],
it will be a Git reference to the commit, like `5.0-dev-1650-gc3fd37755f`. it will be a Git reference to the commit, like `5.0-dev-1650-gc3fd37755f`.
**Changes**: As of Zulip 3.0 (feature level 3), this is always present
in the endpoint's response. Previously, it was only present if
`event_types` included `zulip_version`.
[git-release]: https://zulip.readthedocs.io/en/latest/overview/release-lifecycle.html#git-versions [git-release]: https://zulip.readthedocs.io/en/latest/overview/release-lifecycle.html#git-versions
zulip_merge_base: zulip_merge_base:
type: string type: string