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: Document markdown changes for code blocks and bump API_FEATURE_LEVEL.

Sumanth V Rao2b9f7916c57d
diff --git a/templates/zerver/api/changelog.md b/templates/zerver/api/changelog.md
index 8ec4b86c0bb..fd7b75a8303 100644
--- a/templates/zerver/api/changelog.md
+++ b/templates/zerver/api/changelog.md
@@ -10,6 +10,13 @@ below features are supported.
## Changes in Zulip 4.0
+**Feature level 33**
+
+* Markdown code blocks now have a `data-code-language` attribute
+ attached to the outer `div` element, recording the programming
+ language that was selecting for syntax highlighting. This field
+ supports the upcoming "view in playground" feature for code blocks.
+
**Feature level 32**
* [`GET /events`](/api/get-events): Added `op` field to
diff --git a/version.py b/version.py
index 9a1f7cfeb1d..5bad098dda0 100644
--- a/version.py
+++ b/version.py
@@ -29,7 +29,7 @@ DESKTOP_WARNING_VERSION = "5.2.0"
#
# Changes should be accompanied by documentation explaining what the
# new level means in templates/zerver/api/changelog.md.
-API_FEATURE_LEVEL = 32
+API_FEATURE_LEVEL = 33
# 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