Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api: Increment API feature level to 471.

Tim Abbott593150c8fe50
diff --git a/api_docs/changelog.md b/api_docs/changelog.md
index 3ce096b2324..7bd56eba183 100644
--- a/api_docs/changelog.md
+++ b/api_docs/changelog.md
@@ -20,6 +20,19 @@ format used by the Zulip server that they are interacting with.
## Changes in Zulip 12.0
+**Feature level 471**
+
+* [`GET /events`](/api/get-events), [`GET /realm/linkifiers`](/api/get-linkifiers),
+ [`POST /realm/filters`](/api/add-linkifier),
+ [`PATCH /realm/filters/{filter_id}`](/api/update-linkifier):
+ Added `example_input` and `reverse_template` to linkifier objects.
+ `example_input` is a sample string matching the url_pattern for the linkifier.
+ `reverse_template` is a string that can process input params and turn a url into
+ it's abbreviated form.
+ `reverse_template` requires `example_input` to be provided.
+ Pass an empty string during PATCH to set either of these fields back to null, given
+ they satisfy the requirements stated above.
+
**Feature level 470**
* [`POST /remove_client_device`](/api/remove-client-device):
diff --git a/api_docs/unmerged.d/ZF-9993b5.md b/api_docs/unmerged.d/ZF-9993b5.md
deleted file mode 100644
index 2b9c2d1ec1c..00000000000
--- a/api_docs/unmerged.d/ZF-9993b5.md
+++ /dev/null
@@ -1,10 +0,0 @@
-* [`GET /events`](/api/get-events), [`GET /realm/linkifiers`](/api/get-linkifiers),
- [`POST /realm/filters`](/api/add-linkifier),
- [`PATCH /realm/filters/{filter_id}`](/api/update-linkifier):
- Added `example_input` and `reverse_template` to linkifier objects.
- `example_input` is a sample string matching the url_pattern for the linkifier.
- `reverse_template` is a string that can process input params and turn a url into
- it's abbreviated form.
- `reverse_template` requires `example_input` to be provided.
- Pass an empty string during PATCH to set either of these fields back to null, given
- they satisfy the requirements stated above.
diff --git a/version.py b/version.py
index 0875e20c76e..1d9bdbe09c2 100644
--- a/version.py
+++ b/version.py
@@ -33,7 +33,7 @@ DESKTOP_WARNING_VERSION = "5.9.3"
# https://zulip.readthedocs.io/en/latest/documentation/api.html#step-by-step-guide
# Also available at docs/documentation/api.md.
-API_FEATURE_LEVEL = 470
+API_FEATURE_LEVEL = 471
# Bump the minor PROVISION_VERSION to indicate that folks should provision
# only when going from an old version of the code to a newer version. Bump
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index a7e5fa0e9ac..7eb46adf9e1 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -4014,7 +4014,7 @@ paths:
An example input string that matches the linkifier's pattern.
This is required for reverse linkifiers.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
reverse_template:
type: string
nullable: true
@@ -4025,7 +4025,7 @@ paths:
`{{ "{{/}}" }}` can be used for literal `{/}` characters.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
example:
{
"type": "realm_linkifiers",
@@ -15602,7 +15602,7 @@ paths:
An example input string that matches the linkifier's pattern.
This is required for reverse linkifiers.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
reverse_template:
type: string
nullable: true
@@ -15613,7 +15613,7 @@ paths:
`{{ "{{/}}" }}` can be used for literal `{/}` characters.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
example:
{
"msg": "",
@@ -15692,7 +15692,7 @@ paths:
An example input string that matches the linkifier's pattern.
This is required for reverse linkifiers.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
reverse_template:
type: string
nullable: true
@@ -15708,7 +15708,7 @@ paths:
url_pattern when passed to reverse_template returns example_input
back to us.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
required:
- pattern
- url_template
@@ -15790,7 +15790,7 @@ paths:
This is required for reverse linkifiers. Passing an empty string
will set this field back to null.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
reverse_template:
type: string
nullable: true
@@ -15807,7 +15807,7 @@ paths:
`{{ "{{/}}" }}` can be used for literal `{/}` characters.
- **Changes**: New in Zulip 12.0 (feature level ZF-9993b5).
+ **Changes**: New in Zulip 12.0 (feature level 471).
required:
- pattern
- url_template